Skip to content

docs: add CODE_OF_CONDUCT, CHANGELOG, issue template config, and normalize LICENSE - #21

Merged
fupacat merged 1 commit into
masterfrom
chore/community-standards-completion
Oct 12, 2026
Merged

fupacat merged 1 commit into
masterfrom
chore/community-standards-completion

Conversation

@fupacat

@fupacat fupacat commented Oct 12, 2026

Copy link
Copy Markdown
Owner

Closes #11, Closes #12, Closes #13, Closes #15

Summary of Changes

  1. Code of Conduct: Added CODE_OF_CONDUCT.md adopting the Contributor Covenant v2.1.
  2. Issue Template Chooser: Added .github/ISSUE_TEMPLATE/config.yml disabling blank issues and directing community questions to GitHub Discussions and vulnerabilities to Private Security Advisories.
  3. Changelog Standard: Added CHANGELOG.md adhering to Keep a Changelog / SemVer.
  4. SPDX MIT License Detection: Normalized LICENSE header so GitHub's licensee detector recognizes the SPDX MIT tag (with Microsoft's upstream attribution cleanly maintained in NOTICE.md).
  5. Tooling Hook Guard: Safely guarded the .claude/settings.json hook so foreign agents/containers without mcswe-v3 are not blocked.

Copilot AI balanced review requested due to automatic review settings October 12, 2026 08:04
@fupacat
fupacat enabled auto-merge (squash) October 12, 2026 08:05
@fupacat
fupacat merged commit d773eb3 into master Oct 12, 2026
6 checks passed
@fupacat
fupacat deleted the chore/community-standards-completion branch October 12, 2026 08:07

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The reworked .claude/settings.json hook guard converts the guard's blocking exit code 2 into exit 0 when mcswe-v3 is installed, silently disabling the PreToolUse protection.

1 open finding
What changed in this PR

This PR adds community/governance documentation and metadata to the tsql-scriptdom-java repository: a Contributor Covenant Code of Conduct, a Keep a Changelog–style changelog, an issue template chooser configuration, and a normalized MIT LICENSE header (with upstream Microsoft attribution retained in NOTICE.md) so GitHub's licensee detector recognizes the SPDX MIT identifier. It also tweaks the .claude/settings.json PreToolUse hook so containers/agents without mcswe-v3 installed aren't blocked. These are primarily repository hygiene changes with no impact on the Java/Maven source modules.

Changes:

  • Add CODE_OF_CONDUCT.md, CHANGELOG.md, and .github/ISSUE_TEMPLATE/config.yml.
  • Normalize LICENSE to a clean SPDX-detectable MIT header, relying on NOTICE.md for Microsoft attribution.
  • Guard the .claude/settings.json hook so a missing mcswe-v3 binary doesn't block tool use (introduces a logic bug — see below).
File Description
LICENSE Replaces multi-party copyright header with a single standard MIT copyright line for SPDX detection; Microsoft attribution remains in NOTICE.md.
CODE_OF_CONDUCT.md Adds Contributor Covenant v2.1 with an enforcement contact email.
CHANGELOG.md Adds Keep a Changelog baseline with [Unreleased] and [0.1.0] sections.
.github/​ISSUE_TEMPLATE/​config.yml Disables blank issues and adds Discussions and security-advisory contact links.
.claude/​settings.json Guards the PreToolUse hook for environments lacking mcswe-v3; the new conditional swallows the guard's blocking exit code when mcswe-v3 is present.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .claude/settings.json
{
"matcher": "Write|Edit|MultiEdit|NotebookEdit|Bash",
"hooks": [{"type": "command", "command": "cd \"$CLAUDE_PROJECT_DIR\" && mcswe-v3 hook || exit 2"}]
"hooks": [{"type": "command", "command": "cd \"$CLAUDE_PROJECT_DIR\" && (command -v mcswe-v3 >/dev/null 2>&1 && mcswe-v3 hook || exit 0)"}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants