Commit Graph
949 Commits
  • fix(rtc): keep data-channel allocation failures within room data
    WebRTC createDataChannel can report OperationError when no SCTP channel ID is available. On a connected carrier, failure of either room control or bulk allocation now uses the existing room-data failure owner and releases partial channels without ending healthy voice/video. Regressions cover both allocation steps, signaling recovery and send-time bulk failure. Cold connection failure remains with the pair owner.
  • fix(rtc): retain failed construction within its admitted pair
    A constructor failure was reported but forgotten, so replaying the same authoritative plan retried an already failed pair. Keep its terminal outcome in the existing peer map until withdrawal or reset, and resend it after signaling recovery. The Session regression covers replay, recovery and a fresh replacement ID; this matches Native lease ownership without a second registry.
  • fix(capture): cancel first publication with its source selection
    Room revocation aborts the Stage selection, but the first Browser publish request previously outlived it and could keep video and audio capturing until a reply. Pass the existing selection signal into the request and retire the publication through its owner on cancellation. The operation regression proves release before a late ACK and no restored share; focused capture controls pass.
  • fix(audio): keep cues off a rejected output device
    A failed multi-player output change can leave the cue AudioContext on the alternate sink when rollback also fails. Reuse PlaybackOutput.failedFor, as media players already do, instead of scheduling new cues there. A real owner regression with synthetic sink failures reproduces the leak and verifies recovery after a successful choice; physical sound is not measured.
  • fix(files): retire old receivers when an original is restored
    A pending preview could finish after archive restoration replaced the same attachment with different verified content, then reinstall the old bytes as a source. Retire that receiver through the existing sink owner alongside superseded saves. The regression fails on cf9d67f3; the complete attachment-retention suite passes 47 checks after the fix.
  • fix(voice): retire a shared input before projecting room state
    The actual Session regression reproduced a two-room microphone disconnect leaving only the final room in the shortcut restore set. Device-end and processor-error cleanup now retire all publications of that input before one projection. Existing per-room retirement, shared capture release and the single lastOn writer remain the owners. Both complete voice/session suites pass 698 tests and TypeScript passes.
  • fix(voice): let each room end its shared microphone wait
    A room owns its wait for the shared microphone. Muting ends that input wait and preserves the requested join as listen-only; leaving or revoked admission ends that room immediately while a sibling can still use the same capture. Direct permission denial retains the existing retry outcome.
    
    Production Session and dock-keyboard regressions cover the first prompt, shared A/B waits, late permission and revoked admission. The two complete session/shortcut suites pass 697 checks and the type build passes. No new global queue or owner is added.
  • fix(ui): align room controls with the approved layouts
    Minimal keeps named desktop voice actions, one room heading, a centred first-share action and profile access through the name. More retains its settings surface while its trigger moves. Folding keeps navigation marks and member faces aligned without replaying voice glyph entry animations.
    
    Presence uses actual online sessions, visible desktop tiles retain their own failures, and voice shortcut memory has one observation writer. Remove the unreachable bitrate section from global voice settings while preserving the room setting. Types and all 2464 Web tests pass; Chrome checks cover focus, drafts, viewport changes and the corrected focus-ring inset.
  • fix(app): require an explicit control response outcome
    A correlated reply must contain either a result or a nonempty error, and hello must explicitly return null. Reject malformed replies at the request owner instead of declaring App control ready. The real ChannelApp handshake regression rejects the old empty-envelope path; valid event frames retain their separate contract.
  • feat(voice): share shortcut scope across joined rooms
    VoiceParticipation remembers the rooms whose microphones or listening were last on. One key mutes the active set and cancels pending opens; the next restores successful members, with the most recently requested joined room as the empty-history target. Per-room controls retain their own scope.
    
    The first pending permission is reachable through the actual dock keyboard handler. Speaking overlays retain the existing voice focus, chosen by the joined-room name, independently of ordinary room navigation. Controlled microphone and room replies cover partial refusal, late permission and leave/rejoin; real Chrome DOM checks cover overlay target changes. No native window-system behavior changed.
  • refactor(ui): replace the old layouts with one living room shell
    Full and minimal are two forms of the same room, with shared players, conversation and voice lifetimes. The room list now discloses room membership; the couch owns current-room interaction and the people panel keeps the site-wide directory. Retire the old workspace and quick branches and their private preference values without aliases.
    
    Keep remote-input state mounted when its picture is hidden and expose requests directly on narrow cards. Preserve the common menu in the rail, relocate the voice-name style to its surviving owner, and regenerate guide screenshots from the production room view. Real room voice/draft controls, responsive media-node checks, types and the full Rust/Web/protocol gate pass. Existing Git-heavy Web fixtures pass when rerun serially after parallel timeout.
  • fix(chat): retire room interactions through their reading owner
    Keep one interaction owner in the current reading binding and derive the displayed map from it. Reconnect preserves that object only for the still-authorized binding, then readmits it on the new socket. A selected room revoked while offline now closes the old interaction and clears its messages. Existing recovery and targeted session tests pass.
  • fix(chat): preserve the latest explicit reading target
    A confirmed send must not override a later cached quote or unread jump. Every reading action retires follow-latest before awaiting history, and a newer send cancels the old unread lookup. The real session regression reproduces the competing history request and verifies the requested message remains selected.
  • fix(ui): keep responsive room controls and panels stable
    Narrow tiles group publishing adjustments in their existing settings while keeping stop, viewers and reactions reachable. A stable portal retains source selectors, volume and remote-input drafts across layout changes. Side regions travel along one edge over an already settled media layout, including reduced motion and phone panels.
    
    Chrome verified the previously failing resize sequences, keyboard focus, remote-input draft retention, four-picture geometry and combined side-panel transitions. Existing video nodes survive desktop-phone-desktop changes. Types and focused Stage tests pass.
  • fix(routing): distinguish connection repair from picture failure
    Retiring a physical pair does not declare its subscribed picture failed. Existing bounded repair keeps the viewing intent, and the shared surface shows neutral waiting until an input is assigned. Actual media-flow failures retain their warning through replacement and clear only on current decoded proof.
    
    Verified through Authority, writer and state integration, the existing room decoded-proof regression, and actual Core states decoded by Browser and rendered by Stage. No wire field, route algorithm, retry timer or budget is added.
  • refactor(chat): share committed reply and broadcast selection
    ConversationOutcome owns the direct replies and optional live broadcast for both room writers. Browser retains current-binding checks and reads current recipients after direct completion; Native retains its local-session filter. Deletion keeps recipients captured by the committed removal.
    
    Removes per-record Browser JSON/WASM classification without changing wire records or stores. New WASM and IndexedDB controls, Native two-reader WebSocket delivery, SQLite deletion and focused SDK tests pass; the integrated Browser package and types were rebuilt.
  • fix(watching): apply manifest inspection to the current source row
    Page discovery refreshes manifest rows while inspection is in flight. Resolve the selected candidate again after the reply so a retained source receives its catalog and a disappeared source reports its existing unavailable result. Both callback orderings fail on the previous implementation; the seven targeted MPD controls pass.
  • fix(watching): refresh embedded readiness on player events
    Players without a local video element expose readiness through their adapter sample. Use that shared boundary for selected buffering and recovery events, including YouTube, instead of restricting refresh to original-page playback. The production adapter regression fails before the change and passes without advancing its periodic clock.
  • fix(capture): keep audio completion independent of video quality
    Only a newer audio edit supersedes an in-flight audio request. A video-quality acknowledgement can replace the shared profile without authorizing another attempt after an audio rejection. The existing audio volume instance already identifies every audio edit, including bitrate-only changes.
    
    The actual ChannelSession and App reply-order regression rejects the old false-success path. Focused playback and session suites pass.
  • refactor(nat): prepare candidates on the original RTC connection
    Start bounded Native preparation beside ordinary ICE on the Core-authorized pair, with both ordered STUN surveys running concurrently. Adopt the authenticated socket and its reader into the same Runtime turn, preserve ICE/DTLS identity and existing deadlines, and retire only optional preparation on refusal, failure or queue pressure. Remove the replacement-attempt state, deferred normal signaling and old prepared-socket constructor.
    
    Domain 54 rejects mismatched private clients because initial UDP signaling and failure semantics change. Rust and Web constants move together; App 27 and stored formats do not change. The equal-step classifier, packet/socket budgets and ordinary routing policy are retained. TURN provenance remains bounded unknown when it cannot be proved.
    
    The matched sequential-NAT control delivers H.264, Opus and a verified file on the original pair. Core, Native, Server, Web/WASM and protocol gates pass; Android ARM64 and x86_64 JNI compile/link and ELF checks pass. The real Native Session fixture now acknowledges actual binding/revision output rather than waiting again for an already received sibling reply. The full Web suite passes 2451 checks. Established TURN migration and public network rates remain explicit acceptance work.
  • refactor(voice): keep settings in one dialog across surface changes
    The long voice form uses the existing shared settings dialog with independent scrolling. Its stable component owns the dialog and opening document; only the invoker moves into the personal tools portal. Responsive relocation no longer destroys the open dialog or shortcut recording. Unmount and document retirement clear recording and meters through their existing owners.
    
    Chrome 156 verifies real dialog identity through desktop-phone-desktop resizing, two-document focus and meter ownership, Escape precedence and narrow scrolling. If its original invoker disappears, native focus returns to the document. Types and focused voice checks pass; device controls use synthetic input in acceptance.
  • refactor(presence): wear one activity mark on the shared figure
    Use the existing pawn adornment for sharing, files or viewing, with remote control taking precedence and the headset retaining its own voice meaning. One ordered badge owner supplies the body mark and the full localized seat description, so interaction still has one target. Remove the separate badge container and its layout rules.
    
    The activity composition follows Claude review d60e0ff9; the separate circular portrait proposal is not included. Current portraits remain legible at their existing size. Focused activity tests and actual mouse/touch preview controls pass, and the shared media-status owner keeps its meanings.
  • fix(watch): refresh native viewer readiness on media events
    An original-page viewer receives waiting and recovery through the App link but kept its previous readyState until the next clock poll. Reuse alignment to sample current media state when those events arrive, scoped to the already selected candidate. Membership and byte-source picture proof keep their own meanings.
    
    The negative control reproduces delayed readiness. Related playback, App-page and presentation tests pass; this local buffering fix does not establish the initial-loading or member-site field reports as resolved.
  • fix(sdk): complete conversation work from its writer outcome
    Apply the existing signed conversation boundary to the Node participant: transport acknowledgements and live observer records do not finish pending writer work, and a contradictory signed terminal fails that request without emitting a false confirmation. Reuse the existing pending expectation rather than another operation registry.
    
    The public deletion control reproduces the prior room_reply rejection on a real loopback WebSocket with Core WASM. All nineteen SDK and lifecycle tests pass and source types remain valid.
  • fix(protocol): complete conversation requests from matching writer results
    Reuse one conversation classification to retain the expected signed result in the pending request. A Domain ACK cannot confirm room storage. Resolve from the verified matching writer result, reject contradictory addressed terminal records, and preserve independent observer copies and ordinary relay errors.
    
    Public delete and clear operations stay pending on a bare ACK and complete on their writer result; a wrong signed outcome rejects without applying the unrelated removal. The complete Session suite and integrated conversation, AppPage and retention family pass, with source and test type checks.
  • fix(watch): publish popup candidates while the opener is blank
    Retain the validated requested address for catalog display when the current selected view has no navigable address. Continue updating captions and the candidate catalog, including its final empty result; each candidate pageURL still exclusively decides original-page availability. App 27 and source authorization do not change.
    
    The Windows page module and AppPage/bridge controls cover a blank opener, a surviving HTTPS popup, opaque candidates and final removal. Interactive GUI execution remains outside this validation.
  • fix(chat): confirm committed writes before enumerating observers
    Send the writer result to its requester before waiting on the separate current-readers query. Keep the existing host, session and binding check on every direct and broadcast packet, without a retry ledger. A queued observer query can no longer delay the committed sender confirmation.
    
    The public-session delay control and injected enumeration failure reproduce the missing confirmation on the baseline. Signature, retired-binding and observer controls pass in the integrated Web family.
  • fix(files): retire receive intent when verified delivery completes
    A file can finish through its peer route before the control request is acknowledged. End that request token at verified completion so its later timeout cannot delete the completed session-backed OPFS file when optional retention fails. Existing finishing-state handling already prevents renewed receive requests, while authority loss and explicit cache cleanup retain their own retirement.
    
    The baseline negative control deletes the file prematurely; all 46 retention cases pass after the one-line owner correction. Test promise setup uses the repository-supported TypeScript library target.
  • 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.
  • test(voice): keep the hold tied to its input callback
    Update the existing hook regression for the endpoint-scoped push-to-talk change in 338d92a4. A room target change preserves the held input; changing the mode or actual callback releases the original input without starting the replacement. The voice shortcut file passes all twelve checks, matching the real Chrome hook control.
  • 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.
  • chore(tunnel): refresh the pinned Cloudflared runtime
    Use Cloudflared 2026.11.2 and its verified official asset digests, regenerate notices, and align the Android Go toolchain with upstream's 1.27.4 requirement. Keep explicit auto selection and the Android exhausted-QUIC repair, whose independent role remains reproduced.
    
    All five desktop assets match asset-level digests and embedded build identity. Both Android ABIs pass the helper builder's PIE and 16 KB checks on both lines; the fallback decision control and Windows synthetic Quick Tunnel succeed. Full package checks and a live UDP-blocked fallback remain separate acceptance work.
  • 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(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(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(sdk): commit room selection when its receipt is accepted
    Node ws can dispatch Browse success and the first signed message in one network read. Commit the selected room and ready event in the existing correlated request completion so the valid message has its room scope. Reuse the pending request resolver; no delayed-message branch or global WebSocket scheduling change.
    
    Real WebSocket before/after controls and nineteen SDK lifecycle checks pass, including rejection, late timeout replies, both close/receipt orders and replacement bindings. Integrated frontend and SDK type checks pass.
  • 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(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(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.