Commit Graph
802 Commits
  • refactor(core): centralize state changes and persistence outcomes
    Keep channel time explicit, room binding transitions owned by their records, and shared limits checked against Core. Persist the actual changes before delivery, preserving expiry and the original requester on failure. Include the verified receiving-route, cache-clear, tooltip and native appearance corrections from this integration phase.
  • fix(watch): preview sources and resume stalled viewers
    Show unassociated webpage resources in the existing source dialog before
    publishing the same prepared media. Keep preview cancellation and promotion
    with the source-selection owner, including canonical embedded-player URLs.
    
    Rejoin the shared position when a viewer resumes after buffering. Retire the
    issued seek on playback progress so a later independent stall can recover.
    
    Verified the source dialog, media handoff and cancellation in Chrome, both
    TypeScript projects, documentation, and the full 2654-test Web suite.
  • feat(watch): simplify video selection and preserve playback intent
    Start from one address and select a page video with one action. Keep resource ordering across direct, DASH and indexed offers, and keep each resource with its supported playback methods. Automatic viewers try the site before eligible sharer bytes; an explicit route stays selected. A room refusal ends the attempt rather than retrying a different source.
    
    Share, cancel and stop use a stable control footprint. End actions suppress native popover activation while preserving keyboard focus. The existing picker remains available for manual source and track choices. Update the English and Chinese flow descriptions.
    
    Built on reviewed queue changes 3378bca2 and f8ed4c1c, corrected through independent source-identity and operation-lifecycle regressions. The integrated Web suite passes 2631 tests; Windows compilation and 31 pure tests pass. Chrome at 390 and 820 verifies the combined workflow, keyboard focus and retry. Final TypeScript checks pass after matching the shared optional event signature. Native GUI and real-site acceptance remain separate.
  • docs(review): complete the ownership and catalog follow-up
    Retain the invitation QR privacy boundary at the room-data owner and report the accepted catalog comparison through its actual Browser consumers. Keep native runtime timings separate from subscriber-work measurements.
  • docs: separate current contracts from investigation history
    Condense collaboration procedures, protocol field inventories and repeated audit or experiment narration into their existing owners. Keep accepted decisions, unresolved work, primary sources and measurement limits. Detailed historical trials remain accessible at their measured Git revision without a second archive tree.
    
    Align both language guides with the existing contribution value criteria. Keep local operating instructions out of public contributor guidance. Independent reviews preserved closed baseline choices and single-run evidence limits. Documentation and repository hygiene checks pass; this phase changes no runtime code.
  • docs(review): hand off native timing and media-loss controls
    Accept the measured host-window drag repair and keep the source-catalog optimization pending its iframe URL update correction. Record signaling-alive media controls with exact scope, and retain touch, caption menu and physical timing acceptance in TODO. Clarify that content requests gestures while the native host executes them.
  • fix(files): separate original media types from preview support
    Preserve a valid MIME essence in attachment metadata, signed history and file
    plans. Readers offer a generic download for formats they do not preview.
    Recognized raster bytes retain their original MIME and thumbnail behavior
    even when File.type is absent or wrong.
    
    Thumbnails keep their own raster, binding and budget validation independently
    of the original format. Historical inline originals still require the exact
    size and digest and a case-insensitively equivalent MIME type. Existing image
    decoders and retained original bytes are unchanged.
    
    Core SQLite passes 354 tests; Web TypeScript, 826 focused checks and 32 fresh
    WASM consumer checks pass. Real Chrome 156 exercises signed history, atomic
    restore/reopen and cross-frame file storage with the same WASM. The first
    browser harness bundle needed its dynamic module kept separate; the complete
    fixture then passed without product-source changes. The beta.62 missing-image
    report remains unlocated.
  • docs(review): report NAT candidate and public reader coverage
    Merge the reviewer's campus and window-gesture reports with scoped outcomes.
    Record beta.63 field success without attributing an unobserved route. Report
    the private beta.65 package checks, actual reader specimen guards and the
    optional diagnostic fix. Native window movement remains unverified.
    
    Root message coverage is supported by missing-row compile failures and actual
    decoder runs. Nested choices and mixed-version artifacts remain in the public
    freeze, with authority and lifecycle outcomes owned by their current modules.
  • docs(nat): record available-observation and cold filtering controls
    Describe single-batch IPv4 selection and DNS/STUN overlap under the existing
    budgets, including the measured late-DNS classification tradeoff. Record the
    first fresh-socket same-IP changed-port positive through the actual survey
    and observer on an isolated direct link.
    
    Both packet captures and the survey output establish the private positive.
    It does not locate losses in the external field samples or prove regional
    STUN reachability. The combined Native source passes 28 focused tests on each
    of Windows and Linux; product wire shapes and storage are unchanged.
  • fix(native): select the source for the configured STUN route
    Resolve the survey destinations before asking the OS for a source address.
    Use numeric UDP connect and local_addr instead of netdev's fixed private
    destination lookup. Keep one survey source and the existing preparation
    deadline, and remove the unused direct netdev dependency.
    
    A controlled split-route comparison reproduces three unanswered Binding
    requests and a 1.50-second timeout with the old source. Destination-based
    selection gets the first reply and sends the peer check on the same socket;
    cancellation releases its port. This does not measure public reachability.
    
    Windows and Linux each pass 21 focused Native tests. Seven locked Cargo
    metadata contexts verify Native, Server and Android dependency features.
    The local Windows proxy remains enabled and the earlier public-STUN replies
    are not evidence of regional direct access. Beta.64 packages are unchanged.
  • fix(nat): use measured endpoints with partial mapping evidence
    A socket mapped to two different ports can use the existing pool against a peer with a measured endpoint. Equal partial replies stay unclassified; that peer can search from its retained socket without declaring a stable NAT. Sequential prediction still needs three replies and keeps its bounded alternate. The shared Core/Native configuration gate now admits two distinct STUN authorities.
    
    Uses current-destination observations in the scope described by RFC 5780 and the existing authenticated, bounded preparation model. The original two-response role experiment delivered SCTP and decoded VP8 in 8/8 controlled kernel-NAT trials versus 0/8 baseline trials. The final measured-endpoint plan passed actual two-response and single-response media controls, an exhausted-budget negative control with all UDP ports released, and the sequential alternate control. Windows and Linux preparation checks, 348 SQLite Core tests, both Web type checks and focused WASM/Session consumers pass.
    
    Existing socket, packet, concurrency and time budgets remain. An unknown endpoint can consume its bounded attempt without succeeding, and an irregular/sequential pairing no longer makes the earlier measured-target attempt. Ordinary ICE is retained. This is topology-specific evidence, not a public-network success rate; beta.63 stays frozen before this change.
  • fix(nat): retain usable observations when a STUN destination fails
    Keep the preparation socket and one measured endpoint after a partial STUN survey without claiming a mapping pattern. Only three complete observations can supply a sequential hypothesis; partial observations do not enable random search. Completed partial DNS resolution can continue, and isolated UDP rejection uses the existing datagram-error owner. Ordinary ICE, authorization and the existing budgets remain unchanged.
    
    A matched isolated kernel-NAT control with one filtered STUN response changed from no SCTP or video within 20 seconds to authenticated same-RTC direct delivery and verified VP8 first frames in two runs. Healthy ordinary ICE retained its path; the harder two-sided sequential case remained unreachable. The final combination passed 348 SQLite Core tests, 17 preparation tests on Windows and Linux, real socket adoption, two Web type checks and all 2600 Web tests with the rebuilt WASM.
    
    This adds an observation kind to the private 3.0 signal. Authority and participating Native endpoints must use matching updated builds; no published compatibility or persistent data changes.
  • fix(native): keep completed UDP preparation through socket handoff
    The preparation budget bounds mutual connectivity checks. A result that completes within that budget can wait in the driver or transport queue without losing its verified socket. Existing pair and RTC generation checks continue to own adoption.
    
    Based on the current connection-owner contract and a reproduced late-adoption failure. All 16 Native preparation tests pass, including authenticated loopback completion, late completion rejection, wrong-pair socket release and cancellation diagnostics.
  • 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.