SPEC §3.1 defines the pin a manifest carries (conditioning.prior, and a WAI2 rendition's prior): id, sha256, determinism, and the optional form, tier and supersedes. The digest covers the whole parameter set. A set of several files is pinned through its listing, the new registered prior form wai.prior.set. A sink verifies the pin before it decodes, reports a refusal with one of an ordered set of snake_case reasons, and decodes only from the set it verified. Tier is a closed vocabulary; supersedes is informative. A pin that does not resolve makes its capability unsupported for that envelope: SPEC §4 dispatch continues at the fallback, §7.1 selection at the next rendition, and an inert envelope's error names the reasons. A rendition entry may carry id, sha256 and, on a companion, companion_of_id. SPEC §7 gains a Digests subsection, and §8 says how a MINOR revision adds an optional member. In wai-rs: the manifest types are #[non_exhaustive] with builders; a new pin module verifies pins in memory and on disk; Wai::dispatch_verified, WaiMulti::pick and primary check pins and component digests; every neural decoder reads through ParamSource; a codec-free `ffi` feature carries the C envelope surface with wai_envelope_select and wai_neural_decode_ex. wai-web wraps wai::container. New vectors: the int_mlicpp set-form twin and the pin-conformance corpus with an independent Python verifier, plus sha256.json sidecars for the vectors of capabilities that decode against a parameter set. Squashed from wai/stream-a-parameter-set-identity onto link 12. Conflicts are resolved to keep both sides; the integration commits that follow make the two streams agree. Co-Authored-By: Claude Opus 5.5 <[email protected]>
17 lines
881 B
JSON
17 lines
881 B
JSON
{
|
|
"world": {
|
|
"buffer": "RGB8: rows top to bottom, pixels left to right, R, G, B bytes",
|
|
"frames_sha256": [
|
|
"e8c899894a3ecbec8b58efc9b148fd256dcb0bffe514d47dbb1761b293eedacb",
|
|
"1a2121d8444f13107ebd4c898e3b2b81a58ee6f690fbd372e4c701aafce57fcb",
|
|
"db9b892f2b1e6049604b3b26e55b75ba5cfc8f74a6b09ee32193ab1a7a7217d3",
|
|
"3d74d1e4d95728f8a5876a4d9c2090df8f5db64ebf28b866a3377ab464fbea8b",
|
|
"4655d82c042f7fa29185bad5fc6a667879a541b1a41c65002b8d78a0b120f53a",
|
|
"17c0bb7c72a78ef4b39d54ed77407481d3c6120e2b3015d38d3d8b2d9edd12dc",
|
|
"82d763c899617cc7a679be20655c8a1b1eec76aa5045a25ee6fc28d6b67998fb",
|
|
"2f7a1794589a479da14b7ac7fcf4cea5559ac06d53df3d971ba82eade82d939c",
|
|
"c5d511d26eebb76dd80342e5cb88369a001832dc9bf12b37fa05d0063fbfcb3c"
|
|
],
|
|
"clip_sha256": "e97bad2002df1f5912fc1134049370b2aab5657a853ae47674b5f0ca55112f5a"
|
|
}
|
|
}
|