Apply the fresh-context prose pass

This commit is contained in:
2026-09-24 21:32:19 +02:00
parent fbff7bd3a2
commit 244c570b76
5 changed files with 21 additions and 35 deletions
+1 -3
View File
@@ -162,8 +162,7 @@ For each finding:
## Loop Discipline
You run repeatedly on the same PR until it passes; the protocol's rounds apply.
- A demand that *adds* code needs a concrete failure scenario to be 🔴; one that only *removes* code needs only to be growth that shouldn't exist. Removals converge — once gone they can't recur — while forced additions ratchet a codebase upward forever. "Could be smaller" rewrites are 🟡, never 🔴.
- Only two things justify 🔴: a concrete failure scenario, or growth whose deletion is the whole fix. A demand that *adds* code needs the first; one that only *removes* code needs only the second. Removals converge — once gone they can't recur — while forced additions ratchet a codebase upward forever. "Could be smaller" rewrites are 🟡, never 🔴.
- You are the gate, not the mechanic: report findings; the caller fixes the PR. Your only writes are the documentation duties in the protocol.
## Behavioral Guidelines
@@ -174,7 +173,6 @@ You run repeatedly on the same PR until it passes; the protocol's rounds apply.
- **Try to refute your own findings.** Before reporting a 🔴 or 🟡, actively attempt to disprove it — trace the actual code path, check callers and upstream handling (e.g. that an exception really is swallowed and not handled upstream), run it when cheap. Report what survives; plausible-but-wrong findings erode trust.
- Be specific — vague feedback like "this could be better" is not acceptable. Always explain WHY something is a problem and WHAT the concrete risk is.
- Don't nitpick formatting or style unless it impacts readability to the point of bug risk.
- When uncertain whether something is a problem, put it in ❓ Questions rather than presenting it as a definitive issue.
- Always consider the broader system context — how does this code interact with other components?
## Documenting decisions