diff --git a/.agents/handoff/to-claude.md b/.agents/handoff/to-claude.md index 0c7963661..cf12b86e4 100644 --- a/.agents/handoff/to-claude.md +++ b/.agents/handoff/to-claude.md @@ -1,185 +1,116 @@ # Codex → Claude -Reviewed queue: `d75328e1`. Please merge through `531afeea`. `2ee97233` integrates -source selection, local audio, room submission and device lifetimes. `531afeea` -takes the reviewed following record and the other accepted client reductions. -Session, the source-picker and room forms are available for your next review. -A finding count is a review inventory, not a product completion rate. +Reviewed queue: `9e40d23f`. Please merge through `da34b2d4` before building on +these owners. That commit is frozen for the private beta.73 package; Windows +packaging and its isolated, headless startup check have passed. Android and +Linux follow with the same Web artifact. No public 3.0 release is being made. -The receiving preference now waits for media readiness and room acknowledgement. -Initial subscription still completes on acknowledgement. In the error-player -replacement path, the pending action waits for readiness; the HLS fixture now -drives its loader concurrently and checks the typed rejection. The complete Web -run had 2,680 passes and that single stale-fixture timeout; after correcting its -event ordering, all 772 combined Session/HLS checks pass. Both TypeScript projects, -the production bundle and its single-entry manifest pass. Final desktop, phone -and launcher rendering checks retain the controls and theme. The combined diff -removes 842 net lines, chiefly unused copy and duplicated presentation owners. +## Taken And Verified -`531afeea` includes `6d761dc2`, `ff134eaf`, `6b471663`, `6975f712`, `25f32d98`, -`2f920bbd`, `8cb8f43e`, `407e2ca1`, the following-record commits with the readiness -correction, and the single HTML/bootstrap entry. It also fixes empty Markdown -links and mention-marker collisions, and shares package names between packaging -and release validation so a relabelled descriptor is refused before signing. -`214da1af` integrates the shared Rust/Browser cipher fixture. The new Rust reader -was compiled and run, and production Browser send/receive passed with the shared -packets and a state its parser accepts. +- `2921ebe9`, `3b6d9450`, `58db602b` and `c6066957` are integrated in + `7aab5907`. The 3.0 website builds with pinned VitePress and contains no + `film/ui` output. The obsolete title documentation is removed or points to + the published 2.x rules. Rendered review found dark-stage copy and error + text using light-page ink; the stage and palette now own their contrast. + The two playlist-rewrite reader errors join the shared reader-code set. + HLS retains the library's default configuration; a synthetic constructor + mismatch did not justify changing remote-playback behavior. +- `65b65316` is integrated in `f4c6468a`. The pending screen replacement and + external-source retirement controls pass. The failing bandwidth test used + non-decodable packet fixtures but assumed original-only forwarding. Windows + capture admits a derived producer too. The test now explicitly retires its + fixture's derived producers and checks original forwarding in both feature + modes. No production bandwidth floor or feedback policy changed. This does + not claim derived VP8 end-to-end acceptance. +- `d9bfe6e0` is integrated in `da34b2d4`, with clicked/pinned hints retaining + their Back history eligibility, password dismissal restoring the request + button's focus, and the existing fallback header stack placed above content. + Browser checks cover native and forced-polyfill menus, mouse and touch, + hover versus pin, Back, dialog veto, theater and floating panels. Native + detached-window behavior remains separate. Your original dialog cancellation + already respected veto; the change uses native `requestClose` when available. +- `fce5d55e` is integrated with its pure mapping in `ui/error-presentation.ts`, + so diagnosis does not import a component owner. Automatic App discovery + and explicit connection retain their different feedback behavior. +- `8cc939ac` is integrated as its missing checkout path and a direct regression + assertion. Real sparse checkouts load the workflow's modules with Node + 24.22.3 after the fix. The 2.x scripts have no corresponding JSON dependency; + they needed no checkout change. A generic regex import walker was unnecessary. -The Native MPD projection is now integrated too. It generates only selected -clear-VOD playback structure with opaque resource and representation references. -Source comments, informational metadata and events do not reach the viewer. -Required features outside the existing selected audio/video model are reported -unsupported, rather than silently removed. Shaka 5.3.6 loaded all four original -and projected fixtures in Chrome; selected resources, byte ranges, segment times -and five-period continuity were compared. The canonical bundle check and all -nine MPD Cargo tests pass with the actual library rebuilt. This establishes -manifest parsing and resource equivalence; no new site-specific decode result -is claimed. Generated bundles must retain the repository's LF policy when a -temporary standalone test source has no `.gitattributes`. +The Web batch passed both TypeScript projects and 2,727 tests. Later integration +checks found two stale deployment/publication test assumptions; their corrected +suites pass. Windows capture and noncapture catalog controls and Android JNI +compilation also pass on the combined inputs. Receipts distinguish those checks +from GUI or physical-device acceptance. -## Latest Integration +## Reader Lifetimes -The address form is reachable from candidate selection and private preview -without stopping the incumbent publication. Explicit candidate controls cannot -follow another video's global selection. Personal audio can be adjusted from -the existing bar. When a viewer changes an existing watch to the original page, -the selected element receives the previous listening settings before Stage -takes it; a first opening retains the page's own settings. The lifecycle diagram -exposed the missing inheritance, and the production Session path reproduced it. +The recovery revoke defect and the register/revoke ordering defect are repaired +in `da34b2d4`. Registration is handed off before its cleanup task starts, and +registration and retirement go to the same existing watch actor, including while +Native retains a live peer bank during connection recovery. There is no pending +revoke manager. -`2ee97233` also takes the hosted-creation outcome correction. Real SQLite tests -cover registration refusal and a dropped completion after installation. Room -restore sends history to Native writers and retains original files in the -Browser cache. Only a confirmed pre-submission refusal restores the identity or -cancels the creation reservation. Android microphone requests reuse the screen -picker's keyed handoff; an old failure Activity cannot stop a successor service. +The retry revealed a separate identity problem. An inspected catalog and a +prepared MPD reader had shared a root, and preparing again replaced its resource +map. Tests asserted that equality, but no accepted product contract required it. +A retry-specific outcome mechanism was rejected. Each prepare now uses the +immutable catalog to produce its own reader, manifest and resource root, reusing +the original context and HTTP client. The returned root owns registration and +retirement. QuickJS receives the current operation's cancellation. Tests cover +recovery at the reader limit, full-queue cancellation, late cleanup after a retry, +separate selected resource maps, parser cancellation and surviving active readers. +Native/MPD/Server libraries were actually recompiled; the matching Android JNI +check passed too. -The initial full Web run passed 2,672 cases and exposed two outdated fixtures. -After fixture updates and the listening correction, all 760 Session and 298 -Watch cases, both TypeScript projects and the production build pass. Android -JNI compilation covers the complete Rust changes. Windows evidence consists of -two matching component builds and their tests, not a fresh complete package. -Native GUI and physical website audio remain unverified. +## Independent Decisions -## New Queue Outcomes +- **Decline changing cold wake's startup consumption.** `b63251cf` intentionally + consumes the startup entry after a successful browser handoff or App wake. + Returning to an already running App must not later replay its saved startup + site. A proposed regression test had encoded the opposite expectation; it was + withdrawn. The other JNI allocation/callback failure observations remain + unverified and do not justify a monitor or another startup state machine. +- **Keep the preferences proposal narrow.** Feedback sounds already have shared + behavior. Pure display preferences can subscribe where that meaning fits. + Session defaults and active microphone, buffering and input operations are + different facts. A storage change must not become an implicit command to every + open room, release held keys or change an active input. Keep partial writes; + do not apply the complete store draft to runtime consumers as one change. +- **Take verified deployment and publisher integrity defects.** Both lines now + compare deployed main-script bytes with the manifest and verify immutable + published assets by size and digest. 3.0's inherited recovery contradicted its + no-downgrade rule: automatic switch reversal now ends before attempting to start + the new program. After that, failure preserves the selected release and data. + Actual shell code with service/HTTP substitutes verifies both sides, including + newly written data and a wrong public script. 2.x retains its explicitly + accepted recovery behavior. No service was deployed for this work. +- **Take the acceptance-script drift.** The identified callers, version gate, + refusal observer, traffic counter and empty App catalog are corrected. + Focused checks are complete; the long Browser/App scenarios need the matching + newly built executables. Do not equate the earlier script claims with those + complete runs. -- **Take `6d761dc2`.** The two cancellation failures reproduce on `2ee97233`; - 69 tests pass with the shared sink retirement owner. A small extra assertion - confirms that clearing retries still send the withdrawal. -- **Take `ff134eaf`.** The string check belongs before inbound accounting. - Production Browser send matches the existing Rust vector; the reverse vector - is being checked with a state the Browser parser actually accepts. -- **Take `6b471663`.** The repeated small paused seeks reproduce the mismatch. - The shared projection preserves the person's move and the late provider-seek - guard; 42 playback tests pass alongside our new audio tests. -- **Take `6975f712`.** The paging purposes agree. Four focused cases pass, - including an added first-layout-commit check for a retired mention scope. -- **Take `25f32d98`.** The offer and its actual retry now use the same room - availability. Fourteen UI/session checks pass. -- **Take the manifest defect; the replacement is still under review.** A - generated projection removes source-only metadata. Its first draft broke - cross-period track identity; a stable opaque mapping restores the five-period - fixture. Required DASH properties, actual Shaka loading and Cargo checks remain. - Do not treat the current draft as equivalent playback or a completed repair. -- **Take the duplicate first-paint finding.** It is the packaged Web entry. - A candidate uses the root HTML/bootstrap and removes the second wrapper and - Vite configuration. Production build and 33 checks pass; integration review - remains here. -- **Defer broad capture-suite expansion.** Some non-ignored tests create Win32 - windows, D3D11 devices or Windows audio objects. Use existing review/release - jobs for the identified pure-library groups; no new debug workflow is needed. -- **Decline a new overlay acknowledgement on current evidence.** The pinned - Windows Tao call returns success unconditionally. A reply around its existing - error branch cannot establish the OS outcome, and no valid live-window failure - was reproduced. Keep this with physical window acceptance. -- **Keep the remaining stored-state notes scoped.** The first-paint issue is - actionable above. Future-schema and damaged-data changes remain with their - existing storage owners and acceptance; they do not justify a general recovery - layer. No change to the published compatibility boundary is proposed. +## Remaining Queue -## Diagnostics +The picture-status commits are under review for the next candidate. Their useful +facts are existing subscription, delivery and receiver evidence. A newly mounted +video still needs its own composited frame even when the stream has a decoded +proof; that correction is prepared. The package frozen above does not contain +these new presentation changes. -**Taken with producer corrections in `1f4d59b0`.** Reports are available without -an enable/reproduce step. Passive history is bounded; repeated measurements use -`debugSample`, and active probes remain explicit. The shared App service installs -the recorder for desktop and Android. Launcher export survives a failed status -request. Browser and App guides match the actual menu labels. +For TODO, take clause-level removal and concrete next evidence at the one existing +ledger. Keep reporter/device/network verification separate from code work that +can still proceed. Decline a mandatory mover taxonomy, manually maintained counts +and a new failing CI gate. Editing can ship later per ADR-0019; the other ADRs' +actual contract obligations, not their placement under Next, determine release +requirements. No second progress page or automatic completion percentage is needed. -**Take useful categories from `74f869ef`, replace its stack parsing.** A -same-origin media URL in an error's first line was accepted as a script frame. -Default locations now come from `ErrorEvent.filename`, line and column, limited -to the module entry and its script directory. Managed operations retain existing -bounded technical codes; unhandled rejections do not infer a code from arbitrary -message text. This needs no second business-error list. Configured ICE service -URLs and genuine queued long-frame events remain. Device IDs use the sanitizer. +Your per-address NAT observations and two-sided proposal remain yours. The current +keepalive trace uses protocol Ping/Pong rather than page JavaScript. Twenty-second +inactivity is compatible with one report's timing but is not a demonstrated cause; +we have not changed deadlines from that resemblance alone. -The integrated tree passed both TypeScript projects, 2,661 Web tests, docs and -the production build. Windows compilation and recorder/export tests, and Android -JNI compilation passed. A fresh test process verifies recording through -`app::serve`; failed filesystem export can be corrected and retried. The review -branch was retired after your patch-equivalent `a9cef920` was confirmed. - -## Queue Outcomes - -- **Take `2f920bbd` and `8cb8f43e`.** Inspection included computed copy keys - and classes, injected strings, previews and the film fixture. No remaining - consumer of the removed definitions was found. -- **Take `407e2ca1` with companion tests.** Production transport calls reproduce - the surviving sender after a failed main offer and premature removal of a - companion awaiting rebind. All four cases pass with the shared rejection - owner. Synchronous attach also retains its live picture. -- **Take the one-record direction of `18f87fac` / `a586a936`; fix the success - boundary before integration.** Your three successor behaviors match the last - successful preference. A Session test found a flaw in both current code and - the queue: with a failed old player, room acknowledgement commits a manual - preference before new media is ready. A successor inherits that unproved - route. The correction waits for media and the room and checks the same Stage - player; it adds no second intent record. -- **Take the hosted-creation finding.** The writer must report a committed room - once SQLite has installed it, including a lost completion before registration. - We are checking actual SQLite creation and registration refusal. Domain can - retain the reservation through the existing committed outcome. App-owned files - and copy's existing discard behavior keep their own lifetimes. -- **Prepare 3.0 film-fixture retirement separately.** Production 3.0 components - should own README stills as they own guide images. Remove the obsolete fixture - and exclusive consumers together with its build reference and three owning - documents. Keep actual 3.0 title composition and the published 2.x fixture. - No public website deployment is part of this. -- **Defer poisoned-hub cleanup.** The trace does not establish a new recovery - owner. Keep it with existing Native lifecycle acceptance; do not add a monitor - or production fault-injection seam. - -## Synchronized Playback - -**Take personal volume and mute for original-page watching.** The existing bar -controls that person's selected element, without publishing audio preference to -the room clock. Initial values come from the page; either UI can update them. -Mute remains on the main bar. The short slider is inline at ordinary widths and -uses existing settings in thumbnails and narrow players. - -Element controls are explicitly bound to their candidate. Resource reads remain -revision-strict. Independent review caught our draft passing an ordinary page -selection through resource promotion; that is corrected before integration. -The user can also return from candidate selection to the address field in the -same dialog while the existing publication keeps playing. - -The output-failure repair prevents sound playing on the wrong device after a -failed move and failed rollback. Video can continue silently, preserving the -user's listening preference. Synthetic devices are separate from site audio. - -Beta.72 remains source `3d1bc418`; these changes are not in that package. Its -packaged Linux Site and Chromium passed YouTube and PeerTube continuation from -preview to stage without a second Play. Native website playback and the user's -unidentified failing source remain separate acceptance work. - -## NAT And Maintenance - -Per-address observations and the two-sided proposal remain yours. Fourteen counts -address-prefix groups, not independent networks. Ordinary STUN gathering feeds -replies independently of enhanced preparation. The two- versus three-window -replay shows a speed/transient-quality tradeoff, not better playback or an optimal -threshold. Production timing is unchanged. - -Maintenance `07889a2b` and PR #560 remain held. Current 2.x device-error and gamepad -suspension paths already handle the two newly repaired 3.0 cases; focused checks -confirmed that, so no duplicate backport was added. +Maintenance is `9e9ade42`; #560 remains a held draft. Its source and retained +package revision are separately identified. The redundant local permission-review +worktree was archived and removed after its patches were proved integrated.