Skip to content

docs(unstable-v2): capitalize Agent and Client in the schema descriptions - #2960

Merged
benbrandt merged 1 commit into
mainfrom
docs/v2-role-names
Nov 20, 2026
Merged

benbrandt merged 1 commit into
mainfrom
docs/v2-role-names

Conversation

@benbrandt

Copy link
Copy Markdown
Member

Summary

The v2 schema descriptions named the protocol roles in lowercase about 1,200 times and capitalized about 440 times. The protocol pages capitalize Agent and Client wherever the role is meant. This does the same in the v2 doc comments, which become the schema descriptions.

The diff is large and mechanical. In the four schema files, only description strings change. I compared each schema with main after removing every description, and they are identical.

Role names

  • Every lowercase "agent", "agents", "client" and "clients" in a v2 doc comment that means the protocol role is capitalized, including compounds such as "Agent-owned terminal" and "Client-provided".
  • About a third of the occurrences are one repeated sentence: "The _meta property is reserved by ACP to allow Clients and Agents to attach additional metadata…".
  • Code spans, link targets and fenced examples are untouched.
  • "AI coding agents" stays lowercase. It does not name the protocol role.
  • One description is written in a schema attribute, not a doc comment (the stopReason field). It gets the same change.

Request summaries and four field descriptions

The summaries on the request types said what each side "should" do, in lowercase:

Before After
"The agent should respond with its supported protocol version and capabilities." "The Agent responds with…"
"The agent should: Create a new session context…" "The Agent: Creates a new session context…"
"May return a -32000 (Authentication required) error if…" "Fails with -32000 (Authentication required) if…"
"The agent should return metadata about sessions…" "The Agent returns metadata about sessions…"
"The agent should create a new session with the same conversation context…" "The Agent creates…"
"The agent should resume the session context… the agent should replay…" "The Agent resumes… the Agent replays…"
"The client should present the options to the user and return their decision." "The Client presents… and returns…"

A lowercase "should" is not a requirement, and the rules themselves are on the protocol pages with their keywords. The summaries now say what each side does.

Four field descriptions lose a lowercase "should" or "may" the same way: "servers for the Agent to connect to", "where conversation replay begins", "the Agent can include", "the Agent can use". "Other variants must be explicitly opted in to" becomes "Other content types need one of these capabilities."

AGENTS.md

The rule on capitalizing the roles now covers doc comments as well as the pages.

Not changed

  • v1. Its descriptions have the same mix, and its schema files are byte-identical to main.
  • Doc comments on tests, which still use a lowercase "must".

Checks

  • The tests, cargo fmt, Prettier and the spell check pass.
  • Regenerating the schema a second time gives no diff.
  • No lowercase role name is left in the v2 schema descriptions, apart from "AI coding agents".

…ions

The v2 schema descriptions named the protocol roles in lowercase about
1,200 times and capitalized about 440 times. The protocol pages
capitalize them. Capitalize every one that means the role. About a
third of them are one repeated sentence on `_meta`.

"AI coding agents" stays lowercase. It does not name the protocol role.

The request summaries said "The agent should respond with…" and "The
client should present…". A lowercase "should" is not a requirement, and
the rules are on the pages, so the summaries now say what each side
does. Four field descriptions lose a lowercase "should" or "may" the
same way.

Only description text changes in the schemas.
@benbrandt
benbrandt requested a review from a team as a code owner November 20, 2026 21:31
@benbrandt
benbrandt enabled auto-merge (squash) November 20, 2026 21:33
@benbrandt
benbrandt merged commit d15d359 into main Nov 20, 2026
15 checks passed
@benbrandt
benbrandt deleted the docs/v2-role-names branch November 20, 2026 21:35
@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