Make CLAUDE.md a short router, and move each topic's rules to a file under rules/ that loads when a session touches a matching file #242
Reference in New Issue
Block a user
Delete Branch "claude-md-router"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Item 95.
CLAUDE.mdkeeps the rules no file path can scope. The rules for comments, the decision log, READMEs andtodo.mditems move torules/*.md, which Claude Code loads when a session reads or writes a file theirpaths:frontmatter matches. loop-claude's judge reads them besideCLAUDE.md, and the reviewers and larv-review cite them. The design and its premise:docs/decisions.md→rules/: ….Instructions loaded, counted as sentences (bullets and paragraphs split at sentence ends; headings, tables and frontmatter skipped):
mainCLAUDE.mdCLAUDE.mdcomments.mdA worker's topic rules now arrive with the file they govern, later in context; whether that raises adherence is unmeasured. Item 103 asks whether the saving must reach workers too.
Also sorts the imports in
bin/rule_hook/override_log.py, which failed the suite onmain(item 100), and files items 101 and 102 from the principles audit.f351e14against4cc9953is same f1a84307be