You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b46773c
Browse filesBrowse the repository at this point in the historyBrowse files
test(spec): split key-mention.test.ts's conflated shipped-ledger case (#12973)
`key-mention.baseline.json` declares itself a SHRINK-ONLY RATCHET (#11457) —
a finite debt ledger that exists to be driven to zero — and its twin pinned
the debt as PRESENT: `expect(doc.exemptions.length).toBeGreaterThan(0)` goes
red on the commit that deletes the last exemption, i.e. exactly when the
burn-down succeeds. Deleting the floor alone would not have been the repair
either: the `for (const row of doc.exemptions)` one line later asserts nothing
over an empty array, so it would trade a red for a silent no-op.
Split into the two claims the case conflated, per the PR #12050 witness-pair
idiom:
* the parser + row-quality rule, carried on a SYNTHETIC witness pair (a
conforming row the parser accepts and the rule holds for; a structurally
valid row that only reassures, which the rule refuses) — so both halves
keep discriminating once the ledger reaches zero;
* the shipped ledger, held to the same rule CONDITIONALLY on rows existing,
with the read asserted independently of the row count so an empty ledger
cannot read as a file that was never read.
Claude-Session: https://claude.ai/code/session_01LpRNHxWZgSUgVnFT9mQQo4
Co-authored-by: Claude <noreply@anthropic.com>
0 commit comments