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.
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.
Display capture stopped setting "motion", so the automatic codec
preflight's clone inherited an empty hint. Chromium then keeps the
desktop source's screencast flag, and every default probe encoded as
screen content while a Balanced or Fluency share encodes with "motion".
The H.264 decision was made on a configuration the share does not use.
preferredVideoCodecForTrack now takes the sender's hint and sets it on
its clone. startScreen passes screenContentHint for the stored
preference and the track's display surface, the same mapping
configureVideoSender applies. The relay probe in media.ts passes none
and is unchanged: it probes a received track, as before. The
media-quality standard names the preflight among the hint's readers.
Verified: npx tsc -b --pretty false; npx vitest run (159 files, 2360
tests), including new tests that the probe clone carries the given hint
without touching the source, and that startScreen passes "detail" only
for Clarity on a display surface.
Every Browser screen share was hinted "motion", which turns off Chromium's
screen-content encoding, so text could be downscaled to keep motion even
when the person chose Clarity. The stored picture preference already
states that intent, so one pure function, screenContentHint, now maps it:
Clarity gives "detail" on a display surface; Balanced, Fluency, cameras
and received tracks keep "motion". Balanced stays "motion" because
Chromium turns an explicit "balanced" into maintain-resolution under
"detail", which would collapse three choices into two.
The function is the single owner of the hint. Display capture no longer
sets one. cloneSenderVideoTrack takes the hint instead of falling back to
"motion" and still copies it to the frame-forwarding track, so the first
configure need not rebuild the codec. configureVideoSender sets the hint
from the profile whenever no carrier is active, so a live edit and its
rollback restore it; the pool carrier keeps its own transport hint. The
pool producer clones with the mapped hint. Start-up protection becomes a
configureVideoSender flag that overrides only the sender's degradation
preference, replacing startupVideoProfile, so it cannot reach the hint.
No setting, default or per-choice degradation preference changes. The
media-quality standard now states the mapping.
Tests whose expectation changed: quality "bounds initial capture to the
selected profile" (capture leaves the video hint empty), "holds resolution
only while a scaling preference starts" and "leaves picture cadence with
the producer..." (startupVideoProfile removed; the latter uses the flag).
The sender-video-track clone helper passes a hint for the new signature.
New tests cover the mapping, a clone, a live edit, a rollback, start-up
and a camera at the quality, clone, producer and transport boundaries.
Verified: npx tsc -b --pretty false; npx vitest run (159 files, 2355
tests). Encoder behaviour under each hint still needs a lab measurement.
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.
Seven records carried founding ideas or 2.x mechanisms without saying which still holds for 3.0. Each gains a scope line. The naming standard records the two words that changed meaning between the generations: a room's host, and a relay as distinct from server forwarding.
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.
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.
Integrate the reviewed interaction follow-up with exact subscription correlation. Unknown and late replies cannot close or activate another owner. Delivery failures preserve the logical reaction request and nonce, including retries, while a signed writer rejection retains its distinct meaning.
Accept the instruction layering with scoped corrections: current user authorization remains authoritative within system/developer bounds, failure recovery is distinct from feature state, and Core extraction must reduce ownership cost. Fresh old/new policy evaluations chose the same six outcomes; this supports clarity, not a claim that the prior rules caused over-handling.
Validation: two new counterexamples failed on the incoming interaction commit; the corrected client suites and wire metadata control passed 640 tests and TypeScript. Policy and documentation checks run through the repository hook.
The project said when to handle an edge case in about seven places: two
bullets in AGENTS.md, several implementation rules here, and Ponytail and
Stop That Shit. None gave a test. AGENTS.md required agreement before adding
a mechanism for a speculative race, then exempted "reachable defects", so
anything that could be shown to happen in principle counted as required.
A sample of 105 commits from the active line whose subjects named keeping,
preserving, recovering or racing shows where the weight comes from. 77 were
already the smallest correct response, and 36 of those were a currency
check, an ordering fix or a deleted limit with a median of one or two lines
and no later repair. Every repair chain found, ten of them, began at a
commit that introduced new state, a timer or a fallback. Four of the 105
cite an observation; the reasoned-only ones were the largest.
So the rule sorts by mechanism, not by "edge case". A condition with a
specified outcome is behaviour. One without stops where it is detected and
its owner recovers by the path it has. Cheap responses need no reason. New
state, a timer, a retry, a fallback, a queue or a second copy of a rule
needs one of five named reasons, and reachability is not one of them. It
rests on Armstrong's thesis (handle an error where it can be corrected, do
not program defensively), the end-to-end argument (one layer owns
recovery) and fail fast.
Removes the bullet "When a transition fails again", which the new section
covers, and points Ponytail at the section instead of restating it.
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.
8261f7e7 moved a room's confirmed history window, paging facts, removal
markers and pages under assembly into RoomHistory. The source index still
named message-history.ts as the Browser history window. Link room-history.ts
as the owner and keep message-history.ts as the window rules it applies.
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.
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.
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.
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.
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.
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.
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.
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.
Scope file failures to their requests, preserve accurate route failures and validate Server settings before initialization. Repair source capability and observation lifetimes, restart failed WASM loading, and align playback, input and read-marker state with the owning operation.
Reuse the published help navigation and theme while preserving 3.0 workflows. Record matched webpage retry and OBS restart acceptance at their existing evidence owners.
Apply channel creation and moderation rules at the room and directory owners. Reuse confirmed connections across sources, admit forwarding per payload, and preserve a working subscription when a relay leaves.
Private builds use channel protocol 31, App control protocol 21 and the versioned room history format.
Expose current file senders and receivers to authorized participants. Show their active voice, screen, viewing and file roles together across endpoints. Preserve directory pagination for the same identity across reconnects.
Private channel wire 28 replaces realtimeSessionIds with fileActivity. Deploy matching 3.0 App, Server and Web builds.
Remove the generic twenty-second readiness deadline and follow actual media errors, source withdrawal and cancellation. Retire App links once and remove unused private input projection fields.
Require policy values and existing architecture to justify their present purpose. Rust/WASM/protocol checks, 1632 Web tests and Windows capture compilation passed; a controlled cold route delivered media after 30.6 seconds while preserving sibling voice.
Keep More options as an ellipsis and expose bookmarks beside App status. Reuse verified management and theme state, remove the obsolete connection-management branch, and align language markers with their adjacent menu arrow.