LeVCS/crates
Levi Neuwirth cd37f8bc04 Close the Wave A matrix carry-forward (B4 deliverable 1)
The Wave A review recorded that the crash matrix structurally could not
express its own first blocker: no failpoint corrupts a frame inside a
sealed segment, and none moves a journal between shards of one root. A
green matrix on a defect it cannot represent is the same trap as a helper
nothing calls, so the finding was carried forward rather than closed.

Add the two physical crash-image generators as a `damage` subcommand on
the crash driver, and two tests that drive them through the same
production `reconcile` path the matrix and the recovery script use.

  - sealed-frame-corruption flips one payload byte in the first frame of
    a segment the drive actually sealed and installed. The footer stays
    structurally valid, so only frame verification can reject it.
  - cross-shard-journal-movement relocates shard 1's active journal under
    shard 0 of the same root. Root UUID validation cannot see this; the
    journal header's shard index must be bound to the directory being
    opened.

Both generators mutate a production-written image and fence the mutation;
neither synthesizes a footer, frame, manifest, or checksum, so a passing
test cannot be an artifact of the harness agreeing with itself. Each
source image is required to be unambiguous — exactly one segment or
journal — so the result does not depend on directory iteration order.

The assertions pin the refusal to its own cause rather than to any
non-zero exit: the frame case must fail on the digest recomputation and
the movement case on the shard binding, and neither may publish a partial
adoption result.

crash_matrix: 26 passed. scripts/check-phase1.sh green.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-07-28 14:25:07 -04:00
..
levcs-cli Robustness fixes 2026-05-03 20:56:46 -04:00
levcs-client integrate CI and docs 2026-05-01 11:29:18 -04:00
levcs-core integrate CI and docs 2026-05-01 11:29:18 -04:00
levcs-identity Freeze Wave A: Phase 1 storage spine 2026-07-26 19:47:03 -04:00
levcs-instance Robustness fixes 2026-05-03 20:56:46 -04:00
levcs-merge integrate CI and docs 2026-05-01 11:29:18 -04:00
levcs-protocol Scope Wave B storage work 2026-07-27 21:31:52 -04:00
levcs-store Close the Wave A matrix carry-forward (B4 deliverable 1) 2026-07-28 14:25:07 -04:00
levcs-tui integrate CI and docs 2026-05-01 11:29:18 -04:00