From the review of the previous commit. A registration's effect on a
binding is invalidate_scope_and_read_policy, beside invalidate_scope. The
pause that also drops the projection is named for that, so the two ways a
room pauses can be told apart where they are called. apply_output returns
whether it left the projection as it was and its caller combines that with
its own condition. failed_pair retires routes through the binding's own
method, which the test used a copy of. hosted_by is private. Behaviour is
unchanged.
RemoteRoom and Binding now keep every field private to remote.rs. The
writes that channel.rs, channel/discovery.rs and lib.rs made by hand move
unchanged into named transitions on the records: reserving a room for its
creator, a host binding or resuming, a registration asking for a covering
scope and read policy, a session retiring, the creation policy pausing a
room it no longer permits, applying a validated host output, settling
replies, taking a deleted room's reply, and forgetting acknowledged pair
failures. Readers ask named questions (reserved, reserved by, bound,
hosted by, identified by, issued, read policy needed, routes covered,
pair failed, route wake pending) or use borrowing accessors. Tests build
the records through test-only constructors.
Behaviour is unchanged: each moved block keeps its statements and their
order, and no wire shape, error code or effect order changes.
Notes from reading the four framework commits. Command::route states that
its match has no catch-all, which is what makes it the one classification.
Command::undoable states its contract with Authority::turn: the authority
keeps its earlier state only for these commands, so a branch that reports a
changed user or header record must be listed. The upper end of the audio
send range has its reason again.
The Core wrote several limits as bare literals, some of them twice: the voice
bitrate default and send range, the relay capacity default, member, room and
title name lengths, short keys, IDs, attachment names, message and reply text,
watch URLs and rate, signal SDP and candidates, and room passwords. Each is now
one named const in the Core module that validates it, and the production Rust
copies, Native's screen source title among them, refer to it. Boundary tests
keep their own literals.
TypeScript held its copies in protocol.ts, shared/protocol.ts,
relay-capacity.ts, room-interactions.ts and remote-control/protocol.ts. They
move to src/shared/core-limits.ts and the callers import from there.
channel_wire_limits now emits every limit under its TypeScript name, so the
parity test compares the whole module with the compiled Core. protocol.ts and
relay-capacity.ts re-export only the names that session.ts and
ChannelShareControl.tsx still import, because those files are held elsewhere.
No value changes.
A person had to turn recording on before a problem for its report to say
what led up to it, and nobody does that before a problem. Recording is
now passive and always on: the page and the App keep a bounded history in
memory (8,192 events or 8 MiB), and a report is exported on demand. There
is no recording switch for a person any more.
The page's diagnostic control is one button that downloads the report, and
the App launcher's is one button that downloads the App report. The
launcher state no longer carries a debug field, the route that enabled App
recording is gone, and the App no longer adds a debug flag to the pages it
opens. The App installs its recorder at its start, before anything can
log; the Server binary does not, so it is unchanged. Every guard that kept
an event from being recorded is removed, and audio capture and capture
frame counters always count.
What stays off by default is the work that costs something of its own:
the page's per-frame gap loop and console echo, which `?debug=1` starts,
and the App's window-loop lateness probe and shutdown progress lines,
which `PIIK_DIAGNOSTIC_PROBES=1` starts. Reports say whether probes ran
instead of whether recording was on. The copy describes the report in all
five languages, and keys and the visual kind that lost their last user are
removed.
Tests now assert that history is recorded with nothing switched on, that
the probes run only with the developer's flag, and keep every assertion on
bounds, secret filtering and report contents.
wire::Command::route now names the owner of every command in one match with
no catch-all arm: the session, the domain, a room addressed by its id, a
publication or a flow, a room's host, transport between sessions, or a
conversation packet. A new command must be classified where it is declared.
The per-class properties moved beside the type as methods with one
definition each. Command::pair_report names the transport report a command
carries, which the channel checks for currency without its own catch-all.
Command::needs_peer replaces the room runtime's local match, and
Command::undoable replaces the Authority's. Channel::command_room resolves the
room from the route's address instead of re-listing the room commands.
The command fixture test now asserts the route of every specimen as well as
its variant. Error codes, wire shapes and checkpoint decisions are unchanged.
The App refused a report unless recording had been switched on before
the problem, in every new process. So the one report that would say
which path a connection took, and how its preparation ended, was the
one nobody had.
The recorder now keeps, for each pair this process has known, the last
fact of each stage: whether a preparation ran, what the two mappings
were read as, how it ended, its check counts, which path was selected,
how the pair closed. These are the reviewed values the history already
used, with no address, port or identifier; the newest 256 pairs are
kept and nothing is formatted or hashed until a report is made. A
report writes them as `connections.json`, each pair under the alias
both sides share, beside the build and the history.
The export answers whether or not history is recorded, from the
launcher and from the terminal. The launcher shows the report and the
switch side by side. Recording the history stays the person's choice.
Authority::handle now returns Handled: the effects to deliver and an Outcome
that each branch writes from its own result. A rejection carries its code and
room. A committed turn names the durable record it changed (the acting user,
the header, or a summary a host committed), the hosted room creation or
deletion its storage owner must finish, and whether its last event is a
request for the room writer. Admission reports a new user or renewed owner
credential, the channel reports profile and domain changes, and the host
branches report directory changes. For a change that is undone when it cannot
be saved, the Core hands back the authority from before the turn.
The Server hub saves, undoes or keeps what the outcome tells it, so
changes_metadata, the hub's command matching, the inference from the last
event and the stripping of deferred replies are gone, along with
Event::Deferred. A completion without a request ID now exists only for a
failure. In hosted mode the Core leaves the creation or pending deletion
answer to the hosting owner instead of emitting a reply for the hub to remove.
Hosted room creation decides whether to keep a reservation from a typed
OpenRoomError::MayExist instead of matching error strings, with the codes sent
to clients unchanged.
Tests that asserted the removed prediction or the internal deferred event now
assert the same behaviour through the outcome or through a reply with a
request ID.
Channel and RoomAuthority each kept a stored clock: Channel.now was written
by some Authority entries and read later by reconciliation, host input,
forwarding and host sync, and RoomAuthority.now kept the last dispatch's
time for the later finish and finish_peer calls. Entries that did not write
it judged repair and admission deadlines against an older turn's clock, and
nothing in the types showed which ones.
Both fields are gone. Channel::reconcile, reconcile_transports, host_input,
forward_room, sync_hosts, register_host, stop_host, accept_host,
unsupported_host_input and remove_room take now, and every Authority entry
that reaches them passes its own, including set_service_endpoint and
failed_room_delete, which now take it explicitly. RoomHost::finish and
finish_peer take now: StoredRoomHost passes the dispatched input's time and
its peer turn's time, the Browser binding and its room host pass the same,
and the Server passes its own clock. Tests that assigned the stored clock
pass the argument instead. RequestContext.now, HostInput.now and the wire
are unchanged.
The applied revision of a binding has one writer. It was compared with
the three floors in eight places in six combinations, each reader
writing its own idea of "current" as raw comparisons, and the topology
read had the wrong one until a fresh build showed it.
The binding now says the three things itself: the applied output knows
the present participants (`scope_current`), its routes stand
(`routes_current`), it covers the read policy that was asked for
(`read_policy_current`). The eight readers ask by those names and no
floor is compared anywhere else. Behaviour is unchanged; what each
reader requires can now be read at its call.
The native window fixture still expected a repeated catalog after closing an empty, unselected opener and reselecting the same child video. Assert the surviving WebView, selected media lifetime and complete catalog are unchanged, and require the specific empty queue outcome. Real candidate loss and final closure must still emit their existing events.
This corrects the assertion reached in hosted Windows run 46167682687. That run remains failed; the corrected GUI fixture and previously skipped input check require a new isolated run. Production code is unchanged.
Start from one address and select a page video with one action. Keep resource ordering across direct, DASH and indexed offers, and keep each resource with its supported playback methods. Automatic viewers try the site before eligible sharer bytes; an explicit route stays selected. A room refusal ends the attempt rather than retrying a different source.
Share, cancel and stop use a stable control footprint. End actions suppress native popover activation while preserving keyboard focus. The existing picker remains available for manual source and track choices. Update the English and Chinese flow descriptions.
Built on reviewed queue changes 3378bca2 and f8ed4c1c, corrected through independent source-identity and operation-lifecycle regressions. The integrated Web suite passes 2631 tests; Windows compilation and 31 pure tests pass. Chrome at 390 and 820 verifies the combined workflow, keyboard focus and retry. Final TypeScript checks pass after matching the shared optional event signature. Native GUI and real-site acceptance remain separate.
Condense collaboration procedures, protocol field inventories and repeated audit or experiment narration into their existing owners. Keep accepted decisions, unresolved work, primary sources and measurement limits. Detailed historical trials remain accessible at their measured Git revision without a second archive tree.
Align both language guides with the existing contribution value criteria. Keep local operating instructions out of public contributor guidance. Independent reviews preserved closed baseline choices and single-run evidence limits. Documentation and repository hygiene checks pass; this phase changes no runtime code.
The bridge reports its candidates on every batch of document changes, and
the host told the room each time: a catalog with a source read from every
view, sent over the App link, and a render of the whole room page. The
comparison now sits with the catalog's owner on the host, which knows the
page's address and the limit on candidates: the bridge-side comparison is
undone because, as Codex showed, it lost an address change of a page whose
video sits in a frame, and a child's report refused for capacity.
Renderer frame timing cannot see WebView2 work that blocks the host window thread. Send at most one timing probe through the existing Tao event loop and aggregate its queue delay there into the opt-in App report. The sampler shares the existing service lifetime and adds no window or network data.
Summaries include the actual observation window, sample count, maximum delay and counts at 16, 50 and 100 ms. Existing Windows App compilation and deterministic threshold checks pass; independent review confirms bounded admission and cancellation ownership. Actual native-window delay injection and shutdown remain runtime acceptance, not established by the pure test.
The App's whole window stalled in ordinary use. WebView2 recomputes a page's
CSS drag regions in the embedding process, on the window thread, after each
layout change, and answers pointer moves over a region from there. With the
top bar marked app-region: drag, a posted event reached the window thread up
to 217 ms late on maximize, 85 ms late on opening or closing a popover and
505 ms late while the pointer moved along the bar; with no drag region it was
never late, and the page's own frames showed nothing in either case. Others
report the same path: WebView2Feedback 5798, and a sampled trace of another
wry application that puts the window thread in Controller::UpdateDraggableRegions.
The page's top bar, the standalone caption and the permission prompt now ask
the host on a press, and the host starts the system's own move of the window
(the first press moves, the second maximizes), as Tauri's drag regions do. No
page uses app-region any more, and WebView2's non-client region support is
turned off for every WebView, so that a site's own style cannot hold the
window thread either.
Measured in the App built from this tree with a real pointer: no late event
in any of those phases, also with chat text selected and with a page that
sets a drag region itself; a press and a move on the room's name, on the bar
and on a detached panel's caption moves the window, a double click maximizes
and restores, a drag from the maximized state restores and moves, and a
control in the bar still takes its click. Not exercised: the permission
prompt's heading. Lost with the regions: the system menu on a right click of
the bar, and moving the window by touch.
Audience readiness describes an authorized viewer; it does not grant admission or select a route. A new well-formed description previously rejected the whole Domain snapshot and retired an established client session. Reuse the existing short wire key rule and retain the original value through Domain, Native and Browser.
One presentation owner maps unfamiliar readiness to the existing joined label. Only active counts as received picture and only failed triggers failure. Malformed values retain validation. Real Domain host-output and Native image round trips, all 355 SQLite Core tests, both TypeScript projects and 102 focused Browser checks pass with the rebuilt WASM. Independent ownership review passed. Current writers still emit the original three states; this repairs the first-public extension boundary rather than attributing a field incident.
UU playback reports retained capture progress but lacked the event before flow retirement. Record the existing Engine failure branch in the opt-in RTC log before Driver retirement. Causes state only what the transport knows; unavailable send consent is not labeled as expiration.
Independent callsite and privacy review plus the existing in-memory diagnostics ZIP fixture pass on Windows Rust 1.91. Repeated failure remains bounded by the existing Engine terminal state. No routing or recovery policy changes; the historical field cause remains unconfirmed.
A configured destination can reject a UDP send while the same socket still reaches other destinations. Retire only that STUN transaction and preserve completed observations and pending destinations. Existing socket errors, cancellation and survey deadlines retain their owner.
A Windows kernel-rejected send reproduces the old failure; the repaired survey retains the other real Binding response and its original socket. A separate local unicast control confirms send failure need not invalidate the socket. All 22 Native preparation tests pass, including all-target rejection. This is controlled local evidence, not regional reachability or field success-rate evidence.
Treat the nested action as a request-method discriminator. Fold an unfamiliar
string into the existing unsupported operation before looking up a page or
starting I/O. Preserve its request ID and keep malformed known requests on
the invalid-request path.
The real App request parser reproduces the previous invalid-request result
on the baseline and passes with the correction. Missing and numeric actions
and a known read missing its resource ID remain invalid. The exact Windows
Server library test passes; no App process or new recovery state is added.
Preserve a valid MIME essence in attachment metadata, signed history and file
plans. Readers offer a generic download for formats they do not preview.
Recognized raster bytes retain their original MIME and thumbnail behavior
even when File.type is absent or wrong.
Thumbnails keep their own raster, binding and budget validation independently
of the original format. Historical inline originals still require the exact
size and digest and a case-insensitively equivalent MIME type. Existing image
decoders and retained original bytes are unchanged.
Core SQLite passes 354 tests; Web TypeScript, 826 focused checks and 32 fresh
WASM consumer checks pass. Real Chrome 156 exercises signed history, atomic
restore/reopen and cross-frame file storage with the same WASM. The first
browser harness bundle needed its dynamic module kept separate; the complete
fixture then passed without product-source changes. The beta.62 missing-image
report remains unlocated.
Preserve bounded origin labels through their assigned Domain pair. Browser
and Native discard a hint they do not support before it can enter the pre-SDP
queue or ordinary ICE. Native admission stays in Driver; Transport receives
only ordinary candidate strings. Other coalesced signaling fields continue.
The actual Domain and Native decoder/Driver controls pass, including continued
bidirectional traffic on the original RTC. Browser's socket control preserves
ordinary candidates, a coalesced offer and a pending request. Stale unassigned
pairs retain their existing silent-disposal behavior. Combined Core and Web
verification passed with the rebuilt shared WASM.
Advance the existing str0m patch stack to e8d043a0, retaining its consent and
delay-controller repairs. The upstream nomination correction clears a cached
check deadline when nomination changes the pair's state. Original authorship
and the regression test are retained in the fork.
All 120 ICE library tests pass. The actual Windows Native loss comparison
changes nomination dispatch from 354 ms later to the same SDK tick, retaining
both original SCTP channels and send consent. Total loopback recovery remains
dominated by failure detection; this is not a WAN success-rate claim.
With the Git pin, 31 focused Windows and 28 Linux Native checks pass. Seven
Native/Server/Android metadata contexts resolve all four SDK crates solely
from the same revision with unchanged feature sets. No package is relabeled.
Keep hosting, creation and access values tied to their governing rules in the
baseline Domain representation. Check actual Welcome and State serialization
for full and conversation readers with exhaustive expected wire spellings.
Reuse existing Watch scenarios to check source, clock and byte-reader forms.
These describe fixed playback semantics; a generic activity envelope is not
needed for the current flows. New codecs can use understood existing forms.
The authority-writer fixture and all 19 Watch tests pass. No production wire
shape, permission rule or playback lifecycle changes in this commit.
Represent a capture-origin kind as a bounded symbolic key and preserve its
spelling through the room writer, Domain, Native state reader and Browser.
Screen and voice remain the baseline RTP classes that own their permissions,
subscriptions and forwarding budgets. The origin is descriptive metadata.
Reuse the ScreenSource type in presentation and stage props. Existing titles,
names, generic labels and exact-screen content hints keep their behavior.
The private-room control proves publish/update, unauthorized rejection,
subscribed route continuity and removal while voice survives. Core SQLite
passes 353 tests; the revised exact StateImageDecoder case also passes.
Both Web TypeScript projects, 822 focused integration tests and 31 fresh-WASM
consumer checks pass. Windows Server capture-feature checking covers Native
and Core. Public mixed-version acceptance remains in the existing freeze.
Extend the existing App boundary fixture with metadata and byte reads, alongside
inspection and cancellation. One local declaration supplies the exhaustive
ResourceRequest match and the actual control_request checks.
Windows Server capture-feature compilation and the exact parser test pass.
Unfamiliar actions and malformed known reads keep their correlated invalid
request result; unknown outer request kinds keep the existing unsupported path.
Use the actual Core writer and reader for the six control forms and keep the
fixture declaration exhaustive over their production enums. Check preserved
fields, expected roles, unknown roles and malformed known messages.
The focused Core fixture passes all six round trips through the single test.
Existing delivery controls retain responsibility for operation settlement and
the surviving sibling range. No production protocol or state changes.
Extend the existing control-reader regression with a simultaneous read of
another range on the same resource. After the first ends as unknown_outcome,
the source's real chunk must traverse the relay and reach the second caller.
Both owners must retire their completed work.
The focused Core regression passes through the actual future-reply decoder
and source/relay/viewer delivery owners. This adds no production behavior.
Exercise all 46 known Domain commands and 10 Native events through their actual
readers. Each local fixture declaration supplies an exhaustive enum match as
well as the decoder checks, so a missing row cannot silently pass. Browser
fixtures cover all nine declared event tags using the existing Zod schema.
Removing one Command and one Event row produces E0004 in the corresponding
test file; restored fixtures pass all three Core tests. The Browser wire suite
passes 16 tests, and the five version preflight controls pass. An added Browser
schema variant without a specimen fails the roster comparison.
This establishes root message-kind coverage, not all nested choices or the
first-public mixed-version contract. No production protocol is changed.
Reuse ordinary discovery observations per real IPv4 base. The first complete
qualifying cohort emits the single bounded batch; a stable or silent first
interface no longer hides another interface's sequence. Remove early
default-interface selection and preserve registered SDK candidate templates.
The current RTC generation, connection state and initial five-second window
still gate emission. Existing binding limits bound all cohort state; no
socket, probe or expiry task is added.
An actual two-base STUN/RTC regression changes from zero to 16 predictions.
Silent-first and two-qualifying-base controls retain one unmixed batch, and
the duplicate-mapping regression stays green. Combined Native verification
passes 28 focused tests on each of Windows and Linux.
Keep resolved STUN destinations usable while another lookup is pending.
Resolve and observe through the existing pair task and survey socket, with
the same three-destination, 1.5-second observation and five-second overall
limits. Transaction source checks and first-send ordering remain owned by
the existing STUN client and observation loop.
The old resolver with one or two ready results timed out before sending any
Binding. Real loopback UDP controls now reach peer signaling with those
results. A third DNS reply after the observation window can yield partial
Irregular instead of the old buffered schedule's Sequential classification;
the controlled test preserves this tradeoff.
The combined Native change passes 28 focused tests on Windows and Linux,
including ordinary ICE and original-RTC socket adoption. Public network
success rates have not been measured by these controls.
Resolve the survey destinations before asking the OS for a source address.
Use numeric UDP connect and local_addr instead of netdev's fixed private
destination lookup. Keep one survey source and the existing preparation
deadline, and remove the unused direct netdev dependency.
A controlled split-route comparison reproduces three unanswered Binding
requests and a 1.50-second timeout with the old source. Destination-based
selection gets the first reply and sends the peer check on the same socket;
cancellation releases its port. This does not measure public reachability.
Windows and Linux each pass 21 focused Native tests. Seven locked Cargo
metadata contexts verify Native, Server and Android dependency features.
The local Windows proxy remains enabled and the earlier public-STUN replies
are not evidence of regional direct access. Beta.64 packages are unchanged.
Decode unfamiliar preparation tags as receive-only values. Validate the
current pair and endpoint role before relaying Unavailable, so an optional
extension cannot retire the ordinary RTC connection. Known malformed
messages retain their validation failures.
Pending owns its terminal diagnostic, including cancellation while a Driver
turn is being discarded. Reuse the existing outcome instead of maintaining
a separate refusal flag.
Based on actual Domain and StateImageDecoder regressions and the Driver's
cancellation lifecycle. Core SQLite passes 348 tests; Windows and Linux each
pass 19 preparation tests and original-RTC socket adoption. The frozen Web
consumers pass with the rebuilt WASM. Public mixed-version acceptance remains
open; existing beta.64 packages are unchanged.
A socket mapped to two different ports can use the existing pool against a peer with a measured endpoint. Equal partial replies stay unclassified; that peer can search from its retained socket without declaring a stable NAT. Sequential prediction still needs three replies and keeps its bounded alternate. The shared Core/Native configuration gate now admits two distinct STUN authorities.
Uses current-destination observations in the scope described by RFC 5780 and the existing authenticated, bounded preparation model. The original two-response role experiment delivered SCTP and decoded VP8 in 8/8 controlled kernel-NAT trials versus 0/8 baseline trials. The final measured-endpoint plan passed actual two-response and single-response media controls, an exhausted-budget negative control with all UDP ports released, and the sequential alternate control. Windows and Linux preparation checks, 348 SQLite Core tests, both Web type checks and focused WASM/Session consumers pass.
Existing socket, packet, concurrency and time budgets remain. An unknown endpoint can consume its bounded attempt without succeeding, and an irregular/sequential pairing no longer makes the earlier measured-target attempt. Ordinary ICE is retained. This is topology-specific evidence, not a public-network success rate; beta.63 stays frozen before this change.