Commit Graph
214 Commits
  • build(licenses): align the MPD runtime notice with its package
    The rquickjs-core crate still omits its workspace license. Retain the byte-identical complete upstream MIT text and update its pinned source and displayed version to 0.15.0. Verified the existing Server notice generator against the released crate.
  • 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(build): resolve product identity before compiling WASM
    Pass the selected product version and revision to Web and text-participant WASM from the existing build identity owner. This closes the ordering difference between SDK packaging and Web builds. Verified existing build-script tests and development, candidate and stable-tag argument controls; no remote build was started.
  • fix(ui): keep room controls usable through layout changes
    The shared room sweep fixes narrow stage sizing, caption overlap, covered chat reads, phone history, focus restoration, settings error placement and row alignment at their existing owners. Room and Network settings share one draft and save action. The two shell stylesheets are consolidated; hidden current-room links and obsolete grid rules are removed. The handbook, matching guides and four generated room screenshots follow the shared components.
    
    Chrome 156 interaction checks covered both themes, 320px phones, short windows, classic scrollbars, native-caption simulation, eight retained players, nested Back/Escape and room-tool popout. Full Web validation passed 2485 cases and exposed one assertion on removed hidden local-preview text; the preview identity now lives in the player accessible label and all 15 affected playback/layout checks pass. TypeScript and Browser SDK types pass. Actual WebView caption dragging and physical mobile capture are outside this browser check.
  • refactor(build): remove the unused Web builder input
    The package entry points already copy and verify reused Web artifacts before building. Remove the builder option with no production caller and exercise receipt validation through its actual owner. The Android, App, Server and artifact controls pass in 48 focused tests.
  • fix(packaging): retain verified Web bytes before native builds
    A shared Web path could be replaced with another valid build during native compilation, leaving Android or Server metadata paired with different Web bytes. Materialize and validate the package copy against the existing receipt before native work. The Android real-jar control reproduces same-revision replacement and verifies the retained bytes; related packaging controls pass. No new receipt format or build lock is added.
  • 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.
  • 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.
  • 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.
  • chore(tunnel): refresh the pinned Cloudflared runtime
    Use Cloudflared 2026.11.2 and its verified official asset digests, regenerate notices, and align the Android Go toolchain with upstream's 1.27.4 requirement. Keep explicit auto selection and the Android exhausted-QUIC repair, whose independent role remains reproduced.
    
    All five desktop assets match asset-level digests and embedded build identity. Both Android ABIs pass the helper builder's PIE and 16 KB checks on both lines; the fallback decision control and Windows synthetic Quick Tunnel succeed. Full package checks and a live UDP-blocked fallback remain separate acceptance work.
  • test(network): keep the kernel fixture aligned with discovery
    Use three distinct isolated STUN addresses, as the production survey requires, and collect namespace process diagnostics with portable ps columns. The actual kernel preparation and media comparisons executed these fixture corrections; no host networking changes are retained.
  • refactor(web): use the canonical channel entry
    Remove the duplicate channel-preview route and move its launcher, owner-link, acceptance and documentation callers to the existing root URL. Query and invitation fragments retain their meaning. App launcher and component preview routes stay separate. Route, session and built-server protocol checks pass.
  • docs(operations): replace the 2.x hosting guides with the 3.0 deployment guide
    The 2.x self-hosting and service-management guides, in English and Chinese,
    leave this tree; main keeps them. The documentation site now publishes
    docs/deployment.md in a Self-hosting group. It has no Chinese counterpart, so
    the Chinese sidebar links the English page in the same place and marks it as
    English, as the sidebar already did for English-only references; the 2.x
    configuration link leaves that group. The homepage points its server link at
    the deployment page, sends the 2.x media fallback sentence to the published
    2.x pages and drops the service-management item. README, frp, website and
    translation guide links that meant the 2.x guides now point to main, and the
    publication test uses another published page as its fixture.
  • docs(standards): remove the 2.x rooms, routing, lifecycle and configuration copies
    main is the one writer of the 2.x rules, so the four copies in this tree
    leave now that their 3.0 content has moved to 3.0 owners. Links that meant
    the 2.x rule point to the same file on main; the indexes and the documentation
    map replace the per-file 2.x rows with one link to the 2.x standards on main,
    and the 3.0 Server and App configuration row points to the Server README. The
    network laboratory and the engineering standard's deployment-configuration
    rule now cite their 3.0 owners. The size budgets and the hygiene path list no
    longer name the removed files.
  • docs(adr): remove decision records for the 2.x line and ended experiments
    ADR-0001, 0002, 0004, 0005, 0006, 0007, 0010, 0011 and 0012 describe published
    2.x or experiments that ended; their own scope lines hand 3.0 to ADR-0016, the
    canon and the 3.0 models. No living 3.0 document relied on them: the media
    standard's two ADR-0007 citations were obsolete, since the standard states the
    3.0 codec rules itself and the 3.0 preflight probes the real track rather than
    ADR-0007's synthetic one; it now points to the preflight code. Citations from
    the records that stay (ADR-0008, 0009, 0014, 0016) and from 2.x research now
    link the records on main, and the hygiene path list no longer requires
    ADR-0001 and ADR-0010. History stays in Git and on main.
  • docs(research): remove finished 2.x investigations identical to main
    Eleven research files are byte-identical to main and record finished 2.x
    investigations: advanced peer distribution, browser background capture,
    cross-restart room recovery, diagnostic feedback, low-server media routes,
    native client lifecycle, native sender, node-local adaptation, peer-assisted
    media, platform output and WebRTC P2P screen sharing. Their history stays in
    Git and on main. Links from the documents that remain now point to the copies
    on main, and the hygiene path list no longer requires the P2P research file.
  • docs(standards): keep media-quality as the 3.0 media standard
    The media standard now says it owns the 3.0 Browser and App media contract
    and links main for 2.x. The Pion and LiveKit adapter, the embedded SFU and its
    publication, ADR-0011 Browser-to-Native fanout, the native-edge Browser
    candidate from the local bridge, the allocation-deficiency category, the App
    preference store and older-client sentences leave; each was checked against
    the 3.0 code. The 1152-byte Opus bound becomes the constant-bitrate encoder the
    3.0 Native path uses, and the Native/SFU receive-limit rejection, which 3.0
    does not implement, leaves with the SFU publication settings.
    
    Main's orientation rule comes in as the shared Browser encoder implements it.
    The Viewer playback buffer target is already owned by the network model, so
    the standard links it instead of restating it. Research that describes 2.x
    media now links the standard on main, and the documentation map and indexes
    list media-quality as 3.0 with the larger standards budget.
  • docs(standards): give Remote Control its own standard
    The 3.0 input grant, target and release contract moves out of the 2.x room
    access copy into docs/standards/remote-control.md. It keeps the pause release
    added for 3.0 and drops the older-client exclusivity sentence, the collaboration
    marker distribution that 3.0 does not implement, and the gamepad driver detail
    that the reader guide and interaction research already own. The documentation
    map, the standards index, the network model's input section and the interaction
    research now point to it.
  • fix(ops): validate the channel runtime and expected deployment
    The Rust health endpoint returns a fixed text marker, so the operator check must not decode the former JSON response. Carry the accepted optional full-revision comparison from maintenance and exclude the operator updater script from automatic product-release planning.
    
    Eleven local CLI cases exercise real HTTP with an SSH substitute, including healthy stale releases. Eight release-planning cases pass. First-public cutover still requires resolving the Rust CI and coordinating public guides/downloads; no live service or workflow setting was changed.
  • fix(tools): offer a backup-preserving beta reset entry
    Add a double-click CMD wrapper for the existing beta reset script. Reuse the running-App check, explicit RESET confirmation and directory backup, and clarify the difference between a full beta profile reset and room attachment cleanup.
    
    Validation: actual Windows CMD controls on owned synthetic data cover running-App rejection, cancellation, backup preservation and paths containing spaces, non-ASCII characters and exclamation marks. No actual user profile was reset. The desktop entry is separately bound to the current test profile.
  • test(browser): run Windows servers from an owned build copy
    Snapshot a Cargo Server before starting Windows acceptance so later relinking cannot collide with its executable lock. The build caller explicitly identifies custom Cargo output with --built-server, and the second domain reuses that snapshot. Packaged input stays at its supplied path.
    
    Validation: five protocol checks passed. An isolated Windows control reproduced EBUSY on direct execution and successful rebuild with an unchanged snapshot hash. The actual runner timeout path retired both Servers and removed its directory; no additional wait or retry was needed.
  • refactor(review): integrate the independently reviewed 3.0 queue
    Accept the shared byte-distribution owner, supervised transport retirement,
    distinct random-port probes, software keyframe interval and lazy-load retry.
    Preserve the review branch's commits and authorship.
    
    Use the one-writer cross-review mailboxes. Narrow the proposed lifetime rules
    to demonstrated ownership problems rather than requiring a universal interface
    or a restructure after every repeated fix. ADR-0015 remains proposed.
    
    Use the active prototype as its explicitly scoped pre-cutover base and invoke
    the vcpkg bootstrap by a fixed relative path. Independent trace reviews and
    the queue's recorded controls support these choices; combined checks follow
    with the concrete mailbox fixes on the same development branch.
  • build(capture): start the vcpkg bootstrap by path
    windows-capture-deps.mjs ran `cmd /c bootstrap-vcpkg.bat` from the vcpkg
    directory. With NoDefaultCurrentDirectoryInExePath set, a documented
    Windows hardening switch, cmd does not search the current directory and
    the libvpx dependency could not be provisioned. Passing the script's path
    works with and without the switch.
    
    https://learn.microsoft.com/en-us/windows/win32/api/processenv/nf-processenv-needcurrentdirectoryforexepatha
  • fix(runtime): keep room restoration and pending operations scoped
    Validate restored room ownership, preserve current capture and input state, and retire obsolete view requests. Keep App metrics independent of media reads and hide provider windows with their page. Package stripped Android libraries with matching native symbols.
  • feat(channel): pool connections and isolate activity lifetimes
    Reuse bounded channel connections for independently authorized room activities and retire the shared room-tree bootstrap. Keep current physical proof separate from recovery history and activity delivery proof.
    
    Preserve operation ownership across room replacement, source selection, microphone changes and native window retirement. Bound data sends before the channel is installed and recheck room grants at the final write.
  • fix(core): keep independent operations recoverable
    Scope file failures to their requests, preserve accurate route failures and validate Server settings before initialization. Repair source capability and observation lifetimes, restart failed WASM loading, and align playback, input and read-marker state with the owning operation.
  • fix(ui): simplify startup and isolate preview preferences
    Remove the HTML loading-failure injection and keep joystick persistence with the actual viewer. Record the controlled cold relay trace without changing transport deadlines.
  • fix(runtime): preserve resource ownership through cancellation
    Retain native pair cleanup through shutdown and cancel microphone acquisition when its last voice consumer leaves. Start webpage read-response deadlines after transmission and retire failed media setup.
    
    Share text-client shutdown completion, provide a small support-bot example, remove the unused input route and duplicate MF guard, and document safe Cargo cache handoff. Validated 413 focused Web tests, type checks, Windows capture compilation and six native lifecycle regressions.
  • fix(app): restore approved connections and refine shared playback
    Preserve explicit App approval, expose playback and transfer progress, and keep shared identity and native window presentation coherent. Retain terminal fallback, cancel external input safely, and reject withdrawn UDP preparation before adoption.
    
    Reuse exact Web artifacts across matched targets and extend the existing text participant with typed history, replies and reactions. Verified Rust/WASM/protocol checks, 1614 Web tests, Windows capture compilation and five external input lifecycle tests.
  • refactor(api): extract reusable text participant client
    Keep command parsing, identity-file writes and bot behavior in the CLI. Share the existing signed conversation client with typed events, and collect its contract check in the normal test entry.
  • feat(watch): forward original media over room peer paths
    Let sharers explicitly provide selected file and HLS resources through the existing reliable room routes. Keep direct viewing independent of peer demand, retain one playback authority, and cancel scoped reads when viewers, sources or routes retire. Domain/App private protocols advance to 20/11; stored room data is unchanged.