capcheck.rs: for each rung, in order, capability-unknown (SPEC §5 does not register it), capability-not-payload (a record or a derivation), capability-candidate (no pinned payload format), capability-role (a base or floor that is not standalone media, a refinement that is not refinement-only), and under royalty_free_only license-unclassified or license-refused with the class's label, read from wai's codecs registry. A packager's verdict on a policy is the policy's refusal, then the first rung's; the refusal corpus gains a case for each that a registered string can reach. pack-conformance/encode: a WIV1 payload of int_video_enc for every piece of every fixture (its first frames), under a whole-pel and a half-pel parameter set, with its BLAKE3, the SHA-256 of every decoded frame and the SSE against the source. wai-pack regenerates each byte for byte, decodes it through decode_int and recomputes the SSE; pack_verify.py decodes each with the integer-payload corpus's own WIV1 decoder, recomputes the SSE from the fixture it regenerates, and applies R6 from the published registry export. Co-Authored-By: Claude Opus 5.5 <[email protected]>
15 lines
262 B
TOML
15 lines
262 B
TOML
# Refused: a capability SPEC §5 does not register.
|
|
schema = "wai.pack.policy/1"
|
|
asset_id = "r"
|
|
lead = "v"
|
|
|
|
[[component]]
|
|
id = "v"
|
|
media = "video"
|
|
timebase = { num = 25, den = 1 }
|
|
|
|
[[ladder]]
|
|
id = "b0"
|
|
component = "v"
|
|
capability = "wai.video.nope"
|
|
role = "base"
|