Repository navigation
docs: stop naming the protocol version in spec page prose - #2903
Merged
Merged
Conversation
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.
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.
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:
auth_requiredapplies in v2 both to…" → "applies both to…"configOptionspayloads", "to a v1 Client that does not advertise it", and "so ACP v1 cannot clear a previously reported name"SubagentUpdate, and a comparison with "v2's idlestate_update" in one unstable v1 descriptionSentences about another version. These keep their meaning without the name:
protocolVersion: 2selects the baseline protocol, not all experimental features…"initialize."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
protocolVersionnegotiation.What does not change
v1andv2modules still name their version.Checks
cargo fmtand the spell check pass.