Skip to content

ui: the cast row opens a person page, in the Apple TV shape - #10

Merged
GLinnik21 merged 3 commits into
parity-stagingfrom
unit-17-person-page
Jul 29, 2026
Merged

GLinnik21 merged 3 commits into
parity-stagingfrom
unit-17-person-page

Conversation

@GLinnik21

Copy link
Copy Markdown
Collaborator

Unit 17 of the parity-gap work (docs/parity-gaps.md §5b). Cast headshots on the detail page focused and animated, and OK did nothing. They now open a person page.

Why it was unbuildable before

plex::Tag parsed three of the six attributes Role[]/Director[]/Writer[] carry and dropped the two that ARE the personId — id and tagKey. Adding all four missing fields makes GET /library/people/{personId}/media reachable, which returns everything a person appears in across every library section in one request.

The design: Apple TV, not Plex

Plex's own person page is a field list (left portrait, "Actor, Producer, Director", Born + age, Facebook/Instagram handles, a Filmography button, a count-badged "Movies & Shows in Media Libraries", "Known For", "Featured Videos"). That is the feature checklist. The screen built here is the tvOS shape:

  • centred circular portrait (260px, requested at 300×300 — the same size the cast circles ask for, so arriving from a headshot is a poster-cache hit, not a fresh /photo/:/transcode round trip)
  • the name at size::HERO
  • an optional 3-line bio with an inline MORE (TextView::trailing)
  • plain Movies and Shows shelves of ordinary poster cards — RowStyle::HOME, the same tiles, springs, unwatched corner angle and amber resume bar every other shelf draws

No full-screen sheets. Only shelves that have content get a heading.

API notes (all verified live against the PMS on 2026-07-29; now in docs/pms-api.md §2c)

  • personId accepts either the numeric id or the tagKey guid — both verified against the same record.
  • Group /media rows by each row's own type, never by the container's viewGroup. Verified: person 6059's response reads viewGroup:"movie" over five movie rows and one show. There is a host test pinning this.
  • GET /library/people/{id} is not called at all. It returns only the tag record — no summary, no birth date — and everything in it (tag, thumb) is already on the Role[] row the cast circle was drawn from. So the page opens on the header it was handed and only its shelves are fetched: one request per page.
  • count is in the spec but this server does not emit it on Role[] — the DTO treats 0 as "unknown", never "none".
  • Headshots keep working through the existing pipeline: the absolute metadata-static.plex.tv URL rides image_transcode_path as url= and the server does the TLS. No new image route.

How the no-bio header degrades

PMS has no biography to give, so the bio-less header is the normal case, not a fallback, and the layout is composed so it reads as finished rather than broken:

  • The header is a measured flow — portrait, then space::XL, then the name. With no bio the block simply ends after the name and the first shelf follows at the standard block gap. There is no empty box, no "Biography" label with nothing under it, and no placeholder line.
  • Portrait and name are both centred on the screen's midline, so the two elements read as one deliberate title block whatever their heights.
  • Nothing about the page's proportions depends on the bio: header_h() measures what is present, and the shelves below reflow off it. The day someone adds the plex.tv call, the bio slots in under the name and everything below moves down — no layout change needed.
  • The one place a bio would show is drawn only when the string is non-empty (draw_header), and TextView only paints the MORE run when the 3-line cap actually hid words.

With a bio-less header the flow lands at: portrait 96–356, name cap band 420–~472, Movies heading at 536, poster row 582–957, focused under-title band to 1011 — the first shelf is fully on screen at scroll 0, which is why the scroll target is the shared minimal reveal and not a lift-to-margin pin (a pin would slide the portrait off the top the instant the page mounted). There is a host test for exactly that.

Navigation

Route::Person in app.rs with key / pointer / wheel / press-commit / draw / update arms.

  • OK on a cast circle → the person page. Every focusable thing on it is a poster card, so OK takes the same tvOS press (dip on key-down, activate on the spring-back) as the home grid.
  • OK on a shelf card → that item's detail page, with the person page left standing behind it (opened_from_person), so BACK returns to the same shelf position.
  • BACK off the person page → the detail page its cast row was on. person::leave() re-opens that item by rk only if the page navigated away from it in the meantime; the common case is a free instant return, because metadata::current() is still that item.
  • The return-to-Person branch is gated on the store still holding a person, so a profile switch (person::reset(), wired into install_pms next to browse::reset()) can't route to an empty screen.

Async

The store (rust-modules/src/person.rs) is the browse.rs / metadata.rs shape: task::spawn_small, a Mutex mailbox, a generation atomic, a single-flight flag and a retry backoff — with close/reset clearing the flags and the backoff together with the mailbox (the latch browse.rs documents). Two things worth flagging in review:

  • land() is monotone on the generation, so a slow fetch for the actor you already left cannot clobber a newer result the pump hasn't consumed.
  • A superseded landing is dropped without arming the backoff — a stale network failure is not news about the person now open, and letting it back off would have delayed the new page's first fetch by ~2s.

Shared component, not a fork

Rather than paste detail.rs's two-pass shelf loop into a third screen, it moves to card_row::strip. That is where the culling discipline belongs: it is the loop whose on_axis test is the reason only VISIBLE tiles ever call resolve_tex, and the 64-slot poster LRU must never see an off-screen request. detail.rs's Related and Cast rows now call it; the only behavioural change is that strip gained a resume closure (both detail rows pass |_| None, as before). Each shelf is also capped at MAX_ROW_ITEMS, because past that a CardRow's scale(i) clamps to the last cell and a focused tile would never pop at all.

Tests

make check: 67 passed (+9). New:

  • person.rs — /media rows shelved by their own type not the container's viewGroup; shelves capped at the spring count and unknown types dropped; a landing from the previous person discarded while still releasing the single-flight; a failed fetch keeping populated shelves and backing off instead of publishing empty; close/reset clearing the flag and the backoff with the mailbox.
  • ui/person.rs — focus walking only the shelves that exist; a landing that drops a shelf re-seating the focus and clamping the remembered column; opening the page never scrolling the portrait off the top; the second shelf scrolling fully into view and no further.

The two scroll tests assert on a pure reveal_block with the header height bounded from above (the real height measures text, which the host suite cannot link) — so they hold a fortiori for the real layout.

make (ARM cross-build): green, no new warnings.

Device verification: deferred to coordinator

I did not touch the TV. Everything below is outstanding.

./tests/run.py --fps — OUTSTANDING. This matters for this unit specifically: it is a new poster-shelf screen, and the visible-cells-only resolve_tex discipline is exactly what the UI-tier floors catch. Two things to know:

  1. I added a person-page UI-tier scene to tests/manifest.json (floor 50, run_secs 20, warmup_s 6) so the screen is actually covered rather than merely not-regressed. It is driven by a new dev trigger /tmp/plxnative-detailok, which presses OK on whatever detailsec/detailcol focused, without the play path. Scene triggers: plxnative-detail=2005 + plxnative-detailsec=1 + plxnative-detailok.
  2. detail-transition is the scene that regression-tests the card_row::strip move, since detail's Related and Cast rows now run the shared loop.

