Repository navigation
docs(unstable-v2): capitalize Agent and Client in the schema descriptions - #2960
Merged
Merged
Conversation
…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.
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
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
descriptionstrings change. I compared each schema withmainafter removing every description, and they are identical.Role names
stopReasonfield). 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:
-32000(Authentication required) error if…"-32000(Authentication required) if…"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
main.Checks
cargo fmt, Prettier and the spell check pass.