open-standards/wai/pack-conformance/live/windows/0/package.receipt.json
Transaction Science b6858ea485 pack-conformance: a live-window corpus, checked by both implementations
The corpus had no live windows, so pack_verify.py never read a live-window
receipt, a non-zero `prev_index_digest` or a `first_entry` past zero.

live/ holds the staged golden's source packed live with its key, in windows of
two pieces: each window's index and receipt, and expected.json with each
window's place in the chain, index digest and receipt hash.

pack_verify.py reads each window with its own index reader and §6.3 rules, and
verifies the receipt (§9.1, strict Ed25519). It then checks the chain:

- the parent receipt (`live-window`);
- `prev_index_digest`;
- `first_piece` and `first_entry`;
- the timeline;
- the signer is the golden's key.

It also checks that each window's pieces, entries (but flags and window-relative
`refines`), class plan and plan digest are the golden's.

wai-pack's conformance check writes the windows again, compares their bytes, and
verifies the same chain.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-08 19:52:14 -04:00

1 line
No EOL
1.1 KiB
JSON

{"asset_id":"video-staged-01","components":[{"id":"v","index":"index-v.wsix","index_digest":"66b9399454a9937a52eef21bb7c452c8a03257d707d4a8238e99db447926aca0","media_class":"video","stage_root":"3aeb034c4d2f20e768d8e08bec6911370ff20790f8b04d38bc8618ecf18c2edf"}],"energy_provenance":null,"grant":{"capability":"wai.video.package","funds_ceiling":null,"grant_hash":"0000000000000000000000000000000000000000000000000000000000000000","joule_ceiling_micro":null},"joules_micro":0,"kind":"package","packager":"builtin:[email protected]","parent_kind":"none","parent_receipt_hash":null,"policy_digest":"1bed669917d9d78e1a0f65a5a998db50e98e3dbdf836cc2ae00ff2ac97d67e57","receipt_hash":"c8143d2452499a4d3772e40c528255eae90e781511995a76b1cabd12c87b5950","sig":"03bb324e8047e88a7d28494d3c132473992b40742476691b11ea0d4405fd6800928bed7a45303f0c7e3ccb293dfb41a1e2e68b4da3c06c6b70f35d44664fec05","signer_id":"did:key:z6MkhGok4PzLmtw1v5uW3Bpip8gHHifrCt42QJn4gEBfRVQG","signer_pubkey":"29e5833a915a6429a4e3a7948475c338ef436eb82be89c92f059704403db9d55","stored_bytes":260808,"total_bytes":260808,"total_entries":6,"unique_objects":6,"version":2,"work_units":6}