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
882 B
JSON
17 lines
882 B
JSON
{
|
|
"world2": {
|
|
"buffer": "RGB8: rows top to bottom, pixels left to right, R, G, B bytes",
|
|
"frames_sha256": [
|
|
"9bf5436efbbcb831bd22856bbf5ab53e79f8ff0a2650f7fb3303edd3e15d44d8",
|
|
"423b27290bfa409826a653da107aad67e4a6c24ae14126065d1260282ddf3a65",
|
|
"e60698ae764265c63a15ba27723b85ba9bee37abf43beba5c1eba08e062b193a",
|
|
"ff2b7a28307eba9796de2884cdbc3fb745f72173b739feafa9687e4eea642125",
|
|
"f372a14a2cbe15b300825944a595e3f88905a597c27e401ddb2b3c692d66a165",
|
|
"bc1b60fd580489d41cccb8a8a208b204dc89d541f8daee5e53b7606af2c37516",
|
|
"685f9a243cfd02628a448578468998489658b0c340843abf0efae1e57e5122d7",
|
|
"7eb6c4c09c732bbde4b17046463e174d1ebe6a1e22cad3417c420cdce1b90a6b",
|
|
"770abdb68dd5cf6fe76e900babfa4017642f7ae4af069a093a7542a85feb728d"
|
|
],
|
|
"clip_sha256": "8caa25404762fc6583e7d1c4002d92c853aba0657465c61f26a72e1412307512"
|
|
}
|
|
}
|