feat(8247): a test case is accounted for by what it guards, and the coverage line counts the suite by it
CI & Build / TypeScript typecheck (push) Successful in 37s
CI & Build / Plugin hooks (push) Successful in 17s
CI & Build / Python lint (push) Successful in 2s
CI & Build / Python tests (push) Successful in 2m24s
CI & Build / integration (push) Successful in 2m22s
CI & Build / Build & push image (push) Successful in 43s

A refresh now stamps a test case `test` when it is linked to something it
guards, and withdraws the stamp when its links go; a judgment always wins. A
test case linked to nothing stays in the todo, because nothing says what it is
for. Specs written as it()/test() calls get one ledger row per file, read
whole. The coverage line and card count tests linked, guarding nothing found,
and redundant, and the end-of-turn question no longer asks the writer to call
a test case a one-off.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-30 21:57:57 -05:00
co-authored by Claude Opus 5.5
parent ebd9d8fbb8
commit dc9e88aa6d
10 changed files with 288 additions and 11 deletions
+1 -1
View File
@@ -483,7 +483,7 @@ async def test_coverage_measures_the_tree_exactly_and_caches(seeded):
assert coverage["unclassified"] == 2
assert coverage["counts"] == {
"canonical": 2, "instance": 0, "variant": 0, "exempt": 0,
"redundant": 0, "unused": 0, "scoped": 0,
"redundant": 0, "unused": 0, "scoped": 0, "test": 0,
}
assert coverage["estimate"] is True
assert coverage["repos"] == [{