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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
Current pending requests already reject unknown terminal outcomes before dispatcher resolution, including a public updateRoom regression. Correct the ADR context and label the design-review table by its original revision; public baseline decisions remain proposed.
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.
Four real RTC/Netem arms distinguish unrequested, admitted and capacity-limited optional flow demand while retaining the selected minimum and its received payload. Keep native Driver and decoded-quality acceptance open; no application probe policy or bitrate threshold changes.
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.
Trace current readers before removing a 2.x camera copy and two unreferenced synthetic data files. Keep the archived camera source pinned for existing pairing references. Correct the 3.0 control guide to match actual share controls rather than preview-only couch accessories. Current media and runtime research with active readers remains.
Reply to b4c96a79 with reviewed queue outcomes, exact integration evidence and scoped lab limits. Keep late reader selection and selective persistence rollback, record remaining documentation ownership work, and open C2 preparation without independent generation bumps.
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.
Take a56dc68d. Keep the established latest-tag and major-version rules. Reconcile primary-source corrections and distinguish pulling an image from replacing its running service; keep candidate-surface implementation held by Claude.
Integrate Claude review 6af0a84f. Primary image entrypoints and operator reports support explicit pins and recognized-state refusal; they do not establish universal outcomes or incident frequency. Preserve the existing release policy for the next coordination pass.
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.
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.
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.
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.
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 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.
The versioning standard already says a major is an incompatible contract,
that latest moves when a version becomes the latest release, and that a break
needs upgrade instructions and mismatches that fail clearly. The note read as
if the matter were open. It now cites those rules and says what is left: an
App crosses a major behind a notice and the person's own act, and a container
that follows latest crosses it on a pull.
Integrate aea131e2 after independent lifecycle, route-wake and documentation review. BrowserHosting owns its room slots and cleanup chain; rejected closes and superseded opens cannot strand later work. Existing real-browser hosting acceptance, TypeScript and all 2385 Web tests passed. The deadline control and Server check passed. Scope the offline placement study to sampled searches, explicit edge sets and hypothetical transition costs.
Published 2.x deployments follow the latest image, and 3.0 cannot read their
configuration or data. The owner will decide what that tag means when the
release is prepared. The note holds the evidence: what the registry guidance
says, what nine projects did and what it cost them, the guard rails, and the
options. The cutover item in TODO now names the decision.
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.
ADR-0016 records the framework, and the forwarding, hosting and room-data
models own the behaviour built on it. Two documents said the forwarding model
owned the architecture.
The network implementation said to keep a working route rather than probe,
which read as a rule against the canon's quiet improvement. It now says this
is present behaviour and that the way to improve is undecided in ADR-0018. Its
transition rules link the forwarding model, not a 2.x record that 3.0 does not
use.
On synthetic sessions the planner already covers every viewer the attainable
tree covers. It loses depth, more as the room grows, and a room of four is
optimal. A leaf move over existing pairs recovers about a tenth of the loss;
the same move allowed to try one pair recovers most of it. The harness is on
the branch test/placement-study and models placement only.
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.
Integrate the Browser push-to-talk and activation modes, local operation feedback and shared content-hint mapping. A held action owns its release across fast key events, rebinding and focus changes; capture applies the current press before publication. Voice readiness follows actual local playback events. Screen intent comes from the publication source through probe, ordinary sender, shared encoder and rollback.
Keep scoped flow/link debug events. Defer whole HostInput recording and periodic sampling that cannot establish a replay or quality comparison; retain the existing opt-in exporter. Omit the picture-specific Server-help claim until the relevant offered kind is available to that surface. Preserve committed quick-room reuse and recorded pending picker fixes.
TypeScript and all 2393 Web tests pass. Real Chrome AudioWorklet/WebRTC/PiP controls verify decoded PCM release and activation without a physical microphone. Production voice settings pass narrow/wide bilingual theme and keyboard controls. Recovery timing remains an explicitly isolated experiment, not a production routing change.
Close archive-only live row and reaction decoding without tightening the ordinary message wire. Supported room backup and copy writers remain unchanged. Unknown durable fields now fail before installation instead of disappearing on export.
Both native staging and real WASM importers reproduce the old loss and reject seven unknown-field positions with the fix. Legal attachment, reply, mention, image and tombstone controls pass; all twelve stored-room tests remain green.
Take the reviewed voice owner and interface lanes, preserving room-local media lifetimes. Server forwarding is offered per kind by its operator, remains off by default, and fills participant routing gaps without sacrificing reachable receivers. Validate the registered service identity even in public rooms and advance private Domain protocol to 48 for the typed offer.
Correct quick-sharing reuse, pending picker ownership and local bootstrap retirement. Keep record-extension and recovery proposals separate from production mechanisms. Full Rust, Native, Browser-WASM and protocol checks plus 2350 Web tests pass; follow-up focused controls pass 672 tests. Actual Domain-48 loopback controls verify master-off, voice-only hosted and files-only Browser-hosted traffic with unchanged room authority.
The owner decided how a Server forwards. Forwarding spends the operator's
bandwidth, so the operator offers it and it is off by default. Once offered,
rooms use it without a second switch, a room manager can decline it, and the
service ranks after participant paths (canon: P2P first, load is shared, the
same rule for every node, automatic).
a. Operator switches. PIIK_CHANNEL_SERVICE_TRANSIT is the master switch, off
by default. PIIK_CHANNEL_SERVICE_TRANSIT_SCREEN, _VOICE and _FILES default to
true and each turns one kind off. Files include original video forwarded for
watching together. With the master switch off nothing is offered. The offer
reaches room hosts with the service socket. The room removes the service from
the relays of a kind it does not offer, and the channel rejects a projection
that gives the service such a kind as site transit. A service that offers no
kind reads as unavailable.
b. A new room allows the service. Creation paths apply only an explicit
choice, so Browser, App and Server-hosted rooms and room copies take the
default, and a stored false stays false. The setting reads as declining a
default, and its note says the site forwards only the kinds its operator
offers, in all five locales.
c. The planner names the service as the fallback. When a route is assigned it
first extends the tree with participant relays only, then lets the service
reach the receivers still waiting. It keeps that tree unless the joint tree,
where the service may take a scarce output, serves more receivers, so ties go
to participants. A strict participant-first pass could spend the source's
outputs on direct listeners and leave those reachable only through the
service unserved; a test reproduces that. The ranking among participants is
unchanged.
The rule applies when a route is assigned. A receiver already served through
the service keeps that route until it fails or demand ends, even if a
participant path appears later. A screen viewer can still make the usual move
to a direct path from the person sharing.
Left open: in a public room the service's session has ordinary read access,
so a modified room host can list it as a plain participant relay, without the
transit view that carries the room's choice and the operator's kinds, even
when forwarding is off. Closing it needs the channel to recognise the
Server's own session by identity in rooms that session does not host.
Tests added in channel-core: a participant wins over the service; the service
serves only receivers no participant path reaches; the service takes a scarce
source output when that serves more receivers; a moved child takes a ready
participant before the service; the service carries only the kinds its
operator offers; a service that offers no kind reads as unavailable; a new
room uses the offered service until its manager declines. Expectations
changed for the new default in host_review, service_transit, stored_room and
the first test of tests/service-transit-wasm.test.ts.
Verified on the lane: cargo test for piik-channel-core with and without
sqlite, cargo check for channel-server and channel-browser, the
room_creation_policy test, a rebuilt WASM package, tsc -b, the whole vitest
suite and the docs check. The channel-native suites were not run.
Take the small-core canon and synchronize the reviewer mailbox through ca407420. Record per-item decisions, the tested history and bootstrap changes, and current file ownership for the next voice/interface/Server-forwarding lanes. Keep proposed message and topology mechanisms separate from implemented contracts.
Record the protocol-47 relay-exit measurement: the first RTC failure report triggered branch retirement; healthy paths still survive signaling loss. Complete TODO entries for lineage, persistence and ADR scope, and retain specific platform, archive-attribution and public-contract acceptance.
Merge Claude's queue through 0e018ae7 with the reviewed guide, trust and 2.x/3.0 scope corrections. ADR-0018 and ADR-0019 remain proposals. Topology comparison keeps per-kind budgets, manual limits, generation fencing and measured failure detection.
Complete the consecutive-source viewing fix by retaining the pending predecessor in the room surface, covered by the same 616 tests and real-browser controls. Track the separate local-launch credential and restored-attribution questions before public release.
Keep a durable history lineage at each room writer. Ordinary rebinding preserves it; a full restore installs a fresh lineage in the same storage transaction. Scope reader positions to that lineage and keep passive queued projections from replacing another tab's saved reading progress.
Private Domain protocol 47, SQLite 10 and Browser room IDB 8 replace the prior internal formats. Room archives and App wire are unchanged. Validated with the Rust/Web-WASM/protocol gate, real Browser writer restore and cross-tab read-marker controls. Local reading hints remain best-effort when a lagging tab is actively read across successive restores.
The implementer's measurements and a reading of the tree change the proposal. A report every second is not free: every reported state change sends a full snapshot to every session, the room authority would hold private path facts, and Native lacks several counters. Frame counts are not comparable across layers or re-encoding. Stage 0 is therefore offline replay on exported diagnostics, a move is decided by comparing a candidate with the incumbent, observations open a comparison without deciding it, and capacity grows only on unmet demand with sibling proof. The wait after a silent parent death stays an open measurement.