Every registered string now lives in one table (codecs/registry.rs) with its kind, status, media class, registering SPEC section, edition and registration date. `wai registry export` writes registry/capabilities.json, its JSON Schema, the generated table in REGISTRY.md and vocab v2; --check fails on drift. vocab v1 stays stable. A candidate capability (a registered string whose payload format no revision has pinned) must not be emitted. The C packers, the browser writers and `wai wrap` refuse one, and `codecs::is_dispatchable` is the single dispatch and selection predicate (SPEC §4): candidates, companion-only capabilities, records and derivations are not dispatchable, and an unregistered string is decoded only where the sink advertises it. The codec glossary is linked to the registry through a reviewed table and held to its schema by a library test; `org` becomes `body`, from a closed allowlist. The SPEC gains §5 sections on kinds and candidates, a §8 edition rule, corrected citations and rewritten appendices. The quantum-ops vectors are regenerated with neutral device ids. CI declares the feature-gated test targets with required-features, checks the registry export, builds wai-web for wasm32, and runs two public-text checks (comparative prose, and private name patterns) with a self-test. The specification, extensions, research notes, READMEs, glossary and source comments are rewritten to name no company or product and to make no comparisons. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 line
No EOL
1,020 B
JSON
1 line
No EOL
1,020 B
JSON
{"kind":"quantum-calibration","config_hash":"4579a9a6bd54aee3be094201b99e45bc7e6c22bb61f0b09a09f170d9c487a0ec","device_id":"example:lab3-device","evidence":[{"blob_hash":"1a03735f5c166c618d0184eb75a27597052ba584bebee1a3bb950a8715dc64e2","kind":"interleaved_rb","summary":"cz gate fidelity 0.9871"}],"grant":{"capability":"quantum.calibrate","funds_ceiling":null,"grant_hash":"65e3c147b00bf7159cf77ea73683a8278a594e879020b8d1acea970d1b65530d","joule_ceiling_micro":8000000},"joules_micro":6800000,"merkle_root":"5705b7eb3288eca42b2472844acd411cf97af5550ae02f1bfb25889bcaf4d8ae","parent_receipt_hash":"7c53298929a1261959315c91f9540781b4bff0669b5f4b783becee93dbf5f8fa","receipt_hash":"4c6374ee05c956f928455f86326357f10d08f3466e88d569a6ef49975001f526","sig":"005ed3258c569afeaeb3f96062e60c2743cbf93d5c89982efef3dbb401325b7b0722d18b405dfeadefa396b4027e20af7a4851803f42f9d472142617d66dcc0a","signer_id":"did:key:demo-lab","signer_pubkey":"d04ab232742bb4ab3a1368bd4615e4e6d0224ab71a016baf8520a332c9778737","target":"cz(q3,q4)"} |