Add CLAUDE.md sync note for contributing-guide lookup pattern
Context
PR #32 introduced a CONTRIBUTING.md lookup pattern (three-file precedence list with first-match-stop) that now appears in three commands:
commands/issue-plan.md(Step 3a)commands/issue-review-plan.md(Step 3a)commands/pr-pre-merge.md(contributing guide lookup)
Any future change to the lookup logic (e.g., adding a new filename, changing precedence order) must be applied to all three files.
Suggested change
Add a note in CLAUDE.md under "Key Design Decisions" or "Writing Commands" flagging this three-file sync requirement to reduce drift risk.
Origin
Identified during review of PR #32 (finding classified as "deferred" in the assessment comment).
Implementation Plan
Stage 1 (single stage): Add a sync note to the "Writing Commands" section of CLAUDE.md.
What changes
Add a bullet point after the existing "Writing Commands" bullets (line 57) documenting the contributing-guide lookup pattern sync requirement:
- The lookup pattern (
CONTRIBUTING.md→DEVELOPMENT.md→.github/CONTRIBUTING.md, first-match-stop) is duplicated in three command files:commands/issue-plan.md(Step 3a)commands/issue-review-plan.md(Step 3a)commands/pr-pre-merge.md(contributing guide lookup)
README.md(the "Customizing with CONTRIBUTING.md" section) also documents this feature and must stay consistent.- Any change to the lookup logic must be applied to all four locations.
Files modified
CLAUDE.md-- one bullet point addition to "Writing Commands" section
Testing
N/A -- this is a pure plugin definition repo with no test suite.
Notes
This plan will guide staged implementation via /mach10:issue-implement.
Stage 1 complete
Added a contributing-guide lookup sync note to the "Writing Commands" section of CLAUDE.md.
The new bullet documents:
- The three-file precedence pattern (
CONTRIBUTING.md→DEVELOPMENT.md→.github/CONTRIBUTING.md, first-match-stop) - The three command files that duplicate it:
issue-plan.md,issue-review-plan.md,pr-pre-merge.md - The
README.mdsection that also documents the feature - The requirement to update all four locations on any change
Commit: ae3dd2d
Branch: feature/issue-34-claude-md-sync-note
This was the only stage in the plan.