Repository navigation
docs: correct consumer guides, client-runtime canon and XML comments - #952
Merged
Merged
Conversation
Correct statements a documentation audit found wrong against the code at the current pin. Input from an observer terminal connection is accepted and makes that attachment the controller rather than being dropped, in the canon, the terminal guide and the persistent terminal XML comments. A durable event cursor belongs to its aggregate and retained store, so an embedded host with events.persist can resume across restarts. The server client factory copies every configured non-identity option, the terminal replay bound counts UTF-16 code units, and the PID guard is cited by its code rather than a stale line range. The guides state that generate reads the session's context, that a null Password still lets client-wide headers authenticate, where the media capability falls in header precedence, that a terminal stream settling does not prove a command finished, the subscriber overflow exception, the MediaReferences option and the durable event count. The event stream idle window keeps running while code holds an event, and the playground no longer promises telemetry in 1.1.
This was referenced Nov 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
A documentation audit of the 2.0.0 state found statements in the consumer guides, the client runtime canon, the playground README and three XML doc comments that no longer match the code at the current pin. This corrects them. No behaviour changes; the source files change only in XML comments.
Changes
PersistentPtySessionandPersistentPtyFrameDecodercomments.events.persiston and a file-backed database can resume across restarts, while the distributed CLI's persistence limit still applies. Canon and streaming guide.OpenCodeServer.CreateClientin canon:EndpointandPasswordmust stay null andUsernamethe default; every configured non-identity option is carried into the client, and handler ownership follows the construction section.EventStreamIdleTimeoutXML: the shared source keeps reading, and the idle window keeps running, while your code holds an event.generatereads the session's context and records usage; a nullPasswordstill lets client-wide headers authenticate, while per-call headers do not reach the event feed; the media capability is the one exception to "per-call headers win"; a terminal stream settling does not prove a command finished (RunShellCommandAsyncdoes); the exception diagram includes the subscriber overflow exception; the options table includesMediaReferences; the durable event count is no longer hard-coded; a terminal reconnect cursor gives no gap-free, duplicate-free guarantee.Verification
format whitespaceandformat style, Slopwatch, clone gate,generate --verify,refresh-spec --verify, the tool's--help, both packs; tests 12,914 passed, including the whole Tools test project and its documentation gates, plus 22 ServiceElection and 3 NativeAot; the tree stayed clean.Two older inaccuracies this review surfaced outside its scope are tracked separately: #949 and #950.