wai: ingest the browser capability-negotiation mapping (WebCodecs) #54

Open
dcharlot wants to merge 1 commit from wai-webcodecs-negotiation into main
Owner

SOTA ingest: WAI's §4 dispatch is the browser's own capability primitive — WebCodecs isConfigSupported(), whose documented fallback is a WASM decoder. New extensions/webcodecs-negotiation.md maps §4's advertises-cap test onto a two-tier browser resolution (native via isConfigSupported, WAI's pure-integer wasm decoders as the always-satisfiable fallback), documenting what the live /jpegai and /int_hyper sinks already do. Referenced from SPEC §4. Docs only, self-referential.

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com

SOTA ingest: WAI's §4 dispatch is the browser's own capability primitive — WebCodecs isConfigSupported(), whose documented fallback is a WASM decoder. New extensions/webcodecs-negotiation.md maps §4's advertises-cap test onto a two-tier browser resolution (native via isConfigSupported, WAI's pure-integer wasm decoders as the always-satisfiable fallback), documenting what the live /jpegai and /int_hyper sinks already do. Referenced from SPEC §4. Docs only, self-referential. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
wai: ingest the browser capability-negotiation mapping (WebCodecs)
All checks were successful
no-vanity-metrics / Scan committed Markdown for vanity metrics (pull_request) Successful in 4s
4b2bc24087
SOTA ingest: WAI's §4 dispatch — declare a capability, decode it if advertised,
else fall back — is the exact shape of the browser's own media-capability
primitive, WebCodecs isConfigSupported(), whose established fallback when a config
isn't supported is a WebAssembly decoder. That is WAI's two-tier design already.

New extensions/webcodecs-negotiation.md formalizes it: a browser sink answers §4's
"advertises cap" with isConfigSupported() for the native tier (mapping the floor +
menu codecs to VideoDecoder/AudioDecoder/ImageDecoder), and WAI's pure-integer wasm
decoders as the always-satisfiable fallback — the tier the neural/computed
capabilities (wai.image.jpegai, wai.neural.int_*, …) live in, decoding byte-exact
in-browser (decode-equivalence), and where the classical floor stays always
reachable. It documents what the live /jpegai and /int_hyper sinks already do.
Referenced from SPEC §4; changelog entry. Informative, self-referential — WAI adds a
named capability and a guaranteed wasm floor to the browser's own pattern.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
All checks were successful
no-vanity-metrics / Scan committed Markdown for vanity metrics (pull_request) Successful in 4s
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin wai-webcodecs-negotiation:wai-webcodecs-negotiation
git switch wai-webcodecs-negotiation

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff wai-webcodecs-negotiation
git switch wai-webcodecs-negotiation
git rebase main
git switch main
git merge --ff-only wai-webcodecs-negotiation
git switch wai-webcodecs-negotiation
git rebase main
git switch main
git merge --no-ff wai-webcodecs-negotiation
git switch main
git merge --squash wai-webcodecs-negotiation
git switch main
git merge --ff-only wai-webcodecs-negotiation
git switch main
git merge wai-webcodecs-negotiation
git push origin main
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Transaction-Science/open-standards!54
No description provided.