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.
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.
IndexedDB rejects opening the room store at a lower version than the one
already saved with a VersionError. The store passed that DOMException on
as is, so a database saved by a newer build reached the page as a raw
browser message and fell through to the generic "could not complete the
action". The store already names an older schema
unsupported_storage_version, which the interface explains with the
existing saved-data version message and help entry. A newer schema is the
same fact seen from the other side and now carries the same code.
Verified: tsc -p prototype/channel-browser/tsconfig.json passes. The
Browser room check gains a case that opens a store at a newer version;
running it locally failed before the page loaded because Chrome could not
start in this environment, so that case is not yet observed.
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.
wasapi 0.27 correctly handles SILENT packets and exposes frame flags and QPC timestamps. Replace local GetBuffer/ReleaseBuffer pointer ownership with its slice reader and one reusable packet buffer, preserving the existing Float32 stereo clock and capture scopes.
The Microsoft GetNextPacketSize shared-mode contract guarantees the buffer size used by the next read. Five Windows synthetic and initialization checks pass, plus integrated Rust compilation. Actual device capture and the reported field silence remain separate acceptance.
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.
Chrome retained the original fragment URL in its persistent History database even after replaceState. App-owned navigation now issues a short-lived single-use ticket; the existing local Join consumes it under the domain lock. Ready, launcher links and terminal reopening no longer carry the durable bootstrap seed. Personal credentials keep their current reconnect and storage behavior.
The ticket follows the short-lived, single-use bearer principle described in RFC 6749 section 4.1.2; this is an internal local bootstrap, not a new OAuth implementation. No public Join field or saved-data format changes. Full Rust, real Native session, Browser/WASM and protocol checks plus 2342 Web tests pass. Matching Windows WebView package acceptance remains in TODO.
Match retained reads, saved results and in-flight downloads by size and SHA-256. Conditional IndexedDB deletion keeps an old tab from removing newer bytes or receipts at the same room attachment address. Explicit room and message cleanup retain their existing scope.
The real Browser room restore and dual-tab FileStore controls reproduced stale content and cache removal before the change. Focused attachment, save-result and conditional-delete regressions pass.
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 old App could retry while the modal helper still held the prior workspace open. Report replacement failure before restarting the initiating App, then let the existing helper finish and record its outcome. Preserve the original failure chain and any restart failure, without a new result consumer or retry state.
Validation: the old product helper reproduced access denied on production workspace retirement with its message still open. The revised signed-helper control restarted after dismissal and retired the workspace successfully. Twelve update tests and the capture App build passed; all owned fixture processes exited.
Return FileDelivery and WatchDelivery effects in their existing order with owned Uint8Array payloads. Serialize only metadata through the original JSON path, retaining its integer semantics. Switch all attachment and watch consumers together, including failures and projection; no Cargo dependency or wire-format change.
Validation: matched release-WASM controls measured 64 KiB Watch at 2.60 to 1.13 ms and 1 MiB File at 27.73 to 3.90 ms median local CPU. Actual Chrome production consumers verified OPFS/Watch hashes and a terminal outcome for a range beyond JS safe integers. The integrated 700 consumer tests and TypeScript passed. Compressed WASM grew 4146 bytes; no remote-throughput claim.
Use the set_profile command as the parameter type for Browser actions, the Session, Node participant, profile editor and guide preview. Remove five copies of the same optional name and nullable avatar fields with no new generation dependency or change to runtime validation.
Validation: both TypeScript projects compile; existing avatar set/clear and profile response controls passed.
A matching room reply must carry the outcome expected by the original operation. Browser and Node reject unknown results locally while ignoring observers and wrong-room IDs. Preserve invitation payload events followed by done, and distinguish joining Watch from leaving it. Core dispatch explicitly matches its current result variants.
Validation: corrected three old Watch mocks that returned watch_ready to a leave operation; all 617 Browser/Node tests passed independently. The integrated delivery and interaction consumer run passed 700 tests and both TypeScript projects compiled. No new wire field or enum generator is added.
Request strict IndexedDB durability for room creation, binding, policy/history mutation and final archive installation. Keep temporary archive staging, reads and participant file caches on their existing policy. Confirmation still follows transaction completion.
Actual Chrome/WASM tests observed strict transactions, completion before confirmation, and abort without confirmation followed by same-nonce retry. Thirty-two interleaved messages per mode measured 1.75 ms strict versus 0.90 ms relaxed end-to-end medians on this machine. Durability is a browser hint; no physical power-loss claim or persistence-permission flow is added.
Box only the connected phase after a successful WebSocket handshake. The same drive future still owns cancellation, recovery and cleanup. This keeps the large inner state machine from being carried inline through each outer caller without spawning another task.
Measured Windows Rust 1.91 run_host future size drops from 33208 to 17904 bytes without capture and 33544 to 17904 with capture. The current and prior-wrapper candidates passed the same real two-process admission/resume/restart test. Current baseline already passed; this is a bounded frame-size improvement, not a claim about measured peak stack headroom.
Pass the current retirement set straight to the state owner instead of retaining a full Snapshot in an additional awaiting wrapper. The redundant layer overflowed the Windows Native main-thread stack during the real competing-process room admission check.
Validation: the original integration executable and corrected Native CLI passed all 12 real-session tests; 20 capture-enabled Native session tests also passed. No larger thread stack, heap wrapper or retry was added.
A Windows App holds a read-only directory lease while it may load bundled resources. Replacement cannot move that installation out from under another profile. On failure the helper requests the old App restart and records the result before showing the existing dialog, without killing other instances.
Validation: the capture App built and 12 update checks passed. Isolated signed product-helper controls preserved old resources and both profiles while a second App ran, then updated after it exited. The actual owned failure dialog appeared after result.json was written; restart readiness may follow it. Protection applies to instances that include this lease, not previously released executables.
Discover managed SQLite rooms by their durable identity and refuse an ambiguous target before offline deletion or restore installation. Healthy rooms and new room creation survive unrelated file failures. A resumed writer retires its known binding even when the operator cannot read that room; Core accepts retirement from the current authenticated owning session while still rejecting stale outputs.
Validation: 20 Windows Native and four Server checks cover actual SQLite locks, duplicate/repaired stores, offline restore and hidden rooms. Sixteen Core room-access and seven service-transit controls verify resumed HostStop without accepting the stale socket, another session, wrong binding or unregistered HostOutput. All six source files match the validated v4 candidate. Public directory deletion retains its existing independent authority.
After validating the current writer, signed scope and visible recipient, deliver permission-gate refusals through the existing room-scoped reply. Use room_busy while the read floor is pending and preserve room_access_required for confirmed denial. Existing client request owners ignore observer copies and cross-room IDs; the Node pending request records its room scope.
The deterministic SQLite control previously left a committed chat retry waiting while the refusal went only to the writer. Core SQLite passed 316 checks with one separate release-capacity check ignored; 612 Browser/Node checks and Node type checking passed. Browser explicit same-draft retry retained its nonce. This adds no wire field or authority queue; the independent Browser interaction handshake remains open.
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.
Retire a prepared reader when its candidate resource changes or disappears, using the existing projection lifetime. Ignore replies to requests whose receiver has already closed before any selection side effects. A failed or expired replacement retains the active source; page event limits share their existing named owner.
Validation: independent lifecycle review and 23 Windows capture-enabled checks, including deterministic closed-receiver selection and owned HTTP range/redirect credential controls. The boundary-constant consolidation compiled and its two focused regressions passed. No change to the accepted direct-URL fallback.
Route watch-reader revocation through the existing await_peer owner, as registration and the other awaited Driver operations already do. The Session must continue consuming peer output while its bounded command send is pending.
A controlled dispatch gate observed zero events on the old handler and one on the corrected handler. The 35 Native Session checks include the existing saturated Driver regression and reader retirement. This does not claim a field reproduction of both queues filling during revocation.