claude-md: nested-CLAUDE.md vs path-scoped rule as distinct destinations (0.14.0)#7
Merged
Merged
Conversation
…ations (0.14.0) Area-specific guidance was lumped under "nested CLAUDE.md (.claude/rules in parens)". But they scope on different axes — make it a real fork: - directory-bound (one dir owns it) -> nested CLAUDE.md - file-type / cross-cutting (follows a glob across dirs) -> .claude/rules paths: Deciding question: "does one directory own this, or does it follow a file type wherever it lives? — if you'd copy it into three subtrees, it's a rule." - curator hook KIND axis + docstring sharpened to the nested-vs-rule fork. - /claude-md-audit: two distinct triage destinations (nest vs rule) with the criterion + examples (all *.test.* ; every **/dynamodb.ts paginates), routing rule of thumb and apply step updated. - Test asserts the nudge surfaces the rule option; version -> 0.14.0; README. Verified: claude-md-curator 18/18; all 6 hook suites green; ruff clean; manifests valid; claude plugin validate passes. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01D6pwpBdoug4tJRxxVrNNeL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Area-specific guidance was lumped under "move to a nested CLAUDE.md (
.claude/rulesin parens)". But nested CLAUDE.md and path-scoped rules scope on different axes, so this makes the audit/curator treat them as a real fork.The criterion
CLAUDE.md— one subtree owns it (web SSR conventions, the poller's test stub)..claude/rules/withpaths:— follows a glob across directories, no single dir owns it (all*.test.*must be able to fail; every**/dynamodb.tspaginates its scans).Changes
/claude-md-audit:move-to-nested-CLAUDE.mdandmove-to-path-scoped-ruleare now two distinct triage destinations with the criterion + examples; routing rule-of-thumb and apply step updated.Verification
claude-md-curator18/18; all 6 hook suites green; ruff clean; manifests valid;claude plugin validatepasses.🤖 Generated with Claude Code