Commit Graph
239 Commits
  • fix(ui): keep stop outcomes with the initiating page
    Stopping a screen could lose its source row and later report a failure in another room, while unrelated actions erased browser-host restoration failures. The initiating page now retains stop results by publication with their room labels, and BrowserHosting owns its restoration condition. Reuse existing action and feedback owners. Public-entry regressions, hook and component tests, TypeScript, and controlled Chrome interleavings passed.
  • docs(ui): explain how cached attachments remain available
    The existing room cache control now explains that connected members can receive cached copies and that clearing the cache withdraws them. Keep identity, room and saved-download scope in its existing confirmation. Checked both languages in the narrow room settings surface.
  • feat(protocol)!: use product versions for Domain and App admission
    Declare major and minor once at admission and preserve each session's numbers
    beside its signing key. Equal majors admit different minors; incompatible
    majors reject before consuming launch authority and identify the older side.
    App discovery, Native readiness and Web diagnostics keep that direction.
    
    Resolve build identity before compilation. Browser values and displayed version
    share the same build input; the Node SDK reads its actual WASM version. Remove
    the two private wire identifiers without aliases for obsolete internal builds.
    
    Basis: the accepted compatibility rule in Versioning and ADR-0017. Validated
    Core, Web/WASM, Windows reader and App discovery controls. Real packaged SDK
    3.0 and 3.1 each completed signed conversation and private-room history against
    the other Linux Server minor. Browser/App mixed-artifact acceptance remains open.
  • feat(protocol): distinguish signed outcomes from observer notices
    Read authenticated address and request/record/notice role before concrete kind. Unknown commands return unsupported; unknown requester records settle only their own operation as unconfirmed; notices never settle a waiter. Keep original signed payload forwarding and current writer/binding/read-floor authority. Independent review corrected body-object validation and unknown-outcome presentation. The exact staged tree passed fresh-WASM Web checks (2563 tests), complete Core SQLite tests (339 plus one intentionally ignored), capture-enabled Native/Server compilation and five signed runtime controls. This replaces the private room-carriage shape without an old-reader adapter.
  • fix(backup): preserve uncertainty after a lost site restore response
    Share the existing room-restore HTTP outcome classification with site restore. Lost or invalid responses retain the original credentials and expose the existing reconnect entry instead of treating a possibly committed operation as rejected. Pre-handoff unavailable responses are explicit conflicts; handed-off result loss remains unknown. Forty scoped adapter/session/presentation tests and TypeScript checks passed with mocked external I/O; no real database restore was performed.
  • fix(input): reserve stop chords before voice shortcut registration
    The shared Browser and App validators reject the Ctrl+Alt F1-F11 family before OS registration. Restore invalid saved bindings per slot so valid siblings and explicit clearing survive. The selected stop key still owns only its existing platform variants. Browser recording/preferences checks passed 27 cases; the production App configure rejection passed without requesting an OS shortcut. Existing Windows four-variant CI evidence is unchanged.
  • fix(copy): state that viewers received the picture
    Use the same direct Chinese wording for the audience count and individual receipt status. Keep receipt separate from joined intent and local playback. Existing presentation checks pass; no state or count logic changed.
  • fix(copy): describe screen audience as picture receipt
    The shared screen counter comes from decoded-flow proof, while actual local presentation belongs to the player. Match the existing audience rows with Picture received wording instead of claiming everyone is watching. Keep original-page joined counts and member deduplication unchanged. Chrome preview and the existing presentation tests verify the shared surfaces; no new state or wire report is introduced.
  • fix(ui): describe media cleanup in terms of its contents
    Name the images and file cache being cleared and the device or page that owns them. Derive complete and retry room counts from the existing disjoint per-host results, retaining at most two result lines. Balance long titles at the shared settings-dialog heading instead of adding a scene-specific class. English and Chinese Chrome checks cover 320-pixel and desktop views; the guides use the same control label.
  • fix(copy): match diagnostic menus and shortcut preference scope
    Both remote-control shortcuts are saved in the same origin-local browser preferences, while Native owns the current OS registration. Describe that shared scope consistently. Update the two troubleshooting guides and App report hints to the actual More options entry. Verified against the existing Header, launcher, preference and Native owners; no new control or test mechanism.
  • feat(profiles): represent unnamed members across room surfaces
    Use an empty stored name for unnamed members and one localized formatter for guest labels and same-list duplicates. Full member IDs retain authority; archived empty names remain distinct from unknown live profiles. Reuse the profile editor for an owner-controlled optional nickname prompt and remember dismissal per site and member. The current private Domain 55 phase carries the setting; existing stored headers default it off. Core, Browser, SDK and archive controls passed, including an actual two-browser hosted-room skip and reentry check.
  • feat(rooms): clear hosted media without removing conversation
    The selected host clears its owned image renditions and managed local file cache while retaining text, members, policy, metadata and saved downloads. Writer commits publish a signed cutoff so delayed pages cannot restore cleared thumbnails; newer messages and selected original files survive. Native hosts also cover dormant local databases and report post-commit compaction separately. Reuse the existing More menu, dialog and inline confirmation. Private Domain protocol 55 includes the new record. SQLite, IndexedDB, Native dormant-room and live dual-browser checks passed; physical-device acceptance is separate.
  • fix(ui): keep picture rotation local and room copy accurate
    A device-wide rotation preference turned unrelated and future pictures. Each player now starts unrotated while picture fit remains a preference. Offline non-managers receive available-history copy, compact room counts describe room presence, and unused relay and bookmark translation keys are removed. Two actual Chrome pictures stayed at 90 and 0 degrees after rotating one, and both reset after reload; focused checks and type checking passed.
  • fix(copy): use Chinese release guidance for Traditional Chinese
    Reuse the existing Chinese/English fallback for release headlines, the FRP help link and console language. Preserve the authored bilingual release body. Existing launcher/copy/update checks, five-locale rendered headline and destination controls, and TypeScript pass.
  • fix(copy): report password setup and storage contention accurately
    Current typed producers distinguish invalid password settings, hashing failure, denied admission and SQLite contention. Match those codes instead of treating any password sentence as a wrong password. RoomStorageInUse stays typed and serializes its code without a redundant room ID. The four Native hosted-room tests and the full 2521-test Web suite pass.
  • fix(app): explain device access at both site approval entries
    The existing one-time grant covers system sound, microphone, and remote desktop input as well as capture and webpage media. Reuse one catalog entry in the first-connect prompt and saved-site management. Chrome 156 validates all five languages and reachable actions at 320px; the read-only fixture changes no real approvals.
  • fix(copy): align site addresses and localized launch guidance
    Complete the existing role and address vocabulary in five catalogs and bilingual guide links. Translations own quick-start sentence punctuation through existing interpolation, reusing hosting/access meanings without language-specific component branches. One hundred related catalog, launcher and room-form checks pass.
  • fix(backup): commit account replacement with room restoration
    Keep the prior account durable until the portable room installation commits; close the imported live session before restoring previous in-memory state on cancellation. Preserve the imported account for confirmed or explicitly unconfirmed native outcomes. Explain intentional account replacement, and report failed browser persistence while finishing the committed room registration. Baseline interruption/storage controls fail; integrated session tests and independent restore checks pass.
  • fix(copy): distinguish sharers and public site addresses
    Remote input consent belongs to the selected sharer, voice policy to the room owner, and the launcher public address opens a site without granting room admission. Match existing catalogs, console and bilingual guides to those actual owners. Existing catalog/launcher controls pass, and the terminal assertions track the same labels. No authority or protocol changes.
  • fix(copy): name direct recipients separately from forwarding
    Core ForwardingBudget counts distinct kind and peer pairs across rooms; own publication fanout is a separate control. Match all five existing catalogs to those meanings without changing values or policy. Chrome 156 controls at 320px retain visible units and working steppers; catalog and integrated TypeScript checks pass.
  • fix(sharing): explain quick-start room scope before creation
    Share room creation reuses hosting and access descriptions from the existing form. Reused rooms are named, and offline rooms offer Open room without starting capture. The actual writer determines the location hint; App lifetime follows its process. Chrome 156 controls cover five languages, narrow layout and offline reuse; existing creation tests and integrated TypeScript pass.
  • fix(app): distinguish saved addresses from site access
    Do not offer new bookmarks for known Quick Tunnel origins. Keep existing entries readable, renameable and removable, and allow replacing them with stable addresses. Empty launchers prioritize opening an invitation and hosting; the star still opens site management, where saving and App approval remain independent. Match Web, native captions and guides across the supported copy catalog. Real HTTP API and Chrome desktop/phone controls pass, including legacy entries, exact provider matching and stable-address saves. Integrated types, build and relevant Web checks pass.
  • fix(ui): keep room controls usable through layout changes
    The shared room sweep fixes narrow stage sizing, caption overlap, covered chat reads, phone history, focus restoration, settings error placement and row alignment at their existing owners. Room and Network settings share one draft and save action. The two shell stylesheets are consolidated; hidden current-room links and obsolete grid rules are removed. The handbook, matching guides and four generated room screenshots follow the shared components.
    
    Chrome 156 interaction checks covered both themes, 320px phones, short windows, classic scrollbars, native-caption simulation, eight retained players, nested Back/Escape and room-tool popout. Full Web validation passed 2485 cases and exposed one assertion on removed hidden local-preview text; the preview identity now lives in the player accessible label and all 15 affected playback/layout checks pass. TypeScript and Browser SDK types pass. Actual WebView caption dragging and physical mobile capture are outside this browser check.
  • fix(ui): answer the owner's review of the room's details
    Ordering is part of a room's card: the handle stands where the disclosure stands and the
    two steps where the settings stand, with one line of note above the list. A room's card
    and the controls inside it give under a press and spring back; nothing lifts on hover.
    The row's state glyphs are one size and the disclosure is drawn at 16 px.
    
    Three edges that almost met now meet: the side column's line runs through the site's
    cell, the large picture of the focus arrangement is as wide as the strip under it, and
    its ring is drawn inside its box. The top row's two groups are parted by a short rule
    instead of a full-height line beside the side panel's edge.
    
    From the review of the pass: in a bar my other voice rooms are written between the room's
    name and its controls, where they are seen, and a desktop's bar is one line. The phone's
    top row and bar use the shared 44 px; the top row takes its second line at 370 px,
    measured on the room's own container.
  • fix(ui): align room controls with the approved layouts
    Minimal keeps named desktop voice actions, one room heading, a centred first-share action and profile access through the name. More retains its settings surface while its trigger moves. Folding keeps navigation marks and member faces aligned without replaying voice glyph entry animations.
    
    Presence uses actual online sessions, visible desktop tiles retain their own failures, and voice shortcut memory has one observation writer. Remove the unreachable bitrate section from global voice settings while preserving the room setting. Types and all 2464 Web tests pass; Chrome checks cover focus, drafts, viewport changes and the corrected focus-ring inset.
  • refactor(ui): replace the old layouts with one living room shell
    Full and minimal are two forms of the same room, with shared players, conversation and voice lifetimes. The room list now discloses room membership; the couch owns current-room interaction and the people panel keeps the site-wide directory. Retire the old workspace and quick branches and their private preference values without aliases.
    
    Keep remote-input state mounted when its picture is hidden and expose requests directly on narrow cards. Preserve the common menu in the rail, relocate the voice-name style to its surviving owner, and regenerate guide screenshots from the production room view. Real room voice/draft controls, responsive media-node checks, types and the full Rust/Web/protocol gate pass. Existing Git-heavy Web fixtures pass when rerun serially after parallel timeout.
  • fix(routing): distinguish connection repair from picture failure
    Retiring a physical pair does not declare its subscribed picture failed. Existing bounded repair keeps the viewing intent, and the shared surface shows neutral waiting until an input is assigned. Actual media-flow failures retain their warning through replacement and clear only on current decoded proof.
    
    Verified through Authority, writer and state integration, the existing room decoded-proof regression, and actual Core states decoded by Browser and rendered by Stage. No wire field, route algorithm, retry timer or budget is added.
  • fix(connections): make shared person identity visible above endpoints
    Open the existing same-person endpoint explanation when the graph contains one, and describe App-provided display without falsely assigning the App a receiver role. Endpoint grouping and route planning are unchanged. The four synthetic graph examples have been rendered in Chrome, including App-originated and App-received pictures.
  • refactor(room): align the living composition with the reference
    Place the desktop controls under navigation and keep microphone, listening and leave directly reachable on narrow surfaces. Retain the actual voice target when browsing changes; omit its repeated label only when the visible room already states the sole stable scope. Fitted pictures keep the same keyed players, and the room tool moves its trigger without duplicating its contents.
    
    Use the reference typography, tonal selection and shared surface owners. Preserve the room activity roster pending its owner decision, along with workspace and quick. Correct Native caption wrapping and make the Guide reflect its real fixed room rather than adding a presentation flag to product code.
    
    Combined source types and 36 focused UI checks pass. Chrome 156 verifies direct controls, same-instance media/tool movement, normal text and file composition, and the synthetic Native caption geometry. Existing layout samples match; exact living geometry and the final product entry still await cross-review. The remaining-room count is explicitly labelled as additional rooms.
  • feat(room): compose the living layout from shared activity controls
    Add an explicit living entry to the existing room preview, with persistent room-list folding, shared surface tokens, one retained room tool and independent voice rows. Keep device preferences with the person and App at the top-row end. Chat stays central without pictures; focused pictures choose a measured side or bottom thumbnail strip without recreating players. Existing workspace and quick entries remain pending the owner decision.
    
    Reuse the shared surface motion and reduced-motion policy, restore focus on drawer close and release pointer hits outside the shrinking rail. Couch marks share activity meanings and one person target. Settings portalled out of a detached tool follow their actual document. Do not expose unused multi-room shortcut or overlay target configuration before its scope is decided.
    
    Chrome 156 checks cover desktop and narrow layouts, both themes, two voice rooms, detach document context, media residency and reduced motion. Type checks pass. The full Web run passed all other cases; its old couch target assertion was updated for the shared person control and the affected UI tests pass on recheck.
  • fix(copy): name every use of the room forwarding default
    The room default also bounds voice and file sources. Align Chinese and English guidance with the existing per-kind authority and live-limit behavior; the focused Browser/WASM controls preserve separate personal forwarding and source limits.
  • fix(audio): report unavailable playback devices at the output owner
    Observe selected-device loss through the shared page owner and retain per-target rollback failures. Viewer and voice readiness follows the actual sink while the selected preference remains unchanged. Controlled unplug/replug and shared-context tests and the complete Web suite pass; physical audible output remains a separate acceptance check.
  • fix(copy): make occupied room recovery instructions direct
    Use ordinary product language for the same file-lock remedy and existing operator label. Only English and Chinese copy changes; authority and restart semantics remain unchanged.
  • feat(rooms): explain local hosting failures in room settings
    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.
  • refactor(client): remove components only the previews reached
    PawnDetail, RoomCodeInput, RouteTree, ShareFailureHelp and ViewerOverview,
    the room voice panel and its connection details, the participant topology,
    the relay volunteer limits and the media failure resolver were reached only
    from the development previews and their tests: an import trace from the
    product entry without its DEV routes, from site/ and from scripts/ reaches
    none of them. Their preview sections, the room voice preview hook and the
    troubleshooting checks that only fed the removed dialog go with them, along
    with their tests, their styles and the 51 copy keys nothing else uses, in
    all five locales.
    
    The document title helper stays: it is also preview-only today, but the
    visual language standard names it as the owner of document titles.
  • merge: take the storage-unavailable lane
    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.
  • feat(channel): say why this device cannot open a room it hosts
    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.
  • feat(stage): tell a viewer that no route to a picture is available yet
    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.
  • merge(review): add microphone modes and preserve playback intent
    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.
  • merge(review): integrate voice ownership and scoped Server forwarding
    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.
  • merge: take the push-to-talk lane
    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.
  • feat(voice): choose the microphone mode in voice settings
    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.
  • feat(voice): hold a talk shortcut for push to talk
    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.
  • feat(voice): gate the shared microphone for push to talk and voice activation
    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.
  • feat(forwarding): make Server forwarding an operator-controlled fallback
    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.
  • feat(screen): point a failed picture to a room's declined site forwarding
    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.
  • feat(voice): show connecting and connected voice from played audio
    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.
  • merge(review): integrate scoped design and lifecycle review
    Merge Claude's queue through 0e018ae7 with the reviewed guide, trust and 2.x/3.0 scope corrections. ADR-0018 and ADR-0019 remain proposals. Topology comparison keeps per-kind budgets, manual limits, generation fencing and measured failure detection.
    
    Complete the consecutive-source viewing fix by retaining the pending predecessor in the room surface, covered by the same 616 tests and real-browser controls. Track the separate local-launch credential and restored-attribution questions before public release.