Commit Graph
1033 Commits
  • test(chat): preserve session faults across automatic history reads
    The unrelated fault fixture must come from the session, since management operations now return errors to their own callers. Use the real directory_storage_failed event and retain assertions before and after the automatic read. Reproduced the old fixture failure and verified the corrected public path.
  • refactor(settings): return management outcomes to their callers
    The existing management dialogs already own their operation results. Remove redundant reporting flags from six commands and retire an unused room-voice adapter; keep the actual room-settings wire and authority checks. Focused management and Session consumers and both TypeScript projects pass.
  • fix(app): retire edit failures with their replaced capture
    A live capture edit could reject after the same publication acquired a new capture. Keep the request and capture identity check together for pause, title and quality edits, while preserving current-source errors and App disconnection. Preparation, transfer and commit retain their distinct owners. Reproduced the old failures and passed the related 63 tests and TypeScript checks.
  • fix(media): report control failures at their initiating surface
    Pause and quality failures now stay with their controls instead of covering a healthy picture or appearing in another room. Stop and leave outcomes use the existing page or activity owner, including cross-room entries. Pending and request cancellation remain in Session and Stage, and obsolete leave/stop feedback flags are removed. Public-entry regressions, 875 consumer tests, both TypeScript projects and controlled Chrome playback passed.
  • fix(ui): keep stop outcomes with the initiating page
    Stopping a screen could lose its source row and later report a failure in another room, while unrelated actions erased browser-host restoration failures. The initiating page now retains stop results by publication with their room labels, and BrowserHosting owns its restoration condition. Reuse existing action and feedback owners. Public-entry regressions, hook and component tests, TypeScript, and controlled Chrome interleavings passed.
  • fix(watch): project readiness from each local player
    Official embeds have no HTML video element or App page handle, so they remained joined after playback became usable. Project each adapter through one readiness getter, retaining composited-frame proof for local video. Native, YouTube and PeerTube controls and both TypeScript projects pass. This follows the frozen beta.62 package source.
  • fix(ui): keep playback state and floating controls consistent
    Native original-page readiness now reaches the existing participant projection. Narrow playback gives time priority over the inline volume slider. Floating panels join room Back handling after their document adoption so return from picture-in-picture remains dismissible. Checked actual touch controls and PiP return in Chrome, focused playback and panel suites, and both TypeScript projects.
  • fix(ui): reload an outdated page from the version guidance
    Use the existing refresh action when a newer Domain requires new page code.
    Reconnecting the same loaded code cannot fix this mismatch. A site that needs
    updating keeps its administrator guidance and existing reconnect action.
    
    Verified the two entry states and actual Chrome clicks at 390 and 1280 pixels:
    page refresh produces a reload, while reconnect preserves the document.
  • feat(protocol)!: distinguish peer requests from terminal replies
    File and Watch controls carry request, reply and notice roles on their existing
    business address. Authorized unknown requests receive unsupported without a
    source read. Unknown replies end only the matching supplier/key/request; a
    notification cannot finish it. File coalescing preserves other ranges, and
    Watch relays preserve these terminal outcomes to the caller.
    
    Basis: the accepted interface extension rule and the existing delivery owners.
    Keep authorization, binary chunk validation and real source-failure retirement
    at those owners. This replaces an unpublished control-frame shape.
    
    Validated 347 Core SQLite tests, the new real-WASM Promise regression within
    2583 Web tests, Windows Native DataChannel/range/cancellation controls and
    Android ARM64/x64 compilation. No new waiting table or service was added.
  • feat(protocol)!: use product versions for Domain and App admission
    Declare major and minor once at admission and preserve each session's numbers
    beside its signing key. Equal majors admit different minors; incompatible
    majors reject before consuming launch authority and identify the older side.
    App discovery, Native readiness and Web diagnostics keep that direction.
    
    Resolve build identity before compilation. Browser values and displayed version
    share the same build input; the Node SDK reads its actual WASM version. Remove
    the two private wire identifiers without aliases for obsolete internal builds.
    
    Basis: the accepted compatibility rule in Versioning and ADR-0017. Validated
    Core, Web/WASM, Windows reader and App discovery controls. Real packaged SDK
    3.0 and 3.1 each completed signed conversation and private-room history against
    the other Linux Server minor. Browser/App mixed-artifact acceptance remains open.
  • fix(protocol): accept additive fields at every live reader
    Use the same extension rule for Domain, signed-room and peer control objects.
    Known types, bounds and authorization still apply. Preserve signed payload bytes
    through relays and reject unrecognized durable content at the storage reader.
    
    Basis: the accepted interface extension contract and actual reader/writer paths.
    A new nested video description previously closed the Domain connection; an
    extra field in a valid signed reaction prevented its confirmation. Matched
    controls now preserve both operations without adding capability flags.
    
    Verified 346 Core SQLite tests, current WASM plus 2577 Web tests, both TypeScript
    checks and eight capture-enabled Windows Native controls. Store validation,
    input authorization and opaque signed forwarding retained their existing owners.
  • fix(build): resolve product identity before compiling WASM
    Pass the selected product version and revision to Web and text-participant WASM from the existing build identity owner. This closes the ordering difference between SDK packaging and Web builds. Verified existing build-script tests and development, candidate and stable-tag argument controls; no remote build was started.
  • feat(protocol)!: separate App creation inputs and extensible readers
    Create room policies at the authenticated writer from allocated IDs and user
    settings. Confirm typed opened results; cancel reservations only on a definite
    settings rejection. Ignore harmless App extensions without retiring unrelated
    requests, while keeping stored rows strict at their consuming boundary.
    
    Let text participants select a conversation snapshot at Join, and repair an
    unsupported host turn through the existing synchronization owner. This replaces
    the private App open request and result shape; matching internal artifacts are
    required until the first public contract is frozen.
    
    Basis: ADR-0017 and the interface extension contract; same-connection App,
    SQLite/WASM, signed history and standalone Server controls. Combined Web tests,
    focused Native tests, and TypeScript checks passed after correcting obsolete
    fixtures. The affected App storage-collision integration cases were not rerun.
  • feat(protocol): unify Domain outcomes and selected history parts
    All Domain terminal results use one correlated reply carrier; observer notifications cannot settle waiters. Hosted storage keeps its internal completion until commit, and unknown registration outcomes do not cancel possibly committed rooms. History requests select inline images before page budgeting and replies report actual coverage, so text-only consumers save transfer without erasing cached images. The exact staged tree passed complete Core SQLite checks (341 plus one release-only ignore), fresh-WASM Web checks (2567 tests), Windows Native and Server builds and 17 runtime controls. Chrome IndexedDB controls separately verified selective paging and clearing. Private aliases and extra capability flags were not retained.
  • feat(protocol): distinguish signed outcomes from observer notices
    Read authenticated address and request/record/notice role before concrete kind. Unknown commands return unsupported; unknown requester records settle only their own operation as unconfirmed; notices never settle a waiter. Keep original signed payload forwarding and current writer/binding/read-floor authority. Independent review corrected body-object validation and unknown-outcome presentation. The exact staged tree passed fresh-WASM Web checks (2563 tests), complete Core SQLite tests (339 plus one intentionally ignored), capture-enabled Native/Server compilation and five signed runtime controls. This replaces the private room-carriage shape without an old-reader adapter.
  • test(backup): distinguish rejected and unconfirmed site restore replies
    Exercise the actual NativeDomainHosting adapter with definite pre-handoff rejection, committed response failure, lost reply and malformed success. This is the focused test accompanying the site-restore outcome correction, without restoring a real database.
  • fix(backup): preserve uncertainty after a lost site restore response
    Share the existing room-restore HTTP outcome classification with site restore. Lost or invalid responses retain the original credentials and expose the existing reconnect entry instead of treating a possibly committed operation as rejected. Pre-handoff unavailable responses are explicit conflicts; handed-off result loss remains unknown. Forty scoped adapter/session/presentation tests and TypeScript checks passed with mocked external I/O; no real database restore was performed.
  • refactor(watch): let each page player own its page lifetime
    PageSuppliedMedia directly reuses HTMLVideoMedia and acquires/releases its own page hold. Replacement no longer transfers ownership by hand; failed candidates release themselves while the incumbent remains playable. Existing same-page, readiness failure, retry and output recovery checks passed with the real owners and mocked external I/O; 1036 related tests and type checks passed.
  • fix(app): validate launcher addresses at the responding runtime
    Navigation and approval share the existing identity and exact loopback-port check. An incomplete or mismatched responder no longer steals approval from the later valid App. Navigation capability and per-site approval remain at their own call sites. The reproduced late-responder regression and 124 discovery, navigation and approval controls passed with mocked external I/O.
  • refactor(chat): confirm the complete stored message in one record
    The signed send receipt now carries the existing stored message and reaction revision. Remove its extra reaction snapshot record, preserve newer reactions when merging history and expose the same complete result to Node retries. The real WASM build, Core conversation/SQLite controls and 746 focused Web tests passed; Browser acceptance fixtures now inspect the current single history page shape. No historical private wire adapter is retained.
  • refactor(backup): select copy conversion while reading the archive
    Use CopyHistoryImport at the existing source archive reader instead of validating and serializing every row through a second importer in ChannelSession. Core source validation, destination staging and separate Native writer checks remain at their owners. Existing archive/copy session tests passed with real ZIP and WASM conversion. This commit does not claim the separately attempted Browser service acceptance; the integrated Web suite will use the verified Core artifact.
  • fix(input): reserve stop chords before voice shortcut registration
    The shared Browser and App validators reject the Ctrl+Alt F1-F11 family before OS registration. Restore invalid saved bindings per slot so valid siblings and explicit clearing survive. The selected stop key still owns only its existing platform variants. Browser recording/preferences checks passed 27 cases; the production App configure rejection passed without requesting an OS shortcut. Existing Windows four-variant CI evidence is unchanged.
  • refactor(signaling): leave Native preparation decoding to Native endpoints
    Browser endpoints never negotiate Native UDP preparation. After bounded envelope validation, discard UDP-only payloads instead of interpreting three Native schemas or ending an unrelated Browser session. Reject known RTC and UDP fields mixed together before stripping unknown descriptive fields. Session regressions preserve the same socket, later state and RTC delivery, and pending request confirmation; no wire number, capability or authority rule changed.
  • refactor(backup): skip unused Browser attachment inventory scans
    A normal room backup without candidate originals needs no preparatory history scan. Keep that scan for room-copy author remapping and actual file candidates; the archive writer still validates and writes every stored row. Real Chrome IndexedDB controls reduced post-snapshot row reads from 108 to 54 while preserving decoded archive contents, and focused export checks passed. No archive format or persistence change.
  • fix(hosting): query only the host and settings task being used
    A selected site-host cleanup waited for an unrelated App admission request. Restrict the internal lookup to the selected host while retaining alias checks for discovery and App selection. Room settings query backup availability and file limits only when their data tab opens. A pending-App controller regression and real Chrome task-switch control pass; dormant-host and authority semantics are retained without a new endpoint.
  • refactor(watch): prepare page media through one local operation
    Direct, MPD and indexed selections share the same page and caller lifetime. Accept their existing typed selections in one AppPage method, retaining format-specific request and response validation and the indexed envelope bound. Session no longer repeats the three-way dispatch. Candidate selection, commit and rollback remain with their existing owners; App 28 and all wire commands stay unchanged. Focused preparation, cancellation and handoff controls pass.
  • refactor(preferences): copy only the requested room setting
    The existing preference owner now accepts a selected field while retaining full reads and independent mutable nested values. Scalar consumers no longer copy custom sound clips; saving merges from the private cached owner. Actual Chrome localStorage controls with two filled sound slots measured lower clone work for scalar reads and room-session initialization despite one extra storage read. Existing preference and session tests pass; no storage schema or new store is introduced.
  • fix(protocol): match the Core room ID byte bound in Browser readers
    The Browser summary schema counted UTF-16 units while Core permits at most 128 UTF-8 bytes. Use the same byte boundary and reject ill-formed Unicode without changing the wire shape. Actual WASM and Browser schema controls agree at ASCII and multibyte boundaries. Valid backup installation already passes Core validation; this repairs the Browser receiving contract rather than claiming malformed IDs were persisted.
  • test(presentation): assert the shared picture receipt count
    The audience renderer now describes decoded picture receipt, but an older presentation test still expected watching wording. Keep the semantic assertion that preparing viewers contribute zero and read its current text from the shared catalogue. The full frozen Web run found this missed consumer; all 81 affected presentation tests pass after correction.
  • refactor(stage): read microphone edits from their operation owner
    Screen selection already owns conflicts with audio and quality edits. Read the source microphone operation there instead of consulting its projected pending UI state in Session. The existing Native commentary control confirms that an OBS start is rejected before issuing another App request. Focused tests and TypeScript pass; behavior and protocols stay the same.
  • fix(watch): refresh webpage readiness when its resource empties
    A paused Native webpage could empty its video without a waiting event, leaving the viewer showing the previous ready state until a later poll. Forward the actual emptied event and resample at the existing viewer owner. Keep it distinct from waiting, which has owner clock semantics. Advance private App control to 28 because older readers reject the new event. Chrome reproduces the stale state and observes immediate preparation and recovery after correction; related Web tests and Windows capture-enabled Rust checks pass. Packaged GUI and physical playback remain separate.
  • fix(app): validate replies before confirming local operations
    An unexpected success payload could mark capture active, and an invalid room summary could commit room creation. Validate the existing null acknowledgements at the App reader and reuse the room schema with the reserved room ID. Native success producers were checked individually. The regressions fail before the repair; related App and integrated Web checks pass. The protocol and authority model are retained.
  • fix(watch): bind source inspection to its active player
    Preparing candidate B while page A was shared leaked the picker candidate into A media-list requests. Resolve the picker or active player once and borrow that owner lifetime for inspection and discovery. Retiring A cancels its work without closing B. The command-boundary regression reproduces the wrong candidate before the repair; focused and integrated session tests pass with simulated Native replies.
  • feat(profiles): represent unnamed members across room surfaces
    Use an empty stored name for unnamed members and one localized formatter for guest labels and same-list duplicates. Full member IDs retain authority; archived empty names remain distinct from unknown live profiles. Reuse the profile editor for an owner-controlled optional nickname prompt and remember dismissal per site and member. The current private Domain 55 phase carries the setting; existing stored headers default it off. Core, Browser, SDK and archive controls passed, including an actual two-browser hosted-room skip and reentry check.
  • feat(rooms): clear hosted media without removing conversation
    The selected host clears its owned image renditions and managed local file cache while retaining text, members, policy, metadata and saved downloads. Writer commits publish a signed cutoff so delayed pages cannot restore cleared thumbnails; newer messages and selected original files survive. Native hosts also cover dormant local databases and report post-commit compaction separately. Reuse the existing More menu, dialog and inline confirmation. Private Domain protocol 55 includes the new record. SQLite, IndexedDB, Native dormant-room and live dual-browser checks passed; physical-device acceptance is separate.
  • fix(ui): keep picture rotation local and room copy accurate
    A device-wide rotation preference turned unrelated and future pictures. Each player now starts unrotated while picture fit remains a preference. Offline non-managers receive available-history copy, compact room counts describe room presence, and unused relay and bookmark translation keys are removed. Two actual Chrome pictures stayed at 90 and 0 degrees after rotating one, and both reset after reload; focused checks and type checking passed.
  • fix(media): restore Browser quality at its capture owner
    A sender failure followed by failed track restoration left Stage reporting the previous quality while capture had changed. ChannelMedia now owns track, sender and publication rollback as one operation; Stage retires only the affected capture when that restoration fails. The baseline regression failed; thirteen focused checks and the integrated session suite pass. Verification uses synthetic capture and sender failures.
  • fix(copy): use Chinese release guidance for Traditional Chinese
    Reuse the existing Chinese/English fallback for release headlines, the FRP help link and console language. Preserve the authored bilingual release body. Existing launcher/copy/update checks, five-locale rendered headline and destination controls, and TypeScript pass.
  • fix(access): space failed password retries per room member
    After a wrong password, the host waits two seconds before hashing another guess from that member. Other members, existing grants and valid invitations remain independent. Transient host memory survives command rollback but is not persisted; no configurable or permanent lockout is added. The complete Core suite, actual Native restore/admission, and Chrome WASM/IndexedDB 1999ms/2000ms boundary controls pass.
  • fix(input): validate escaped text against the actual command budget
    The editor could clear 2048 quote characters although escaping exceeded the Native 4096-byte command budget. Measure the complete command before sending and retain oversized text. Core, Native and Browser use the 8192-byte UTF-8 carrier bound; independent queue budgets keep their own names. Static Browser values are compared with compiled Core, with no new WASM hot-path dependency. Real WebCrypto boundary probes, Native compilation and all 2521 Web tests pass.
  • fix(copy): report password setup and storage contention accurately
    Current typed producers distinguish invalid password settings, hashing failure, denied admission and SQLite contention. Match those codes instead of treating any password sentence as a wrong password. RoomStorageInUse stays typed and serializes its code without a redundant room ID. The four Native hosted-room tests and the full 2521-test Web suite pass.
  • fix(sharing): retire capture when quality rollback fails
    If a Browser encoder accepts new settings but metadata is rejected and restoration fails, retire through the existing source-ended owner rather than leave divergent settings alive. Preserve the original and rollback errors. OBS transfer waits for the Browser quality transaction, while Native handoff retains capture fencing. Both regression controls fail on the baseline and pass with the integrated Session suite.
  • fix(backup): commit account replacement with room restoration
    Keep the prior account durable until the portable room installation commits; close the imported live session before restoring previous in-memory state on cancellation. Preserve the imported account for confirmed or explicitly unconfirmed native outcomes. Explain intentional account replacement, and report failed browser persistence while finishing the committed room registration. Baseline interruption/storage controls fail; integrated session tests and independent restore checks pass.
  • fix(channel): retire in-flight resume when recovery expires
    An already-sent Join could name the expired session and later re-admit phantom media after local cleanup. Retire that pending socket through the existing reconnect owner. The fresh Join retains the credential but omits the old session, and old callbacks remain fenced. The fake-clock public-action regression verifies a fresh screen can publish; normal recovery controls pass.
  • fix(channel): discard retired browser host commands before execution
    Carry the existing binding and socket predicate into the serialized BrowserRoomHost turn. Queued work from an old carrier no longer reaches Core or starts an IndexedDB transaction; already-started commits retain their existing lifecycle. Real Chrome/WASM/IndexedDB controls observe zero Core calls for retired queued work and successful current work. No password-rate policy is introduced.
  • fix(audio): bind commentary edits to the current capture
    During Native source replacement an old off request could supply requested volume and swallow a new microphone edit. The operation now retains its actual capture identity, requested settings and promise; stale completion cannot clear a successor. The public handoff regression is red on the baseline, and all 732 integrated Session/interaction tests pass. Actual microphone permission remains with the existing capture lease.
  • refactor(channel): let RoomReader consume its interaction protocol
    Complete the accepted ADR-0015 interaction boundary: the reader handles readiness, reactions, rejection and live interaction projection while Session keeps request correlation and history/profile/snapshot writers. clearInteraction names the reusable reset. Independent history reactions still arrive before interaction admission. All 732 Session and interaction tests and TypeScript pass, including real signing and terminal reply controls.
  • fix(backup): preserve names of reply-only authors in room copies
    A quote can outlive its original message. Collect the quoted author independently while retaining the existing bounded profile batches and archived snapshots. A real ZIP and Core WASM round trip fails before the fix and preserves a deliberately named Guest afterward. No format or unnamed-member behavior changes.
  • fix(history): scope cached reading to the admitted identity
    Restoring a portable room can switch user within the same site while another authorized room is offline. Retire its old reading data before publishing the verified Welcome identity, using the existing history projection. Ordinary state updates and same-user reconnects retain their reader lifecycle. The full Web run exposed a transient-projection regression; its correction and all 707 Session tests now pass.
  • fix(audio): preserve mute when changing bitrate after handoff
    A zero-gain App handoff can adopt a Browser track without a mixer. Compare requested effective gain with the applied value so bitrate-only edits remain independent, while unsupported gain changes fail. The existing handoff regression reproduces the baseline failure; 17 targeted cases and the integrated Session suite pass.