There was an error while loading. Please reload this page.
1 parent bf26ab1 commit 4cf1165Copy full SHA for 4cf1165
1 file changed
AGENTS.md
@@ -36,6 +36,10 @@ Versioned CLI help is the source of truth for command behavior. Start workflow p
36
- Repair recurring failures at their owning interface with types, a registry, or one construction
37
path. A custom guard that reconstructs another source of truth needs redesign, not another
38
exception.
39
+- Treat explanatory implementation comments as a failed design review. Do not narrate control flow,
40
+ preserve review history, or justify a workaround in code. Express the invariant through names,
41
+ types, module boundaries, and tests; put history in the PR or an ADR. Allow only public API docs,
42
+ tool directives, and a brief citation to an external constraint that cannot be encoded.
43
- Key behavior on typed reasons and details, never error text. Existing message sniffs are owned debt
44
and must not be copied.
45
- Snapshot output is the token budget: do not add per-node metadata when response-level metadata can
0 commit comments