Repository navigation
URI exported window: selected per firmware major from an evidence table, empty today - #1307
Merged
Merged
Conversation
… evidence table, empty today `product_binding` takes the firmware major and a table of admitted majors: on a display in the exported-window mode and a major the table lists it composes `Exported` on the 1920x1080 canvas, otherwise what it composed before (ACB unchanged, everything else Unbound). A major of 0 (unknown) is never admitted. Production passes `EXPORTED_STRATA`, which ships empty, so no release changes behaviour: every set without an entry plays Standard. The doc comment on the table is the admission rule (decompile, tester picture/placement/aspect, tester drive gate, or a major bracketed by two tester-proven neighbours). `install_uri_product` reads `device::info().major` at the IO side and hands it, with the table, to `uri_product_binding`, whose boot line now ends `major=<n> evidence=table|none`. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… evidence, and narrow "plays Standard" to webOS 5+ The doc on `EXPORTED_STRATA` (and the matching paragraph in docs/uri-mode.md) quoted a probe summary line as the picture evidence. Only the probe prints a summary, and the quoted tokens are not contiguous. The rule now reads: (a) the firmware image reads `option.windowId` at load; (b) a tester's product-path run on a debug build (boot line `evidence=override`) shows the picture, supported by the probe's summary tokens; (c) the probe's drive tokens and the product run's own pause, seek and audio. A release is never admitted on probe evidence alone. "Plays Standard" was also wrong for a webOS 4.x ACB set, where an opted-in viewer still plays URI through ACB: it is now said only of a webOS 5+ release without an entry, and the boot-line doc says `evidence=none` is not the same as Standard. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
URI exported window: selected per firmware major from an evidence table, empty today
On webOS 5+ the URI backend can drive the TV's exported window, but production has never been
allowed to choose it:
product_bindingcomposed it for no one, and only a debug override couldbind it. This change gives production a rule for choosing it, and ships the rule with nothing
admitted, so no release changes behaviour: every webOS 5+ release still plays Standard, with no
handoff and no extra latency (a webOS 4.x set keeps its ACB path, which this table does not touch).
What changes
product_binding(display_mode, plane, initialized, firmware_major, strata)(play-uri): on a displayin the exported-window mode and a
firmware_majorthatstratalists, it returnsBinding::Exportedon the 1920x1080 canvas. Anything else gets what it got before: the ACB planewhen its gate holds, otherwise
Unbound. A major of 0 (unknown) is never admitted, whatever thetable lists. It stays a pure function; the table is an argument, never a
cfg(test)constant (play-uriis in
ci/check-deps.sh's fork scope), so tests pass their own.EXPORTED_STRATA: &[u32] = &[]. Its doc comment is the admission rule. A major is admitted with allthree parts in
docs/uri-mode.md's Results table, each with the tester log's decisive lines, and neveron the developer probe's evidence alone: (a) the major's own firmware image reads
option.windowIdatload (decompile); (b) a tester's product-path run on a debug build (boot line
evidence=override) showsa moving picture with sound, placed and proportioned right, supported by the probe's summary tokens
load=ok,playing=yes,currentTime_advanced=yesandwindow=exported; (c) the probe's drivetokens (
pause=froze,resume=sentwithresume_from=at or after the paused position minus1000 ms,
seek=hit,audio=okor anaudio_at_load=) and the product run's pause, seek and audio doingwhat the viewer asked. One exception: a decompile-only major is admitted when both neighbouring majors
are admitted on tester evidence, and its row says "bracketed, no tester run". Each future entry carries
a comment naming its Results row.
install_uri_productreadsdevice::info().majorat the IO side and passes it, withEXPORTED_STRATA, intouri_product_binding(which takes both as parameters, so it is testablewithout the
OnceLock). The debug override keeps composing after it and logging its ownevidence=overrideline.The boot line gains the major and where the binding's evidence came from:
(
evidence=tableonly for a binding the table composed.nonesays the table admitted nothing, notthat the play is Standard: a 4.x ACB set reads
noneand still plays URI through ACB for a viewer whoopted in.)
docs/uri-mode.md: one paragraph stating the table, the admission rule and that a webOS 5+ releasewithout an entry plays Standard. Two doc comments that said the product never selects the exported window now
name the table.
Verification
Host tests; nothing here is device behaviour while the table is empty.
strata: a listed major givesExported; an unlistedmajor, major 0 (also when listed), an empty table, and
VP_NONEgiveUnbound;VP_ACBis unchangedand never becomes
Exported. Written first against a signature stub: the listed-major case failed(
UnboundwhereExportedwas expected), then passed with the change.Unboundfor everymajor 0..=30; a slice listing the major gives
Exported; an unlisted major and major 0 do not; anon-exported display never does. The boot line's
major=/evidence=is pinned, and was seen to failwith the evidence label mislabelled before it passed.
ProductEvidence::unqualified_on(VP_EXPORTED, Exported).opted_in()permits exact progressivethrough the exported window and through nothing else (it was not covered by a unit test).
Part of the webOS 5+ URI work tracked in #1064; does not close it.
🤖 Generated with Claude Code