Study policy P4 (feature study, off by default) asks for the next-best
crossing for any waiting receiver that has a first repair trial, through
the same helper as P3 without its condition on confirmed pairs into the
tree prefix. A study-only record of the second trials the last reconcile
asked for, and a count of failed trials per participant, let the time
model report whether long waits had their second trial in flight, refused
by admission or not asked.
Study policy P3 (feature study, off by default) lets a waiting receiver
with a confirmed pair into the tree prefix request a second repair trial
beside its first. The time model gains a cost table: pair attempts, those
that never carried a screen flow, and the peak attempts in flight per
endpoint and per channel.
Policy P2 for the placement study: frontier crossings and the child a
reduction moves prefer the shallowest offered parent, identifiers last.
Behind the study feature and off by default like P1; the harness gains a
policy filter and an extra-hops column.
The driver can now answer pairs and flows after a success, failure and
proof time, expiring the authority once a second as the server does, and
records each arrival's first-picture delay and what a long wait waited on.
Policy P1 (race one alternative once the direct pair has been pending H)
sits behind the study feature, off by default and absent from shipped
builds.
The engine pump slept until the SDK's next deadline with a tokio timer. On
Windows that timer fires on the system tick, 15.6 ms unless a process has
raised it, and Windows 11 does not keep a raised period for a process that is
neither visible nor audible. Measured here: a 2 ms tokio sleep returns about
14 ms late, std::thread::sleep about 0.5 ms late.
The pacer and the bandwidth probes need those deadlines. With the default tick
a Native sender's estimate stayed between 200 and 300 kbit/s for twenty
seconds on loopback, so the allocator rejected the optional flow of the
recovery fixture and its test failed on every run on this machine. With the
deadlines met the same fixture reaches 11.7 Mbit/s in two seconds.
One thread per pump now sleeps on its behalf: an interruptible wait while the
instant is far, then slices of a millisecond on the high-resolution timer that
std::thread::sleep uses since Windows 10 1803. Other platforms keep the tokio
timer. The thread's CPU cost during a session is not measured; it wakes at
most once a millisecond while a deadline is within 32 ms.
All 206 Native tests pass here with the default tick, the recovery test
included.
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.
Signal and await the existing service shutdown instead of dropping its future when owner IPC fails. Preserve the primary IPC failure and ordinary signal shutdown. Server lifecycle checks and matching protocol acceptance pass.
Name and reuse the existing candidate-input predicate after reconcile and ancestor failure. Keep derived placement separate from branch identities and capacity, and retain the current switch contract. Core recovery, branch proof and forwarding-capacity checks pass.
Reuse the encoder child Job for the tunnel, with a standard OwnedHandle. An owned helper demonstrated that kill_on_drop alone leaves a child after abrupt parent exit; the existing kill-on-close Job ends it. Actual tunnel-owner controls and Windows capture-feature compilation pass. No global scratch purge is introduced.
Retain one exclusive host-creation fence through retirement and atomic Domain replacement while releasing the registry for launcher and approval reads. Successful and rejected HTTP restore controls preserve authority and block new host creation until completion. The existing cancellation, backup and complete Server checks pass.
Keep ordered dispatch and the existing twenty-second read timeout. A real local WebSocket control answered five Pings during a delayed writer turn but was incorrectly closed; timing only the next read preserves the connection and command order. The complete Server suite passes.
Completed operations retain their authorization, cancellation and cleanup owners and pass results to the existing reply helper. Remove repeated envelope writers. Existing App lifecycle controls, complete Server checks and Windows capture-feature compilation pass.
The writer already produces a bounded complete page and readers publish it atomically. Remove the per-message/reaction envelopes and Browser/Node reassembly, retaining request, binding, transaction and live-change owners. The mixed-page component control cuts serialized bytes by 47.4% and signatures from 101 to 1. Advance private Domain wire to 51; stored formats are unchanged. Core, actual IndexedDB, Server, Node and protocol checks pass.
The driver records every participant pair whose two sides both answered
the same physical pair as connected. At each instant the study takes the
pairs confirmed earlier, not confirmed now, whose endpoints are still
present, and runs the stage 1 leaf rule on confirmed plus those pairs
with no new attempt, beside the existing rule and the attempting rule.
released_pairs prints the comparison at L = 2 for the three connectivity
settings; the existing stage 1 columns reproduce unchanged.
Take 26c407fc and the explicit Closed transition in 0cdfe8bd. The redundant post-disconnect drain was independently removed in 63b2d446; keep that deletion because the pinned SDK is inert after disconnect. Independent Windows timing reproduced cumulative relative-sleep drift, while its exact tick varied from the review machine. Packet budgets and preparation lifetime remain unchanged.
The pinned SDK is inert after disconnect, so remove the redundant drain that misclassified a normal local input close as failure. The recovery fixture waits for successful consent responses before measuring the next outage. Five focused close checks and the complete no-capture Native suite pass; prior failure outcomes remain intact.
Since the recovery change the drain fails an established transport that has no
send consent. close() disconnects the SDK and then drains, and a disconnected
SDK has no consent, so every orderly close of an established transport emitted
Failed first. A local input then ended with local_input_failed instead of Ok,
and two local-input tests failed.
The transport is now marked Closed before it disconnects the SDK. The state
says what it is, fail() returns by its own guard and no event is emitted.
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.
Plan::path_down now states once whether a reported (child, parent) pair lies on
a receiver's path to the source. The alternate-parent filter in reconcile, the
switch commit check and the reduction readiness check in flow_state each walked
that path by hand; they now call the method and keep their own starting point
and the terms they combine with it.
RoomRuntime::flow_state, which passed an empty observation set, had no
production caller and is removed. Its tests pass an explicit empty set instead.
With no unobserved variant left, Publication::reconcile_observed becomes
reconcile and the flow_state_observed methods on Publication and RoomRuntime
become flow_state. The redundant parentheses around the three viewing
comparisons are removed.
The room's disconnected_pairs field is kept: RoomHost::finish and
RoomHost::finish_peer reconcile after a dispatch and read the set it stored, so
removing the field needs that set carried with the dispatch's other remembered
inputs first.
Behaviour is unchanged. cargo test --features sqlite still reports 331 passed
and 1 ignored, and cargo test without the feature reports 172 passed.
Use the existing feedback observation seam with real UDP/SDP/SRTP to prove selected picture and audio continue while a second flow waits, is admitted together and retires. Source demand and output decisions come from the production Driver. The integrated control passes; injected capacity is not a physical-link estimate or decoded-quality measurement.
Keep current-socket disconnect observations separate from confirmed pairs. Existing room operations prepare and commit an authorized confirmed alternate, recheck every leg, preserve independent candidates through ancestor retirement, and reject late proof after recovery or a personal zero limit. Native reads SDK-owned send consent and retains established media; expiry uses the existing retirement boundary, including ICE Checking. Remote input releases on lost notifications and rechecks permission at the final write. Pin the existing SDK fork query at 5f1f6346 and move the private Domain wire to50, without changing stored formats or App26.
Core, Native, Server, rebuilt WASM, protocol and 2389 Web checks pass, with Windows capture compilation. Matching frozen Browser/Native/Server controls verify actual decode, same-pair recovery, exact candidate adoption, late-proof cancellation, zero capacity and Native expiry. The final Checking-state regression and valid ICE restart control pass. No field NAT-success rate, cold three-hop discovery, Native GUI or physical-capture claim is made.
Replace obsolete always-visible roster and old menu selectors with actual chat, room and people controls, retaining focus, draft, session and player assertions. The full five-Browser gate passes on Chrome156. Record the version-scoped Chromium152 reproduction and the passing current-engine controls; no media workaround or browser allowlist is added.
The same reduced and complete product sequences pass on current Chrome156 while Chromium152 reproduces the rVFC-related stall. Keep product behavior unchanged and record the actual engine. Coordinate the remaining UI acceptance and G50 runtime controls with Claude.
The str0m adapter has no cross-pair audio slot allocator. Remove the old global retry on unrelated retirement and its release booleans. A real remote-SDP withdrawal reproduces unwanted reconstruction; the regression preserves video and sibling audio, then proves actual Opus reception after source replacement. Five media-reuse controls and Windows capture compilation pass.
Actual Chrome controls show deafen retains RTP receipt and two-output relay forwarding while an unplayed leaf stops decoded-sample counters. Keep decode assertions for actual listeners. Record the separately reproduced relay-unwatch video stall as unresolved, rejected candidate fixes and pinned SDK consent-window evidence; request independent Claude review.
Take Claude C2 at 53bea0a6 and the reviewed private contract batch. Viewer audience owns failure; invitation payloads use correlated replies; Core owns fixed observation limits; HostInput requires hosting mode; invitation digest derives from its retained key. Domain wire49, room SQLite11, IndexedDB9 and room archive4 refuse old private formats without mutation; unrelated formats retain their generations. Core/Native/Server, rebuilt WASM, five live protocol cases and 2388 Web tests pass; actual Browser storage checks pass. Broader media acceptance found a separate relay-unwatch decode stall and remains blocked; no runtime workaround or release is included.
Reuse the existing short-lived single-use launch ticket behind OS-scoped local IPC. Bind the operator endpoint before readiness and retire it with the Server; no network administration route or new identity is introduced. Windows and Alpine package controls pass for issuance, replay, credential reload, expiry, shutdown and cancellation. Linux denies another UID; Windows ACL was reviewed but an alternate-user run was unavailable. Native pipe cancellation and the six integrated binary tests pass; Android locked metadata remains valid.
The room carried the same fact to each viewer twice. Every snapshot had a
failedSubscriptions list for the recipient, and every screen publication's
audience already listed the recipient's session with the state failed. Both
came from the publication's record of failed receivers over the sessions that
watch the screen, and the Domain retained, validated, paused and merged them
in matching ways.
The audience is now the one carrier. The core no longer projects, retains,
validates, pauses or merges the list, and the wire snapshot no longer has it.
The audience validation already requires each entry to belong to an
authorized, subscribed viewer of a screen.
The client finds its entry by its own session identifier, never by user,
because one person can watch the same screen from several endpoints. The
projected view already drops this page's own entry when the page has stopped
watching locally, so a screen unwatched before the room sees the unwatch still
does not show as failed. The room preview's failed picture now comes from the
viewer's own audience entry.
No protocol, storage or format version changed: the owner batches wire changes
and bumps once.
Four encoders reuse the existing rate/leak/drop sequence while keeping capture cadence, forced-frame semantics and platform feedback local. The 50-decision production-helper differential trace is unchanged. Windows capture compilation and the Native integration suite pass; physical platform behavior was not remeasured.
Report known writer-lock and duplicate-file failures from the current Native hosting session. Reuse actual hosted-room authority for Server member rooms; keep Browser diagnostics separate. Read only when an authorized operator opens an offline room. Real file-lock/duplicate tests, 196 Native and 117 Server tests, TypeScript and focused Web checks pass. Rendered 320/1360 controls cover operator labels, aborted late results and no diagnostic requests for online or unauthorized rooms.
Take Claude b4c96a79 after independent semantic and engineering reviews. Preserve current remote-control, playback, language and media rules while removing duplicate 2.x copies. Actual VitePress build exposed missing Chinese deployment and unpublished-reference routes; repair both and verify generated links plus publication tests. Browser preview startup was rejected by automatic review, so this does not claim rendered documentation acceptance.
Both official 2.x Compose definitions inject PIIK_ENV. Refuse that configuration before frontend loading, listening or data initialization, with a clear version-specific remedy. A bounded actual-executable test verifies refusal and untouched data; Rust/Web/WASM/protocol integration checks pass. Unmarked manual legacy setups are not detected by this guard.
Use the existing tagged JSON for every startup choice. An unreadable private preference opens the launcher for reselection; database failures still propagate. Windows startup and long-path persistence controls pass, along with the Rust/Web integration gate.
Three Native retirement and attach paths apply the same primary-media predicate. Share that decision while retaining scoped cleanup and companion-audio retry. The actual track-ending control, full Native tests and integration checks pass.
Native creation installed the default 64 kbps policy even when its accepted room summary advertised 96 kbps. Core now constructs the policy for Native and Server, retaining private caller choices. Default and nondefault policy regressions, Rust/Web/WASM/protocol checks and all 2385 Web tests pass.
Playback ownership moves from the 2.x presentation lifecycle copy into
media-status.md beside its evidence boundary, restated as the 3.0 player
behaves: one element per received input owns its frame proof, the displayed
element owns playback, picture-in-picture and fullscreen, and a candidate keeps
the local pause and volume when it takes over. Typed playback facts, the
decoded-frame silence rule and local candidate addresses join the evidence
boundary. Viewer listening gain joins media-quality Screen Audio, and the
two-second idle delay joins the visual language.
The remaining fragments go to their 3.0 owners: the room voice ceiling to
media-quality, the rejected-candidate distinction to the network model's
existing sentence, App discovery and consent and the Browser debug report to
the Server README, and the preference-restore rule to the room-data model.
The pinned SDK returns no change without an error; pending and retired room transports cannot satisfy the old stable-failure fallback. Remove that fallback and its duplicate state while preserving receive-only input checks, selected outputs and resource-release audio retry. Independent review, four direct transport controls, the Native suite and matching Server session integration passed.
Every valid operation now passes the shared Hello admission phase before dispatch. The ready loop owns a concrete host sender, while the outer connection cancellation and timed writer remain unchanged. Failed Hello can retry on the same socket. Independent producer review, 87 focused App tests, integrated Server tests, matching Native-session controls and the capture-enabled Windows build check passed.
The Browser reads attachment limits from the core through WASM, and no client,
script or test in the repository requests this path. The Server's 116 library
tests pass.
Every dispatch reconciles each publication before it matches the action, and
reconciling expires first, so the wake's own call found nothing due. The wake
and its guard stay: an idle room still needs a dispatch to advance its
deadlines. The helper is now used by unit tests only and is compiled for
them. The core's 327 tests pass with the sqlite feature.
Confirmed creation failures now broadcast reservation removal, including after the requester resumes on another connection. A lost writer reply retains the reservation because the SQLite room may already be committed. Cancellation uses the captured session identity and the shared Core effect owner. Regressions reproduced the stale snapshot and resumed-connection leak; actual-commit lost replies and subsequent creation pass. Explicit Native admission errors retain their existing meaning.
The authenticated site-owner route now acquires the same room restore slot and upload budget as the per-room route. RestoreRoom retains the permit through installation, independently of archive shape. The original handler consumed the body under an occupied slot and returned 400; the corrected handler returns 409 before polling it. Full integration and backup tests passed.
Adds an integration test that drives the channel authority and room host
through the public command path with scripted screen-share sessions: one
sharer and 4 to 32 viewers who arrive, leave, and sometimes leave while
relaying. The harness answers every proposed pair from an assumed
NAT-class connectivity model and proves every assigned flow; it never
plans. After each event it records the planner's tree, depths, unplaced
viewers, fan-out and parent changes.
At every instant it compares the tree with the best tree attainable on
the same confirmed pairs under the same forwarding limit, using a
branch-and-bound solver checked against brute force. It applies a
one-leaf move rule as an offline what-if, executes the same rule through
the planner by re-placing the leaf, and counts viewers that one more
child at a parent at its limit would have placed or raised.
Every test is ignored and runs only on request with
cargo test --features sqlite --test topology_study -- --ignored --nocapture.
Nothing under src changes and no dependency is added.
Owned-window traces reproduced a pinned transparent overlay retaining foreground after creation. Carry the opener foreground intent into Tao and Wry creation, avoid initial caption focus, and return focus on pin only when the popup owns it. Native controls verified initial pin, adjustment, Escape, background opening, pointer passthrough, title-bar dragging and room return while voice stayed joined. The current Windows capture-enabled app check passes; no new window mode or IPC is introduced.
The only JavaScript consumer already declares and reads pairs, files and watchBytes plus commands and capacity. Seven paired emitted-WASM runs over 200 updates and 20 identities reduced active return bytes by 88.0 percent and idle bytes by 98.9 percent; consumed outputs match across forwarding-limit transitions. Real WASM compilation, focused Core checks, TypeScript and 701 client tests pass. This measurement is serialization cost, not end-to-end media throughput.
Integrate Claude queue through 374a92e5. The changes derive route, room-open and operation feedback from existing owners. Independent Chromium review covered real components and IndexedDB version rejection; integrated type checking and all 2409 Web tests pass with the reviewed corrections that follow.
Keep Identity as the authority, while a Domain SQLite transaction writes the admitted user and conditionally updates the small domain header. Normal startup hydrates the same model without rewriting it. This removes full-history profile rewrites and preserves recovery of a previously uncommitted room directory without a dirty-state mechanism.
The private Domain physical format is 1; Room SQLite remains 10 and portable archives and wire versions are unchanged. Unsupported old private databases remain untouched. A matching old build can export the existing domain archive for import into a fresh directory.
Paired local Release controls at 2000 retained identities measured join 17.78 to 4.17 ms and rename 7.75 to 4.02 ms. Full Rust, Native, WASM, protocol and 2394 Web checks pass. Actual old-Linux-export/new-Windows-import preserves credentials and records; real Browser hosting verifies storage scope and byte-bounded signed history across five pages. Correct obsolete fixture assumptions about standby pairs and private room admission.