tools/tv-session.sh --screen person=<MOVIE rk> arms all three triggers in one go (documented in the tv-session skill; note the rk is the movie's, not the person's — the page has no boot trigger of its own).

The FIFO drive, one boot. Target: ratingKey 2005 — Wallace & Gromit: The Curse of the Were-Rabbit. Its cast member index 0 is Peter Sallis (tag id 6059), who is the one person on this server with credits in both libraries (5 movies + 1 show), so both shelves populate and the viewGroup trap is exercised for real. Idina Menzel (id 161) works too but has only 3 movies, so the Shows shelf would be absent.

Boot with /tmp/plxnative-detail=2005 and the injected token, then:

# 1. detail page for rk 2005 is up (hero focused)
printf 'down '  > /tmp/plxnative-remote   # hero -> "Cast & Crew" (a movie's 2nd section)
# 2. cast circle 0 (Peter Sallis) is focused
printf 'ok '    > /tmp/plxnative-remote   # -> the person page
# 3. EXPECT: circular portrait + "Peter Sallis" centred, a "Movies" shelf of 5 posters
#    below it, and the log line:  person: key=6059 'Peter Sallis' movies=5 shows=1
printf 'down '  > /tmp/plxnative-remote   # Movies -> Shows (scrolls; the Shows shelf is below the fold)
# 4. EXPECT: the "Shows" shelf with 1 poster, Wallace & Gromit's Cracking Contraptions
printf 'back '  > /tmp/plxnative-remote
# 5. EXPECT: back on the rk 2005 detail page, focus still on the cast row,
#    and NO second "detail: rk=2005" fetch in the log (current() was never dropped)

Capture tools/capture-screen.sh /tmp/unit-17.png DISPLAY at step 3. Judge against §5b: centred circular portrait, name under it, Movies shelf of ordinary poster cards — and check the header does not read as a field that failed to load (see "How the no-bio header degrades" above).

Worth also clicking a shelf poster (ck:X,Y) and pressing BACK, to confirm it lands back on the person page rather than Home.

Shared-file notes for rebasing

All edits are additive. plex/models.rs touches only Tag; ui/detail.rs touches only the cast OK arm plus the two draw_strip → card_row::strip call sites and the removal of the now-shared function; app.rs adds a route variant and its arms.

🤖 Generated with Claude Code

https://claude.ai/code/session_018GuSHrq9oydnX7nhKE1Hvc

Copilot AI review requested due to automatic review settings July 29, 2026 18:06

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@GLinnik21

Copy link
Copy Markdown
Collaborator Author

Follow-up: independent correctness review, findings fixed (4647085)

A separate reviewer swept the diff for navigation bugs, async invariants, panic risk, static mut aliasing, hit-test drift and perf. Six findings, all addressed; host suite now 68.

HIGH — the return trail lost a level, or pointed at the wrong actor. opened_from_person was set but never cleared where its sibling opened_from_library is: not in home_activate (whose own comment calls itself "the ONE place" that clears the trail), not in open_library_card, and not when routing into a person page. Two reachable traces:

  • Detail(A) → Person(P1) → shelf OK → Detail(M) → cast OK → Person(P2) → BACK → Detail(M) → BACK → Home, skipping Detail(A) entirely.
  • Detail(A) → Person(P1) → shelf OK → Detail(M) → Play → OS app-switch (which forces route = Home and leaves the flag set) → OK any card → Detail(X) → BACK → an actor page reached from a different item.

The current().is_some() gate I added earlier only turned the first into a teleport instead of a blank screen; the flag is now cleared in all three places.

HIGH — the person request was a latch. detail::on_ok's cast arm raises it, and I polled it next to only two of the four on_ok call sites — so plxnative-detailplay with focus on the cast row left it set, and it fired on an unrelated OK several screens later. There is now exactly one consumer, drained every frame whatever the route, so it cannot latch; leave() drops any un-consumed request along with the return rk. Host-tested (leaving_drops_the_un_consumed_request_and_the_return_rk).

HIGH — aliasing UB in ui::person::update. It held a &'static mut Scene across clamp_focus(), which mints a second one from the same static. detail.rs::update carries a comment about precisely this; the pump/clamp pair moved above the borrow.

MED — the pointer hit-test re-measured the whole flow per tile. Every tile_rect went child_top → header_h → text_cap_band, which is a linear scan of the 160-entry glyph cache — ~48 of those per SDL_MOUSEMOTION. Now O(visible) like library.rs::cell_at: per-shelf row y computed once outside the loop, column derived arithmetically.

LOW — two per-frame heap allocations on the draw path, removed: shelf headings are c"Movies"/c"Shows" literals, and the name is NUL-terminated once at open.

LOW — a doc that overclaimed. FETCHING bounds spawns per pump; it is not a hard one-worker interlock (a supersede, or a stale landing releasing a newer fetch's claim, can briefly overlap two). Neither can wedge — land is monotone and pump discards stale generations — but the comment now says what is true rather than implying an invariant a reader might build on. Behaviour deliberately left matching browse.rs.

Came back clean

No reachable panic in the new code (every item access is .get(), every fixed-array index comes from present() ∈ {0,1}, every as usize is .max(0)-guarded, shelves capped below MAX_ROW_ITEMS so CardRow::scale is never fed past its spring array). Hit-test geometry reproduces the draw exactly, including the ScrollColumn translate and per-shelf scroll — the focus pop and press dip are outside the hit rect, matching home/library. Async generation/mailbox/backoff sound in both landing orders; leaving mid-fetch leaks nothing.

Still not run on the TV — ./tests/run.py --fps (incl. the new person-page scene) and the FIFO drive remain outstanding, as described in the PR body.

GLinnik21 and others added 3 commits July 29, 2026 21:32
Cast headshots on the detail page focused and animated and did nothing on OK,
because the page they should open was unbuildable: `plex::Tag` parsed three of
the six attributes `Role[]` carries and dropped the two — `id` and `tagKey` —
that ARE the `personId`. Adding them makes `GET /library/people/{id}/media`
reachable, which returns everything a person appears in across every library
section in one request.

The screen follows Apple TV, not Plex: a centred circular portrait, the name,
and plain `Movies` and `Shows` shelves of the same poster cards every other
screen draws. Plex's own person page is a field list (Born + age, social
handles, a count badge, "Known For"); that is the feature checklist, and most
of it is not on the wire anyway — verified live, `/library/people/{id}` returns
only the tag record, with no summary and no birth date, so the header is
composed to read as finished at name + portrait rather than as a field that
failed to load. The bio block and its inline MORE exist and are drawn when
non-empty; nothing fills them until someone adds the plex.tv call.

