wai: the parameter-set pin, component identity, pin-aware selection #132
Loading…
Reference in a new issue
No description provided.
Delete branch "wai/land-13-parameter-set-identity"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
SPEC §3.1 makes the model pin normative. A manifest's
conditioning.prior, and each WAI2 rendition'sprior, carriesid,sha256anddeterminism, plus the optionalform,tierandsupersedes. The digest covers the whole parameter set; a set of several files is pinned through its listing, registered as the prior formwai.prior.set. A sink verifies the pin before it decodes, refuses with one of an ordered set of reasons, and decodes only from the bytes it verified. A pin that does not resolve makes its capability unsupported for that envelope: §4 dispatch continues at the fallback and §7.1 selection at the next rendition.idandsha256(its payload digest) beside itsprior, and a companion may name its base bycompanion_of_id. §7 gains a Digests subsection, and §8 says how a MINOR revision adds an optional member.Wai::dispatch_verified,WaiMulti::pickandprimary, the Cwai_envelope_selectand wai-web all usecodecs::is_dispatchable, so a candidate stays inert on every path; the candidate tests run on the pin-aware API and on the C ABI.#[non_exhaustive]with builders; apinmodule verifies pins in memory and on disk; every neural decoder reads throughParamSource; a codec-freeffifeature carries the C envelope surface; a pinned ONNX model may not reference tensors outside the verified bytes.wai.prior.setis in the registry table. Vocab v2, generated from the registry, carries the pin terms, which v1 gains additively.int_mlicppset-form twin, and SHA-256 sidecars for the decoded output of every capability that decodes against a parameter set.Lands after #131.
Checked locally on macOS arm64: the link gate (build, library tests, carriage, every conformance corpus including pin conformance, fast kernels, byte-exact conformance, the wasm32 check and the neural gates) and the workflow steps this link adds. The forge CI runs on this pull request.
🤖 Generated with Claude Code
wai.prior.set (SPEC §5, Prior artifacts) gets its row in the registry table: a registered payload, media class binary, registered 2026-09-30, with the edition left to the registration. It is listed in GLOSSARY_NO_ENTRY as a WAI-native class. `wai registry export` regenerates registry/capabilities.json, the table in REGISTRY.md and vocab v2.{ttl,shapes.ttl}; `wai registry export --check` is clean, and the registry tests that hold every registered string to one row pass again. Co-Authored-By: Claude Opus 5.5 <[email protected]>