Repository navigation
docs(rfc-crew-api): mark the earlier accepted amendments - #46290
Conversation
First Principles Review (Opus 5.5) — ⏭️ skippedRevision |
UX Review (Opus 5.5) — ⏭️ skippedRevision |
Design Review (Opus 5.5) — ✅ PASSDesign-level review of Design-Verdict: PASS This is a docs-only change: it updates the status markers on amendments that a maintainer accepted, and the five sentences that were not accepted are named and keep their "proposed" status. No code, schema or rendered surface changes. [DESIGN-REVIEWED] f47fe7e Description read[DESCRIPTION-READ] 035ff3a8c7e7e187f7c29917994b09fe26d73db915c986c2101ad3b8b318cc2f That sha256 names everything this verdict read: the PR description, plus the 1 evidence file(s) the workflow collected from it and handed this review. It covers that evidence because the media strip replaces every attachment URL with the same placeholder, so an edit swapping one attachment for another would leave the description's captured text identical while what this review judged changed. Recompute it with |
GPT 6.1 Review — ✅ no blocking findingsGPT 6.1 completed its review of This comment is updated in place on each push. Review detailsNo findings. False positive or not applicable? A repository writer can comment: |
Opus 5.5 Review — ✅ no blocking findingsReviewed Verdict parsed from the review's SHA-scoped output markers for commit False positive or not applicable? A repository writer can comment: |
Code change approver deep review: ApproveApproved on commit Tier: 2, cleared by a deep review: a design document (waived for its author). A deep review by the code change approver, not by a person · commit |
A maintainer accepted, on 2026-12-02, the Crew API amendments dated 2026-11-25, 2026-11-26 and 2026-11-27 in the OpenAPI descriptions, and the local authorization amendments of 2026-11-19, 2026-11-20 and 2026-11-24 in the RFC and in crew-owner.yaml. Their markers say so, in the form the 2026-12-01 amendments already use, and the RFC's status paragraph says the same. No amended sentence changes or moves. Five sentences were not accepted and stay proposed. A marker that covers one of them names it as the exception: item (4) on GET /v1/crew/events, the "Proposals to be confirmed" sentence of the 2026-11-19 amendment, and three sentences in item 2 of the 2026-11-20 amendment. The reference pages are regenerated from the spec. No code or test changes. Closes #46281
526d664 to
f47fe7e
Compare
|
Reply to the Code change approver's recommendation on 526d664. The finding is right, and it is fixed in f47fe7e. The RFC's status paragraph says the same as the markers: the amendments of 2026-11-25 and 2026-11-26 read as accepted by a maintainer on 2026-12-02, and the amendments of 2026-11-27 read as accepted except item (4), which stays proposed. The rest of that paragraph is unchanged. I searched the repository again and found no other place that says these amendments wait for a sign-off. The PR body listed the status paragraph under Not a goal. That line is deleted, with the agreement of the maintainer (rayrayxu, 2026-12-02), and the list under What changed has a row for the status paragraph. |
KiroCrewCaptain
left a comment
There was a problem hiding this comment.
Approved by the code change approver's deep review, not by a person.
Approved. I read the full diff on f47fe7e0d7e1: every hunk swaps a status marker in the three OpenAPI files, the RFC and the six generated reference pages, and no amended sentence changes. The counts in the description match the diff (18 descriptions, 5 RFC hunks). A search of docs/ on this head finds no "waiting for a maintainer's sign-off" or "(amendment, proposed)" marker left, and PR Readiness is green with no failing check.
Done well: each of the five sentences that stay proposed is named at its own marker by its opening words, so the exception is exact and easy to check.
Optional:
- The new markers link no public record of the acceptance, and the record the description cites is not in the repository. A link to #46281 or to this pull request beside one marker would match
docs/request-for-change/rfc-crew-api.md:603, which cites #42226. - Three sentences the RFC keeps proposed have unmarked twins in
docs/request-for-change/assets/crew-api/crew-owner.yaml:1221,:1269and:1321(the same text is on main). A "(proposed)" note there, in a follow-up, would let a reader of the reference tell them apart too. - #46281 still lists the RFC's status paragraph as out of scope, and this head changes it. A short comment on the issue would keep the record right.
Tier: 2, cleared by a deep review: a design document (waived for its author).
Criteria: no merge conflict, no owner block, no change request, the default branch, no security-sensitive path, no design document to agree on, the readiness status, the review lanes, the P0 history, the linked issues' tier, the review lessons, no concern label, the file count, a safe change category, not its own change, the decider.
To overrule it, request changes or dismiss this review.
…ted (#47120) A maintainer accepted, on 2026-12-03, the amendments on the eight artifact operations of the Crew API: create, list and read (#46575), change, delete and list versions (#46794), and read and add comments (#47004). Their markers in crew-public.yaml say so, in the form #46290 used, and the RFC's status paragraph says the same. No amended sentence changes or moves. The accepted amendment on adding a comment answers 403 comment_limit_reached, so the RFC's error table gets that row, in the accepted wording. The reference page is regenerated from the spec. No code or test changes. Closes #47104
Problem / Motivation
Goal: The Crew API contract says which of its earlier amendments a maintainer has accepted, and names the five sentences that stay proposed.
The contract still marks two groups of amendments as proposed, although a maintainer accepted them on 2026-12-02:
crew-owner.yaml. They came in with feat(crew-api): add local authorization for apps on this machine #39564, feat(crew-api): let the owner read a grant request and revoke a grant #39921, feat(crew-api): let a local app ask for bots and the owner give them #42009 and feat(crew-api): let the owner list grants without a dashboard #41907.#46213 did the same for the amendments of 2026-12-01.
Why it matters
The Crew API reference is generated from these files and is what an app developer reads. A sentence marked "proposed" tells that reader the behaviour may still change. After this change the reader can tell the accepted sentences from the five that are still open.
Not a goal
What changed (motivation → approach → change)
The maintainer (rayrayxu) was shown these sentences one by one and accepted them on 2026-12-02. The answer is kept, with his exact words, in the team's sign-off record (
signoffs.md, entries of 2026-12-02). This PR writes "accepted by a maintainer on 2026-12-02" into each marker and changes nothing else.crew-public.yaml(10 markers),components.yaml(2), dated 2026-11-25 and 2026-11-26Proposed amendment(s), <date>, waiting for a maintainer's sign-off:Amendment(s), <date>, accepted by a maintainer on 2026-12-02:crew-public.yaml,GET /v1/crew/events, dated 2026-11-27Amendments, 2026-11-27, accepted by a maintainer on 2026-12-02, except item (4), which stays proposed:crew-owner.yaml, 6 notes(amendment, proposed)(amendment, accepted by a maintainer on 2026-12-02)rfc-crew-api.md, route table row and item 4, dated 2026-11-20 and 2026-11-24proposed/proposed, to be accepted by a maintaineraccepted by a maintainer on 2026-12-02rfc-crew-api.md, "how the app waits for the owner", 2026-11-19proposed with the pull request that builds the four routes, and in force once a maintainer merges itrfc-crew-api.md, "what the owner reads and ends", 2026-11-20proposed, to be accepted by a maintainerrfc-crew-api.md, status paragraph, 4 phrases about the amendments of 2026-11-25 to 2026-11-27Five sentences were not accepted. Each stays proposed, word for word and in place, and the marker above it names it:
GET /v1/crew/events, about whatapproval.requestedandapproval.decidedcarry. It does not agree with an accepted sentence about a cancelled turn's approval.idfromGET /v1/models, ...". It does not agree with what the code does today.scopes, a Bot is never given by default." It does not agree with an accepted sentence aboutbots:chat.Each of the five is handled separately. The RFC's status paragraph sums the OpenAPI amendments up in a few sentences; it says the same as the markers. No other place in the repository says these amendments wait for a sign-off.
The pages under
docs/reference/crew-api/are regenerated from the spec withpython scripts/generate_crew_api_reference.py.Backwards compatibility
Compatible: documentation only. No route, schema, field or status code changes.
Removes nothing: the spec's operations, parameters and schemas are identical to
origin/main; onlydescriptiontext differs.Tests
No test is added or changed.
python scripts/generate_crew_api_reference.py --checkexits 0, andtest/test_crew_api_reference.pyholds the generated pages to the spec.Manual verification
bash scripts/docs-lint.shpasses. A script loaded the three spec files onorigin/mainand on this head. Everything outsidedescriptionis equal. Eighteen descriptions differ, and each equals the old one with only its marker replaced. In the RFC the diff is five hunks: four markers and the status paragraph. The script also looked for every one of the 105 sentences, accepted or not, on this head, and found each word for word.The repository's backend and static gates and both local reviews ran on
74e2edcdfdc2(base54e1b8494b11). The headf47fe7e0d7e1is that commit rebased onto55ccc6321844, with a longer commit message:git range-diffshows the message as the only difference, no conflict was resolved by hand, and main's new commits touch none of this PR's files. On the head, the generator check, the comparison script anddocs-lint.shwere run again and pass. The frontend gates were not run: the diff touches nothing underwebsite/.Real-machine verification
N/A -- the diff changes Markdown and the
descriptiontext of OpenAPI YAML files; none of it is executed by the gateway.Related Issues
Closes #46281
Refs #46213
Checklist
feat|fix|docs|style|refactor|perf|test|chore|ci|build|revert: ...); PR Hygiene does not count commits