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.
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.
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.
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.
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.
Replace separate commit, lease and candidate fields with preparation, external readiness, prepared lease and submitted commit phases. Derive a prepared candidate ID from its lease while the submitted phase retains the ID owned by the pending host result. Room acknowledgement and active source ownership remain in their existing handlers.
Validation: independent lifecycle review, 35 capture-enabled Native Session tests, 13 Server library checks and a control-WebSocket preparation-failure/cancellation check; the Windows capture App built. Update the three existing WHIP fixtures to the same phase representation. Physical source switching was not part of this check.
Keep the current local-room origin while another site is only pending.
Commit its local/site origin together when the matching document begins loading,
so a failed navigation does not prematurely strip the existing overlay owner.
The Windows capture-enabled product tests cover pending and accepted navigation,
site verification and bookmark authority separation. Full WebView failed-load
interaction remains a distinct runtime check; no bookmark or permission role changes.
WebView can retain document focus after another Windows application becomes
foreground. Project each Piik window's actual activation into its document
and share that fact across message feedback, read markers, shortcut ownership
and remote-input reset. Keep media visibility and room grants independent.
The same real foreground-window transition reproduces silence and premature
read advancement on beta.53, then triggers cues and preserves unread position
on the candidate. Returning to Piik advances the cursor. Audio output was
muted in the experiment; oscillator execution and completion were measured.
All 2315 Web tests, TypeScript and the Windows capture-enabled App check pass.
Use the same OS UDP allocation helper for the primary and additional test
Server, with the value scoped to each child's environment. Avoid reusing a TCP
port that can be reserved for UDP on Windows. Actual protocol checks pass.
run-browser-check.mjs reserved a free TCP port and let the Server bind UDP
on the same number. Windows reserves port ranges per protocol, so a free TCP
port can sit inside a UDP reservation. On a machine where
`netsh int ipv4 show excludedportrange protocol=udp` lists 52359-52458 and
the TCP list leaves 52360-52395 free, three protocol checks in a row ended
with "Bind Server UDP 0.0.0.0:52363 ... os error 10013".
Give the Server its own UDP port, as 3713fc4c did for room_creation_policy.
Only that child receives it, so the second Server that
browser-native-acceptance.mjs starts from the inherited environment does not
try to bind the same port.
Use request barriers to select the updater provider instead of millisecond
sleep races. Allocate the integration test's UDP port through UDP rather than
assuming the OS accepts the separately allocated TCP port.
Refresh RTP baselines at the actual warm switch and compare modular progress.
Keep media reuse deadlines and add failing phase/cycle context. This improves
test causality without claiming the reported intermittent capture failure fixed.
Both stop and HTTP-return paths await the same cleanup future, preserving
dependency order and preventing cancellation of partially completed shutdown.
Controlled Tokio checks cover cleanup before start, during work and after
completion; the normal Server shutdown tests retain their existing contract.
Opening or installing one room must not retire independently hosted siblings.
Handle that failure at the existing room operation, retain global directory
and identity failures as host failures, and report the failed CLI room ID.
Session and real Server tests cover a locked room, creation installation
failure, healthy sibling chat/history, recovery after unlocking and a second
process that cannot steal an existing binding. Invalid global layout still
ends the HTTP service and leaves the data unchanged.
Keep a borrowed page and its active media reader alive while the host inspects
another player. Commit the candidate only after the room accepts it, then retire
the previous reader through the page owner. The native caption reopens the same
source chooser without navigating the logged-in page.
Validation: 2298 Web tests, TypeScript, Windows same-page A/B cancellation and
commit controls, 41 current Windows page tests, Linux page tests and both Android
ABIs. Two cancellation assertions were updated to expect the released empty slot.
The ownership and source-selection contract is in channel-network-design.md.
Read the negotiated codec separately from active allocation so pausing a sender does not permanently disable shared encoding. Refresh native page placement when pixel density changes and refresh selected-source labels when their title attributes change.
Use the existing gateway mapping when renewing its nonce and selecting its protocol after probe expiry. Align Native, Server and Android to the tested fork revision and associate its crate notices with the complete upstream license text.
Retire quoted content after explicit access revocation without dropping drafts during a room writer restart. Bind a pending file picker to its original conversation, keep room record actions independent, and clarify narrow terminal help and local-network troubleshooting.
Present the Android confirmation entry only after its capture is registered, and keep late intents scoped to that capture. Rejected desktop preparations no longer cancel another pending OBS source.
BREAKING CHANGE: Internal Web and App builds must use App Control protocol 24. Domain protocol and saved-data formats are unchanged.
Native peers can use configured TURN over TCP or TLS and share ordinary IPv4 sockets within their endpoint runtime. Retire the last socket and gateway owner without interrupting sibling paths. Preserve explicit viewer playback errors, bound desktop decoder inputs, and stop copying cancelled retained files.
Room planners describe authorized missing connections, and channel admission tries alternatives when a preferred peer is full. Retain completed pairs until payload grants take over, bound discovery advice by the existing frame limit, and detach retained file bytes before temporary cleanup.
BREAKING CHANGE: Internal participants must use Domain protocol 44.
Keep chat history and scroll position across reconnects, bind App operations to the active control connection, and release background shortcuts while text or remote input owns the keyboard. Assemble H.264 pictures with their referenced parameter sets without transcoding.
Use patched URL and SQLite releases, restore str0m to its verified registry release, and update the Vite patch lines used by app and documentation builds. Preserve existing wire and stored formats. Render unavailable document links through the shared error surface while keeping resource requests at 404, and clarify hosting ownership in the guides.
Apply confirmed paused positions exactly and retire media permission requests with their documents. Keep reaction menus and connection hints tied to visible anchors and proven metrics. Narrow text reaction receipts to messages, avoid copying image data for history sizing, and align the shared guides and previews with their controls.
Keep the established launch query contract for separately updated Apps and sites. Handle same-document room and invitation navigation inside the verified Windows workspace while preserving full navigation for real path, query and origin changes. This keeps active sharing and the selected App together without a second URL or compatibility parser.
Keep launch metadata in the room fragment so same-site invitations retain the document and active sharing. Preserve confirmed microphone state during capture permission, acknowledge confirmed empty history, and retire local watch intent through writer recovery. Consolidate actionable App guidance and distinguish local and invitation addresses. Move signed payloads without copying and import only the semver functions used.
Start the existing NAT64 lookup when initial ICE gains its first usable IPv6 address, and retire it at nomination. Distinguish unsupported OBS offers from observed SPS limits. Keep invitations bound to their room and preserve usable playback controls in short windows.
Retain image previews up to 1280 pixels within the existing message budget, supplied by the shared Core limit. Require Domain 43 for new image writes while preserving App Control 23 and existing storage and backup formats. Hold the channel directory lock with its last writer and remove redundant storage locking. Align compact header branding and reuse the shared native drag region.
Retire initial ICE probes, stale bot requests, completed cache sources, and duplicate chat effects at their owning boundaries. Preserve webpage selection across DOM replacement and screen selection handoff. Reduce hidden voice polling and playback overlay coverage, align participant state labels and shared popup navigation, and remove duplicate discovery and status representations.
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.
Keep applied Browser quality in the media owner and submit each Native domain view to the RTC driver once. Propagate shared signaling failures to carrier recovery, bound Node history by the Core page contract, and reuse unchanged voice-level samples. Clarify room-writer and version-specific presentation responsibilities.
Clear obsolete ICE send errors on path selection and check source assignment through an OS bind. Include queued microphone frames before mixing, preserve live HLS time anchors, and refresh path-scoped cookies across media redirects. Keep authorized physical connections visible during signaling recovery and clarify endpoint roles in the shared graph.