Commit Graph
481 Commits
  • fix(updater): retain cleanup identity through partial removal
    After record transfer, the handoff record owns retirement. Remove verified payloads before the plan, and permit only the remaining recorded entries when retiring an old program copy. Active installation checks still require the complete layout; unknown files and reparse points stay protected.
    
    Real Windows sharing violations reproduced both a missing plan after failed helper launch and a partially removed previous bundle. All 17 updater checks pass, including unlock and retry plus preservation of user-added files.
  • 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(updater): reclaim the registered interrupted download
    Register download ownership before creating its workspace, reclaim it under the existing App data lock, and transfer the record atomically to the existing installer handoff. Retained installation recovery stays independent. Portable installs use the registered original location; failed optional cleanup does not stop the App.
    
    A forced-exit control reproduced a partial orphan package. Fifteen Windows updater tests pass, including moving the portable bundle with the old workspace present or absent, retained handoff preservation, a locked record, retry, cancellation and shutdown.
  • refactor(chat): share committed reply and broadcast selection
    ConversationOutcome owns the direct replies and optional live broadcast for both room writers. Browser retains current-binding checks and reads current recipients after direct completion; Native retains its local-session filter. Deletion keeps recipients captured by the committed removal.
    
    Removes per-record Browser JSON/WASM classification without changing wire records or stores. New WASM and IndexedDB controls, Native two-reader WebSocket delivery, SQLite deletion and focused SDK tests pass; the integrated Browser package and types were rebuilt.
  • refactor(nat): prepare candidates on the original RTC connection
    Start bounded Native preparation beside ordinary ICE on the Core-authorized pair, with both ordered STUN surveys running concurrently. Adopt the authenticated socket and its reader into the same Runtime turn, preserve ICE/DTLS identity and existing deadlines, and retire only optional preparation on refusal, failure or queue pressure. Remove the replacement-attempt state, deferred normal signaling and old prepared-socket constructor.
    
    Domain 54 rejects mismatched private clients because initial UDP signaling and failure semantics change. Rust and Web constants move together; App 27 and stored formats do not change. The equal-step classifier, packet/socket budgets and ordinary routing policy are retained. TURN provenance remains bounded unknown when it cannot be proved.
    
    The matched sequential-NAT control delivers H.264, Opus and a verified file on the original pair. Core, Native, Server, Web/WASM and protocol gates pass; Android ARM64 and x86_64 JNI compile/link and ELF checks pass. The real Native Session fixture now acknowledges actual binding/revision output rather than waiting again for an already received sibling reply. The full Web suite passes 2451 checks. Established TURN migration and public network rates remain explicit acceptance work.
  • fix(terminal): name the launcher retry action after site failure
    Keep the existing O command and launcher-owned state. A confirmed site startup failure now names the retry action, while a status-read error retains the ordinary launcher action. The five existing terminal rendering and input tests pass.
  • test(app): exercise conditional ranges through the actual router
    Use the existing headless App HTTP fixture to verify complete responses for stale If-Range, ordinary partial ranges, and unaffected discovery and authorized launcher routes. The foreign-origin launcher request remains forbidden and the test joins service shutdown. No product-only observation hooks are added.
  • fix(server): print the running build identity at startup
    Fulfill the versioning contract using the same compile-time version and revision already read by the update checker. Print synchronously before any optional network notice, including development builds. The Server library checks compile and pass with the shared reader.
  • fix(watch): publish popup candidates while the opener is blank
    Retain the validated requested address for catalog display when the current selected view has no navigable address. Continue updating captions and the candidate catalog, including its final empty result; each candidate pageURL still exclusively decides original-page availability. App 27 and source authorization do not change.
    
    The Windows page module and AppPage/bridge controls cover a blank opener, a surviving HTTPS popup, opaque candidates and final removal. Interactive GUI execution remains outside this validation.
  • fix(updates): share cancellation completion through worker ownership
    A disconnected HTTP cancel caller must not consume the only completion receiver. Reuse the cancellation sender closed signal, which waits for the download worker to drop its sole receiver after settlement, and remove the extra optional oneshot. Repeated cancellation uses the existing operation identity and remains pending until the worker retires.
    
    The normal Owner request regression fails before the change and passes through the standard Cargo entry after it. Integrated Server library checks pass; distribution signing and publication policy remain held.
  • fix(app): keep page cancellation failures on their own request
    Return the candidate-stop dispatcher result through control_reply instead of propagating it out of the physical App socket. A closed page or timeout ends that operation while sibling readers and requests keep their connection.
    
    The real WebSocket regression receives EOF on the baseline and the matching page_player_closed reply with the fix, then successfully reads the original registered sibling. Integrated Server library checks pass.
  • fix(windows): retire webpage views when their renderer exits
    Observe WebView2 browser and main-renderer process exit through the view instance, then reuse the selected/last-window retirement policy. Keep recoverable GPU, utility and child-frame failures outside that scope, and remove the callback before dropping the view. Microsoft WebView2 process-event semantics define the terminal cases.
    
    Windows debug/capture compiles and the process-kind control plus eight existing candidate controls pass. Actual COM process-exit delivery and GUI behavior remain unverified.
  • fix(web): serve complete assets for conditional range requests
    The pinned ServeDir handles Range but does not evaluate If-Range. Strip Range at the static service boundary when a resume validator is supplied, returning the complete current representation instead of unsafe partial bytes. Ordinary ranges and API endpoints retain their existing behavior, as permitted by RFC 9110 section 13.1.5.
    
    The frozen beta55 Server reproduced partial responses for stale validators. The focused Rust HTTP controls and matching 2.x checks pass. No evidence links this condition to the reported virtual-LAN timeouts.
  • refactor(watch): keep page release and candidate mutation explicit
    Both production PageSuppliedMedia callers already supply a release callback. Require it, remove the redundant pre-commit mode guard, and leave candidate revision writes to the Sample owner while grant retirement only reads the previous resource. These are the three traced simplifications from review f26ac673.
    
    The eight Native candidate controls and the integrated Web ownership family pass; wire and saved formats are unchanged.
  • fix(rtc): adopt the upstream bandwidth-estimate deadline repair
    Backport str0m #1181 on the existing 0.26.0 fork and pin all three Native consumers to 9cd8827d. The SDK ignores unrelated early timeout wakes while fresh probe feedback can still update the estimate. No Piik quality policy or network timer changes.
    
    The upstream deadline regression and two recovery simulations pass. Seven Native transport/consent controls pass against the candidate sources, and the integrated published pin passes the selected-original bandwidth lifecycle control. The fixed-layer recovery measured 8.5 seconds, matching upstream's corrected nine-second assertion. Other lockfile selections remain unchanged.
  • fix(watch): preserve viewing across webpage source changes
    Keep the original-page group and watching intent when its selected player disappears; retire that candidate's grants and pending work, freeze the existing playback clock, and replace the next explicit source through the existing handoff. Native candidate identity owns the containing-page address and sample events, so a popup or prepared player cannot inherit another player's URL or buffering state.
    
    Separate an optional navigable website locator from the existing byte-source capability. Opaque indexed and MPD media remain forwardable without exposing a private manifest or inventing a root URL. Original-page entry and recovery use the actual locator. Private Domain 52 and App 27 change together; persisted room data and backup formats do not change.
    
    Independent red/green controls cover popup identity, opaque forwarding and candidate event isolation. The integrated Web suite passes 2433 checks and the complete Rust/WASM/protocol gate passes. The final retained-viewer recovery has 67 focused presentation checks and two producer-to-view controls. Native Page checks pass with the existing GUI test ignored; actual member websites and window interaction remain package acceptance work.
    
    The existing App cancellation test now checks its actual sole-waiter scope; the separate multi-reader Session regression proves that canceling one borrower preserves the others. No timeout was enlarged or failing assertion suppressed.
  • fix(app): keep readiness notification separate from terminal input
    An embedded host's readiness subscriber does not request an interactive console. Remove ready.is_some() from terminal eligibility while preserving the existing browser-mode, page-player, environment and TTY checks.
    
    Reviewed the desktop, WebView fallback, Android and HTTP-fixture entry paths against the existing guard. This one-condition correction adds no state or new configuration; no App GUI launch is claimed.
  • fix(storage): reject unsupported App settings before schema writes
    Make the existing SQLite format zero an explicit local owner and refuse other versions before DDL. Current approval scopes, namespaces, startup and bookmarks are unchanged; actual writer/reopen controls and byte-preserving newer-format rejection pass. The proposed public baseline now includes App settings and Browser identities alongside room/domain stores.
  • refactor(app): let the Domain initialize its own authority
    Generate the local owner key only when creating the Domain checkpoint. App settings keep their permission namespace and stop creating a duplicate secret. Existing and restored Domain keys remain authoritative; explicit Server seed configuration is unchanged. Focused startup, consent, restore and ticket controls and the full Rust/Server/protocol gate pass.
  • chore(diagnostics): name the pending App host shutdown
    When existing debug diagnostics are enabled, print entry and completion around the owned host-task join. Keep waiting and retain the existing shutdown owner; add no timeout, abort or recurring logger. Capture-feature compilation passes.
  • fix(build): resolve Windows resources from the current source root
    A reused build-script executable retained an obsolete archive path through env! and could no longer find the App icon. Read the Cargo manifest directory when the build script runs, as documented by Cargo. The same cached executable now compiles resources from both the checkout and a frozen archive; Windows capture-feature checks pass without clearing the cache.
  • test(network): keep the kernel fixture aligned with discovery
    Use three distinct isolated STUN addresses, as the production survey requires, and collect namespace process diagnostics with portable ps columns. The actual kernel preparation and media comparisons executed these fixture corrections; no host networking changes are retained.
  • merge(review): let socket replies progress during room registration
    Take the independent writer task from bb6eaf64 and yield after each buffered reader turn. A real single-worker server then acknowledges all 32 room registrations instead of closing after 16. Writer stop and panic cleanup, slow-writer liveness and private-room restart checks pass. The private-room fixture now retains an already received ready state rather than expecting a duplicate.
  • fix(server): give a connection's writer its own task so a burst of requests cannot starve its replies
    One task read and wrote a connection through a select. The reading branch
    dispatches a request and reads the next without yielding while frames are
    buffered, so the writing branch did not run until the burst ended. A room
    host that reconnects registers every room back to back, and each registration
    puts four events on its own queue of 64. Measured on a real Server with its
    own Native host: at 32 rooms the seventeenth registration found the queue
    full with about one event drained, the host was closed, and it reconnected
    into the same burst 57 times in a minute without one room coming back. At 16
    rooms the queue peaked at exactly 64.
    
    The writer is now a task of its own, owned by the session through an
    abort-on-drop handle, which is how a WebSocket with an outbound queue is
    usually arranged. Nothing else about the session changes: the same queue,
    the same close signal, the same drain at close.
  • refactor(web): use the canonical channel entry
    Remove the duplicate channel-preview route and move its launcher, owner-link, acceptance and documentation callers to the existing root URL. Query and invitation fragments retain their meaning. App launcher and component preview routes stay separate. Route, session and built-server protocol checks pass.
  • fix(server): await shutdown when the owner link ends
    Signal and await the existing service shutdown instead of dropping its future when owner IPC fails. Preserve the primary IPC failure and ordinary signal shutdown. Server lifecycle checks and matching protocol acceptance pass.
  • fix(windows): retire the tunnel with its parent process
    Reuse the encoder child Job for the tunnel, with a standard OwnedHandle. An owned helper demonstrated that kill_on_drop alone leaves a child after abrupt parent exit; the existing kill-on-close Job ends it. Actual tunnel-owner controls and Windows capture-feature compilation pass. No global scratch purge is introduced.
  • fix(app): keep registry reads available during restore
    Retain one exclusive host-creation fence through retirement and atomic Domain replacement while releasing the registry for launcher and approval reads. Successful and rejected HTTP restore controls preserve authority and block new host creation until completion. The existing cancellation, backup and complete Server checks pass.
  • fix(server): exclude writer work from socket idle time
    Keep ordered dispatch and the existing twenty-second read timeout. A real local WebSocket control answered five Pings during a delayed writer turn but was incorrectly closed; timing only the next read preserves the connection and command order. The complete Server suite passes.
  • refactor(app): use one control reply envelope
    Completed operations retain their authorization, cancellation and cleanup owners and pass results to the existing reply helper. Remove repeated envelope writers. Existing App lifecycle controls, complete Server checks and Windows capture-feature compilation pass.
  • refactor(conversation): deliver one signed history page
    The writer already produces a bounded complete page and readers publish it atomically. Remove the per-message/reaction envelopes and Browser/Node reassembly, retaining request, binding, transaction and live-change owners. The mixed-page component control cuts serialized bytes by 47.4% and signatures from 101 to 1. Advance private Domain wire to 51; stored formats are unchanged. Core, actual IndexedDB, Server, Node and protocol checks pass.
  • fix(routing): preserve recoverable paths and adopt proved spare branches
    Keep current-socket disconnect observations separate from confirmed pairs. Existing room operations prepare and commit an authorized confirmed alternate, recheck every leg, preserve independent candidates through ancestor retirement, and reject late proof after recovery or a personal zero limit. Native reads SDK-owned send consent and retains established media; expiry uses the existing retirement boundary, including ICE Checking. Remote input releases on lost notifications and rechecks permission at the final write. Pin the existing SDK fork query at 5f1f6346 and move the private Domain wire to50, without changing stored formats or App26.
    
    Core, Native, Server, rebuilt WASM, protocol and 2389 Web checks pass, with Windows capture compilation. Matching frozen Browser/Native/Server controls verify actual decode, same-pair recovery, exact candidate adoption, late-proof cancellation, zero capacity and Native expiry. The final Checking-state regression and valid ICE restart control pass. No field NAT-success rate, cold three-hop discovery, Native GUI or physical-capture claim is made.
  • test(browser): verify current drawers and media on the selected engine
    Replace obsolete always-visible roster and old menu selectors with actual chat, room and people controls, retaining focus, draft, session and player assertions. The full five-Browser gate passes on Chrome156. Record the version-scoped Chromium152 reproduction and the passing current-engine controls; no media workaround or browser allowlist is added.
  • docs(review): distinguish relay evidence by the tested runtime
    The same reduced and complete product sequences pass on current Chrome156 while Chromium152 reproduces the rVFC-related stall. Keep product behavior unchanged and record the actual engine. Coordinate the remaining UI acceptance and G50 runtime controls with Claude.
  • test(media): distinguish receipt from local audio decoding
    Actual Chrome controls show deafen retains RTP receipt and two-output relay forwarding while an unplayed leaf stops decoded-sample counters. Keep decode assertions for actual listeners. Record the separately reproduced relay-unwatch video stall as unresolved, rejected candidate fixes and pinned SDK consent-window evidence; request independent Claude review.
  • merge(review): consolidate private room contracts and their readers
    Take Claude C2 at 53bea0a6 and the reviewed private contract batch. Viewer audience owns failure; invitation payloads use correlated replies; Core owns fixed observation limits; HostInput requires hosting mode; invitation digest derives from its retained key. Domain wire49, room SQLite11, IndexedDB9 and room archive4 refuse old private formats without mutation; unrelated formats retain their generations. Core/Native/Server, rebuilt WASM, five live protocol cases and 2388 Web tests pass; actual Browser storage checks pass. Broader media acceptance found a separate relay-unwatch decode stall and remains blocked; no runtime workaround or release is included.
  • feat(server): issue owner links through a local operator command
    Reuse the existing short-lived single-use launch ticket behind OS-scoped local IPC. Bind the operator endpoint before readiness and retire it with the Server; no network administration route or new identity is introduced. Windows and Alpine package controls pass for issuance, replay, credential reload, expiry, shutdown and cancellation. Linux denies another UID; Windows ACL was reviewed but an alternate-user run was unavailable. Native pipe cancellation and the six integrated binary tests pass; Android locked metadata remains valid.
  • refactor(core): a viewer reads delivery failure from its own audience entry
    The room carried the same fact to each viewer twice. Every snapshot had a
    failedSubscriptions list for the recipient, and every screen publication's
    audience already listed the recipient's session with the state failed. Both
    came from the publication's record of failed receivers over the sessions that
    watch the screen, and the Domain retained, validated, paused and merged them
    in matching ways.
    
    The audience is now the one carrier. The core no longer projects, retains,
    validates, pauses or merges the list, and the wire snapshot no longer has it.
    The audience validation already requires each entry to belong to an
    authorized, subscribed viewer of a screen.
    
    The client finds its entry by its own session identifier, never by user,
    because one person can watch the same screen from several endpoints. The
    projected view already drops this page's own entry when the page has stopped
    watching locally, so a screen unwatched before the room sees the unwatch still
    does not show as failed. The room preview's failed picture now comes from the
    viewer's own audience entry.
    
    No protocol, storage or format version changed: the owner batches wire changes
    and bumps once.
  • 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.
  • merge(review): give the 3.0 documentation one owner per contract
    Take Claude b4c96a79 after independent semantic and engineering reviews. Preserve current remote-control, playback, language and media rules while removing duplicate 2.x copies. Actual VitePress build exposed missing Chinese deployment and unpublished-reference routes; repair both and verify generated links plus publication tests. Browser preview startup was rejected by automatic review, so this does not claim rendered documentation acceptance.
  • fix(server): refuse recognized 2.x startup configuration
    Both official 2.x Compose definitions inject PIIK_ENV. Refuse that configuration before frontend loading, listening or data initialization, with a clear version-specific remedy. A bounded actual-executable test verifies refusal and untouched data; Rust/Web/WASM/protocol integration checks pass. Unmarked manual legacy setups are not detected by this guard.
  • refactor(app): store startup preferences in one format
    Use the existing tagged JSON for every startup choice. An unreadable private preference opens the launcher for reselection; database failures still propagate. Windows startup and long-path persistence controls pass, along with the Rust/Web integration gate.
  • fix(rooms): construct host policy from the accepted summary
    Native creation installed the default 64 kbps policy even when its accepted room summary advertised 96 kbps. Core now constructs the policy for Native and Server, retaining private caller choices. Default and nondefault policy regressions, Rust/Web/WASM/protocol checks and all 2385 Web tests pass.
  • docs(standards): give playback ownership and small 3.0 rules their owners
    Playback ownership moves from the 2.x presentation lifecycle copy into
    media-status.md beside its evidence boundary, restated as the 3.0 player
    behaves: one element per received input owns its frame proof, the displayed
    element owns playback, picture-in-picture and fullscreen, and a candidate keeps
    the local pause and volume when it takes over. Typed playback facts, the
    decoded-frame silence rule and local candidate addresses join the evidence
    boundary. Viewer listening gain joins media-quality Screen Audio, and the
    two-second idle delay joins the visual language.
    
    The remaining fragments go to their 3.0 owners: the room voice ceiling to
    media-quality, the rejected-candidate distinction to the network model's
    existing sentence, App discovery and consent and the Browser debug report to
    the Server README, and the preference-restore rule to the room-data model.
  • refactor(app): separate control admission from ready operations
    Every valid operation now passes the shared Hello admission phase before dispatch. The ready loop owns a concrete host sender, while the outer connection cancellation and timed writer remain unchanged. Failed Hello can retry on the same socket. Independent producer review, 87 focused App tests, integrated Server tests, matching Native-session controls and the capture-enabled Windows build check passed.
  • refactor(server): remove the limits route nothing calls
    The Browser reads attachment limits from the core through WASM, and no client,
    script or test in the repository requests this path. The Server's 116 library
    tests pass.
  • fix(hosting): complete room creation by its owning session
    Confirmed creation failures now broadcast reservation removal, including after the requester resumes on another connection. A lost writer reply retains the reservation because the SQLite room may already be committed. Cancellation uses the captured session identity and the shared Core effect owner. Regressions reproduced the stale snapshot and resumed-connection leak; actual-commit lost replies and subsequent creation pass. Explicit Native admission errors retain their existing meaning.
  • fix(backup): bound operator room restores through installation
    The authenticated site-owner route now acquires the same room restore slot and upload budget as the per-room route. RestoreRoom retains the permit through installation, independently of archive shape. The original handler consumed the body under an occupied slot and returned 400; the corrected handler returns 409 before polling it. Full integration and backup tests passed.
  • fix(app): preserve focus when pinning voice overlays
    Owned-window traces reproduced a pinned transparent overlay retaining foreground after creation. Carry the opener foreground intent into Tao and Wry creation, avoid initial caption focus, and return focus on pin only when the popup owns it. Native controls verified initial pin, adjustment, Escape, background opening, pointer passthrough, title-bar dragging and room return while voice stayed joined. The current Windows capture-enabled app check passes; no new window mode or IPC is introduced.