Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .claude/skills/ci-gates/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -1434,3 +1434,15 @@ signature of a fall-through.
`check_elab_ratchet.py`'s no-baseline branch under the silent operator, declared
`UNCOVERED` by message.

**A sweep that could not find its own founding case.** After fixing `--invert`
I swept all 55 boolean CLI flags for the same shape, scoring "declared but
barely used" as suspicious at two or fewer references. Seven flags surfaced;
every one was a correct forward — declaration plus the call it feeds, which is
what two references *means*. And `--invert` with the bug in place had **three**:
signature, `if invert`, destructure. The threshold would have cleared it.

Static reference-counting cannot express the defect. The flag was used, in a
`println!`. Only a test that demands the mode produce a *different result* can
tell a working mode from a decorated one — which is why §36's check is a
behavioural assertion and not a lint.

9 changes: 9 additions & 0 deletions docs/now/2026-08-23-a-ruler-that-misses-its-own-case.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# NOW — a ruler that misses its own case (2026-08-23)

After fixing `--invert`, I swept all 55 boolean flags in the `tri` CLI for the same shape: declared, and barely referenced.

- Seven surfaced at the "two or fewer references" threshold. Every one was a correct forward — the declaration plus the call it feeds. Two references is what a working flag *looks like*.
- `--invert`, with the bug in place, had **three**: signature, `if invert`, destructure. The sweep would have cleared it.
- The flag was used. It was used in a `println!`. Reference counting cannot express the difference between a mode and a decoration.

Reported as a null result with its own limit stated, rather than as "seven candidates, all clean" — which would have read as coverage. The check that works is behavioural: assert the new mode produces something the other modes do not, on a fixture where all of them have a site.
Loading