Skip to content

docs(unstable-v2): fix nine small gaps and stale sentences - #2958

Merged
benbrandt merged 1 commit into
mainfrom
docs/v2-audit-nits
Nov 20, 2026
Merged

benbrandt merged 1 commit into
mainfrom
docs/v2-audit-nits

Conversation

@benbrandt

Copy link
Copy Markdown
Member

Summary

Nine small fixes to the v2 pages. None changes a rule. Each page change is also in its draft/ copy unless noted.

Limits that only the schema stated

  • Tool calls page: a terminal size has cols and rows, "each at least 1".
  • Initialization page: an out-of-range protocolVersion gets -32602, and the page now gives the range, 0 to 65535.
  • Elicitation page: each enum, oneOf and anyOf list needs at least one option. The migration guide already said so.

Sentences that could be misread

  • Closing a session. "After the close response, the Agent sends no other messages for the session" sat next to "Prompt responses need not precede the close response". It now says the Agent sends no notifications or requests, and still answers session/prompt requests that were pending. The CloseSessionRequest description has the same change.
  • Repeated idle. "A repeated idle without a new stop reason is not a new completion" invited the converse. A repeat is never a new completion, so the qualifier is gone, on the page and in the Background Work RFD.
  • Full replay example. The sentence that introduces the example ended in a colon and was followed by a paragraph on inclusive cursors. The example now comes first.

Rules stated in two places

  • Announcing a child. The rule lists session_message among the things that need the announcement first. The Subagents page also lets a recorded session_message be replayed when the other participant is unavailable. The list now names that exception.
  • Elicitations on the security page. A bullet said a multi-user Agent SHOULD scope elicitations to the owning user. The elicitation page has a MUST that binds each elicitation to the receiving connection and the verified user. The bullet now points to that rule.

Stale text

  • Cancellation page: "the LLM context limit is reached" is removed from the examples of internal request cancellation. session/prompt ends at insertion, so that case is the max_tokens stop reason.
  • Subagents page, stable only: "or more usage" is removed. usage on the idle state is in the unstable schema only. The draft copy keeps it.
  • Draft session list page: the archived sessions text named a close capability and "loading". Neither exists. The unstable session/status and session/unarchive descriptions used "load" the same way.

Checks

  • The tests, cargo fmt, Prettier and the spell check pass.
  • Regenerating the schema a second time gives no diff.

- State three limits that only the schema had: terminal `cols` and
  `rows` are at least 1, `protocolVersion` is 0 to 65535, and
  elicitation option lists need at least one option.
- After a close response the Agent sends no notifications or requests
  for the session. "No other messages" read as also forbidding the
  prompt responses that may follow it.
- Put the full-replay example directly after the sentence that
  introduces it.
- The announcement rule for child sessions lists `session_message`.
  Name the exception for a replayed message whose other participant is
  unavailable.
- A repeated `idle` is never a new completion. Drop "without a new stop
  reason", on the page and in the Background Work RFD.
- The security page covered elicitations with a SHOULD where the
  elicitation page has a MUST. Point to that rule instead.
- Remove "the LLM context limit is reached" from the examples of
  internal request cancellation. That case is the `max_tokens` stop
  reason.
- Remove "or more usage" from the stable Subagents page. Usage on the
  idle state is unstable.
- The draft text for archived sessions named a `close` capability and
  "loading", which do not exist. Two unstable descriptions used "load"
  the same way.
@benbrandt
benbrandt requested a review from a team as a code owner November 20, 2026 20:25
@benbrandt
benbrandt merged commit 3257723 into main Nov 20, 2026
15 checks passed
@benbrandt
benbrandt deleted the docs/v2-audit-nits branch November 20, 2026 21:01
@acp-release-bot acp-release-bot Bot mentioned this pull request Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant