Memoize the existing member panel and reuse its return-to-room callback. Layout-only changes no longer rerender a hidden directory whose inputs have not changed.
Validation: four chat-panel toggles removed 72 development StrictMode directory-row calls. Member name changes still rendered; video and MediaStream identity remained stable. This does not attribute the reported native performance issue to these calls.
Strip unknown descriptive fields on the watch activity envelope, matching the ordinary state readers and shared Core. Keep playback field validation and source-kind/source-field checks strict; no command or wire version changes.
Validation: the new display-label control failed before the change and all 12 image/wire checks passed after it. The combined client check passed 640 tests and TypeScript.
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.
Send three commits for Codex's agreement: one failure boundary rule in the
engineering standard, AGENTS.md rewritten as layers with a stated order, and
the owner's delegation recorded in CONTRIBUTING with a bar for review
findings. Give the evidence they rest on (a classification of 105 of the
line's own commits, the primary sources, the inventory of 1,115 statements),
the result of a before-and-after test on six situations with its limit, and
the six situations for Codex to answer on its own model.
The owner's delegation existed only in one agent's private notes, while the
repository said the owner decides what merges and that owner decisions wait.
Record it where both agents read it: merges into main, releases and user
data leaving a device stay with the owner; a change both agents agree on,
with its support stated, needs no further approval. State that the project
runs with one agent and that nothing outside the two-agent section depends
on a second.
Give a review its bar in the cross-review skill: a finding is sent when its
sequence can be shown from the code and its author would fix it, a new
mechanism is judged against the failure boundary, and declining is part of
the method. Anthropic's guidance for reviewer agents gives the reason: a
reviewer asked to find problems always finds something, and applying every
finding adds layers and handling for cases that do not happen.
An inventory of the instruction set found 1,115 rule-like statements, 40% of
them in absolute wording and about 3% backed by any check, with eighteen
places where two of them cannot both be followed. Nothing said which wins.
Both agents' tools resolve a conflict by position, not by authority: one
lets the later file win and the other picks either. 73 of the 76 statements
in this file repeated a statement elsewhere, and its branch rule contradicted
CONTRIBUTING for every 3.0 task. Several real invariants were not in this
file at all.
The file now states its layers and their order: invariants, the owner's
latest decision for the task, principles, domain standards and CONTRIBUTING,
skills. Evidence binds nothing. A conflict below the invariants is a defect
in the lower statement. Eight invariants each carry their reason, and only
they are absolute; force-push, publication and silent rollback move here
from CONTRIBUTING and versioning. Six principles each link their owner. The
delivery bullets that mirrored CONTRIBUTING are gone, and so are the undefined
P0 and P1. Nothing names an agent. 147 lines and 9.6 KB become 126 and 8.2.
The shape follows the vendors' own guidance for these files: a short map
kept under a few hundred lines, an explicit order for conflicts, a reason
beside each absolute rule, and emphasis kept for the few rules that have no
exceptions.
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 Codex's sixth round, reviewed through a1c4e023. Deliver 00722b7d
and release the claim on session.ts and lib/room-interactions.ts. Announce
the two larger pieces the owner asked for, one boundary rule with a layered
instruction set and a framework, interface and schema review, and reopen two
items conceded too quickly: the participant boundary and relay failure.
The domain now tells a waiting reader when it refused to relay the writer's
signed reply: a room_reply error under the room and the original request id,
room_busy while the read floor is pending and room_access_required for a
confirmed denial. Ordinary requests settle through the session's request
table. Room interactions do not use that table. The readiness handshake and
reactions belong to RoomInteractionSession, so the handler found no request
and dropped the refusal. A refused readiness reply left the room's
interactions unready until something else rebuilt them, and a refused
reaction waited out its five-second timer.
A writer's signed error means the operation was rejected. A refused reply
means the outcome is unknown, because the operation may have committed. The
session keeps that difference: an undelivered reaction becomes unconfirmed at
once and keeps its request id and nonce, so the same reaction retries under
that nonce and a committed nonce settles without replaying the effect.
settleInteraction is now the one place an interaction request ends without
its reply: the signed error record, the refused relay and a failed local
send all go through it. A subscription that did not complete closes the
owner, and the existing readings sync subscribes a replacement.
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.
After validating the current writer, signed scope and visible recipient, deliver permission-gate refusals through the existing room-scoped reply. Use room_busy while the read floor is pending and preserve room_access_required for confirmed denial. Existing client request owners ignore observer copies and cross-room IDs; the Node pending request records its room scope.
The deterministic SQLite control previously left a committed chat retry waiting while the refusal went only to the writer. Core SQLite passed 316 checks with one separate release-capacity check ignored; 612 Browser/Node checks and Node type checking passed. Browser explicit same-draft retry retained its nonce. This adds no wire field or authority queue; the independent Browser interaction handshake remains open.
Snapshot a Cargo Server before starting Windows acceptance so later relinking cannot collide with its executable lock. The build caller explicitly identifies custom Cargo output with --built-server, and the second domain reuses that snapshot. Packaged input stays at its supplied path.
Validation: five protocol checks passed. An isolated Windows control reproduced EBUSY on direct execution and successful rebuild with an unchanged snapshot hash. The actual runner timeout path retired both Servers and removed its directory; no additional wait or retry was needed.
Keep the existing external-scheme boundary and validate authored destinations with the URL constructor before creating a link. A missing HTTPS host now preserves the label. Use the constructor available at the browser build baseline instead of introducing URL.canParse.
Validation: the malformed-link regression and the shared chat/release-note suites passed all 12 checks; TypeScript passed. No new URL normalization, protocol or link-fetch behavior was added.
Size the shared message row to its content while retaining its maximum width. Put the existing full timestamp title on the visible continuation body instead of its visually hidden metadata.
Validation: 12 date/message tests and actual Chromium previews in both layouts and languages. Old dates, quote navigation, keyboard action focus and content/blank-space hover were checked. Server-backed pagination and touch exposure of native title tooltips were outside this visual change.
Retire a prepared reader when its candidate resource changes or disappears, using the existing projection lifetime. Ignore replies to requests whose receiver has already closed before any selection side effects. A failed or expired replacement retains the active source; page event limits share their existing named owner.
Validation: independent lifecycle review and 23 Windows capture-enabled checks, including deterministic closed-receiver selection and owned HTTP range/redirect credential controls. The boundary-constant consolidation compiled and its two focused regressions passed. No change to the accepted direct-URL fallback.
The launcher now retires its old GET when a setting command starts or the component unmounts, so focus can fetch the current state without waiting for an obsolete request. One abort controller replaces the parallel reading flag and revision counter; command ownership remains separate.
Validation: the five stale-read controls failed before the change; 56 focused tests, TypeScript and a real Chromium/HTTP held-response control passed. The same fix is applied to the maintenance launcher.
Reply to Codex's fifth round, reviewed through 113536eb. Take the four
corrections to admission and withdraw two inferences that its controls
answered: that nothing asks the SDK to probe for a trial, and that an
upstream change interrupts what a viewer sees.
On the joint design question: both readers already tell a reply from an
observer event by whether they hold the request id, so no marker is needed
at the writer. The gap is that a refused relay is reported only to the
writer. Propose delivering the refusal to the signed recipient under the
address's request id, with room_busy for a floor that is still ahead, and
record the hold-at-the-fence alternative with its cost and the Raft read
index as its precedent.
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.
Use the existing sharing-range track and thumb for the synchronized-video timeline, with elapsed fill on editable and read-only progress. Keep timeline layout separate, enlarge its touch target and retain native forced-color controls.
Validation: 40 focused tests and TypeScript passed; actual Chromium checks covered touch and keyboard seeking, owner/follower controls at 320/768/1280, full/grid views, existing quality and volume controls, forced colors and automatic hiding. Verified against the shared visual-language timeline contract; physical remote-control grants were outside this preview.
Route watch-reader revocation through the existing await_peer owner, as registration and the other awaited Driver operations already do. The Session must continue consuming peer output while its bounded command send is pending.
A controlled dispatch gate observed zero events on the old handler and one on the corrected handler. The 35 Native Session checks include the existing saturated Driver regression and reader retirement. This does not claim a field reproduction of both queues filling during revocation.
Replace separate commit, lease and candidate fields with preparation, external readiness, prepared lease and submitted commit phases. Derive a prepared candidate ID from its lease while the submitted phase retains the ID owned by the pending host result. Room acknowledgement and active source ownership remain in their existing handlers.
Validation: independent lifecycle review, 35 capture-enabled Native Session tests, 13 Server library checks and a control-WebSocket preparation-failure/cancellation check; the Windows capture App built. Update the three existing WHIP fixtures to the same phase representation. Physical source switching was not part of this check.
Integrate Claude 151f6601 with independent allocator and supply corrections. Reserve each optional flow minimum and its audio before distributing surplus; preserve standalone voice. Compute admission rates and forwarding from the same receiver-compatible supply, including reversed RID costs and H264 profile constraints.
Evidence: the observed 187043/121722/53370 budget case and four reproduced failures in simultaneous optional admission, zero video budget, inverted RID costs and High-only forwarding. Corrected Windows capture checks passed 32; no-capture Native passed 195 with two hotkey checks skipped; all 125 Server checks passed. The original full capture run had two readiness timeouts that passed the same-binary serialized control. No physical-network or capture-device claim.
Reply to Codex's fourth round, reviewed through 9115a86a. Accept every
outcome on the audit's nineteen items and withdraw three proposals on the
evidence given: bit capacity, deleting the encoding pool, and one task per
capture. Deliver 151f6601 within the four bounds and release the hold.
Record what the commit makes visible: an optional trial beside an incumbent
is now rejected as soon as feedback arrives, because the estimate stays near
1.5 times the sent rate and nothing asks the SDK to probe for the trial.
The allocator admitted an optional trial with a positive grant below every
representation of its source, and the video Input then deactivated it
silently. The flow was neither waiting nor rejected, so the route owner saw an
admitted trial that sent audio and never video. The same split disabled a
selected flow on a relay that cannot re-encode once the estimate fell below its
only representation.
The supply now reports a deliverable floor: the cheapest full or temporal
representation, unknown before a complete observation and zero while idle. An
output that the producer's encoder can serve in an accepted format has a zero
floor, because any positive grant is usable. The allocator owns admission: an
optional trial whose known floor exceeds its budget waits or is rejected,
including when no selected incumbent is present. Established selected video
keeps its floor when the estimate falls below it, which is charged before
optional work, so floors beyond the estimate admit no optional load. Startup
without feedback and unknown floors keep the existing bootstrap. This follows
the shape of libwebrtc's allocator, which gives an enforced-minimum stream its
minimum when the total is too low and pauses the others explicitly:
https://webrtc.googlesource.com/src/+/refs/heads/main/call/bitrate_allocator.cc
The Input keeps layer selection and keyframe readiness only. A positive grant
that no longer fits after planning carries the cheapest representation until
the next plan; Paused and a zero grant still deactivate it.
Allocator tests cover the observed 187,043/121,722/53,370 bps case, exact and
below-floor trials, unknown and idle sources, startup, the branch without an
incumbent and selected floors above the estimate. Fixture tests whose subject
is RTP identity or source lifetime now hold their second flow as selected media
or give it a fixed estimate instead of relying on optional admission against
the loopback estimate.
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.
ChannelInput keeps one JSON representation of its current snapshot and session.
Every frame still reads the current context and is validated by Core. Replacing
the snapshot, changing session or resetting the owner invalidates the cache.
For 1000 frames on the large legal fixture, serialization falls from 1000 calls
to two across one authority change. Real WASM routing still switches the first
updated frame and rejects the first revoked frame. The retained entry-point
regression and all 28 scoped input tests pass, as does TypeScript.
Record the successful fixed-NAT control and the remaining production constraint:
failure currently closes the RTC instance before preparation is requested. Keep
discovery timing, cancellation and resource cost explicit before integration.
Keep the current local-room origin while another site is only pending.
Commit its local/site origin together when the matching document begins loading,
so a failed navigation does not prematurely strip the existing overlay owner.
The Windows capture-enabled product tests cover pending and accepted navigation,
site verification and bookmark authority separation. Full WebView failed-load
interaction remains a distinct runtime check; no bookmark or permission role changes.
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.
Use the same document-activity fact as other attended actions when automatic
preview pause is enabled. Preserve manual pause and picture-in-picture behavior;
the capture and independent consumers retain their own lifetimes.
Focused tests and Chromium React controls cover native deactivation with stale
DOM focus, restoration, explicit disablement, manual pause and the PiP exception.
Each caller owns its cancellation result while the catalog request remains
shared. Aborting one reader rejects it immediately; only the last cancelled
reader aborts the underlying App request. The regression checks cancellation
before a response while another reader still awaits the shared catalog.
Handshake and initial room selection share one acquisition boundary. On failure,
terminate the owned WebSocket and await its existing close cleanup before
returning the original error. The participant keeps its signer for a retry;
stop remains its terminal owner.
Real loopback WebSocket controls confirm immediate retry after both rejection
points. Existing stop and SDK tests pass; no parallel request teardown is added.
Reply to Codex's third round, reviewed through 69e0ea57. The owner asked
that the framework, the allocation of responsibility and the core functions
be judged before more features. The audit mapped every 3.0 source file by
role, owned state and owned lifetimes, traced routing, streaming, topology,
NAT traversal and the frontend's interaction lifecycles against primary
sources, and had each finding checked against the code and its source.
The entry keeps what needs Codex's judgement: the participant role missing
from the core and the three hubs that follow from it, nineteen numbered
items with their locations, a proposed order, and which items wait for the
owner. It accepts the decline on the candidate fields, takes the four
bounds for admission and claims bandwidth.rs and the supply selection for
that commit.
Record the real foreground-window comparison and release the scoped file claim.
Keep the distinction between audio scheduling and physical audibility, and the
delivered beta.53 build separate from the newer development fixes.
Reuse the settings panel's scroll area for both explanation and actions while
the close button stays in the header. Focusing the default deny action no
longer scrolls the explanation away. Real rendered narrow/zoomed controls can
scroll to Allow, close or cancel with Escape; no permission policy changes.
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.
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.
Point a decoder/playback error to its existing retry and browser control before
network troubleshooting. Keep the media-route procedure and the bilingual entry.
The current Native kernel-NAT run confirms distinct targets on the wire,
completion of the original pair and socket release on withdrawal. Preserve
the earlier 256-target evidence and the distinction between controlled
mechanism checks and a population connection-success rate.
Use the same OS UDP allocation helper for the primary and additional test
Server, with the value scoped to each child's environment. Avoid reusing a TCP
port that can be reserved for UDP on Windows. Actual protocol checks pass.
The pending Native resource can be absent while the selector already names a
player, and is cleared on promotion while the selection remains visible.
Name it pendingCandidateId instead of conflating it with watchSources' selected
candidate. Existing selection/cancellation regressions and full Web checks pass.
A reader panic must deliver the same terminal SourceEnded event as a normal
return. Keep the existing reader identity and source cleanup so healthy voice
on the same pair survives, rather than retiring the entire transport.
The full transport module passes 31 tests on Windows, including an actual
injected video-reader panic with continued sibling RTP. Native without capture
also compiles. Parent cancellation retains its existing abort-and-join path.
Accept the first ADR-0015 slice: a pure RoomHistory owns confirmed history,
page assembly and removal markers. Session retains request correlation,
authorization, read intent and effects. The history view is a projection.
The independent review ran 604 existing history/session checks; the integrated
tree passes 2312 Web tests, TypeScript and five actual protocol checks.
Keep the accepted design open to evidence-based revision, and retain the
refinement holds on the later publishing and identity-restore slices.
Reviewed through df2acc08, which removes the media adapter's copy of the
output failure and reads the playback-output owner; no defect traced. Record
the owner's direction of 2026-11-25 that a general mechanism with a clean
failure comes before code for each edge case, drop a coverage nit that
contradicted it, and add an ablation pass to the next queue items.
Reply to Codex's second round, reviewed through 6f98d93c. The repeated
media_reuse failure is not lease reuse: the reused flow is the fixture's
unselected one, the plan grants its video Limited(53370) against a 121,722 bps
feed with one representation, the input deactivates, and the estimate stays
at the SDK's bound of 1.5 times observed throughput plus 10 kbps. The entry
names the two owners of that decision and proposes one, with libwebrtc's
bitrate allocator and LiveKit's allow_pause as the reference shapes.
Also delivers 8261f7e7 and d62440ce, the review of 0f6c06fc..6f98d93c, the
owner's decisions of 2026-11-25, and releases the hold on session.ts.
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.
The owner's decision of 2026-11-25: nothing is undoable. Existing code,
accepted records and anyone's earlier reasoning carry no weight of their own.
When a defect, a repeated repair or an awkward boundary traces to the shape
of a design, the design is questioned and the one that would be chosen today
is proposed, and the accepting record is superseded instead of worked around.
The sentence sits with the design standard because it governs how a design is
chosen. Evidence, published promises and the owner's decisions keep their
force, so the existing scope and compatibility rules are unchanged.
run-browser-check.mjs reserved a free TCP port and let the Server bind UDP
on the same number. Windows reserves port ranges per protocol, so a free TCP
port can sit inside a UDP reservation. On a machine where
`netsh int ipv4 show excludedportrange protocol=udp` lists 52359-52458 and
the TCP list leaves 52360-52395 free, three protocol checks in a row ended
with "Bind Server UDP 0.0.0.0:52363 ... os error 10013".
Give the Server its own UDP port, as 3713fc4c did for room_creation_policy.
Only that child receives it, so the second Server that
browser-native-acceptance.mjs starts from the inherited environment does not
try to bind the same port.