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.
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.
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.
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.
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.
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.
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.
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.
Return authenticated typed replies from the Core receive boundary and remove repeated adapter signature verification. Preserve current host, binding, recipient and room checks. Keep the latest same-room invitation after an earlier request completes, and clarify hosted versus lightweight deployment guidance.
Read Browser room summaries after their storage turn, enqueue authority fanout in order, and validate ICE configuration before first-start persistence. Retain derived encoding incumbents during original-source handoff. Cancel attachment preparation promptly, refresh device choices on entry, and restore the complete known profile directory after reconnect.
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.
Apply channel creation and moderation rules at the room and directory owners. Reuse confirmed connections across sources, admit forwarding per payload, and preserve a working subscription when a relay leaves.
Private builds use channel protocol 31, App control protocol 21 and the versioned room history format.
Read only session keys and room delivery facts for signed text. Native keeps borrowed snapshot lookup, and all consumers share the existing authority verification rules.
Own room-host contracts in the adapter and consume generated WASM types. Reuse one main-player preparation path without merging source lifetimes, and align the shared focus control state.
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.