open-standards/wai/pack-conformance/live/windows/1/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.2 KiB
JSON

{"asset_id":"video-staged-01","components":[{"id":"v","index":"index-v.wsix","index_digest":"b31b0d7e1faab1b7331bf26f8400ca848692aba315e2e8083086d1523baac510","media_class":"video","stage_root":"c64c85665b4723be6efbd42ecd2c69e201a8d12c7eb0f2f3739186f5fdc368ed"}],"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":"live-window","parent_receipt_hash":"c8143d2452499a4d3772e40c528255eae90e781511995a76b1cabd12c87b5950","policy_digest":"1bed669917d9d78e1a0f65a5a998db50e98e3dbdf836cc2ae00ff2ac97d67e57","receipt_hash":"03e9c415609e457da2a3d47298d91c541b36f03b634fb56060c9a4da1c2d8f13","sig":"fb568c45c8645e5213aed52462bbcdf1354f2b55fc0cd134ce563ab2b5721c2f5346111392ef46d2b193aacaa4553cae1a202e6149fcd1abdea9e743d0037a00","signer_id":"did:key:z6MkhGok4PzLmtw1v5uW3Bpip8gHHifrCt42QJn4gEBfRVQG","signer_pubkey":"29e5833a915a6429a4e3a7948475c338ef436eb82be89c92f059704403db9d55","stored_bytes":81674,"total_bytes":81674,"total_entries":4,"unique_objects":4,"version":2,"work_units":4}