Repository navigation
chore: move source-control settings to docs/conventions/source-control.yaml - #228
Conversation
…l.yaml The source-control plugin now reads its team settings from docs/conventions/source-control.yaml (ADR 0064) and will stop reading .claude/source-control.md. Every key and value the legacy file set moves to the YAML unchanged, and the legacy file is deleted. Refs: melodic-software/claude-code-plugins#12286 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed No security findings. This PR moves the team-layer source-control settings from
critical-findings: 0 |
|
claude-review reviewed No blocking or advisory findings on #228. I read the full diff and the PR context, and grepped the repo for leftover references to the old path. I did not run the tests; the "27 pass" and parity-table results are author-claimed and unverified.
|
Refs: melodic-software/claude-code-plugins#12286
Summary
The source-control plugin reads its team settings from
docs/conventions/source-control.yaml(claude-code-plugins ADR 0064) and will stop reading.claude/source-control.mdonce claude-code-plugins#9737 lands. Without this move, this repository loses commit-subject enforcement, its PR-body section list and itsc3-autonomousmerge rung.Fix
docs/conventions/source-control.yamlwith every key the legacy file set (subject_pattern,pr_title_pattern,pr_body_required_sections,babysit_loop_merge), values unchanged..claude/source-control.md..github/scripts/pr-section-drift.mjs(the advisorycheck-pr-sectionslane) now readspr_body_required_sectionsfrom the YAML's top-level block sequence instead of the legacy H2. Its tests cover the YAML shape: key-scoped read that stops at the next key, quoted and unindented items, a nested key of the same name ignored, missing, empty and repeated keys.CLAUDE.md,README.mdand thepr-require-checks.ymlcomment abovecheck-pr-sections.Verification
Value parity, from a script that parses every H2 of the legacy file and every key of the YAML:
Legacy
.claude/source-control.mdatorigin/mainvsdocs/conventions/source-control.yamlatHEAD:subject_patternConventional CommitsConventional Commitspr_title_patternSame as `subject_pattern`.Same as `subject_pattern`.pr_body_required_sections[Summary, Fix, Verification, Related][Summary, Fix, Verification, Related]babysit_loop_mergec3-autonomousc3-autonomous4 legacy keys, 4 YAML keys, 0 not MATCH
node --test .github/scripts/pr-section-drift.test.mjs: 27 pass, 0 fail.node .github/scripts/pr-section-drift.mjson this branch:local mirrors match ...check-contract/run.sh@594987abe8657a40bccc13d301f1f0d5cccb5348 section_report calls [Summary, Fix, Verification, Related].convention-key.sh layerprintsyamlfor all four keys;resolve-convention-pattern.shexpandsConventional Commitsforsubject_patternandpr_title_pattern, now fromdocs/conventions/source-control.yaml.babysit_repo_config.py loop-keys melodic-software/.githubbefore this PR:babysit_loop_merge=c3-autonomousfrom.claude/source-control.md (legacy),adopted: true. Rerun after merge is recorded on claude-code-plugins#12286.check-jsonschema==0.39.0againstplugins/source-control/schemas/source-control.schema.json: ok.Related
🤖 Generated with Claude Code