A watch_unavailable reply can precede a replacement projection held below the channel floor. Keep the existing waiting predecessor until a projection consumes or retires it, or the viewer leaves. Both video and screen successors reproduce the error-first ordering before the fix; the full integrated Web suite passes.
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.
The diagnosis keeps both new facts, a viewer awaiting a route and a room that could not be opened here, and the session keeps the function form of error reporting beside the record of rooms it could not open.
Use the existing ViewerAudio output owner to distinguish ready element or WebAudio playback from a pending or failed sink. Retain local mute intent, show the playback action when unmuting triggers an autoplay pause, and restore the rendered state when the output recovers.
TypeScript and 21 related checks pass. Production-component Chrome controls verify sink refusal and retry; an independent two-stream test confirms that an old sink completion cannot mark its successor ready. Physical device removal remains separate acceptance.
The Rust health endpoint returns a fixed text marker, so the operator check must not decode the former JSON response. Carry the accepted optional full-revision comparison from maintenance and exclude the operator updater script from automatic product-release planning.
Eleven local CLI cases exercise real HTTP with an SSH substitute, including healthy stale releases. Eight release-planning cases pass. First-public cutover still requires resolving the Rust CI and coordinating public guides/downloads; no live service or workflow setting was changed.
A share started from the picker reported its failure in the page banner,
away from the control that started it. The failure now appears in the
share control's existing wait slot, where the system picker and picture
preparation are already announced, with a dismiss button. It clears on
the next start, on dismissal, or when another room is selected.
The picker closes before the start runs, and the room's share control
unmounts or moves to the share's tile once a publication appears, so the
page owns the result through useSettingsAction keyed to the room and hands
it to every ChannelShareControl as startAction. Browser, camera, App and
OBS starts from the picker pass the session's function form of
reportError, so a failure that arrives after a room change still reaches
the banner rather than being dropped. Starts from the share settings
popover and all other failures still go to the banner; the messages per
failure code are unchanged because both surfaces use
channelErrorPresentation.
The ChannelShareControl renders in tests/app-connection-button.test.ts now
pass an idle startAction, as the component requires one; their
expectations are unchanged. Verified with npx tsc -b --pretty false and
npx vitest run tests/app-connection-button.test.ts
tests/channel-session.test.ts, with new tests that a control-owned start
leaves the banner empty unless its owner is gone and that the wait slot
shows the failure and yields to a new preparation.
restoreHosts collapsed every per-room open failure of the Browser room
store into one storage_failed error with no room. The page showed the
generic "could not complete the action", and the room itself showed the
same "Offline" as a room whose host is simply away.
The local hosting runtime in the session now owns a per-room fact,
roomOpenFailures, in place of that flag. Its reasons are the ones the
Browser store can report for one room: unsupported_storage_version
becomes unsupported_version, and every other failure to open, summarise
or own the room becomes unreadable. A missing record is not a failure. An
entry clears when a later open of that room succeeds (restore, create or
backup registration), when its saved record or its channel entry
disappears, and when the hosting runtime is released.
The room list labels such a room "Can't open here" instead of "Offline"
only while it is unavailable. The room's own notice replaces the offline
copy with the reason, reusing channel.error.unsupportedStorageVersion
for a version, and a new sentence that this device cannot read the
room's saved data otherwise, with the existing storage help entry beside
it. Nothing appears on the stage. The new copy exists in all five
locales.
The Browser store cannot report a room held by another window: tabs share
the IndexedDB store, and a second tab is refused by the site with
room_already_hosted, which leaves the room available. No such reason was
added.
Changed test expectation: "Welcome restores the next Browser room after
%s failure" in tests/channel-session.test.ts expected the old
storage_failed error; it now expects the per-room reason and no error.
Verified: tsc -b passes; new unit tests cover the reason mapping and its
copy, a session test covers recording, clearing on a later open and on
removal, and a render test covers the list label; the whole vitest suite
passes.
A failed Watch or Retry picture landed in the page banner, away from the
picture it was about. The failure now stays with the picture: under its
offer while it is not watched, at the lower edge of its tile's wait area,
or in its video status area. It clears on the next attempt at that
picture, when its video composites a frame, or on dismissal, since an
operation result carries a dismiss button.
The result is owned by the page, one entry per publication, because the
offer, the tile, the picture help dialog and the picture panel can all
close or unmount before the operation ends: a failed watch keeps the
source as an offer, and a retry that fails after withdrawing turns its
tile back into one. useKeyedSettingsAction keeps one result per key with
the lifetime rules of useSettingsAction, whose failure-code mapping it now
shares through settingsActionFailure. Watch and retryPicture accept the
session's existing function form of reportError, so a failure whose owner
has gone (another site or session) still reaches the banner instead of
being dropped. All other failures still go to the banner.
Verified with npx tsc -b --pretty false and npx vitest run
tests/channel-session.test.ts tests/channel-presentation.test.ts
tests/watch-presentation.test.ts tests/channel-stage-picture.test.ts
tests/retry-picture-controls.test.ts tests/deferred-module-failure.test.ts
tests/viewer-playback.test.ts, with new tests that a control-owned watch or
retry leaves the banner empty unless its owner is gone, that the failure
renders in the offer, wait area and video status area, and for the shared
failure-code mapping.
A watched screen whose viewer has no selected incoming flow showed
"Waiting for a video route" with no action and no outcome. The core never
records a failure for a viewer it cannot place, and a measured viewer
decoded as soon as a source output freed, so this state is a wait with no
deadline, not a failure.
The client already separates the three states from facts it holds: no
selected incoming flow for the publication (awaitingRoute, from the pair
bindings), a selected flow without a stream (connecting), and the
publication in failedSubscriptions (failed). The no-route line now says
that no route is available yet and that watching starts by itself, in all
five locales. The tile offers the existing picture help for this state;
its dialog explains that nothing needs to be done, shows no retry and no
route-failed comic. Retry stays hidden here, because it withdraws and
resubscribes and cannot place the viewer sooner. Stopping stays in the
tile's footer. The connecting and failed states are unchanged. The
troubleshooting guide quotes the new line.
Verified with npx tsc -b, the diagnosis and stage tests (new cases for
the no-route diagnosis and the tile's actions), and the full vitest run.
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.
Require the existing source-ownership callback on confirmed-send and archive-restore retention, as on downloads. The IndexedDB write transaction now rejects a source that has already been withdrawn, preserving a newer cached file at the same attachment address.
Both late-write scenarios reproduced with actual ChannelAttachments/FileStore and two isolated mock IndexedDB clients. Authorized reads of an older live history still replace the cache normally. TypeScript and the integrated retention suite pass.
The request correlator owns invitation rotation from its first key response to the final outcome. The initiating popover shows failure without overwriting session errors; same-room duplicate work is refused while other rooms remain independent. Remove the separate action pending key and caller-specific reporting flag.
Focused public-action regressions cover intermediate results, concurrent rooms, late old replies and local failure. TypeScript and 672 integrated session, attachment and room-creation tests pass.
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 voice dock keeps both additions: the status derived from played audio, and the notice shown when a talk key is held while every joined room is muted.
The gate and the talk key need a place to be chosen. Voice settings now
offer a microphone mode under the shared microphone: open microphone,
push to talk or voice activation. The three choices stack in the shared
sliding selection, because the mode names differ widely in length
between the five languages. A line under the choice says what the
selected mode does. In push to talk it names the current shortcut and
says the key works only while the Piik page or room tool has focus, the
same scope the shortcut settings already state; without a talk shortcut
it says to assign one.
Voice activation adds a sensitivity slider in dBFS (-70 to -10, default
-40, the shared speaking level). A live meter on the same scale sits
under it and reads the microphone before the gate, so it keeps moving
while the gate is closed; it turns green once the level reaches the
slider. The meter polls through the existing visible-surface level
owner. When no microphone is captured it shows no reading, only a line
saying to turn the microphone on.
All new strings exist in all five locales.
Verified with tsc -b, the copy catalogue test, and static render tests
for the default mode, the push-to-talk hint and talk row, the unbound
case, and the slider with and without a captured microphone.
Push to talk needs a key that is held, not toggled. A third binding,
talk, follows the existing binding rule and defaults to Ctrl+Shift+V
(Command+Shift+V on macOS), unless another action already holds that
chord. Stored bindings from before parse unchanged, and a reset restores
all three.
In push-to-talk mode the page now listens for key up as well as key
down. Repeats are ignored, and editors keep the chord as before. The
chord ends when its key or any of its modifiers comes up, because macOS
sends no key-up for a letter released while Command is down. Losing
focus, a hidden page or a frozen page also releases it, through the
existing document-inactive owner, so a lost key-up cannot leave the
microphone open. Changing the dock's room or leaving push to talk
releases a held key too.
Holding the key on a muted microphone sends nothing, and the dock says
"Microphone off" in a small notice above the microphone. It is a manual
popover placed by the shared anchored-popover owner, so the controls do
not move. The talk row appears in the shortcut settings only in push to
talk; with background App shortcuts on, it says it works while the page
or room tool has focus. A clash with a hidden binding now names the
action holding the chord, in all five languages.
The App still receives only the two toggles it registers, because it
rejects unknown fields; nothing changes on the wire.
Verified with tsc -b and tests for key down, key up, repeats, release by
a modifier, blur, hidden and frozen pages, editors, mode and room
changes, the default merge, preferences stored before the talk binding,
and the App request.
A group of friends misses push to talk and a voice-activation threshold
first; until now the microphone could only be muted. The shared room
microphone gains a third choice of how it transmits, stored beside the
other voice preferences and defaulting to open microphone.
Push to talk and voice activation insert one AudioWorklet gate between
the gain and the output. It runs on the audio thread, so a throttled
background page cannot delay the 200 ms release or the 300 ms activation
hold, and it fades over 10 ms so it never clicks. The analyser still
reads before the gate, so a level meter works while the gate is closed.
The gate's decision is a pure function in media/voice-gate.ts; the
worklet shell is bundled by Vite with ?worker&url so it can import it,
and it loads through the same addModule and ready handshake as the noise
suppressor, now one helper for both. Open microphone inserts no gate and
loads no worklet, so its graph is exactly what it was.
Mute keeps its code path and overrides the gate. A press only posts to
the worklet: no server command and no publish delay. The local speaking
level is now reported only while the gate is open. A gate that cannot
start stops the capture before anything is published, and a processor
that fails later retires the microphone through the existing owner, so
the page never claims to send while it sends silence. Nothing changes on
the wire.
Verified with tsc -b; new tests for the gate rules, the graph placement
and failures, the session flow (gate prepared before publish, no command
per press, mute overrides a held key, return to open microphone) and
preferences stored before this change; the full channel session suite
passes unchanged. A Vite build of the worklet produced a self-contained
script with no worker-only globals.
Display capture stopped setting "motion", so the automatic codec
preflight's clone inherited an empty hint. Chromium then keeps the
desktop source's screencast flag, and every default probe encoded as
screen content while a Balanced or Fluency share encodes with "motion".
The H.264 decision was made on a configuration the share does not use.
preferredVideoCodecForTrack now takes the sender's hint and sets it on
its clone. startScreen passes screenContentHint for the stored
preference and the track's display surface, the same mapping
configureVideoSender applies. The relay probe in media.ts passes none
and is unchanged: it probes a received track, as before. The
media-quality standard names the preflight among the hint's readers.
Verified: npx tsc -b --pretty false; npx vitest run (159 files, 2360
tests), including new tests that the probe clone carries the given hint
without touching the source, and that startScreen passes "detail" only
for Clarity on a display surface.
An offline replay judges routes by how playback went, but a Browser export
held stream numbers only at export, during a handoff probe, or as raw
statistics that carry candidate addresses.
With the debug switch on, ChannelMedia now records one connection-sample
event a second while any pair exists. For each connection the transport
adds the selected pair's round-trip time, available outgoing bitrate and
candidate types; for each incoming stream the interval frames decoded and
dropped, freeze and pause time, jitter-buffer delay and loss; and for each
outgoing flow the quality limitation reason and loss. The numbers come from
the same derivation as the connections panel, with baselines of their own
so the panel's intervals do not change. No raw report, address, port or
candidate identifier is recorded. The sender selector is shared with the
panel's outgoing metrics instead of being written twice.
Verified: npx tsc -b; new channel-session tests check three samples in
three seconds with debug on, none and no extra getStats call with debug
off, no address in the records, the timer retired with the session, and
the outgoing limitation and loss. One received screen on one connection
measured 619 to 635 bytes per second.
Every failure landed in the page banner, away from the control that
failed, while the visual language puts an operation's failure beside its
task. The two controls now receive their own result the way settings
controls do, through useSettingsAction and ChannelSettingsError, and call
the session with reportError false so the banner stays out of it. Voice
join gains that reportError parameter, as createRoom already has.
The quick-start failure hangs below the centred button, so the button
does not move, and clears on the next attempt or another site. The join
failure takes its own line under the join row and clears on the next
attempt; the control is mounted per room, so a late result from another
room is discarded with it. useSettingsAction now names a DOMException by
its name, as the session does, so a device failure keeps its meaning.
All other failures still go to the banner.
The call in tests/channel-session.test.ts that passes a provided voice
stream now passes reportError first; its expectations are unchanged.
Verified with npx tsc -b and npx vitest run tests/channel-session.test.ts
tests/channel-presentation.test.ts, including a new test that a
control-owned join rejects with its code and leaves the banner empty.
Every Browser screen share was hinted "motion", which turns off Chromium's
screen-content encoding, so text could be downscaled to keep motion even
when the person chose Clarity. The stored picture preference already
states that intent, so one pure function, screenContentHint, now maps it:
Clarity gives "detail" on a display surface; Balanced, Fluency, cameras
and received tracks keep "motion". Balanced stays "motion" because
Chromium turns an explicit "balanced" into maintain-resolution under
"detail", which would collapse three choices into two.
The function is the single owner of the hint. Display capture no longer
sets one. cloneSenderVideoTrack takes the hint instead of falling back to
"motion" and still copies it to the frame-forwarding track, so the first
configure need not rebuild the codec. configureVideoSender sets the hint
from the profile whenever no carrier is active, so a live edit and its
rollback restore it; the pool carrier keeps its own transport hint. The
pool producer clones with the mapped hint. Start-up protection becomes a
configureVideoSender flag that overrides only the sender's degradation
preference, replacing startupVideoProfile, so it cannot reach the hint.
No setting, default or per-choice degradation preference changes. The
media-quality standard now states the mapping.
Tests whose expectation changed: quality "bounds initial capture to the
selected profile" (capture leaves the video hint empty), "holds resolution
only while a scaling preference starts" and "leaves picture cadence with
the producer..." (startupVideoProfile removed; the latter uses the flag).
The sender-video-track clone helper passes a hint for the new signature.
New tests cover the mapping, a clone, a live edit, a rollback, start-up
and a camera at the quality, clone, producer and transport boundaries.
Verified: npx tsc -b --pretty false; npx vitest run (159 files, 2355
tests). Encoder behaviour under each hint still needs a lab measurement.
An offline replay has to know which parent served each publication and
when, and when each pair was confirmed or failed. Each participant logged
only the removal of a flow assignment and the flow states it sent.
With the debug switch on, ChannelMedia now also logs when a flow is
assigned and when it becomes selected, with the pair, peer, flow,
publication, upstream flow and direction, beside the existing removal. The
session logs each link state it sends beside the flow states it already
logs. All fields are identifiers or states.
Verified: npx tsc -b; the new channel-session test walks a pair through
an unselected assignment, its selection, an outgoing relay flow, the
connected link state and removal, and finds no record with debug off. The
existing flow report test passes unchanged.
ADR-0018 stage 0 replays the route planner on exported diagnostics. The
planner's inputs never reached the Browser export, and an ordinary debug
event keeps only 64 array items, which cuts the confirmed pairs of a room
past eleven or twelve endpoints.
With the debug switch on, the Browser room host now records the room
summary it registers and every input it dispatches to the shared core. The
inputs keep session, flow and publication identifiers, counts and states.
Names, titles, message bodies, passwords, invitations, images, watch
locations, file references, signatures and signing keys are removed before
recording, and the shared secret-key filter still applies. A new whole
record bypasses the per-event caps but stays inside the existing 8 MiB
history; a record larger than the history is counted as evicted rather
than flushing everything.
Verified: npx tsc -b; vitest for browser-debug and the new channel-session
test, which dispatches five inputs with 30 endpoints (435 confirmed pairs)
and checks that none is truncated, no free text or URL remains, the core
receives the original input, and nothing is recorded with debug off.
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.
A watched picture whose delivery failed gave a manager no sign that the
room itself had turned down the site's forwarding, the one fallback they
can change. The core projects room.serviceRelay only to managers, with
available meaning the site has a service endpoint and enabled meaning the
room policy allows it (channel.rs service_relay). When delivery failed,
forwarding is available but not enabled and the person can manage the
room, the tile adds "Site forwarding is off for this room." and a Room
settings action that opens the room settings on the Connection tab. The
existing failure copy stays, since the client does retry in that state.
Verified with npx tsc -b and npx vitest run
tests/retry-picture-controls.test.ts tests/channel-diagnosis.test.ts
tests/copy.test.ts tests/media-copy-accounting.test.ts.
The dock said "Voice joined" as soon as the server answered, before any
audio reached this page. roomVoiceStatus derives the label from facts the
page already has: membership, mute and deafen state, and the publications
voicePlaybackPublications selects as playing. Connected needs a playing
publication from an unmuted member of the room, matched by speaker because
one microphone can play through a sibling room's publication. Connecting
means someone else is unmuted, listening is on and none of them plays yet.
Otherwise, alone, nobody speaking or listening paused, the label keeps the
membership copy. Connecting uses the busy colour, the others stay green.
No timer or report is added; the room list keeps showing membership.
Verified with npx tsc -b and npx vitest run tests/voice-playback.test.ts
tests/copy.test.ts tests/media-copy-accounting.test.ts.
Leaving the window (blur, hiding, or the App window becoming inactive)
runs release(), which clears the idle timer that docks the mini mouse
and never arms it again. Dragging the mini widget and switching windows
before the idle time passed therefore left it over the picture until
the next touch. The inactive handler now re-arms the existing park
timer after releasing, as the widget's own blur handler already does.
It is an effect event so it reads the current mode without
resubscribing; resubscribing would run the cleanup's release() on every
mode change and drop a drag in progress.
The existing tucking test asserted that hiding leaves no dock timer,
which is the defect; it now asserts the timer is re-armed and is
cleared on disposal. The test harness injects useEffectEvent like the
other hooks.
Verified: the new blur test fails without the change and passes with
it; tsc -b and the full vitest run (159 files, 2348 tests) pass.
Simple sharing reused the first room the person had created, was
admitted to and could reach. A person who made a room for another
audience in the full view and later pressed Start sharing in the simple
view would show their screen to that room. Showing a screen to people
it was not meant for is a privacy failure, so the choice now fails
closed: the simple view remembers, per site and person on this device,
the identifier of the room it created and reuses only that room. When
the room is gone, belongs to someone else, cannot be reached or already
holds this person's share, a new room is created and remembered
instead. A room recovered through the interrupted-creation dialog is
remembered the same way. The identifier is kept in localStorage under a
site/person key, the scope the personal room order and read markers
already use; without storage the next start makes a new room.
Verified: tsc -b passes; the room-creation tests cover a person with
another room of their own and no remembered room, reuse of the
remembered room, a deleted remembered room, rooms that cannot take the
share, and the stored identifier's scope.
A cached or presented frame does not repair a failed selected audio device. Keep the existing output chooser visible until that output recovers, independently of picture waiting. The regression fails before this change; TypeScript and 33 related output/playback tests pass. Physical device and audible background-alert acceptance remain explicit TODO items.
The existing MediaInput owner now observes the selected audio track ending or leaving its stream. Track identity fences late callbacks and retires only that flow; live muted audio remains forwardable without a first-packet or volume gate. The two new regressions failed before the repair; TypeScript and 30 related media/session checks pass.
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.
Reusing the person's simple-sharing room made it possible to request
the source picker in a room where no share control would take the
request. If they already shared in that room, both share controls were
hidden, so Start sharing did nothing visible and the stale request
opened the picker uninvited after the share stopped. If a friend's
screen was showing there, the toolbar control was mounted but ignored
the request in the quick layout.
A room where the person already shares is now skipped when choosing the
room to reuse, through the same condition that hides the toolbar share
control, and the toolbar control honours the picker request in every
layout. The quick-entry and toolbar controls never mount together, so
only one consumes it.
Verified: tsc -b; tests/channel-room-creation.test.ts extended with
rooms that already hold the person's share; full vitest run passes.
The video codec chips were disabled during a running share with no
reason, and the encoding method chips beside them were locked by the
same condition. Both now take a lockedReason that disables the chips and
replaces their hint with "Fixed while sharing. Stop sharing to change
it.", the way the playback route chips already explain a locked choice:
the soft-disabled chip keeps its tooltip and adds the reason to its
accessible name. The string is added to all five locales.
Verified: the new quality-controls test fails without the change and
passes with it; tsc -b passes.
Keep the already selected viewing intent through consecutive authoritative successors. Browser and App page waits use the same predecessor lookup for webpage and screen replacements, then request ordinary authorized subscriptions. A local leave withdraws the previous unresolved subscription so it cannot follow another replacement.
Real two-browser controls reproduced the lost A-to-B-to-C chain and verify reconnect, screen replacement and focus retention. 616 session and stage tests pass. Matching-package Native same-page selection remains a separate platform acceptance.
Every "Start sharing" in the simple view created a new room, and a
cancelled source picker left that room empty, so repeated starts piled
up rooms. The start now returns to the first room this person created
in which they are admitted and whose host is available, and creates a
room only when there is none. The room choice lives beside the other
room-creation rules so it can be tested without a rendered page.
Verified: the new room-creation test fails without the change and
passes with it; tsc -b passes.
Let the source picker read its message and help destination from the existing error owner. App response timeouts point to connection help; enumeration failures retain capture help. Controlled WebSocket and real React picker checks preserve active sharing and App authorization during request-scoped failures.
Use the owning document's activity boundary to release keyboard repeats, mouse holds and joystick touches. Re-arm docking when a compact mouse gesture is cancelled or loses capture. Synthetic input and detached-document controls reproduce and verify retirement without changing the remote-control grant.
Explicit Stop owns the pending Browser capture as well as the committed publication. Transfer success hands tracks off before cleanup; cancellation while committing still waits for the existing operation. The deferred-ack regression and independent microphone lifetime controls pass.
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.
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.
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.
Strip unknown descriptive fields on the watch activity envelope, matching the ordinary state readers and shared Core. Keep playback field validation and source-kind/source-field checks strict; no command or wire version changes.
Validation: the new display-label control failed before the change and all 12 image/wire checks passed after it. The combined client check passed 640 tests and TypeScript.
Integrate the reviewed interaction follow-up with exact subscription correlation. Unknown and late replies cannot close or activate another owner. Delivery failures preserve the logical reaction request and nonce, including retries, while a signed writer rejection retains its distinct meaning.
Accept the instruction layering with scoped corrections: current user authorization remains authoritative within system/developer bounds, failure recovery is distinct from feature state, and Core extraction must reduce ownership cost. Fresh old/new policy evaluations chose the same six outcomes; this supports clarity, not a claim that the prior rules caused over-handling.
Validation: two new counterexamples failed on the incoming interaction commit; the corrected client suites and wire metadata control passed 640 tests and TypeScript. Policy and documentation checks run through the repository hook.