Two rows are grouped by each row's own `type`, never by the container's
`viewGroup` — that field read "movie" on a response whose only row was a show.

The store is the browse.rs/metadata.rs shape: one worker, a mailbox with a
generation counter, a single-flight flag and a retry backoff that a `reset`
clears together, so a landing for the actor you already left cannot repopulate
the one you are looking at, and a failed fetch backs off instead of blanking a
populated page.

Rather than fork detail.rs's two-pass shelf loop, it moves to `card_row::strip`
— which is where the culling discipline belongs, since that loop is the reason
only visible tiles ever call `resolve_tex`.

Tests: +9 host (67)

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Two were real bugs, two were latent traps, two were cost.

**The return trail lost a level, or pointed at the wrong actor.** `opened_from_person`
was set but never cleared where its sibling `opened_from_library` is — not in
`home_activate` ("every Home-originated activation clears the return-trail HERE"),
not in `open_library_card`, and not when routing INTO a person page. So a person
page reached from item A, followed by an unrelated navigation, left the flag set:
BACK from some later detail page either skipped two levels to Home (the store had
since closed) or opened an actor page reached from a completely different item.
Cleared in all three places now, which is where the flag's own doc comment always
said it should be.

**The request flag was a latch.** `detail::on_ok`'s cast arm raises it, and it was
polled next to only two of the four `on_ok` call sites — so a path that didn't poll
(`plxnative-detailplay` with focus on the cast row) left it set, and it then fired
on an unrelated OK several screens later. There is now exactly ONE consumer, drained
every frame whatever the route, so it cannot latch; `leave` drops any un-consumed
request with the return rk. Host-tested.

**Aliasing UB in `update`.** It held a `&'static mut Scene` across `clamp_focus()`,
which mints a second one from the same static. `detail.rs::update` carries a comment
about exactly this ("compute them before borrowing v"); the pump/clamp pair moves
above the borrow.

**The pointer hit-test re-measured the whole flow per tile.** Every `tile_rect` went
through `child_top` → `header_h` → the text cap band, which is a linear scan of the
glyph cache — ~48 of those per `SDL_MOUSEMOTION`, on a remote that emits motion
freely. It is O(visible) now, like `library.rs::cell_at`: the per-shelf row y is
computed once outside the loop and the column comes from arithmetic, not a search.

**Two per-frame allocations on the draw path**: the shelf headings are `c"Movies"` /
`c"Shows"` literals rather than a `CString::new` per shelf per frame, and the name is
NUL-terminated once at `open` instead of being cloned and re-terminated every frame.

**And one doc that overclaimed.** `FETCHING` bounds spawns per pump; it is not a hard
one-worker interlock (a supersede, or a stale landing releasing a newer fetch's claim,
can briefly overlap two). Neither can wedge — `land` is monotone and `pump` discards
stale generations — but the comment now says what is actually true instead of
implying an invariant a reader might rely on.

Tests: +1 host (68)

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
…space

Two adaptations to what landed underneath this branch.

Unit 5 folded crew into the same shelf, so `credit(i)` now runs every actor and
THEN every crew member. The person-page OK arm was written against a shelf of
actors only, and indexing `cast[i]` at a crew tile silently opens the wrong actor
— or nobody — while the tile under the focus ring shows a director. It resolves
through `credit(i)`, and `crew_credits` carries the id/guid through, so a
director's tile opens the director: crew rows are people with a `tagKey` like any
other, and `/library/people/{id}/media` answers for them the same way. The
combined index space is now host-tested from the OK arm itself.

Unit 5 also added `Art::Person`, which is what the portrait should have been: the
hand-rolled `thumb.is_empty()` branch here was a fork of it, and a worse one —
it glyphed on an unresolved texture as well as an absent one, so it would have
flashed 'no photo' on every portrait for the length of its fetch.

Tests: +1 host (133)

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@GLinnik21
GLinnik21 force-pushed the unit-17-person-page branch from 4647085 to 528cd47 Compare July 29, 2026 18:33
@GLinnik21
GLinnik21 changed the base branch from main to parity-staging July 29, 2026 18:33
@GLinnik21

GLinnik21 commented Jul 29, 2026 •

Copy link
Copy Markdown
Collaborator Author

Rebased onto parity-staging (tip ef3ccb0, 31 ahead of main) — base retargeted

make check 143 passed (staging baseline 132, +11 from this branch), clippy gate clean, make cross-builds, no new warnings.

The one that mattered: the credit index space

Unit 5 folded crew into the same shelf, so credit(i) runs every actor and then every crew member. My OK arm was written against a shelf of actors only — indexing cast[i] at a crew tile silently opens the wrong actor (or, past the end, nobody) while the tile under the focus ring shows a director.

Decision: a crew tile opens that crew member's page, and that is the behaviour I want. Crew rows are people with a tagKey exactly like actors, /library/people/{id}/media answers for a director the same way it does for an actor, and a focusable, animating tile that does nothing is the gap this unit exists to close. So the arm resolves through credit(col), and crew_credits now carries id/tag_key through — which git did not flag: metadata.rs auto-merged into a Cast literal missing my two new fields, a semantic break the compiler caught but the merge did not.

Pinned by a new test, ok_on_a_crew_tile_opens_that_crew_members_page_not_an_actor_at_the_same_index, which drives the OK arm at an index past both actors and asserts the store opened the director's id — the exact regression a future rebase would reintroduce.

Also adopted from staging

Art::Person replaces my hand-rolled portrait fallback (unit 5). Mine was a fork of it and a worse one: it glyphed on an unresolved texture as well as an absent one, so it would have flashed "no photo" on every portrait for the length of its fetch. The shared art case distinguishes the two.

Conflicts resolved

  • plex/models.rs — kept staging's improved thumb comment (crew arrays carry it too) plus my four Tag fields; units 4 and 6 touched different structs, all additive.
  • ui/CLAUDE.md — kept unit 11's single de-duplicated widgets.rs row (did not reintroduce a second), took my card_row.rs row carrying the strip clause, kept unit 16's table.rs row, kept both the item_menu.rs and person.rs entries.
  • app.rs — crate::person::reset() now sits beside both browse::reset() and unit 11's new pms::reset(); home_activate clears both trail flags above unit 11's status_activate early return, because a Retry press is still the user acting on Home.
  • tests/manifest.json — item-menu and person-page are both present (9 UI+player scenes, 21 cases).
  • tools/tv-session.sh — --screen line carries both person=<movie rk> and itemmenu.

widgets::pill_w → Button::pill_w doesn't touch this branch — the person page sizes no pills.

The three review fixes from the old 4647085, re-verified after both rebases

  1. opened_from_person trail clearing — set at 1 site, cleared at 5 (home_activate, open_library_card, both Detail-BACK arms, and the route-into-Person drain).
  2. Single-consumer drain — grep -c take_request app.rs is exactly 1. The flag cannot latch.
  3. Aliasing fix — pump()/clamp_focus() still run above let sc = scene() in ui::person::update.

