Commit Graph
511 Commits
  • 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.
  • fix(app): keep permission decisions visible with long content
    Give the trusted permission view enough initial height for ordinary copy and let the request body scroll independently of its decision buttons. Chrome rendering of the real template at 440x280 passed long-origin/file-name and keyboard controls. Actual WebView2 window acceptance remains part of the platform gate.
  • 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.
  • refactor(capture): route pause through the existing edit owner
    Pause uses the same capture lease and producer checks as title and direct-limit edits. Remove the separate PauseCapture message, bridge and duplicated Native validation. The real App control socket and Native retained-video replacement control passed with synthetic source I/O, including stale-lease rejection and the original room reply.
  • 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.
  • test(chat): construct the ordering receipt from the stored message type
    The integrated Server run exposed a stale hand-written confirmed fixture without reactions. Construct the valid signed result using Core types; retain the real dual-reader turn-order assertion. The corrected fixture and signed WebSocket history, hosted restart and failed-write retry controls passed.
  • 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(capture): carry one request value to the native driver
    App constructs CaptureOptions once after decoding. Session and peer mailbox forward it unchanged; the driver still checks scope and replacement ownership before resolving AudioScope. Existing no-capture, capture-enabled Native and App WebSocket paths passed 71 tests with two physical-audio cases left ignored. No wire, store or runtime quality policy changes.
  • 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.
  • fix(audio): publish the current mixer before confirming capture
    A replacement capture acknowledgment enabled Browser controls before the current mixer snapshot, briefly exposing the previous source settings. Emit the already-committed mixer state first on the same ordered App WebSocket. The Browser retains the publication mixer and receives the new selection only after its acknowledgment. A delayed-frame fixture reproduces the old state and passes with the new producer order; affected Web tests and Windows capture checking pass. No wire schema or PCM behavior changed.
  • test(webview): load the source fixture through its real HTTP entry
    The first native run timed out before any video candidate was observed. Serve the same local synthetic page through loopback HTTP on an owned runtime so the test follows the production website entry. Drop cancels and joins that server even on unwind. Retain resource, readiness and window cleanup assertions plus a small discovery event trace on timeout. Windows capture-enabled test compilation passed; the exact runtime test must be rerun.
  • test(native): exercise webpage resource resets on the isolated desktop
    Extend the existing WebView lifecycle gate with actual page discovery, original-page selection, emptied readiness, recovery and fresh lifetime retirement. The fixture uses only synthetic canvas frames. Add a separate opt-in macOS job for the fixed standalone NAT survey source, using Rust 1.91, both architectures, ad hoc signature checks and offline help. A combined dispatch selects only those platform tasks; standalone tool selection skips product validation. Windows test compilation and workflow static checks passed; runtime results remain pending.
  • 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.
  • 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.
  • refactor(backup): keep exports owned by their response lifetime
    Remove the additional per-site export slot. Each response already owns its ZIP worker and snapshot until read completion or cancellation. Preserve that cleanup and independent room upload cancellation, without making one large download block other exports. Five affected actual Server checks pass.
  • refactor(server): remove the withdrawn HTTP timer customization
    Restore the existing HTTP entry configuration and dependency set after narrowing the phase to demonstrated product failures. Shared shutdown and normal HTTP/TLS/WebSocket checks pass; request-owned upload cancellation remains independent.
  • 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(audio): preserve microphone off across picture replacement
    A valid Off can arrive with the previous capture ID after the App selects its successor. Apply that request to the existing publication mixer, scoped to its room; enabling still requires the current capture. Resolve a stale Off inside the actor so it preserves the new device and gain. Actual synthetic Native mixer tests reproduce the first candidate overwrite and pass the final behavior; the Browser producer order and Server capture build are verified.
  • fix(channel): keep slow readers from blocking their writer
    Classify signed conversation direction at the verified binding. Member requests keep backpressure toward a busy writer; confirmed replies to an individual reader use normal bounded delivery and cannot stall all writer work. Skip unchanged normalized profile broadcasts and hashes while preserving ACK. Ordered State remains intact because consumers observe lifecycle transitions. Focused real Core and Server controls pass.
  • fix(backup): cancel upload work with its request and session
    A dropped HTTP request could leave its blocking body reader and scratch permit alive. Wake the existing reader on request drop, and stop a room copy when its exact submitting connection ends. The worker still owns scratch through cleanup. Upload cancellation, session leave, healthy copy and restore checks pass; an active authorized slow upload retains its slot.
  • fix(backup): retain export admission until snapshot cleanup
    An unread archive keeps a blocking ZIP worker and temporary SQLite snapshot after copying. Hold export admission through writer completion and cleanup, scoped to the Domain or current App Site permission. Reject a second export before snapshot creation. Actual SQLite/ZIP control verifies unread response, concurrent chat and cancellation; independent permission generations remain independent.
  • fix(server): enable the shared HTTP header deadline
    Pinned Hyper requires a runtime timer for its default HTTP/1 header-read deadline. Configure that clock at the shared HTTP and HTTPS constructor, without adding timeout values. A virtual-time positive regression and real HTTP/TLS/WebSocket/shutdown controls pass. Protocol detection before HTTP/1 classification remains a separate boundary.
  • fix(copy): distinguish sharers and public site addresses
    Remote input consent belongs to the selected sharer, voice policy to the room owner, and the launcher public address opens a site without granting room admission. Match existing catalogs, console and bilingual guides to those actual owners. Existing catalog/launcher controls pass, and the terminal assertions track the same labels. No authority or protocol changes.
  • test(app): cover candidate retirement through page operations
    Extend the existing isolated WebView test through PageRead, PageSelect and actual frame messages, covering frame-first and catalog-first candidate loss. Fix its sample revision. Rust 1.91 compiles the ignored test and 11 noninteractive cases pass. The GUI test and caller mutations were not executed on this machine.
  • test(app): verify candidate loss at the native reply owner
    Keep pending-candidate retirement and provider error normalization with their existing owners so real oneshot consumers can be tested without constructing a WebView. Restoring the old drop or normalization logic fails the new tests; all eleven Windows candidate controls pass.
  • fix(app): distinguish saved addresses from site access
    Do not offer new bookmarks for known Quick Tunnel origins. Keep existing entries readable, renameable and removable, and allow replacing them with stable addresses. Empty launchers prioritize opening an invitation and hosting; the star still opens site management, where saving and App approval remain independent. Match Web, native captions and guides across the supported copy catalog. Real HTTP API and Chrome desktop/phone controls pass, including legacy entries, exact provider matching and stable-address saves. Integrated types, build and relevant Web checks pass.
  • fix(app): report a detached webpage candidate at its owner
    The page bridge now reports candidate loss before the next catalog update, and catalog pruning settles pending reads with the same existing outcome. The Browser can preserve a confirmed original-page replacement without treating a missing video as a closed page. The real JS bridge regression fails on the baseline; 25 bridge tests and nine Windows capture-enabled candidate tests pass. Packaged WebView interaction remains separate.
  • fix(ui): keep room controls usable through layout changes
    The shared room sweep fixes narrow stage sizing, caption overlap, covered chat reads, phone history, focus restoration, settings error placement and row alignment at their existing owners. Room and Network settings share one draft and save action. The two shell stylesheets are consolidated; hidden current-room links and obsolete grid rules are removed. The handbook, matching guides and four generated room screenshots follow the shared components.
    
    Chrome 156 interaction checks covered both themes, 320px phones, short windows, classic scrollbars, native-caption simulation, eight retained players, nested Back/Escape and room-tool popout. Full Web validation passed 2485 cases and exposed one assertion on removed hidden local-preview text; the preview identity now lives in the player accessible label and all 15 affected playback/layout checks pass. TypeScript and Browser SDK types pass. Actual WebView caption dragging and physical mobile capture are outside this browser check.
  • fix(updater): retain cleanup identity through partial removal
    After record transfer, the handoff record owns retirement. Remove verified payloads before the plan, and permit only the remaining recorded entries when retiring an old program copy. Active installation checks still require the complete layout; unknown files and reparse points stay protected.
    
    Real Windows sharing violations reproduced both a missing plan after failed helper launch and a partially removed previous bundle. All 17 updater checks pass, including unlock and retry plus preservation of user-added files.
  • 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(updater): reclaim the registered interrupted download
    Register download ownership before creating its workspace, reclaim it under the existing App data lock, and transfer the record atomically to the existing installer handoff. Retained installation recovery stays independent. Portable installs use the registered original location; failed optional cleanup does not stop the App.
    
    A forced-exit control reproduced a partial orphan package. Fifteen Windows updater tests pass, including moving the portable bundle with the old workspace present or absent, retained handoff preservation, a locked record, retry, cancellation and shutdown.
  • 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.
  • 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.
  • fix(terminal): name the launcher retry action after site failure
    Keep the existing O command and launcher-owned state. A confirmed site startup failure now names the retry action, while a status-read error retains the ordinary launcher action. The five existing terminal rendering and input tests pass.
  • test(app): exercise conditional ranges through the actual router
    Use the existing headless App HTTP fixture to verify complete responses for stale If-Range, ordinary partial ranges, and unaffected discovery and authorized launcher routes. The foreign-origin launcher request remains forbidden and the test joins service shutdown. No product-only observation hooks are added.
  • fix(server): print the running build identity at startup
    Fulfill the versioning contract using the same compile-time version and revision already read by the update checker. Print synchronously before any optional network notice, including development builds. The Server library checks compile and pass with the shared reader.
  • 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(updates): share cancellation completion through worker ownership
    A disconnected HTTP cancel caller must not consume the only completion receiver. Reuse the cancellation sender closed signal, which waits for the download worker to drop its sole receiver after settlement, and remove the extra optional oneshot. Repeated cancellation uses the existing operation identity and remains pending until the worker retires.
    
    The normal Owner request regression fails before the change and passes through the standard Cargo entry after it. Integrated Server library checks pass; distribution signing and publication policy remain held.
  • fix(app): keep page cancellation failures on their own request
    Return the candidate-stop dispatcher result through control_reply instead of propagating it out of the physical App socket. A closed page or timeout ends that operation while sibling readers and requests keep their connection.
    
    The real WebSocket regression receives EOF on the baseline and the matching page_player_closed reply with the fix, then successfully reads the original registered sibling. Integrated Server library checks pass.
  • fix(windows): retire webpage views when their renderer exits
    Observe WebView2 browser and main-renderer process exit through the view instance, then reuse the selected/last-window retirement policy. Keep recoverable GPU, utility and child-frame failures outside that scope, and remove the callback before dropping the view. Microsoft WebView2 process-event semantics define the terminal cases.
    
    Windows debug/capture compiles and the process-kind control plus eight existing candidate controls pass. Actual COM process-exit delivery and GUI behavior remain unverified.
  • fix(web): serve complete assets for conditional range requests
    The pinned ServeDir handles Range but does not evaluate If-Range. Strip Range at the static service boundary when a resume validator is supplied, returning the complete current representation instead of unsafe partial bytes. Ordinary ranges and API endpoints retain their existing behavior, as permitted by RFC 9110 section 13.1.5.
    
    The frozen beta55 Server reproduced partial responses for stale validators. The focused Rust HTTP controls and matching 2.x checks pass. No evidence links this condition to the reported virtual-LAN timeouts.
  • 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.
  • fix(rtc): adopt the upstream bandwidth-estimate deadline repair
    Backport str0m #1181 on the existing 0.26.0 fork and pin all three Native consumers to 9cd8827d. The SDK ignores unrelated early timeout wakes while fresh probe feedback can still update the estimate. No Piik quality policy or network timer changes.
    
    The upstream deadline regression and two recovery simulations pass. Seven Native transport/consent controls pass against the candidate sources, and the integrated published pin passes the selected-original bandwidth lifecycle control. The fixed-layer recovery measured 8.5 seconds, matching upstream's corrected nine-second assertion. Other lockfile selections remain unchanged.
  • 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(app): keep readiness notification separate from terminal input
    An embedded host's readiness subscriber does not request an interactive console. Remove ready.is_some() from terminal eligibility while preserving the existing browser-mode, page-player, environment and TTY checks.
    
    Reviewed the desktop, WebView fallback, Android and HTTP-fixture entry paths against the existing guard. This one-condition correction adds no state or new configuration; no App GUI launch is claimed.
  • fix(storage): reject unsupported App settings before schema writes
    Make the existing SQLite format zero an explicit local owner and refuse other versions before DDL. Current approval scopes, namespaces, startup and bookmarks are unchanged; actual writer/reopen controls and byte-preserving newer-format rejection pass. The proposed public baseline now includes App settings and Browser identities alongside room/domain stores.
  • refactor(app): let the Domain initialize its own authority
    Generate the local owner key only when creating the Domain checkpoint. App settings keep their permission namespace and stop creating a duplicate secret. Existing and restored Domain keys remain authoritative; explicit Server seed configuration is unchanged. Focused startup, consent, restore and ticket controls and the full Rust/Server/protocol gate pass.
  • chore(diagnostics): name the pending App host shutdown
    When existing debug diagnostics are enabled, print entry and completion around the owned host-task join. Keep waiting and retain the existing shutdown owner; add no timeout, abort or recurring logger. Capture-feature compilation passes.