Commit Graph
781 Commits
  • 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.
  • docs(review): take the stratified search, and what the survey says of the new default servers
    The count with its bits reversed missed pools at an even distance; the
    survey section, the network model's sentence and the ledger now follow the
    order the product uses. The reports give Cloudflare and Google from the
    testers' networks, and show a former default silent in 9 of 24 runs; the
    third present default was never asked. The mailbox asks for the observation
    to wait for its slowest server and not for the sum of three.
  • 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.
  • 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(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.
  • 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.
  • docs(research): record the field survey, a search order and a bracketed pool
    Thirty-five one-sided runs on thirteen access networks: filtering let nothing in from another port on the nine networks where it was measured, two networks keep a counter per destination that counts up by one, and one moves a single counter per address for every destination. Counted in memory, a bit-reversed search order reaches a run of neighbouring ports with certainty at the present budget and covers random ports as well as a random draw, and a pool made between two observations of a shared counter is found within tens of packets.
  • 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.
  • docs(verification): record writer costs and real webpage lifecycle checks
    Ordinary routing turns did not scan history or write persistent data in the measured Native and Browser controls. Retain room authority and separate remote-writer continuity as the remaining question. The isolated Windows HTTP fixture now verifies actual page discovery, resource reset/recovery and closure at 56092074; do not infer physical or external-site coverage. Record the reused WASM artifact separately from its source provenance.
  • docs(review): record measured capacity and close scoped owner audits
    Keep the two source-star controls in their research owner and require source-to-flow mapping before a delivered-share comparison. Reply with the public observer outcomes without exporting mappings or removing endpoints from one sample. Record the integrated lifecycle corrections and their verification scope, close completed configuration/deadline/decoding audits, and retain physical frame acceptance. Search placement and production automatic-capacity policy remain proposed.
  • docs(rooms): define media cleanup and unnamed member behavior
    Keep the accepted host, reader and cache scopes in their existing owners and remove the completed TODO entries. Document local picture rotation, the optional nickname prompt and its current search scopes, plus the required Windows shortcut group. Actual Server and dual-browser acceptance and source-level protocol coverage are distinguished from the still-pending replacement shortcut OS check.
  • 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.
  • docs(review): release Stage ownership and report bounded NAT controls
    Record the implemented lifetime owners, concrete validation limits, allocator window-budget experiment and remaining naming decision. Reuse existing TODO and research owners; keep real network observations local.
  • docs(review): record binding owners and current platform controls
    Release the RoomReader hold, answer the measured UI and transfer findings, and retain the macOS platform and matched first-picture evidence at their existing owners. Consolidate duplicate TODO entries without discarding unresolved field reports. The standalone NAT review supplies explicit counterexamples without changing product routing.
  • docs(network): link historical evidence to its released owner
    Keep current Rust controls here and replace duplicated Go/Pion trial prose with immutable v2.8.0 references. Preserve existing inbound anchors and the original failed-trial evidence. Documentation checks and the recorded inbound and frozen-link targets pass.
  • docs(review): return the room sweep and allocator controls
    Record accepted review fixes and the measured limits of sequential prediction and allocator sampling. Keep the new allocator on its experiment branch until equal-budget authenticated-path controls support integration. The remaining work stays in TODO and the NAT evidence owner; the mailbox requests the next independent review.
  • docs(lifecycle): state the cleanup and pending-join boundaries
    Cross-review found that the protected additional-file statement applied specifically to the previous installation tree. State that scope, and record that a pending room join ends when its binding is lost. These are existing ownership boundaries, not new cleanup or reconnect behavior.
  • fix(routing): retain selected forwarding when a personal limit shrinks
    The existing budget could keep a preparation-only downstream and reject the selected screen leg solely because of UUID ordering. When the personal limit decreases, current selected media uses lead among already admitted peers of their kind. Ownership, immediate limits, per-kind accounting and shared pairs remain unchanged. All 142 Core library tests and the rebuilt WASM regression pass with both UUID orders.
  • docs(research): record route pressure and playback controls
    The reversed four-slot comparison retained the local second-trial benefit with an extra attempt and a small cost to the other waiter. Default-standby pressure remains unmeasured because that fixture missed its precondition. Independent room-signaling players completed YouTube and PeerTube controls. Removing only the local pool video consumer did not stop decoder work. These measured boundaries do not change production route or encoding policy.
  • docs(conversation): keep transport and stored history with their owners
    The actual relay, signing, writer commit and history-reader paths already separate transport authority from storage confirmation. Remove repeated descriptions and replace obsolete recommendation wording with the implemented boundary. Preserve public anchors, references and evidence limits.
  • docs(storage): define bounded waits at the room writer
    The actual Sync and RouteWake ownership paths retain unanswered work within the binding. Caller timeouts end only their waits; the existing 64-owner bound keeps retained requests finite. Record the agreed result from the cross-review at 4103ae5d and remove the resolved ledger choice. No binding clock or error-driven registration is introduced.
  • fix(voice): let each room end its shared microphone wait
    A room owns its wait for the shared microphone. Muting ends that input wait and preserves the requested join as listen-only; leaving or revoked admission ends that room immediately while a sibling can still use the same capture. Direct permission denial retains the existing retry outcome.
    
    Production Session and dock-keyboard regressions cover the first prompt, shared A/B waits, late permission and revoked admission. The two complete session/shortcut suites pass 697 checks and the type build passes. No new global queue or owner is added.
  • fix(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.
  • merge(review): deliver the shared room entry and answer lifecycle findings
    Take the rendered review and retire the old room layouts, with independently checked controls, multi-room shortcuts and selected voice overlay. Record bounded runtime placement evidence without enabling the experimental route policy. Preserve the writer-silence decision as open rather than claiming caller timeouts retire all internal work.
  • feat(voice): share shortcut scope across joined rooms
    VoiceParticipation remembers the rooms whose microphones or listening were last on. One key mutes the active set and cancels pending opens; the next restores successful members, with the most recently requested joined room as the empty-history target. Per-room controls retain their own scope.
    
    The first pending permission is reachable through the actual dock keyboard handler. Speaking overlays retain the existing voice focus, chosen by the joined-room name, independently of ordinary room navigation. Controlled microphone and room replies cover partial refusal, late permission and leave/rejoin; real Chrome DOM checks cover overlay target changes. No native window-system behavior changed.
  • refactor(ui): replace the old layouts with one living room shell
    Full and minimal are two forms of the same room, with shared players, conversation and voice lifetimes. The room list now discloses room membership; the couch owns current-room interaction and the people panel keeps the site-wide directory. Retire the old workspace and quick branches and their private preference values without aliases.
    
    Keep remote-input state mounted when its picture is hidden and expose requests directly on narrow cards. Preserve the common menu in the rail, relocate the voice-name style to its surviving owner, and regenerate guide screenshots from the production room view. Real room voice/draft controls, responsive media-node checks, types and the full Rust/Web/protocol gate pass. Existing Git-heavy Web fixtures pass when rerun serially after parallel timeout.
  • fix(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.
  • fix(capture): preserve fresh Linux frames after a static keyframe
    Admit ordinary frames using their raw capture time while forced refreshes leave cadence unchanged. Record raw and presentation times only after successful submission, and keep local submissions at least one 90 kHz RTP tick apart. Source timing keeps its existing contract.
    
    The real x264 worker reproduces the missing first image, the sub-tick collision and a budget-dropped image mistaken for a replay. Updated production regressions reject the old paths and pass while ordinary frame limiting remains effective. Physical capture and other encoders were not measured in this control.
  • docs(nat): record transport-level relay migration evidence
    A paired coturn control adopted authenticated sockets on an established Native RTC, retained SCTP and decoded all 72 VP8 frames. The withheld-socket control stayed on TURN. Keep full App, physical sound and independent-network acceptance explicit; close delivered routing feedback and room-broadcast work and retain the accepted layout replacement as active integration.
  • fix(ui): preserve one full portrait across participant surfaces
    Use the same full-width round portrait on the couch and in participant rows, with the headset and activity mark around its perimeter. This keeps the readable 34-unit image rather than a second reduced face drawing. The default Pawn is unchanged. Actual profile upload, voice/activity combinations and 390px layout were checked with Chrome; types and participant controls pass.
  • refactor(nat): prepare candidates on the original RTC connection
    Start bounded Native preparation beside ordinary ICE on the Core-authorized pair, with both ordered STUN surveys running concurrently. Adopt the authenticated socket and its reader into the same Runtime turn, preserve ICE/DTLS identity and existing deadlines, and retire only optional preparation on refusal, failure or queue pressure. Remove the replacement-attempt state, deferred normal signaling and old prepared-socket constructor.
    
    Domain 54 rejects mismatched private clients because initial UDP signaling and failure semantics change. Rust and Web constants move together; App 27 and stored formats do not change. The equal-step classifier, packet/socket budgets and ordinary routing policy are retained. TURN provenance remains bounded unknown when it cannot be proved.
    
    The matched sequential-NAT control delivers H.264, Opus and a verified file on the original pair. Core, Native, Server, Web/WASM and protocol gates pass; Android ARM64 and x86_64 JNI compile/link and ELF checks pass. The real Native Session fixture now acknowledges actual binding/revision output rather than waiting again for an already received sibling reply. The full Web suite passes 2451 checks. Established TURN migration and public network rates remain explicit acceptance work.
  • refactor(native): serialize each room independently of the connection
    Keep each HostedRoom and file lock in one FIFO task, sharing bounded blocking execution and reusing existing byte and local-request admission. Session owns registration results and the wire; management and directory work no longer wait for an unrelated room. Binding, restore cancellation and same-room retirement stay ordered at the resource owner.
    
    A real WebSocket control proves B can commit while A is blocked in SQLite. Shutdown retains its first error, drains all producers and joins before returning, even after cancellation. This follows the spawn_blocking and channel lifetimes documented by Tokio: https://docs.rs/tokio/latest/tokio/task/fn.spawn_blocking.html and https://docs.rs/tokio/latest/tokio/sync/mpsc/struct.UnboundedReceiver.html.
    
    The final Windows release candidate passed 209 Native library checks and 37 capture Session checks. A retained regression runs without the warehouse SQLite hook and proves sibling cleanup after an error and canceled release. Integrated Server library checks pass all 122 cases. Other OS runtime acceptance remains in the existing platform ledger; no wire format, migration or new room deadline is introduced.
  • 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.
  • merge(review): carry the measured ownership fixes and narrow remaining proposals
    Accept the coarse-tick timer confirmation and withdrawn Sync classification, preserve explicit backpressure and binding-progress design questions, and hand over the checked reader/storage/audio/UI fixes. Keep the original-page continuity candidate under its exact source handoff and preserve the owner-deferred maintenance release.
  • 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.
  • perf(routing): prefer a shallower confirmed parent at equal priority
    Take the ordinal candidate ranking from Claude proposal797092a1: preserve confirmed/pending/retry priority, then prefer the shorter authorized prefix before endpoint identity. Replace probabilistic regression with deterministic candidate ordering. The bounded independent replay shortens aggregate trees but has mixed tail waits, so narrow the evidence claim. Full Core SQLite and discovery checks pass; no extra probe budget or live route replacement is added.
  • perf(nat): extend the bounded random port search
    Raise the search from 512 to 1024 distinct targets with the same 256 sockets, five-second lifetime, schedule and concurrency limit. Matched kernel controls added eight successful checks across 64 cases; actual Rust ICE and decoded-media controls passed, including a real hit beyond target 512. No-hit traffic stays bounded at 120 KiB per pair and deadline cleanup is unchanged. This is mechanism evidence, not a field success-rate claim.
  • merge(review): wait for Native deadlines with platform timers
    Take the reviewed Windows RTC timing correction and place its owner at the Native platform boundary. Use one persistent high-resolution waitable timer plus a stop event instead of millisecond polling; same-machine controls reduced worker CPU from187.5to62.5ms over ten seconds while preserving deadline replacement and real Native media recovery. Core, Native, Server, WASM, protocol and2394Web tests pass in the integrated tree.
  • docs(adr): keep the room's number for voice and record what it costs
    The owner decided that the room's number of downstream connections bounds a
    speaker's own voice as it bounds a picture: one control for both, and less
    upload. ADR-0018 item 8 asked for a comparison before any change of fan-out;
    it now states the rule and its measured cost, about 50 ms for each Browser
    relay a listener sits behind.
    
    The evidence note records the planner's count with every pair confirmed, the
    relay delay measured in Chrome 158 and 156, and what a Browser source pays
    for direct copies. The proposal to send voice directly is withdrawn.
  • docs(research): record that keeping released pairs closes little of the depth gap
    The pool releases 4 to 8% of confirmed pairs, and leaf moves over everything
    it ever confirmed close 19, 16 and 11% of the gap at 8, 16 and 32 viewers
    against 15, 12 and 7% today and 80, 93 and 98% with one pair attempt. The
    suggestion to keep them is withdrawn in the mailbox.
  • docs(adr): keep the room's number for voice and record what it costs
    The owner decided that the room's number of downstream connections bounds a
    speaker's own voice as it bounds a picture: one control for both, and less
    upload. ADR-0018 item 8 asked for a comparison before any change of fan-out;
    it now states the rule and its measured cost, about 50 ms for each Browser
    relay a listener sits behind.
    
    The evidence note records the planner's count with every pair confirmed, the
    relay delay measured in Chrome 158 and 156, and what a Browser source pays
    for direct copies. The proposal to send voice directly is withdrawn.
  • docs(review): reconcile measured lifecycle and traversal findings
    Answer every new review item with checked implementation, a bounded comparison or an explicit hold. Record the original-forwarding Driver control, retain only outstanding work, and pin historical 2.x interaction references. The G51 implementation batch passed Rust, protocol, capture compilation and affected Web checks. The owner chose to retain maintenance v2.8.1 as a candidate.
  • docs(research): record that keeping released pairs closes little of the depth gap
    The pool releases 4 to 8% of confirmed pairs, and leaf moves over everything
    it ever confirmed close 19, 16 and 11% of the gap at 8, 16 and 32 viewers
    against 15, 12 and 7% today and 80, 93 and 98% with one pair attempt. The
    suggestion to keep them is withdrawn in the mailbox.
  • fix(native): pace the random preparation by schedule so a coarse timer keeps its rate
    The pool and the search slept until one interval after each send. A tokio
    timer on Windows wakes on the 15.6 ms system tick, so 2 ms became about 15 ms:
    priming 256 sockets took about three to four seconds and 512 probes about
    eight, inside a preparation that has five seconds in all. Every recorded trial
    of the random method ran on Linux, where the timer is fine.
    
    The next send is now due one interval after the previous due time. A late wake
    sends what is due and the mean rate holds, which is how tokio's own Interval
    behaves by default. The schedule restarts when the probe loop starts, so the
    search does not count its wait for Ready as time to catch up on.
    
    The pool test now bounds priming at three times its nominal time. With the old
    assignment it fails on Windows at 2.9 s; with the new one the twelve
    preparation tests finish in 1.3 s.