pingqiuandClaude Opus 5.5 786f3a4d82 test(chunkstore): controls for the bounded commit check; wait and invariant ledger
Tests only, plus the ledger; the product code is unchanged.

- TestCommitLookupsNeverExceedTheCap: every lookup is held until the cap
  is reached; no 33rd starts (a cap-33 mutant fails it).
- TestACancelledCommitStopsJoinsAndWritesNothing: cancelled before any
  lookup and mid-flight, the commit returns within a bound with no lookup
  still running, admission stopped and HEAD not written (a mutant that
  keeps admitting after a failure starts 502 lookups and fails it).
- TestTheEarliestFailureByPositionDecidesTheError: of two failures the
  earlier position wins, whichever finishes first (a first-to-finish
  mutant fails it both ways).
- invariants.md: the admission and join waits of allOwnedBySession in
  C.W, and the scale, detach and control tests on
  INV-SNAPK-COMMIT-REACH-001.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 17:02:33 -08:00
Languages
Go 84.5%
Rust 7.9%
Shell 2.7%
templ 1.6%
Java 1%
Other 2%