Hit-test-matches-draw and the mailbox/generation tests all still pass; the two scroll tests are pure (reveal_block with the header height bounded above), so nothing under them moved.

Device recipe unchanged

rk 2005, cast index 0 = Peter Sallis (id 6059) — still the only person on this server with credits in both libraries (5 movies + 1 show). The FIFO sequence in the PR body is unaffected: for a movie, down from the hero still lands on the credits shelf (now titled Cast & Crew and holding crew after the actors), and index 0 is still an actor.

One addition worth a look while you are there: press right past the actors onto a crew circle and OK it — that is the new behaviour above, and the shelf on rk 2005 has 22 actors before the crew, so detailcol is the easier way to reach one headlessly.

One flake, not mine but worth knowing

stream::tests::every_failed_open_retires_its_fd_and_leaks_nothing failed once in ~15 runs and has passed every run since. It counts process-wide /dev/fd before/after with a +2 tolerance, so any concurrently-running test that opens a file perturbs it — crate::log() opens the event log, and several stores log from their pump. I removed my own contribution (the leave() test no longer spawns a detail re-open worker it had no use for), but the underlying race is structural and pre-existing.

@GLinnik21
GLinnik21 merged commit 56d1c52 into parity-staging Jul 29, 2026
@GLinnik21
GLinnik21 deleted the unit-17-person-page branch August 2, 2026 18:37
GLinnik21 added a commit that referenced this pull request Aug 23, 2026
…itten to be graded

`doc-claim-auditor` over the new UX scenario and the four corrections. Six
findings in files this unit owns; all six were confirmed against the code before
being fixed.

**The chevron is not a control.** The hero action-row table listed `›` under
"what OK does". `home.rs:44-50` says the opposite in as many words — `HERO_NBTN`
is 2, "the pager chevron beside them is an INDICATOR, not a third button: it is
drawn, it is never focused and it has no hit rect". The hero pages by RIGHT past
the info disc or LEFT off the pill (`home_hero_key`), plus an 8 s auto-flip.
This is the row a QA reader would have tried first and failed, in the one
document written for QA to read.

**"No control anywhere can take focus and do nothing" had two counterexamples.**
OK on Home's own tab pill standing on Home is a documented no-op (`app.rs:2126`),
and the person page's header band holds focus but only acts when there is a
biography long enough to expand (`person.rs:626`). Narrowed to what is true and
still answers #10, with both stops named.

**The synthesized tail can never raise a Skip pill.** The document said it
"stands in" where the server has no credits detection, and two lines later that
Skip Credits "remains for the last episode of a show". `synthesized_tail_marker`
returns None unless `has_next` (`metadata.rs:674`) and every Credits marker with
a successor resolves to Up Next (`player_hud.rs:401`), so the tail raises Up Next
100% of the time. Stated with its gate, plus the bench consequence: on a
Pass-less server Skip Credits is unreachable.

**The show/season sentence contradicted the one above it** — my own previous
commit's doing. The open-resolve-then-Play arm is INSIDE `want_play`
(`app.rs:2152`), so it is the deck rule, not the general one; elsewhere a show
card is a bare `nav_open`. Folded into the deck paragraph.

**`docs/pms-api.md` said "the five in bold" over six bolded rows**, and let the
table be read as what this app sends. Dropped the count and split the two facts:
`playback_identity` emits nine fields (`client.rs:152-162`) and none of the four
capability/locale ones exist anywhere in the tree. The table is the target; the
paragraph is the state.

**And two smaller ones**: `assets/` was said to hold 24 SVG icons against a
measured 28 — the number is decoration inside a five-way negative proof and is
the only thing in that bullet that can rot, so it is gone; and the detail page's
watched disc wears the face of the write it would perform (`detail.rs:1087`), so
it is a ✓ on an unwatched item and a − on a watched one, not a fixed ✓.

Two further findings are in files this unit does not own and are listed in the
PR: CLAUDE.md:985 and docs/lg-self-checklist.md:17, both dangling references
this branch created.

