Commit Graph
593 Commits
  • docs(adr): propose one vocabulary for extension
    The owner wants bots, API clients, plugins, new activities and providers to be the same kind of thing underneath, with built-in features on the same points, and the scaffolding designed now. ADR-0020 proposes it from the primary documents of the harness the owner named and of seven older designs, and from three designers who worked from the requirements alone: one vocabulary of points, contributions, scopes, kinds and static compositions; four places where code runs, with authority that never comes from being an extension; a kind with a fallback as the only thing that crosses machines; and a proof on one built-in feature before any point is promised.
  • docs(adr): propose the life of a message
    3.0 rooms keep history, so how a message is edited, deleted and found has to be decided, with the fewest rules that are still correct. ADR-0019 proposes them from a map of the present model and from how Matrix, XMPP and two chat services define the same things: edit by the author with no earlier version kept, delete as today, one revision per message, and search at the writer as a plain match. It names the five points of the stored format to settle before it is first published.
  • docs(adr): start topology improvement offline and decide moves by comparison
    The implementer's measurements and a reading of the tree change the proposal. A report every second is not free: every reported state change sends a full snapshot to every session, the room authority would hold private path facts, and Native lacks several counters. Frame counts are not comparable across layers or re-encoding. Stage 0 is therefore offline replay on exported diagnostics, a move is decided by comparing a candidate with the incumbent, observations open a comparison without deciding it, and capacity grows only on unmet demand with sibling proof. The wait after a silent parent death stays an open measurement.
  • docs(adr): propose quiet topology improvement
    The canon asks for a topology that keeps improving by itself without disturbing what works, and that nobody tunes. ADR-0018 proposes how: records and a shadow planner first, direct voice, capacity learned from what a node carried, placement by proved facts, and one proved move at a time for repair and promotion, with each later stage justified by the records of the first.
    
    It rests on two surveys of primary sources and on three designers who worked from the requirements, the canon and the verified evidence without reading the repository; the evidence note records where they agree, where they differ and which measurements are still missing. The three earlier rules stay: no weighted score, no media probe of an idle pair, no periodic re-solve.
  • docs(design): consolidate the founding model and public contract proposal
    Integrate the revised canon and proposed ADR-0017 from the cross-review queue. Preserve current instruction authority and limit a design hold to its dependent change. Correct the research scope for UDP collision probabilities and distinguish existing revocation from a proposed heartbeat lease.
    
    The public-contract ADR remains proposed. Implemented strict room commits and terminal-result validation have their own code commits and verification. Continuous topology improvement remains design work, supported by the existing stay/switch, idle-pair and voice controls.
  • docs(adr): separate what is settled before release from what waits
    ADR-0017 took the implementer's nine outcomes after the disputed facts were checked against the code. Five contracts are settled before the first public release, each with the reason it is costly to change later, and four wait for a consumer. The blanket claim that none could be corrected after release is gone.
    
    The design review corrects its description of the tree: the routing shape, the fanout range, the existing control-plane tests, the room writer written twice with no reachable difference, and the scope of the three NAT measurements. A full history page is 101 signed replies, which conversation.rs asserts.
  • merge: take the implementer's line through 35034f34
    The instruction file keeps the implementer's corrected precedence and gives the canon its place in the first layer. Below that layer a standard governs what it owns, so a principle that seems to contradict one is a reason to propose a change and not to set the standard aside.
  • docs(review): bound the proposed public contract changes
    Give each ADR-0017 proposal a scoped outcome from actual reader, storage, routing and WASM measurements. Preserve the shared-load and direct-path product goals while distinguishing them from an unproved mechanism. Track restored-history lineage, browser commit durability and unknown terminal results at the existing TODO owner.
    
    The concrete current batch passed the full corrected npm check with 2324 Web tests. Architecture proposals in the other branch remain proposed until the reply and factual corrections converge.
  • docs(todo): name the two shapes the topology design depends on
    The design for quiet topology improvement has to settle how dense the pool's standby connections are and what shape voice takes, because both decide which candidates the planner can improve with.
  • docs(canon): state the founding design in one place
    The owner asked for one place that holds the core design ideas, extracted from the existing records and stated generally, so that a founding idea is not read with the same weight as a default or a dated decision beside it.
    
    docs/canon.md states them, as extracted from every ADR, standard and 3.0 design document and corrected by the owner statement by statement. AGENTS.md puts the canon in the first layer beside the invariants and links it from Product in place of the sentences it repeated. The design review's dated list of decisions becomes a pointer to the canon. TODO gains the two pieces of work this leaves: a design for quiet topology improvement, and separating the canon from derived design in the documents.
  • docs(review): return the calibrated rules and runtime evidence
    Judge the complete review queue, record the identical fresh-model calibration outcomes and the scoped authority/recovery wording, and return the accepted interaction, storage and update corrections. Keep current private schema checks distinct from the first public compatibility decision. Remove only the completed interaction outcome from TODO.
  • docs(research): record the owner's four product decisions
    The design review left four questions with the owner. All are answered: the
    tunnel stays and IPv6 and port mapping are used alongside it; a Browser may
    relay by re-encoding under the present pool design, only when needed, by the
    same rule as every node; the room link is not end-to-end encrypted now,
    because the signed opaque payload lets it be added later behind a
    capability; and the desktop shell uses the system web view where it has
    WebRTC and the system browser otherwise, as the tree already does.
    
    Also record what the exchange established: P2P-first and keeping load off a
    single machine are founding decisions, and a change at that level is
    confirmed with the owner before anything else changes.
  • docs(adr): propose the contracts that must be fixed before release
    3.0 is unpublished, so a wire or storage shape can still be replaced without
    aliases or migrations. Two defects contradict what versioning promises and
    cannot be corrected once an App or a room store is in the field: Join
    requires one exact protocol number while readers reject unknown fields, and
    a room store opens only at one exact schema version with no upgrade path.
    
    ADR-0017 proposes nine decisions: a compatibility rule of matching major
    plus additions behind capabilities with tolerant readers, one schema source
    with generated declarations, one reply shape that tells a rejection from an
    unknown outcome, a state revision, commands addressed by scope with one
    activity envelope, storage versions with forward migrations, a room store's
    epoch and change sequence, one set of history rules with a durable Browser
    commit, and one encoding for bytes. It leaves the serialization format,
    SQLite in the Browser and the client engine's place to later decisions.
    
    The evidence is recorded as research: three designs written from the
    requirements alone, none of which saw the repository, set beside three
    audits of the tree. The review also records where the tree knows more than
    the designs, chiefly how a home-run site behind carrier-grade NAT is
    reached, and four product decisions that stay with the owner.
  • docs(review): hand off the remaining interaction outcome
    Accept the existing-owner reply proposal with room-scoped correlation, return the completed launcher and webpage-lifetime findings, and narrow the remaining Browser interaction work to its actual pending owner. Retain the JS connection decoder after the measured crossing cost; no new participant or decoding layer is assumed.
  • docs(review): return the verified admission and lifecycle results
    Reply to the latest Claude queue, retire completed admission and picture-in-picture work, and keep Native probe behavior and reply correlation as separate measured design questions. Correct the current parameterless-command reader description from actual Core parsing.
    
    Evidence includes the new Native/Server regressions, Windows WebView controls, shared storage samples, Browser content-hint and SDK probe controls. Unverified business delivery through the prepared-socket experiment remains open; no public compatibility or release claim changes.
  • docs(review): report the measured input boundary improvement
    Record local snapshot serialization reuse, remaining WASM work and verified
    authority invalidation. Keep broader boundary proposals separate from the
    small implemented optimization and its evidence.
  • docs(review): judge the framework audit by its owners and evidence
    Reply to all nineteen proposals and the frontend lifecycle additions. Keep
    experiments separate from model changes, retain the user's forwarding boundaries,
    and coordinate the admission implementation without overlapping edits.
    
    Record the newly merged QuickJS update as a follow-up rather than changing its
    pin without the needed evidence. Keep deferred work in the existing TODO.
  • fix(app): use native window activity for attended actions
    WebView can retain document focus after another Windows application becomes
    foreground. Project each Piik window's actual activation into its document
    and share that fact across message feedback, read markers, shortcut ownership
    and remote-input reset. Keep media visibility and room grants independent.
    
    The same real foreground-window transition reproduces silence and premature
    read advancement on beta.53, then triggers cues and preserves unread position
    on the candidate. Returning to Piik advances the cursor. Audio output was
    muted in the experiment; oscillator execution and completion were measured.
    All 2315 Web tests, TypeScript and the Windows capture-enabled App check pass.
  • docs(review): coordinate admission and document activity fixes
    Accept the reviewed history owner and UDP harness correction. Keep Native
    pending-resource identity separate from selected-player identity, and agree
    the minimum-supply admission correction with explicit SDK ownership and budgets.
    
    Reply with completed mainline and maintenance results, record the reproducible
    WebView foreground/read-intent bug, and assign non-overlapping review scopes.
    The internal beta.53 artifacts remain frozen at df2acc08.
  • docs(architecture): record the 3.0 core and answer cross-review
    Adopt the shared Rust core decision as the existing 3.0 architecture record,
    separating domain rules from its optional SQLite implementation and keeping
    user/accepted design authority above implementation evidence. Scope the replaced
    Go-backend decision to 3.0; public 2.x remains separately accepted.
    
    Answer every third-round item and request a failure snapshot from the machine
    that reproduces RTP lease reuse. Clarify that the earlier shared-future checks
    were local mechanism experiments rather than retained App integration tests.
    Keep unfinished package and field validation in the existing TODO.
  • docs(review): answer the cross-review queue and retain remaining work
    Record take, decline or defer for every queue item, finding and proposal, with
    the owning code, tests and decisions. Keep deferred work in TODO and ADR-0015
    proposed until the first RoomReader slice is agreed. Preserve local playback
    intent, legitimate file/watch differences and current protocol defaults.
    
    Merge the reviewer's clarification that a pushed reply triggers the next round.
    The one-writer mailbox is the response channel; no agent writes to the other's
    branch. Source changes are independently committed and the combined checks pass.
  • fix(watch): preserve sync intent and retire pending players
    Distinguish local timeline changes from autoplay refusal and present the matching recovery action. Stop YouTube, MP4 and native HLS acquisition after their owner closes. Remove repeated screen-selection cleanup and clarify the remaining RTC consent acceptance boundary.
  • fix(app)!: bind Android capture confirmation to its request
    Present the Android confirmation entry only after its capture is registered, and keep late intents scoped to that capture. Rejected desktop preparations no longer cancel another pending OBS source.
    
    BREAKING CHANGE: Internal Web and App builds must use App Control protocol 24. Domain protocol and saved-data formats are unchanged.
  • feat(transport): reuse native sockets and support TURN streams
    Native peers can use configured TURN over TCP or TLS and share ordinary IPv4 sockets within their endpoint runtime. Retire the last socket and gateway owner without interrupting sibling paths. Preserve explicit viewer playback errors, bound desktop decoder inputs, and stop copying cancelled retained files.
  • fix(routing)!: recover constrained paths through the shared pool
    Room planners describe authorized missing connections, and channel admission tries alternatives when a preferred peer is full. Retain completed pairs until payload grants take over, bound discovery advice by the existing frame limit, and detach retained file bytes before temporary cleanup.
    
    BREAKING CHANGE: Internal participants must use Domain protocol 44.
  • fix(runtime): update vulnerable dependencies and recover missing pages
    Use patched URL and SQLite releases, restore str0m to its verified registry release, and update the Vite patch lines used by app and documentation builds. Preserve existing wire and stored formats. Render unavailable document links through the shared error surface while keeping resource requests at 404, and clarify hosting ownership in the guides.
  • fix(client): keep playback and prompts scoped to current views
    Apply confirmed paused positions exactly and retire media permission requests with their documents. Keep reaction menus and connection hints tied to visible anchors and proven metrics. Narrow text reaction receipts to messages, avoid copying image data for history sizing, and align the shared guides and previews with their controls.
  • fix(client): retain actionable controls and release audio resources
    Keep remote-control approval and password actions visible through the shared playback owner. Centre avatars through Pawn geometry, reuse shared App controls and show loading only on the owning action. Acquire Windows audio event ownership before fallible registration and derive IPv6 presence from accepted ICE candidates.
  • fix(channel): retire obsolete work and preserve active selections
    Retire initial ICE probes, stale bot requests, completed cache sources, and duplicate chat effects at their owning boundaries. Preserve webpage selection across DOM replacement and screen selection handoff. Reduce hidden voice polling and playback overlay coverage, align participant state labels and shared popup navigation, and remove duplicate discovery and status representations.
  • refactor(runtime): consolidate media and conversation ownership
    Keep applied Browser quality in the media owner and submit each Native domain view to the RTC driver once. Propagate shared signaling failures to carrier recovery, bound Node history by the Core page contract, and reuse unchanged voice-level samples. Clarify room-writer and version-specific presentation responsibilities.
  • fix(runtime): serialize room views and preserve active encoders
    Read Browser room summaries after their storage turn, enqueue authority fanout in order, and validate ICE configuration before first-start persistence. Retain derived encoding incumbents during original-source handoff. Cancel attachment preparation promptly, refresh device choices on entry, and restore the complete known profile directory after reconnect.
  • fix(runtime): preserve source intent and isolate scoped failures
    Keep media selections explicit across refreshed catalogs and let page playback commands progress while buffering. Align file availability with eligible sources, restore independent rooms after policy refusal, and retain pending Unicode releases. Correct Android root failure reporting, bookmark refresh, lazy-module guidance and compact playback feedback; use the shared native modal backdrop for the title bar.
  • feat(app): add a voice overlay and refine room lifecycles
    Reuse the native room-tool window for a compact voice overlay. Preserve selected webpage players through unambiguous DOM replacements, keep activity presence through signaling recovery, and improve narrow playback controls and hybrid touch input. Reduce route capacity scans, tolerate added format diagnostics, and record bounded source-list outcomes.
  • perf(channel): admit concurrent connections and reuse interface state
    Bound in-flight work per channel and endpoint while preserving shared paths, recovery precedence and current connection proof. Reuse the runtime interface monitor instead of scanning before every peer, and remove one RTP payload copy.
  • feat(channel): pool connections and isolate activity lifetimes
    Reuse bounded channel connections for independently authorized room activities and retire the shared room-tree bootstrap. Keep current physical proof separate from recovery history and activity delivery proof.
    
    Preserve operation ownership across room replacement, source selection, microphone changes and native window retirement. Bound data sends before the channel is installed and recheck room grants at the final write.
  • refactor(channel)!: separate connection and delivery lifetimes
    Build shared connections from authorized intent before preparing payloads. Select source paths independently for media, files and webpage bytes, retaining healthy leases through handoff and signaling recovery.
    
    Channel protocol 39 adds the required screen-helper intent projection. App control and persisted formats keep their existing identities.