The owner accepted both records on 2026-11-25. ADR-0016 becomes the 3.0
architecture owner in the documentation map, and ADR-0012 stays accepted
for published 2.x while being superseded for 3.0. Steps 4 and 7 of
ADR-0015 still wait for the refinements the implementer named.
The mailbox tells the implementer about these decisions and about two
more: field data stays in local diagnostic counters, and relay preference
will be proposed as a capability tie-break amending ADR-0005.
The 3.0 line replaced the Go backend with one Rust core executed by
Browser, Native and Server adapters, but no record states that decision
and ADR-0012 still reads as the accepted backend.
Record it as proposed: the core owns admission, room authority,
conversation rules, plans and leases and performs no I/O; the hierarchy is
channel, room, activity with one writer per room; hosting mode places the
writer; media stays peer-to-peer first with ICE and congestion control in
WebRTC and the RTC SDK. It supersedes ADR-0012 for 3.0 only, and it says
which document has authority when the research documents and the code
disagree.
Drafted at the implementing agent's request in the cross-review mailbox.
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.
The room retains the original source and current successor for its subscribed
viewers. Ordinary snapshots project that typed predecessor, including when a
viewer misses more than one replacement. Local playback and receiving-method
choices remain with the Browser.
Remove one-shot channel event decoration. Joining, leaving, access loss and
session expiry retire the room record. A leave for an already-retired screen
is routed only through that viewer's authorized pending handoff.
Core regressions exercise both cross-kind chains, session recovery, revocation,
fresh sessions and independent viewer exits. Shared Web schemas and Native
constructors use the same pending Domain 46 contract. The existing network
design owns the lifecycle; no persisted-data format changes.
Accept the shared byte-distribution owner, supervised transport retirement,
distinct random-port probes, software keyframe interval and lazy-load retry.
Preserve the review branch's commits and authorship.
Use the one-writer cross-review mailboxes. Narrow the proposed lifetime rules
to demonstrated ownership problems rather than requiring a universal interface
or a restructure after every repeated fix. ADR-0015 remains proposed.
Use the active prototype as its explicitly scoped pre-cutover base and invoke
the vcpkg bootstrap by a fixed relative path. Independent trace reviews and
the queue's recorded controls support these choices; combined checks follow
with the concrete mailbox fixes on the same development branch.
Keep a borrowed page and its active media reader alive while the host inspects
another player. Commit the candidate only after the room accepts it, then retire
the previous reader through the page owner. The native caption reopens the same
source chooser without navigating the logged-in page.
Validation: 2298 Web tests, TypeScript, Windows same-page A/B cancellation and
commit controls, 41 current Windows page tests, Linux page tests and both Android
ABIs. Two cancellation assertions were updated to expect the released empty slot.
The ownership and source-selection contract is in channel-network-design.md.
The searching side of a random-port preparation sent 512 requests but
cycled twice over the same 256 ports. Coverage, not the number of requests,
sets the chance that a probe reaches one of the peer's 256 mappings: with M
mappings and N distinct targets in a pool of R ports the idealized hit
probability is 1 - exp(-M*N/R), as docs/research/nat-traversal.md records.
For M = 256 and R = 64,512 that is 63% at N = 256 and 87% at N = 512, for
the same packets, pacing and deadline.
A second pass over one set only protects against a lost request, and it
loses to distinct targets at any loss rate: at 30% loss the repeated set
covers about 233 ports and the distinct set about 358. The peer signals
Ready after its mappings exist, so a first probe is not early.
The request budget stays 520 and the pool side is unchanged. Lab evidence
in nat-traversal.md was taken with 256 targets and is not re-measured here.
Reference: https://tailscale.com/blog/how-nat-traversal-works (birthday
search against a hard NAT).
room.rs conflicted where the active line added Watch.replace_id beside the
parents and refused fields that the queue moved into ByteTree. Both are
kept: Watch carries replace_id and one ByteTree.
A second agent now reviews the 3.0 line. CONTRIBUTING gains the protocol:
the reviewer keeps refactor/claude-review as a patch queue on top of the
active line, one behaviour per commit, and neither agent commits to the
other's branch. Each agent writes one mailbox addressed to the other, so
synchronizing cannot conflict, and a mailbox holds only what its reader
still has to take or decide; commits own what changed and why, standards
own lessons and Git owns history.
Mailboxes are named for their reader (to-codex.md, to-claude.md). A file
named claude.md is loaded as an instruction file by Claude Code on
case-insensitive filesystems.
CLAUDE.md imports AGENTS.md, which Claude Code does not read by itself.
The first to-codex.md carries the notes for this queue, ten verified
findings that are not fixed here, and the open questions.
ChannelSession holds the domain connection and every activity a page can
start in one 4,000-line class, reconciled by one function and fenced by a
different predicate at each await. It absorbed about 140 fix commits in
thirty days, most of them carrying one lifetime's state across another's
transition.
Propose applying the one-owner-per-lifetime rule to it: owners with a
signal, a reconcile over raw snapshots, one retirement and a projection;
the view as output only; operation failures returned to their callers;
identity replacement moved to the session's owner; and constructor seams
first, so the tests stop writing private fields. The steps are ordered so
the line can merge between them.
Status is proposed. Nothing is implemented by this commit.
The lifecycle rule had grown into one 28-line bullet. Four lines stated the
invariant and the rest were clauses added by individual fixes, which the
document's own rule against incident-specific exceptions forbids. It also
told the reader what to re-check after every await without naming a
structure that makes the check unnecessary, so a type could satisfy it at
each call site and still hold a dozen lifetimes in sibling fields.
Regroup the same content under the structure that makes it hold: one owner
per lifetime with one cancellation signal and one retirement path. Add the
two rules the audit found missing: a parent observes its children's exit by
any cause, and a second repair of the same transition means the owner is
restructured rather than guarded again. New clauses now need an invariant
that holds beyond the case; the case itself stays as a regression test.
Ponytail gains the matching check to run before adding a flag or option.
Align the remote keyboard setting with the existing switch control and remove its custom checkbox styling. Correct the App guides to describe native Windows entry, browser alternatives, bookmarks and startup preferences separately.
Retire quoted content after explicit access revocation without dropping drafts during a room writer restart. Bind a pending file picker to its original conversation, keep room record actions independent, and clarify narrow terminal help and local-network troubleshooting.
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.
Present the Android confirmation entry only after its capture is registered, and keep late intents scoped to that capture. Rejected desktop preparations no longer cancel another pending OBS source.
BREAKING CHANGE: Internal Web and App builds must use App Control protocol 24. Domain protocol and saved-data formats are unchanged.
Native peers can use configured TURN over TCP or TLS and share ordinary IPv4 sockets within their endpoint runtime. Retire the last socket and gateway owner without interrupting sibling paths. Preserve explicit viewer playback errors, bound desktop decoder inputs, and stop copying cancelled retained files.
Room planners describe authorized missing connections, and channel admission tries alternatives when a preferred peer is full. Retain completed pairs until payload grants take over, bound discovery advice by the existing frame limit, and detach retained file bytes before temporary cleanup.
BREAKING CHANGE: Internal participants must use Domain protocol 44.
Use patched URL and SQLite releases, restore str0m to its verified registry release, and update the Vite patch lines used by app and documentation builds. Preserve existing wire and stored formats. Render unavailable document links through the shared error surface while keeping resource requests at 404, and clarify hosting ownership in the guides.
Apply confirmed paused positions exactly and retire media permission requests with their documents. Keep reaction menus and connection hints tied to visible anchors and proven metrics. Narrow text reaction receipts to messages, avoid copying image data for history sizing, and align the shared guides and previews with their controls.
Keep 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.
Keep launch metadata in the room fragment so same-site invitations retain the document and active sharing. Preserve confirmed microphone state during capture permission, acknowledge confirmed empty history, and retire local watch intent through writer recovery. Consolidate actionable App guidance and distinguish local and invitation addresses. Move signed payloads without copying and import only the semver functions used.
Start the existing NAT64 lookup when initial ICE gains its first usable IPv6 address, and retire it at nomination. Distinguish unsupported OBS offers from observed SPS limits. Keep invitations bound to their room and preserve usable playback controls in short windows.
Retain image previews up to 1280 pixels within the existing message budget, supplied by the shared Core limit. Require Domain 43 for new image writes while preserving App Control 23 and existing storage and backup formats. Hold the channel directory lock with its last writer and remove redundant storage locking. Align compact header branding and reuse the shared native drag region.
Release unsent file frames by request without disrupting sibling traffic. Build route-repair views only when needed and retain only capture scope and acknowledgements after commands are sent. Keep pane navigation and keyboard focus coordinated, and guide incompatible saved data back to its owning version.
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.
Return authenticated typed replies from the Core receive boundary and remove repeated adapter signature verification. Preserve current host, binding, recipient and room checks. Keep the latest same-room invitation after an earlier request completes, and clarify hosted versus lightweight deployment guidance.