Commit Graph
908 Commits
  • feat(diagnostics): summarize actual preparation progress
    Record one opt-in pair summary of opened/primed pool sockets, sent targets and checks, Ready send/receive and authenticated replies. The existing event retains terminal reasons; cancellation still exports the counts reached without endpoint identifiers. Serializer, successful pool/search and cancel-to-ZIP controls pass with concurrent observation. Document actual report and preview entries.
  • test(native): build capture fixtures from session version types
    Two capture fixtures still constructed sessions without the major/minor fields. Use the existing SessionInfo and PRODUCT_VERSION so the tests follow the actual producer. The exact room-admission and late-publication retirement regressions pass.
  • fix(nat): await STUN observations on one shared socket
    Three sequential remote transactions could exceed the existing observation deadline after ordinary latency and one lost request. Send the same transactions in configuration order and dispatch replies by source to the SDK-owned transaction, preserving sample order and retry rules. In the same loopback delay/drop control serial observation timed out at 1.51 seconds while the candidate completed at 905 ms on Windows and 902 ms on Linux. Wrong-source/transaction rejection, mapping classes and silent-timeout socket release pass.
  • fix(native): discover IPv4 interfaces during ICE startup
    Desktop candidate refresh only watched the IPv6 socket, so an IPv4 VPN address arriving after initial gathering could not reach the pending pair. Reuse the interface watcher for both bound families and return shared IPv4 bases to the runtime gateway owner. Preserve candidate limits, instance fencing and retirement at nomination. Verified late candidate publication, same-socket loopback output, nomination retirement and one injected gateway publisher serving two Available pairs.
  • build(mpd): update the embedded script runtime to rquickjs 0.15
    The published package includes upstream QuickJS-NG allocation-failure cleanup from rquickjs #793. Keep the existing runtime capability and cancellation boundary. MPD tests pass on Windows and Linux; Server and Native consumers compile on Linux, and Android ARM64/x64 generate their platform bindings successfully.
  • fix(nat): randomize port offsets within bounded search strata
    A rotated bit-reversed prefix stays in one residue class modulo 32 and systematically misses regular mapped-port pools. Independent uniform draws within evenly visited strata remove that blind spot without changing the target, socket or time budgets. Verified the sampling bounds, four owned-loopback mapping controls with original RTC adoption and cleanup, and Windows capture-enabled compilation.
  • 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)!: 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(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.
  • perf(nat): spread bounded search targets across the port range
    Reuse the tested bit-reversal order from research cac7c7fa with a fresh random start, replacing duplicate rejection and its HashSet only in Stable/Irregular preparation. Socket count, packet budget, deadline, authentication, ordinary ICE and Sequential behavior remain at their existing owners. Ten preparation tests plus actual mutual-Ready/RTC/DataChannel loopback controls passed. Static continuous-pool coverage is not a public NAT success estimate.
  • refactor(core): carry peer capabilities through one admission value
    Group the three existing runtime facts at the Core admission/session boundary while keeping the external Join fields unchanged. Resume compares old transport authority before replacing the value. Thirty focused authority, service-transit, UDP/layer resume and stale-connection controls passed.
  • 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.
  • refactor(native): return SDP at its generation boundary
    Remove Engine.local and its asynchronous getter; Pair remains the owner of immutable signaling replay. The generated description returns with offer or answer and WHIP validates that actual result. Eighteen focused tests passed for unchanged and pending offers, collision replay, ICE recovery, local input and external capture lifetimes. Integrated files match the validated source byte for byte.
  • refactor(routing): retire byte paths from their owned trees
    Room-data failure and service retirement now visit the existing file and watch trees directly rather than constructing recipient plans to rediscover their edges. Accumulate cuts across every activity and preserve unassigned receiver intent. The scoped SQLite-enabled Core and routing controls pass, including independent media on the same physical pair. No planner policy, grant shape or transport protocol changed.
  • refactor(access): query room rights without building full snapshots
    Build recipients and summaries directly from the existing RoomState rules. Reuse one private directory-view selection for full snapshots and online read access, avoiding copies of pictures, activities and grant lists for a boolean check. Preserve hidden rooms, transit-only recipients and None versus denied reply semantics. Independent equivalence review and the full SQLite-enabled Core suite pass. This internal follow-up is outside the frozen beta.60 candidate and changes no wire or storage shape.
  • fix(whip): preserve input across empty RTP payloads
    An empty packet on another negotiated H264 payload type could terminate an established WHIP input as a codec change. Match the ordinary media reader: validate codec compatibility on media-bearing packets and still pass empty sequence positions to the assembler. The real WHIP/DTLS/SRTP regression fails before the repair and delivers the following dependent frame afterward; all eight external-input controls pass, including unsupported SPS rejection. This does not identify the cause of an untraced OBS report.
  • 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.
  • refactor(history): keep Browser index fields out of page projection
    Only the IndexedDB reader drops roomId, nonce and retryKey before passing a live row to the Core page builder. They remain in storage and archives. A 50-row synthetic control reduces serialized input by 7450 bytes with identical output. Real Chrome IndexedDB baseline and candidate controls retain page limits, images, nonce deduplication and archive restoration. No wire or storage schema changes.
  • fix(android): account for forced frames in the drop schedule
    WebRTC FrameDropper advances once per fresh input, including a forced frame that must be encoded. Android previously short-circuited that accounting and could drop the next ordinary frame. A deterministic production FrameDropper control reproduces the difference and matches the existing desktop behavior after correction. Android ARM64 capture-enabled Rust checks pass; physical encoder timing remains separate.
  • fix(rtc): check readiness at each connection deadline
    A bounded report for one pair can suspend the Driver while another control channel opens. Recheck the affected connection or control-channel fact before applying its deadline instead of keeping an expiry snapshot across awaits. The production Driver regression fails before this change and passes with it; the existing endpoint control also passes. Timeout values and preparation policy are unchanged, and the reported field video replacement remains unconfirmed.
  • 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(input): register stop shortcuts as one required group
    Reuse Win32 RegisterHotKey for the selected Ctrl+Alt function key and its Shift and Win combinations. A partial registration is unavailable and releases its registrations, leaving the previous binding intact. Remove the global keyboard hook and its mirrored activation state; keep the behavioral isolated-desktop check. Native integration and focused conflict checks passed; actual OS delivery of this replacement still requires the existing isolated Windows gate.
  • docs(runtime): align input and traversal evidence with current owners
    Record the isolated Windows window and stop-chord checks, keep the actual observer lifetime explicit, and update controlled NAT evidence without implying production integration. Manual cleanup preserves all members; the owner declined a separate Browser/App pairing step.
  • 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.
  • test(input): exercise the stop chord on an isolated Windows desktop
    The explicitly gated ignored test sends real modifier chords only on the hosted CI desktop, verifies consent revocation and held-key release, and releases injected keys on exit. It includes Shift, Win and both, plus listener reuse. Local compilation passed without running the hook or desktop input; actual CI execution follows. The existing Windows job owns its finite runtime.
  • fix(input): keep the stop chord usable with held modifiers
    Keep the registered exact shortcut and add a limited binding-owned Windows observer for Ctrl+Alt+Fn with extra modifiers. It records no keys and queues work through the existing executor wakeup. Supplemental intent is admitted at the key event, so release before consumption cannot discard Stop and an idle voice chord cannot revoke a later grant. The callback never locks the input executor. Independent review and 25 synthetic input controls pass; actual desktop key delivery remains an isolated platform check.
  • 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.
  • test(core): request snapshots through actual profile changes
    No-op profiles now correctly acknowledge without broadcasting. Update two old host-review fixtures that used repeated identical profile writes as a snapshot request; preserve their flow and lineage assertions. The complete Core test run passes afterward.
  • 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(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): 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(native): wait for admitted signaling bytes to be released
    A valid frame arriving behind active room turns formerly caused immediate carrier loss. The independent reader now awaits existing byte permits, preserving the deadline measured from last wire input. One additional decoded bounded frame can wait. Native controls verify ordered delivery, byte refund, exact idle expiry and Ping handling without changing the budget or timeout.
  • 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.