make check: 976 passed.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01GovTtrsD9P7Ld7DnLCMK2G
GLinnik21 added a commit that referenced this pull request Aug 23, 2026
…had gone false (#55)

* docs: the UX scenario LG's checklist defers to, and four claims that had gone false

LG's App Self Checklist does not describe four of its own items — #2, #10, #42
and #45 defer to the UX scenario document, and #45 says so in as many words
("refer to UX scenario for movement details"). That makes the scenario the
artefact QA grades the transport against, so `docs/ux-scenario.md` is written as
a compliance document rather than a tour: every screen, how it is reached, every
control on it, what each remote key does on each screen, the BACK trail, and the
exit alert.

Two of its sections carry the weight.

**§6 — playback control.** There is no on-screen `<< || >>` transport row and
there will not be one; transport is remote-driven and the HUD shows STATE, a
mark beside the elapsed clock and nothing at all while playing steadily. That is
stated as settled rather than apologised for, with the grounds: on-screen
controls are Recommended rather than mandatory, the idiom already ships approved
on these sets, and the half that must really work — the FF/REW/play/pause/stop
keys — is bound and was settled 2026-08-22 against LG's own evdev table and 336
captured key lines. The section documents the transport as it IS: three focus
bands, the 4.5 s linger, the 10 s preview-then-commit seek with its 450 ms tap
accumulation, the six state marks and their precedence, and the control row's
three mutually exclusive occupants (discs / Skip pill / Up Next).

**§7 — sound.** There is no UI audio at all, and the item is therefore N/A on
its own precondition. Checked five ways rather than asserted: SDL is initialised
`SDL_INIT_VIDEO` alone, no SDL audio call exists, SDL_mixer is neither present
nor linked, there are no audio assets, and no webOS sound service is called.

Eleven figures, taken from the simulator at the authored 1920x1080 with the dev
counter compiled out. The player HUD is the existing device capture, because the
Starfish/ACB seam does not exist off-device — §9 lists the figures that still
need a television and why the who's-watching picker is deliberately not among
them (its roster is real people's names). One figure is edited and says so: the
Search scope line named a real server, and is replaced by the app's own string
for a server that reports no name.

And four corrections, each verified against the tree first:

- `docs/distribution.md` §2 no longer says native Store eligibility is
  unsettled. It rested on LG's `appinfo.json` reference ("Only `web` is allowed
  currently") — a `develop/*` WEB-RUNTIME page, which is not authority over a
  native SDL app. Seller Lounge parses this project's ipk as File Type: Native
  and asks for the native SDK version, chipset and resolution. What is open is
  the QA outcome, not the permission. The summary table's "No." row went with it.
- `docs/pms-api.md` — the `X-Plex-*` list was the minimum PMS needs to attribute
  a session, read for years as the identity set. Recorded the full set the
  official webOS client sends, including `X-Plex-Platform-Version` (Plex gates
  on FIRMWARE, which `X-Plex-Platform` cannot express) and `X-Plex-Features`,
  whose exact effect this repo has not measured and which is graded as such.
- `docs/shared-servers.md` — it called the `plex.direct` middle label "the
  certificate UUID, not the machineIdentifier" while `plex-openapi.json` calls
  the same label "The unique identifier of this particular PMS". Both are 32 hex
  characters, so no sample settles it. Recorded as a disagreement rather than
  resolved, with the rule that survives either answer: use the advertised `uri`
  verbatim, never construct the hostname.
- `docs/search.md` — deleted the status blockquote. Its own staleness test had
  fired: it claimed `ui/search/`'s `draw` bodies are `{}` (mod.rs is ~2200 lines
  with `draw()` at :832), that `search::pump` lands nothing, and that
  `Client::search` has zero callers (`search.rs:797` calls it).

`rust-modules/src/img.rs` is the only code touched, and only its comments: three
said `requiredMemory: 60` against `pkg/appinfo.json`'s 160.

make check: 976 passed.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01GovTtrsD9P7Ld7DnLCMK2G

* docs: two rendering/consistency fixes in the UX scenario

`<Name>` in the PIN-pad description was raw in prose, so a markdown renderer
swallows it as an HTML tag and the sentence reads "Enter 's PIN". Moved inside
backticks.

And the provenance note said "two figures are edited" in the same breath as
naming one. There is one: the Search scope line.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01GovTtrsD9P7Ld7DnLCMK2G

* docs: state Home's play-on-OK rule exactly, not approximately

The scenario said "OK on a Continue Watching card resumes, OK anywhere else
opens the detail page". Right about the deck, incomplete about the rest:
`home_activate` plays on `hub_is_continue(row) || mm.kind == 3`, so an EPISODE
card plays from any shelf. And a show/season card does not simply open its page
— it opens it, waits for the load to land on the expected item, and only then
fires Play, precisely so a failed fetch cannot play whatever page was open
before.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01GovTtrsD9P7Ld7DnLCMK2G

* docs: six claims the auditor refuted, five of them in the document written to be graded

`doc-claim-auditor` over the new UX scenario and the four corrections. Six
findings in files this unit owns; all six were confirmed against the code before
being fixed.

**The chevron is not a control.** The hero action-row table listed `›` under
"what OK does". `home.rs:44-50` says the opposite in as many words — `HERO_NBTN`
is 2, "the pager chevron beside them is an INDICATOR, not a third button: it is
drawn, it is never focused and it has no hit rect". The hero pages by RIGHT past
the info disc or LEFT off the pill (`home_hero_key`), plus an 8 s auto-flip.
This is the row a QA reader would have tried first and failed, in the one
document written for QA to read.

**"No control anywhere can take focus and do nothing" had two counterexamples.**
OK on Home's own tab pill standing on Home is a documented no-op (`app.rs:2126`),
and the person page's header band holds focus but only acts when there is a
biography long enough to expand (`person.rs:626`). Narrowed to what is true and
still answers #10, with both stops named.

**The synthesized tail can never raise a Skip pill.** The document said it
"stands in" where the server has no credits detection, and two lines later that
Skip Credits "remains for the last episode of a show". `synthesized_tail_marker`
returns None unless `has_next` (`metadata.rs:674`) and every Credits marker with
a successor resolves to Up Next (`player_hud.rs:401`), so the tail raises Up Next
100% of the time. Stated with its gate, plus the bench consequence: on a
Pass-less server Skip Credits is unreachable.

**The show/season sentence contradicted the one above it** — my own previous
commit's doing. The open-resolve-then-Play arm is INSIDE `want_play`
(`app.rs:2152`), so it is the deck rule, not the general one; elsewhere a show
card is a bare `nav_open`. Folded into the deck paragraph.

**`docs/pms-api.md` said "the five in bold" over six bolded rows**, and let the
table be read as what this app sends. Dropped the count and split the two facts:
`playback_identity` emits nine fields (`client.rs:152-162`) and none of the four
capability/locale ones exist anywhere in the tree. The table is the target; the
paragraph is the state.

**And two smaller ones**: `assets/` was said to hold 24 SVG icons against a
measured 28 — the number is decoration inside a five-way negative proof and is
the only thing in that bullet that can rot, so it is gone; and the detail page's
watched disc wears the face of the write it would perform (`detail.rs:1087`), so
it is a ✓ on an unwatched item and a − on a watched one, not a fixed ✓.

Two further findings are in files this unit does not own and are listed in the
PR: CLAUDE.md:985 and docs/lg-self-checklist.md:17, both dangling references
this branch created.

make check: 976 passed.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01GovTtrsD9P7Ld7DnLCMK2G

---------

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
GLinnik21 added a commit that referenced this pull request Aug 26, 2026
…had gone false (#55)

* docs: the UX scenario LG's checklist defers to, and four claims that had gone false

LG's App Self Checklist does not describe four of its own items — #2, #10, #42
and #45 defer to the UX scenario document, and #45 says so in as many words
("refer to UX scenario for movement details"). That makes the scenario the
artefact QA grades the transport against, so `docs/ux-scenario.md` is written as
a compliance document rather than a tour: every screen, how it is reached, every
control on it, what each remote key does on each screen, the BACK trail, and the
exit alert.

Two of its sections carry the weight.

**§6 — playback control.** There is no on-screen `<< || >>` transport row and
there will not be one; transport is remote-driven and the HUD shows STATE, a
mark beside the elapsed clock and nothing at all while playing steadily. That is
stated as settled rather than apologised for, with the grounds: on-screen
controls are Recommended rather than mandatory, the idiom already ships approved
on these sets, and the half that must really work — the FF/REW/play/pause/stop
keys — is bound and was settled 2026-08-22 against LG's own evdev table and 336
captured key lines. The section documents the transport as it IS: three focus
bands, the 4.5 s linger, the 10 s preview-then-commit seek with its 450 ms tap
accumulation, the six state marks and their precedence, and the control row's
three mutually exclusive occupants (discs / Skip pill / Up Next).

**§7 — sound.** There is no UI audio at all, and the item is therefore N/A on
its own precondition. Checked five ways rather than asserted: SDL is initialised
`SDL_INIT_VIDEO` alone, no SDL audio call exists, SDL_mixer is neither present
nor linked, there are no audio assets, and no webOS sound service is called.

Eleven figures, taken from the simulator at the authored 1920x1080 with the dev
counter compiled out. The player HUD is the existing device capture, because the
Starfish/ACB seam does not exist off-device — §9 lists the figures that still
need a television and why the who's-watching picker is deliberately not among
them (its roster is real people's names). One figure is edited and says so: the
Search scope line named a real server, and is replaced by the app's own string
for a server that reports no name.

And four corrections, each verified against the tree first:

- `docs/distribution.md` §2 no longer says native Store eligibility is
  unsettled. It rested on LG's `appinfo.json` reference ("Only `web` is allowed
  currently") — a `develop/*` WEB-RUNTIME page, which is not authority over a
  native SDL app. Seller Lounge parses this project's ipk as File Type: Native
  and asks for the native SDK version, chipset and resolution. What is open is
  the QA outcome, not the permission. The summary table's "No." row went with it.
- `docs/pms-api.md` — the `X-Plex-*` list was the minimum PMS needs to attribute
  a session, read for years as the identity set. Recorded the full set the
  official webOS client sends, including `X-Plex-Platform-Version` (Plex gates
  on FIRMWARE, which `X-Plex-Platform` cannot express) and `X-Plex-Features`,
  whose exact effect this repo has not measured and which is graded as such.
- `docs/shared-servers.md` — it called the `plex.direct` middle label "the
  certificate UUID, not the machineIdentifier" while `plex-openapi.json` calls
  the same label "The unique identifier of this particular PMS". Both are 32 hex
  characters, so no sample settles it. Recorded as a disagreement rather than
  resolved, with the rule that survives either answer: use the advertised `uri`
  verbatim, never construct the hostname.
- `docs/search.md` — deleted the status blockquote. Its own staleness test had
  fired: it claimed `ui/search/`'s `draw` bodies are `{}` (mod.rs is ~2200 lines
  with `draw()` at :832), that `search::pump` lands nothing, and that
  `Client::search` has zero callers (`search.rs:797` calls it).

`rust-modules/src/img.rs` is the only code touched, and only its comments: three
said `requiredMemory: 60` against `pkg/appinfo.json`'s 160.

make check: 976 passed.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01GovTtrsD9P7Ld7DnLCMK2G

* docs: two rendering/consistency fixes in the UX scenario

`<Name>` in the PIN-pad description was raw in prose, so a markdown renderer
swallows it as an HTML tag and the sentence reads "Enter 's PIN". Moved inside
backticks.

And the provenance note said "two figures are edited" in the same breath as
naming one. There is one: the Search scope line.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01GovTtrsD9P7Ld7DnLCMK2G

* docs: state Home's play-on-OK rule exactly, not approximately

The scenario said "OK on a Continue Watching card resumes, OK anywhere else
opens the detail page". Right about the deck, incomplete about the rest:
`home_activate` plays on `hub_is_continue(row) || mm.kind == 3`, so an EPISODE
card plays from any shelf. And a show/season card does not simply open its page
— it opens it, waits for the load to land on the expected item, and only then
fires Play, precisely so a failed fetch cannot play whatever page was open
before.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01GovTtrsD9P7Ld7DnLCMK2G

* docs: six claims the auditor refuted, five of them in the document written to be graded

`doc-claim-auditor` over the new UX scenario and the four corrections. Six
findings in files this unit owns; all six were confirmed against the code before
being fixed.

**The chevron is not a control.** The hero action-row table listed `›` under
"what OK does". `home.rs:44-50` says the opposite in as many words — `HERO_NBTN`
is 2, "the pager chevron beside them is an INDICATOR, not a third button: it is
drawn, it is never focused and it has no hit rect". The hero pages by RIGHT past
the info disc or LEFT off the pill (`home_hero_key`), plus an 8 s auto-flip.
This is the row a QA reader would have tried first and failed, in the one
document written for QA to read.

**"No control anywhere can take focus and do nothing" had two counterexamples.**
OK on Home's own tab pill standing on Home is a documented no-op (`app.rs:2126`),
and the person page's header band holds focus but only acts when there is a
biography long enough to expand (`person.rs:626`). Narrowed to what is true and
still answers #10, with both stops named.

**The synthesized tail can never raise a Skip pill.** The document said it
"stands in" where the server has no credits detection, and two lines later that
Skip Credits "remains for the last episode of a show". `synthesized_tail_marker`
returns None unless `has_next` (`metadata.rs:674`) and every Credits marker with
a successor resolves to Up Next (`player_hud.rs:401`), so the tail raises Up Next
100% of the time. Stated with its gate, plus the bench consequence: on a
Pass-less server Skip Credits is unreachable.

**The show/season sentence contradicted the one above it** — my own previous
commit's doing. The open-resolve-then-Play arm is INSIDE `want_play`
(`app.rs:2152`), so it is the deck rule, not the general one; elsewhere a show
card is a bare `nav_open`. Folded into the deck paragraph.

**`docs/pms-api.md` said "the five in bold" over six bolded rows**, and let the
table be read as what this app sends. Dropped the count and split the two facts:
`playback_identity` emits nine fields (`client.rs:152-162`) and none of the four
capability/locale ones exist anywhere in the tree. The table is the target; the
paragraph is the state.

**And two smaller ones**: `assets/` was said to hold 24 SVG icons against a
measured 28 — the number is decoration inside a five-way negative proof and is
the only thing in that bullet that can rot, so it is gone; and the detail page's
watched disc wears the face of the write it would perform (`detail.rs:1087`), so
it is a ✓ on an unwatched item and a − on a watched one, not a fixed ✓.

Two further findings are in files this unit does not own and are listed in the
PR: CLAUDE.md:985 and docs/lg-self-checklist.md:17, both dangling references
this branch created.

make check: 976 passed.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01GovTtrsD9P7Ld7DnLCMK2G

---------

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
GLinnik21 added a commit that referenced this pull request Aug 27, 2026
…had gone false (#55)

* docs: the UX scenario LG's checklist defers to, and four claims that had gone false

LG's App Self Checklist does not describe four of its own items — #2, #10, #42
and #45 defer to the UX scenario document, and #45 says so in as many words
("refer to UX scenario for movement details"). That makes the scenario the
artefact QA grades the transport against, so `docs/ux-scenario.md` is written as
a compliance document rather than a tour: every screen, how it is reached, every
control on it, what each remote key does on each screen, the BACK trail, and the
exit alert.

Two of its sections carry the weight.

**§6 — playback control.** There is no on-screen `<< || >>` transport row and
there will not be one; transport is remote-driven and the HUD shows STATE, a
mark beside the elapsed clock and nothing at all while playing steadily. That is
stated as settled rather than apologised for, with the grounds: on-screen
controls are Recommended rather than mandatory, the idiom already ships approved
on these sets, and the half that must really work — the FF/REW/play/pause/stop
keys — is bound and was settled 2026-08-22 against LG's own evdev table and 336
captured key lines. The section documents the transport as it IS: three focus
bands, the 4.5 s linger, the 10 s preview-then-commit seek with its 450 ms tap
accumulation, the six state marks and their precedence, and the control row's
three mutually exclusive occupants (discs / Skip pill / Up Next).

**§7 — sound.** There is no UI audio at all, and the item is therefore N/A on
its own precondition. Checked five ways rather than asserted: SDL is initialised
`SDL_INIT_VIDEO` alone, no SDL audio call exists, SDL_mixer is neither present
nor linked, there are no audio assets, and no webOS sound service is called.

Eleven figures, taken from the simulator at the authored 1920x1080 with the dev
counter compiled out. The player HUD is the existing device capture, because the
Starfish/ACB seam does not exist off-device — §9 lists the figures that still
need a television and why the who's-watching picker is deliberately not among
them (its roster is real people's names). One figure is edited and says so: the
Search scope line named a real server, and is replaced by the app's own string
for a server that reports no name.

And four corrections, each verified against the tree first:

- `docs/distribution.md` §2 no longer says native Store eligibility is
  unsettled. It rested on LG's `appinfo.json` reference ("Only `web` is allowed
  currently") — a `develop/*` WEB-RUNTIME page, which is not authority over a
  native SDL app. Seller Lounge parses this project's ipk as File Type: Native
  and asks for the native SDK version, chipset and resolution. What is open is
  the QA outcome, not the permission. The summary table's "No." row went with it.
- `docs/pms-api.md` — the `X-Plex-*` list was the minimum PMS needs to attribute
  a session, read for years as the identity set. Recorded the full set the
  official webOS client sends, including `X-Plex-Platform-Version` (Plex gates
  on FIRMWARE, which `X-Plex-Platform` cannot express) and `X-Plex-Features`,
  whose exact effect this repo has not measured and which is graded as such.
- `docs/shared-servers.md` — it called the `plex.direct` middle label "the
  certificate UUID, not the machineIdentifier" while `plex-openapi.json` calls
  the same label "The unique identifier of this particular PMS". Both are 32 hex
  characters, so no sample settles it. Recorded as a disagreement rather than
  resolved, with the rule that survives either answer: use the advertised `uri`
  verbatim, never construct the hostname.
- `docs/search.md` — deleted the status blockquote. Its own staleness test had
  fired: it claimed `ui/search/`'s `draw` bodies are `{}` (mod.rs is ~2200 lines
  with `draw()` at :832), that `search::pump` lands nothing, and that
  `Client::search` has zero callers (`search.rs:797` calls it).

`rust-modules/src/img.rs` is the only code touched, and only its comments: three
said `requiredMemory: 60` against `pkg/appinfo.json`'s 160.

make check: 976 passed.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01GovTtrsD9P7Ld7DnLCMK2G

* docs: two rendering/consistency fixes in the UX scenario

`<Name>` in the PIN-pad description was raw in prose, so a markdown renderer
swallows it as an HTML tag and the sentence reads "Enter 's PIN". Moved inside
backticks.

And the provenance note said "two figures are edited" in the same breath as
naming one. There is one: the Search scope line.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01GovTtrsD9P7Ld7DnLCMK2G

* docs: state Home's play-on-OK rule exactly, not approximately

The scenario said "OK on a Continue Watching card resumes, OK anywhere else
opens the detail page". Right about the deck, incomplete about the rest:
`home_activate` plays on `hub_is_continue(row) || mm.kind == 3`, so an EPISODE
card plays from any shelf. And a show/season card does not simply open its page
— it opens it, waits for the load to land on the expected item, and only then
fires Play, precisely so a failed fetch cannot play whatever page was open
before.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01GovTtrsD9P7Ld7DnLCMK2G

* docs: six claims the auditor refuted, five of them in the document written to be graded

`doc-claim-auditor` over the new UX scenario and the four corrections. Six
findings in files this unit owns; all six were confirmed against the code before
being fixed.

**The chevron is not a control.** The hero action-row table listed `›` under
"what OK does". `home.rs:44-50` says the opposite in as many words — `HERO_NBTN`
is 2, "the pager chevron beside them is an INDICATOR, not a third button: it is
drawn, it is never focused and it has no hit rect". The hero pages by RIGHT past
the info disc or LEFT off the pill (`home_hero_key`), plus an 8 s auto-flip.
This is the row a QA reader would have tried first and failed, in the one
document written for QA to read.

**"No control anywhere can take focus and do nothing" had two counterexamples.**
OK on Home's own tab pill standing on Home is a documented no-op (`app.rs:2126`),
and the person page's header band holds focus but only acts when there is a
biography long enough to expand (`person.rs:626`). Narrowed to what is true and
still answers #10, with both stops named.

**The synthesized tail can never raise a Skip pill.** The document said it
"stands in" where the server has no credits detection, and two lines later that
Skip Credits "remains for the last episode of a show". `synthesized_tail_marker`
returns None unless `has_next` (`metadata.rs:674`) and every Credits marker with
a successor resolves to Up Next (`player_hud.rs:401`), so the tail raises Up Next
100% of the time. Stated with its gate, plus the bench consequence: on a
Pass-less server Skip Credits is unreachable.

**The show/season sentence contradicted the one above it** — my own previous
commit's doing. The open-resolve-then-Play arm is INSIDE `want_play`
(`app.rs:2152`), so it is the deck rule, not the general one; elsewhere a show
card is a bare `nav_open`. Folded into the deck paragraph.

**`docs/pms-api.md` said "the five in bold" over six bolded rows**, and let the
table be read as what this app sends. Dropped the count and split the two facts:
`playback_identity` emits nine fields (`client.rs:152-162`) and none of the four
capability/locale ones exist anywhere in the tree. The table is the target; the
paragraph is the state.

**And two smaller ones**: `assets/` was said to hold 24 SVG icons against a
measured 28 — the number is decoration inside a five-way negative proof and is
the only thing in that bullet that can rot, so it is gone; and the detail page's
watched disc wears the face of the write it would perform (`detail.rs:1087`), so
it is a ✓ on an unwatched item and a − on a watched one, not a fixed ✓.

Two further findings are in files this unit does not own and are listed in the
PR: CLAUDE.md:985 and docs/lg-self-checklist.md:17, both dangling references
this branch created.

make check: 976 passed.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01GovTtrsD9P7Ld7DnLCMK2G

---------

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
GLinnik21 added a commit that referenced this pull request Aug 28, 2026
…had gone false (#55)

* docs: the UX scenario LG's checklist defers to, and four claims that had gone false

LG's App Self Checklist does not describe four of its own items — #2, #10, #42
and #45 defer to the UX scenario document, and #45 says so in as many words
("refer to UX scenario for movement details"). That makes the scenario the
artefact QA grades the transport against, so `docs/ux-scenario.md` is written as
a compliance document rather than a tour: every screen, how it is reached, every
control on it, what each remote key does on each screen, the BACK trail, and the
exit alert.

Two of its sections carry the weight.

**§6 — playback control.** There is no on-screen `<< || >>` transport row and
there will not be one; transport is remote-driven and the HUD shows STATE, a
mark beside the elapsed clock and nothing at all while playing steadily. That is
stated as settled rather than apologised for, with the grounds: on-screen
controls are Recommended rather than mandatory, the idiom already ships approved
on these sets, and the half that must really work — the FF/REW/play/pause/stop
keys — is bound and was settled 2026-08-22 against LG's own evdev table and 336
captured key lines. The section documents the transport as it IS: three focus
bands, the 4.5 s linger, the 10 s preview-then-commit seek with its 450 ms tap
accumulation, the six state marks and their precedence, and the control row's
three mutually exclusive occupants (discs / Skip pill / Up Next).

**§7 — sound.** There is no UI audio at all, and the item is therefore N/A on
its own precondition. Checked five ways rather than asserted: SDL is initialised
`SDL_INIT_VIDEO` alone, no SDL audio call exists, SDL_mixer is neither present
nor linked, there are no audio assets, and no webOS sound service is called.

Eleven figures, taken from the simulator at the authored 1920x1080 with the dev
counter compiled out. The player HUD is the existing device capture, because the
Starfish/ACB seam does not exist off-device — §9 lists the figures that still
need a television and why the who's-watching picker is deliberately not among
them (its roster is real people's names). One figure is edited and says so: the
Search scope line named a real server, and is replaced by the app's own string
for a server that reports no name.

And four corrections, each verified against the tree first:

- `docs/distribution.md` §2 no longer says native Store eligibility is
  unsettled. It rested on LG's `appinfo.json` reference ("Only `web` is allowed
  currently") — a `develop/*` WEB-RUNTIME page, which is not authority over a
  native SDL app. Seller Lounge parses this project's ipk as File Type: Native
  and asks for the native SDK version, chipset and resolution. What is open is
  the QA outcome, not the permission. The summary table's "No." row went with it.
- `docs/pms-api.md` — the `X-Plex-*` list was the minimum PMS needs to attribute
  a session, read for years as the identity set. Recorded the full set the
  official webOS client sends, including `X-Plex-Platform-Version` (Plex gates
  on FIRMWARE, which `X-Plex-Platform` cannot express) and `X-Plex-Features`,
  whose exact effect this repo has not measured and which is graded as such.
- `docs/shared-servers.md` — it called the `plex.direct` middle label "the
  certificate UUID, not the machineIdentifier" while `plex-openapi.json` calls
  the same label "The unique identifier of this particular PMS". Both are 32 hex
  characters, so no sample settles it. Recorded as a disagreement rather than
  resolved, with the rule that survives either answer: use the advertised `uri`
  verbatim, never construct the hostname.
- `docs/search.md` — deleted the status blockquote. Its own staleness test had
  fired: it claimed `ui/search/`'s `draw` bodies are `{}` (mod.rs is ~2200 lines
  with `draw()` at :832), that `search::pump` lands nothing, and that
  `Client::search` has zero callers (`search.rs:797` calls it).

`rust-modules/src/img.rs` is the only code touched, and only its comments: three
said `requiredMemory: 60` against `pkg/appinfo.json`'s 160.

make check: 976 passed.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01GovTtrsD9P7Ld7DnLCMK2G

* docs: two rendering/consistency fixes in the UX scenario

`<Name>` in the PIN-pad description was raw in prose, so a markdown renderer
swallows it as an HTML tag and the sentence reads "Enter 's PIN". Moved inside
backticks.

And the provenance note said "two figures are edited" in the same breath as
naming one. There is one: the Search scope line.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01GovTtrsD9P7Ld7DnLCMK2G

* docs: state Home's play-on-OK rule exactly, not approximately

The scenario said "OK on a Continue Watching card resumes, OK anywhere else
opens the detail page". Right about the deck, incomplete about the rest:
`home_activate` plays on `hub_is_continue(row) || mm.kind == 3`, so an EPISODE
card plays from any shelf. And a show/season card does not simply open its page
— it opens it, waits for the load to land on the expected item, and only then
fires Play, precisely so a failed fetch cannot play whatever page was open
before.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01GovTtrsD9P7Ld7DnLCMK2G

* docs: six claims the auditor refuted, five of them in the document written to be graded

`doc-claim-auditor` over the new UX scenario and the four corrections. Six
findings in files this unit owns; all six were confirmed against the code before
being fixed.

**The chevron is not a control.** The hero action-row table listed `›` under
"what OK does". `home.rs:44-50` says the opposite in as many words — `HERO_NBTN`
is 2, "the pager chevron beside them is an INDICATOR, not a third button: it is
drawn, it is never focused and it has no hit rect". The hero pages by RIGHT past
the info disc or LEFT off the pill (`home_hero_key`), plus an 8 s auto-flip.
This is the row a QA reader would have tried first and failed, in the one
document written for QA to read.

**"No control anywhere can take focus and do nothing" had two counterexamples.**
OK on Home's own tab pill standing on Home is a documented no-op (`app.rs:2126`),
and the person page's header band holds focus but only acts when there is a
biography long enough to expand (`person.rs:626`). Narrowed to what is true and
still answers #10, with both stops named.

**The synthesized tail can never raise a Skip pill.** The document said it
"stands in" where the server has no credits detection, and two lines later that
Skip Credits "remains for the last episode of a show". `synthesized_tail_marker`
returns None unless `has_next` (`metadata.rs:674`) and every Credits marker with
a successor resolves to Up Next (`player_hud.rs:401`), so the tail raises Up Next
100% of the time. Stated with its gate, plus the bench consequence: on a
Pass-less server Skip Credits is unreachable.

**The show/season sentence contradicted the one above it** — my own previous
commit's doing. The open-resolve-then-Play arm is INSIDE `want_play`
(`app.rs:2152`), so it is the deck rule, not the general one; elsewhere a show
card is a bare `nav_open`. Folded into the deck paragraph.

**`docs/pms-api.md` said "the five in bold" over six bolded rows**, and let the
table be read as what this app sends. Dropped the count and split the two facts:
`playback_identity` emits nine fields (`client.rs:152-162`) and none of the four
capability/locale ones exist anywhere in the tree. The table is the target; the
paragraph is the state.

**And two smaller ones**: `assets/` was said to hold 24 SVG icons against a
measured 28 — the number is decoration inside a five-way negative proof and is
the only thing in that bullet that can rot, so it is gone; and the detail page's
watched disc wears the face of the write it would perform (`detail.rs:1087`), so
it is a ✓ on an unwatched item and a − on a watched one, not a fixed ✓.

Two further findings are in files this unit does not own and are listed in the
PR: CLAUDE.md:985 and docs/lg-self-checklist.md:17, both dangling references
this branch created.

make check: 976 passed.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01GovTtrsD9P7Ld7DnLCMK2G

---------

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
GLinnik21 added a commit that referenced this pull request Oct 8, 2026
…loor, no secret echo) (#557)

CodeQL py/* alerts #4-8, #10, #11, #16-20. serve_fixtures resolves and checks containment before isfile; every dev SSLContext sets minimum_version TLS 1.2; gen-release-audit parses the DSN host instead of a substring test; the census arm regex no longer backtracks; plxnative-lab start stops echoing the session secret (pkg/lab.json, 0600, carries it); remote-dpad echoes only a password it generated.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants