Commit a3fbd20
docs(agents): state the hidden-tests rule as the invariant the gate enforces (#15340)
`AGENTS.md`'s hidden-tests bullet was exclude-shaped, but
`check:type-check-coverage` enforces the invariant per file and
spelling-agnostically: a test named by an `exclude` OR never reached by any
`include` is hidden from the typecheck. The prose declared a narrower rule than
the tree enforces, so an author who obeyed it to the letter could still hide a
whole test tree by never including it.
Restate the bullet as the invariant, name both spellings that break it, and name
`check:type-check-coverage` as the enforcing instrument. Rewritten inside its
existing 6 lines at the existing wrap width (widest line 87B before and after),
so the ratcheted file line count is unchanged at 1161.
Claude-Session: https://claude.ai/code/session_019RfFHiRCSs3JXLK4cwcfox
Co-authored-by: Claude <noreply@anthropic.com>1 parent f158daf commit a3fbd20
1 file changed
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
0 commit comments