Skip to content

docs: stop naming the protocol version in spec page prose - #2903

Merged
benbrandt merged 1 commit into
mainfrom
docs/no-version-names
Nov 19, 2026
Merged

benbrandt merged 1 commit into
mainfrom
docs/no-version-names

Conversation

@benbrandt

Copy link
Copy Markdown
Member

Summary

A spec page describes the protocol without saying which version it is. Only the migration guide compares versions. Several pages and two schema descriptions still said "in v2", "v1's", or "ACP v1" in prose.

This sweeps every protocol page for v1 and v2, stable and draft/, except the migration guide, plus the doc comments that become schema descriptions. Code blocks, code spans, link targets and file paths are not prose and are unchanged.

Changes

Simple rewrites. The sentence states the rule on its own:

  • "No Client capability is required in v2" → "No Client capability is required" (ten places)
  • "auth_required applies in v2 both to…" → "applies both to…"
  • "under the v2 negotiation rules" → "under the negotiation rules"
  • "v2 does not define Client file-system or terminal-execution capabilities" → "The protocol does not define…"
  • v1 pages: "in v1 configOptions payloads", "to a v1 Client that does not advertise it", and "so ACP v1 cannot clear a previously reported name"
  • Schema descriptions: "baseline v2 requirements" on SubagentUpdate, and a comparison with "v2's idle state_update" in one unstable v1 description

Sentences about another version. These keep their meaning without the name:

  • "Negotiating protocolVersion: 2 selects the baseline protocol, not all experimental features…"
  • "These rules apply to this protocol version only. On a connection that negotiated an earlier version, features keep the capability gates that version defines."
  • "Agents that implement only an earlier protocol version may not accept a repeated initialize."
  • "…including a transport they did not advertise and sse, which this protocol version does not define."

AGENTS.md. One new rule: don't name the protocol version in prose. The exceptions are the migration guide and text about protocolVersion negotiation.

What does not change

  • No requirement is added, removed or changed, in v1 or v2.
  • The generated schema files change in description text only.
  • Module-level Rust docs for the v1 and v2 modules still name their version.

Checks

  • Clippy, the tests, rustdoc, Prettier, cargo fmt and the spell check pass.
  • Regenerating the schema a second time gives no diff.
  • All links and anchors in the changed pages resolve.
  • A second, looser search finds no version name left in the page prose.

A spec page describes the protocol without saying which version it is.
Only the migration guide compares versions. Several pages and two schema
descriptions said "in v2", "v1's", or "ACP v1" in prose.

Rewrite each sentence so it states the rule on its own, in the v1 and v2
pages, their draft copies, and the doc comments that become schema
descriptions. Three sentences are about another protocol version and now
say "an earlier protocol version" or "this protocol version" instead of
naming it.

No requirement changes. Add the rule to AGENTS.md.
@benbrandt
benbrandt requested a review from a team as a code owner November 19, 2026 21:29
@benbrandt
benbrandt enabled auto-merge (squash) November 19, 2026 21:30
@benbrandt
benbrandt merged commit 7ecbed4 into main Nov 19, 2026
13 checks passed
@benbrandt
benbrandt deleted the docs/no-version-names branch November 19, 2026 21:34
@acp-release-bot acp-release-bot Bot mentioned this pull request Nov 19, 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