The world digest is now a homomorphic set hash over per-document digests
(sha256 of schema, key and the named encoding of the value), updated by the
documents a commit changed, sealed with the revision. WorldState is no longer
an encoded value and loses Serialize; events live once, in the Acted commit
that applied them, and snapshot folds minted_at and last_acted_at over the
journal; knowledge is one document per (subject, fact). Schemas become
world_state.v2 and world_commit.v2, so every digest and the export hash move
and golden.digests is regenerated. verify_state_shape no longer judges events:
replay re-derives each through action::exercise.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
A stored digest flipped without re-sealing, and each genesis clause rewritten
and re-sealed on a lone genesis, are now refused by tests that only that clause
can satisfy. The golden session declares a two-band toss and uses it three
times, so band selection is pinned (golden.digests regenerated). The
BandPreimage doc no longer claims the payload cannot reach the draw; WorldId
byte-equality, and truncation or rollback of an export, are documented as host
contracts in the code and PROVENANCE.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
fixtures/golden.digests pins every committed revision's state and commit digest
and the export digest for one scripted session: speech (Told), a display, a
routine placed and rolled by a thirty-minute tick, and a refused convene. The
round-trip test reopens the export and checks the next command gives equal
receipts on both worlds. clockwork_commit_cost is an ignored harness that
prints mean tick and speech submit times at 100, 400 and 1600 persons.
PROVENANCE.md records the id, journal and dependency changes.
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>