Commit Graph
1221 Commits
  • fix(files): validate reads against confirmed attachment descriptions
    The first-read repair deferred descriptor rejection until runtime initialization and could withdraw a valid local source for an unconfirmed replacement. Consult the existing confirmed history owner, current transfer plan and local content before loading the transfer runtime, and revalidate after waiting. Confirmed restored content still takes the ordinary receive path on its first read, without another metadata cache.
    
    The two Session regressions reported by cross-review fail before this correction and pass unchanged at their rejection assertions. The complete Session, retention and attachment-card family passes 726 checks. The full Web run found only the old room-dependent PTT expectation, corrected and rechecked separately; source type checks pass.
  • fix(voice): keep push to talk scoped to its input lifetime
    Changing from one voice room to several changes the toggle target, not the shared held-key input. Retire the hold when its real callback or document changes, or on the existing keyup, blur and freeze boundaries. The Chrome hook comparison reproduces early release before the change and verifies both membership transitions plus all normal release paths; source types pass.
  • feat(room): compose the living layout from shared activity controls
    Add an explicit living entry to the existing room preview, with persistent room-list folding, shared surface tokens, one retained room tool and independent voice rows. Keep device preferences with the person and App at the top-row end. Chat stays central without pictures; focused pictures choose a measured side or bottom thumbnail strip without recreating players. Existing workspace and quick entries remain pending the owner decision.
    
    Reuse the shared surface motion and reduced-motion policy, restore focus on drawer close and release pointer hits outside the shrinking rail. Couch marks share activity meanings and one person target. Settings portalled out of a detached tool follow their actual document. Do not expose unused multi-room shortcut or overlay target configuration before its scope is decided.
    
    Chrome 156 checks cover desktop and narrow layouts, both themes, two voice rooms, detach document context, media residency and reduced motion. Type checks pass. The full Web run passed all other cases; its old couch target assertion was updated for the shared person control and the affected UI tests pass on recheck.
  • fix(app): retain compatibility failures after approval
    Use the selected runtime discovery classifier when its post-approval health request fails. The attempt still owns popup and listener cleanup; incompatible versions now reach the existing upgrade message instead of generic unavailability. The expanded approval regression and runtime-affinity and shared-cancellation controls pass.
  • fix(files): read restored content on the first request
    A restored message can retain its attachment key while replacing the content. Retire the stale local source only after validating the current room and plan, then use the existing receive path in the same call. The retained-copy regression no longer needs an initial failing read; all 45 retention controls pass.
  • fix(watch): retire pending embed media through its player
    Register the existing watch candidate when its player takes the media, before preparation waits. Stage can then cancel that player without also disposing its provider, while an unadopted preview remains Stage-owned. Check cancellation after the embedded player acknowledges pause.
    
    Public prepare and confirm controls reproduce duplicate close on failed read and cancellation, retain the previous share, and preserve the preview identity through success. Domain-disconnect controls verify byte-source withdrawal and paused state on the existing reconnect path. The integrated ownership family passes 684 checks; actual external-site playback is outside these controlled tests.
  • refactor(watch): keep page release and candidate mutation explicit
    Both production PageSuppliedMedia callers already supply a release callback. Require it, remove the redundant pre-commit mode guard, and leave candidate revision writes to the Sample owner while grant retirement only reads the previous resource. These are the three traced simplifications from review f26ac673.
    
    The eight Native candidate controls and the integrated Web ownership family pass; wire and saved formats are unchanged.
  • feat(ui): define shared room surfaces and paired share controls
    Add semantic frame, room and aside tokens plus neutral tonal and paired-button styles at their shared owners. Share and settings remain independent actions while the paired shape moves together. Existing product callers retain their layout and control geometry.
    
    The live share component has an explicit catalogue variant. Default guide captures keep the current product shape; the split example uses share=split. Chrome 156 checked light/dark, keyboard and touch behavior and unchanged desktop/mobile geometry. This is phase one of the reviewed layout plan; shell placement follows visual acceptance.
  • refactor(stage): own source page acquisition and retirement
    Stage acquires and releases its selector reference; a player retains its own page hold. Remove the Session's duplicate close listeners, portable cleanup and mutable page ownership. Page-supplied retry transfers one release callback instead of maintaining overlapping ownership flags.
    
    Reconcile watches from raw room facts and the actual committing player. UI projection and action lock strings no longer decide retirement; authorized published activities survive a temporary writer outage. The current candidate remains protected until its first publication or a real authority removal.
    
    Independent public-entry checks cover first acquisition, readiness failure, retry transfer and final release. The integrated TypeScript gate and 713 relevant tests pass. Capture/embed ownership and share-setting operations remain separate ADR-0015 work.
  • fix(preview): show recovery failure through the player
    The existing watch-resume failure fixture now updates player.error before rejecting, matching the real recovery owner after the duplicate toolbar result was removed. Chrome shows one media alert and no toolbar or banner duplicate.
  • fix(identity): finish canceled image preparation at its owner
    The current preparation now completes on cancellation and unmount as well as decode success or failure. Replacing it leaves completion with the replacement. Remove the profile, room, site and preset resets that previously repaired the same busy fact.
    
    Real Image.decode controls exercise owner removal/restoration, preset replacement and repeated selection. Focused image/form checks and the integrated TypeScript/Session family pass.
  • fix(watch): preserve viewing across webpage source changes
    Keep the original-page group and watching intent when its selected player disappears; retire that candidate's grants and pending work, freeze the existing playback clock, and replace the next explicit source through the existing handoff. Native candidate identity owns the containing-page address and sample events, so a popup or prepared player cannot inherit another player's URL or buffering state.
    
    Separate an optional navigable website locator from the existing byte-source capability. Opaque indexed and MPD media remain forwardable without exposing a private manifest or inventing a root URL. Original-page entry and recovery use the actual locator. Private Domain 52 and App 27 change together; persisted room data and backup formats do not change.
    
    Independent red/green controls cover popup identity, opaque forwarding and candidate event isolation. The integrated Web suite passes 2433 checks and the complete Rust/WASM/protocol gate passes. The final retained-viewer recovery has 67 focused presentation checks and two producer-to-view controls. Native Page checks pass with the existing GUI test ignored; actual member websites and window interaction remain package acceptance work.
    
    The existing App cancellation test now checks its actual sole-waiter scope; the separate multi-reader Session regression proves that canceling one borrower preserves the others. No timeout was enlarged or failing assertion suppressed.
  • fix(playback): preserve compact controls and webpage thumbnail alignment
    Match the narrow playback menu's specificity so fit and rotation remain available after toolbar collapse. Exclude the existing webpage-thumbnail grid from the external-player flex rule so its controls remain at the lower edge.
    
    Chrome 156 touch checks exercise fit, rotation, seeking, volume and hidden-control recall; visible controls pass hit testing across the existing size/source previews. Focused playback and gesture checks pass.
  • fix(identity): retire image preparation with its editor
    Cancel the native image decode and its object URL when an editor closes or selects another image. The identity input and Pawn preview use the same preparation lifetime. Room import and room-picture preparation share the form's busy owner so a late picture cannot overwrite an imported draft.
    
    Synthetic-image Chrome controls cover cancel/reopen, identity replacement, import and submission. The decode retirement regression, room form tests, frontend and Browser SDK type checks pass. Existing attachment-preview ownership is unchanged.
  • fix(app): cancel only the caller waiting for shared admission
    One canceled source-list reader closed the App socket while another reader or explicit activation was still awaiting hello. Track the existing readiness waiters and retire an unfinished connection only when the final waiter cancels.
    
    A controlled shared App handshake fails before this fix and preserves the second reader afterward. Twelve relevant integrated Session checks pass, alongside source-picker controls and frontend/SDK type checks. The original field report remains uncorrelated.
  • fix(watch): let the player own its recovery failure
    A failed retained-source retry wrote player.error and a second toolbar action result. Bring source lookup and candidate construction into the player's existing failure boundary and remove the duplicate resume-result hook. Non-UI callers still receive rejection; cancellation does not replace the retired player's status.
    
    The real Session-to-Stage Chrome control now renders one failure and still replaces the player on a later successful retry. TypeScript and the integrated Session, audio and tooltip suite pass (666 checks).
  • refactor(history): read session history from its existing owner
    RoomHistory owns the data window and changes; the Session no longer reads its own UI projection back as history authority. Follow-latest data, viewport following and read position retain their distinct lifetimes.
    
    The integrated Session checks and TypeScript pass. Admission cancellation controls verify chat and deletion failures before dispatch and successful confirmation after dispatch; real Chrome component checks preserve drafts and scoped errors.
  • merge(review): resolve caller feedback findings and refine writer experiments
    Take the literal tooltip label fix and reply to the review queue through 4a779258. Record the real browser writer timing and same-host registration evidence. Keep the room-turn deadline and atomic first-Join admission as measured proposals; a pre-read threshold does not bound concurrent fanout.
    
    The tooltip regression passes. Audio replug and watch action ownership were independently committed with their focused checks; no production deadline, admission policy or route-failure override is introduced by this merge.
  • fix(audio): recover outputs created while the selected device was absent
    A devicechange previously cleared deviceMissing without applying the selected sink to players whose initial setSinkId failed. Retry those still-registered targets in the existing serialized output queue, and resolve readiness through their existing applied callback.
    
    Claude's report was reproduced before the correction. Nine focused checks cover replug, continued refusal, retirement and a later explicit device choice. Physical unplugging was not exercised.
  • fix(watch): keep explicit activity failures with their visible source
    Join, Leave and Stop reuse the existing keyed action result owner. Retiring a player no longer removes the only place that can show a rejected request; a result whose source is no longer visible reaches the session banner. Automatic resource closure stays outside the user action lock.
    
    Verified with TypeScript, 703 Session and presentation checks, and twelve Chrome 156 preview controls covering source retirement and navigation at three viewport widths. Preview errors are controlled failures; no native GUI acceptance is claimed.
  • fix(watch): retry stopping an activity after its player retires
    An initial stop can release its player before the room rejects the request. Explicit retry now resolves the still-current owned activity from the authority snapshot instead of silently doing nothing. Automatic media-close calls retain their player guard. Public retry, removal and ownership checks plus 183 related session tests pass.
  • fix(a11y): a tooltip names a disabled control by its text, not by an object
    A control may name itself with a copy key or with text it already holds. The tooltip read only the first form, so a disabled control named by text gave its focusable wrapper the accessible name "[object Object]". It now resolves the name as the control itself does.
  • fix(copy): name every use of the room forwarding default
    The room default also bounds voice and file sources. Align Chinese and English guidance with the existing per-kind authority and live-limit behavior; the focused Browser/WASM controls preserve separate personal forwarding and source limits.
  • fix(ui): give error text a readable shared foreground
    Separate readable danger text from decorative danger color in the shared palette, following the existing live-ink role. Correct nested error paragraphs and remove the media-only foreground override. Actual Chrome light/dark playback errors and danger-button states meet normal text contrast while existing fills and status meaning remain.
  • fix(ui): keep operation results with their initiating surface
    Watch focus, resume and playback failures retain separate picture-local results. Room deletion remains visible in its settings opener or directory row after an automatic dialog close. Resource identity scopes late outcomes without changing the shared hook semantics. All delete consumers handle unconfirmed data removal; independent review, public browser flows and the full Web suite pass.
  • fix(playback): give settings a consistent close and Back path
    Register all playback settings with the existing layer history and reuse one shared close heading. Native popovers retain focus and media lifetime. Installed Chrome touch-emulation checks at 320 and 390 pixels verify Back, Escape, nested panels, scroll and visible close; the combined Web suite passes.
  • fix(audio): report unavailable playback devices at the output owner
    Observe selected-device loss through the shared page owner and retain per-target rollback failures. Viewer and voice readiness follows the actual sink while the selected preference remains unchanged. Controlled unplug/replug and shared-context tests and the complete Web suite pass; physical audible output remains a separate acceptance check.
  • fix(history): retire browse admission with its room reading
    History and message-target reads can still be awaiting the browse promise when navigation retires their room. Cancel that existing pending browse request with the reader so a late acknowledgement cannot start detached history work. Public-action regressions cover both entry points and reopening; 120 relevant session tests pass.
  • fix(ui): keep participant identity together in narrow lists
    Group avatar and name in the shared row, retain full names in the existing overflow tooltip, and let controls wrap as one group when needed. Remove the competing scene-local name widths. Current Chrome short/long-name, narrow/right-list and five-browser screenshots retain 44-pixel controls without split identity rows.
  • fix(watch): reject confirmation after the player retires
    Recheck the current selection and player after awaited webpage confirmation. A stopped borrowed-page replacement must not attach listeners or publish updates when its old confirmation arrives. The public-operation regression fails before the correction and passes afterward; the complete Web suite passes.
  • refactor(session): give each room one stage resource owner
    Stage owns source selection, screen identity, pending players and active players with their promotion and retirement. Keep URLs, credentials, publication effects and setting operations at their current owners. Independent review verified the ownership change; the full Web suite and actual five-browser source/voice/recovery acceptance pass.
  • refactor(ui): keep the site identity in the shared header
    Remove its repeated heading above an already named room overview. Keep the existing overview heading, room cards and empty state. Current Chrome desktop/mobile light/dark and keyboard controls pass; the complete Web suite passes.
  • refactor(app): make acquisition cancellation explicit
    The private acquisition API now requires the caller to provide its existing AbortSignal or explicitly opt out. Six callers retain their owned lifetimes with less positional noise. Type checking and 680 related session/page tests pass alongside the reviewed reconnect spread.
  • fix(client): spread the reconnect delay of pages a site dropped together
    Every page retried exactly one second after its socket closed, so the pages a
    restarting site dropped at one instant all came back in the same few
    milliseconds. Each admission sends a room host one event per room it hosts,
    into a queue of 64 whose overflow disconnects the host.
    
    The delay is now uniform between half a second and one second, which RFC 6455
    section 7.2.3 asks of a reconnecting client. It is never later than before.
  • fix(a11y): identify webpage candidates by their video name
    Reuse the existing translated selection label for creator and viewer candidates. Named and untitled cards have distinct accessible names instead of one generic source label. Current-browser chooser review and the corrected presentation checks pass.
  • fix(app): cancel source operations at their request owner
    Propagate the AbortSignals already owned by source selection, viewing and source enumeration. Cancellation releases a pending hello or source lookup without retiring retained playback or App hosting. Public-action regressions fail before the correction and pass afterward; no extra timeout or recovery state is added.
  • refactor(conversation): deliver one signed history page
    The writer already produces a bounded complete page and readers publish it atomically. Remove the per-message/reaction envelopes and Browser/Node reassembly, retaining request, binding, transaction and live-change owners. The mixed-page component control cuts serialized bytes by 47.4% and signatures from 101 to 1. Advance private Domain wire to 51; stored formats are unchanged. Core, actual IndexedDB, Server, Node and protocol checks pass.
  • fix(playback): keep watch volume within reach on narrow screens
    Keep the shared inline volume control in the normal 320px viewport while preserving full timeline width. The existing compact settings fallback remains for smaller tiles and thumbnails. Chromium156 keyboard and rendered Chinese/English grid/focus controls pass at320 and1360; no new control or state owner.
  • fix(routing): preserve recoverable paths and adopt proved spare branches
    Keep current-socket disconnect observations separate from confirmed pairs. Existing room operations prepare and commit an authorized confirmed alternate, recheck every leg, preserve independent candidates through ancestor retirement, and reject late proof after recovery or a personal zero limit. Native reads SDK-owned send consent and retains established media; expiry uses the existing retirement boundary, including ICE Checking. Remote input releases on lost notifications and rechecks permission at the final write. Pin the existing SDK fork query at 5f1f6346 and move the private Domain wire to50, without changing stored formats or App26.
    
    Core, Native, Server, rebuilt WASM, protocol and 2389 Web checks pass, with Windows capture compilation. Matching frozen Browser/Native/Server controls verify actual decode, same-pair recovery, exact candidate adoption, late-proof cancellation, zero capacity and Native expiry. The final Checking-state regression and valid ICE restart control pass. No field NAT-success rate, cold three-hop discovery, Native GUI or physical-capture claim is made.
  • fix(ui): return language-menu focus to its actual opener
    Keep the positioning anchor separate from the button that opened the nested native popover. Tab, Shift+Tab, Escape and selection now preserve the expected focus order. Actual frozen 3.0 Chromium controls passed both opener paths at 320 and 1280 pixels; TypeScript passes.
  • fix(copy): make occupied room recovery instructions direct
    Use ordinary product language for the same file-lock remedy and existing operator label. Only English and Chinese copy changes; authority and restart semantics remain unchanged.
  • merge(review): consolidate private room contracts and their readers
    Take Claude C2 at 53bea0a6 and the reviewed private contract batch. Viewer audience owns failure; invitation payloads use correlated replies; Core owns fixed observation limits; HostInput requires hosting mode; invitation digest derives from its retained key. Domain wire49, room SQLite11, IndexedDB9 and room archive4 refuse old private formats without mutation; unrelated formats retain their generations. Core/Native/Server, rebuilt WASM, five live protocol cases and 2388 Web tests pass; actual Browser storage checks pass. Broader media acceptance found a separate relay-unwatch decode stall and remains blocked; no runtime workaround or release is included.
  • refactor(core): a viewer reads delivery failure from its own audience entry
    The room carried the same fact to each viewer twice. Every snapshot had a
    failedSubscriptions list for the recipient, and every screen publication's
    audience already listed the recipient's session with the state failed. Both
    came from the publication's record of failed receivers over the sessions that
    watch the screen, and the Domain retained, validated, paused and merged them
    in matching ways.
    
    The audience is now the one carrier. The core no longer projects, retains,
    validates, pauses or merges the list, and the wire snapshot no longer has it.
    The audience validation already requires each entry to belong to an
    authorized, subscribed viewer of a screen.
    
    The client finds its entry by its own session identifier, never by user,
    because one person can watch the same screen from several endpoints. The
    projected view already drops this page's own entry when the page has stopped
    watching locally, so a screen unwatched before the room sees the unwatch still
    does not show as failed. The room preview's failed picture now comes from the
    viewer's own audience entry.
    
    No protocol, storage or format version changed: the owner batches wire changes
    and bumps once.
  • merge(review): keep playback surfaces through media handoff
    Take Claude 8cda3edd after source and runtime review. Keep received-stream retirement at transport and presentation proof at each candidate. Complete two observed gaps at shared owners: held quarter-turn dimensions and cover clipping, and same-publication picture-in-picture transfer. Real Chromium checks preserve pause, honor explicit PiP exit and cover an ended old track. All 12 rotation/fit/viewport geometry comparisons agree; TypeScript and focused transport, stage and playback checks pass.
  • fix(ui): preserve room controls and current viewing status
    The cross-room activity strip now uses the same viewing status as the participant surface instead of always saying watching. On short viewports, room settings tabs scroll with the panel so controls remain reachable. Chromium controls at 320 and 1360 pixels plus the 320x240 dialog, keyboard dismissal and shared presentation tests pass.
  • feat(rooms): explain local hosting failures in room settings
    Report known writer-lock and duplicate-file failures from the current Native hosting session. Reuse actual hosted-room authority for Server member rooms; keep Browser diagnostics separate. Read only when an authorized operator opens an offline room. Real file-lock/duplicate tests, 196 Native and 117 Server tests, TypeScript and focused Web checks pass. Rendered 320/1360 controls cover operator labels, aborted late results and no diagnostic requests for online or unauthorized rooms.
  • fix(screen): a held frame keeps the picture's shape
    When a displayed layer's track is withdrawn or its pair closes, the video
    keeps its last frame but no longer reports a natural size, so object-fit had
    nothing to fit and the browser stretched that frame across the whole box. On a
    tile that is not the picture's shape, the picture was distorted while the
    candidate prepared.
    
    Each layer now remembers the last natural size its video reported. While the
    player holds that layer's last frame, the video's own box takes that aspect
    ratio with the same contain or cover sizing, which is the box object-fit gave
    the live picture. The element raises no event when it loses its size, so the
    player's existing held fact decides when this applies. While the size is still
    reported, that box is identical to the object-fit box. The rule stops applying
    when the layer becomes live again or is replaced by the handoff.
    
    Live pictures, the fill setting and every presentation sharing the player are
    unchanged.
  • feat(preview): show a picture with a live candidate and no selected flow
    The room preview's picture switch gains two samples. picture=candidate gives
    the sample screen a live candidate in its inputs with no selected stream, the
    moment in which the stage now keeps its surface. picture=handoff walks the same
    screen from its selected flow, through that moment with the withdrawn flow's
    stream left empty, to the candidate being selected, so the held frame, its
    waiting status and the handoff can be watched in a rendered page.
    
    The other picture samples are unchanged.
  • fix(screen): keep a picture's surface while it has a live input
    A stage tile mounted its picture only while the publication had a selected
    stream. When the room's projection briefly had no selected flow while a live
    candidate was still preparing, the tile fell back to its waiting block and
    unmounted the candidate's consumer, so the candidate could not composite or be
    presented when it was selected a moment later.
    
    The surface now lives while the publication has any live input, selected or
    not, and theatre mode follows the same rule. Without a selection the player
    keeps its displayed layer and lets the candidate prepare beside it. A displayed
    layer that has left the live inputs holds its last frame, so it shows the
    player's existing waiting status until the incoming layer has composited and the
    usual handoff replaces it. Remote control is available only while the displayed
    layer is the selected flow.
    
    The composited-gated handoff, local pause, what is reported to the room, the
    waiting block for a picture with no live input, and cleanup on unwatching,
    ending or leaving are unchanged.