rsrobo keeps general style rules in the review prompt; notes hold repo-specific rules
DecisionVerified 2 Oct 2026Holds anywhere
Decision. The context, the choice, why, and the options that were turned down.
Context#
Deciding where rsrobo's review rules live.
Decision#
General code-style review rules (magic ints or strings where an enum belongs, dead code, a silent fallback, comment noise, non-ASCII) live once in rsrobo's review prompt, not in each repository's notes AGENTS.md, because a copy per repository would drift. The notes file keeps only repo-specific rules. A rule in a notes file wins over the prompt's "do not flag" list, in both directions, and the init-notes prompt does not copy general style rules into new notes.
Why#
A copy per repository would drift.
Rejected options#
Duplicating general style rules into every notes file.
Cost accepted#
Severity is P2 for the costly three (magic literals, dead code, silent fallback) and P3 for the rest, so style alone rarely blocks a merge.
Also found by searching
- general code-style rules live in the review prompt, not in each repo's notes
- a rule in a notes file wins over the prompt's do-not-flag list
- severity P2 for magic literals dead code silent fallback
- init-notes does not copy general style rules into new notes