Commit Graph
322 Commits
  • fix(server): keep local operator access with long data paths
    Use a private temporary alias when the Unix socket pathname cannot fit its
    platform address. Bind and connect resolve independent aliases to the same
    socket in the private operator directory, then release the alias. The listener
    continues to own the real socket and the existing peer-UID check.
    
    Basis: the reproduced 124-byte startup failure and the short-path technique in
    Fuchsia ascendd's ShortPathLink implementation. Validated the real Linux module
    and a rebuilt Server with a 158-byte socket path: HTTP, owner-link, normal
    session shutdown and preservation of the data files passed. macOS is untested.
    
    Reference: https://fuchsia.googlesource.com/fuchsia/+/d9f9b329008b22729e11ceb4a66ed4965908d5ae/src/connectivity/overnet/lib/ascendd/src/lib.rs
  • 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(nat): diversify documented STUN destination ports
    Use documented Cloudflare, Google and Nextcloud endpoints on three different ports. Two serial same-socket controls returned Native-compatible XOR mappings within the existing observation deadline. Independent campus and carrier peer acceptance remains open; this does not replace the sequential preparation strategy.
  • 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(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(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.
  • 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.
  • 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(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.
  • merge(review): let socket replies progress during room registration
    Take the independent writer task from bb6eaf64 and yield after each buffered reader turn. A real single-worker server then acknowledges all 32 room registrations instead of closing after 16. Writer stop and panic cleanup, slow-writer liveness and private-room restart checks pass. The private-room fixture now retains an already received ready state rather than expecting a duplicate.
  • fix(server): give a connection's writer its own task so a burst of requests cannot starve its replies
    One task read and wrote a connection through a select. The reading branch
    dispatches a request and reads the next without yielding while frames are
    buffered, so the writing branch did not run until the burst ended. A room
    host that reconnects registers every room back to back, and each registration
    puts four events on its own queue of 64. Measured on a real Server with its
    own Native host: at 32 rooms the seventeenth registration found the queue
    full with about one event drained, the host was closed, and it reconnected
    into the same burst 57 times in a minute without one room coming back. At 16
    rooms the queue peaked at exactly 64.
    
    The writer is now a task of its own, owned by the session through an
    abort-on-drop handle, which is how a WebSocket with an outbound queue is
    usually arranged. Nothing else about the session changes: the same queue,
    the same close signal, the same drain at close.