Repository navigation
docs(rfc-crew-api): mark accepted amendments, scope memory to recall - #46213
Conversation
The maintainer accepted, on 2026-12-02, the Crew API amendments dated 2026-12-01. Their marker in the OpenAPI descriptions reads "Amendment(s), 2026-12-01, accepted by a maintainer on 2026-12-02" in place of "Proposed amendment(s), 2026-12-01, waiting for a maintainer's sign-off", and the RFC's status paragraph says the same. The amended sentences are unchanged. Amendments with an earlier date keep their proposal marker. Five older sentences about memory are narrowed to memory recall, which is what they describe, and two accepted sentences say how a conversation with a Bot (`bots:chat`) differs: it has no entitlement, and with the memory setting `read_write` it can become part of the Bot's memory. The reference pages are regenerated from the spec. No code or test changes. Closes #46198
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 Nothing blocks: the diff only edits contract prose and regenerates the reference pages from it. No route, schema or code changes. [DESIGN-REVIEWED] df5dd98 Description read[DESCRIPTION-READ] 27dbbd4090e6c6b9a8be5c9168f78db10b242fd26ab5e0c9e76a835ccecfb739 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 |
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: |
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: |
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 |
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. The review read all 8 changed files on this head. The diff changes description text only: no route, schema, field or code changes. All six 2026-12-01 markers now read "accepted", none is left as "Proposed" under docs/, the text after each marker is unchanged, and the markers dated 2026-11-19 to 2026-11-27 are untouched. The two sentences added to the RFC's security section restate rules already on main: the memory setting in section 3.2 (read_write is never a default, and only the user changes it), the eight entitlements with none for bots:chat, and Q12. PR Readiness is green on this head and no check fails.
Done well: the description's table lists every changed sentence, and each count in it matches the diff.
Optional:
docs/request-for-change/rfc-crew-api.md:17: the two new "a maintainer accepted on 2026-12-02" phrases link no public record, while thebots:chatsentence beside them links #45825. A short maintainer comment on #46198 or on this pull request, cited from the status paragraph, would let a reader check the acceptance.docs/request-for-change/rfc-crew-api.md:805-807and:813-815: the same comment could say that the two added sentences were among those accepted.docs/request-for-change/assets/crew-api/crew-public.yaml:1816: "The created Bot has its own private memory, which the app cannot read" is the same kind of wide sentence this pull request narrows elsewhere. Narrow it in a later change, or say it stays on purpose.
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.
Problem / Motivation
Goal: The Crew API contract says which of its 2026-12-01 amendments the maintainer has accepted, and its older sentences about memory no longer read as if they covered a conversation with a Bot.
Two things in the contract are behind what the maintainer accepted on 2026-12-02.
bots:chatsentences into the RFC. Five older sentences about memory are worded more widely than they mean, so they now read as if they contradicted those sentences. One example is "no scope can write memory".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. Two sentences that seem to disagree about memory leave the reader unable to say what an app can reach.
Not a goal
What changed (motivation → approach → change)
The maintainer (@buluoray) was shown each of these sentences and answered "都同意" ("I agree to all of them") on 2026-12-02. The answer is kept, with his exact words, in the team's sign-off record (
signoffs.md, entry of 2026-12-02). This PR writes that answer into the contract and changes nothing else.crew-public.yaml(5 descriptions),components.yaml(1)Proposed amendment(s), 2026-12-01, waiting for a maintainer's sign-off:Amendment(s), 2026-12-01, accepted by a maintainer on 2026-12-02:rfc-crew-api.md, status paragraph, 2 phrasesrfc-crew-api.md, entitlement table,memory.globalrfc-crew-api.md, "Two gates on sensitive capabilities"rfc-crew-api.md, "Residual risk"read_writecrew-public.yaml,POST /v1/crew/memory/recallThe six marked descriptions are on
POST /v1/responses/{response_id}/cancel,GET /v1/crew/approvals,GET /v1/crew/approvals/{approval_id},GET /v1/crew/bots/{bot_id}/goals,GET /v1/crew/bots/{bot_id}/reportsand the Approval object'sanswerable_by_you. The text after each marker is the same, character for character.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. Seven descriptions differ, and each equals the old one with the marker replaced or with the two recall sentences replaced.The repository's backend and static gates and both local reviews ran on
6ba0b6c5d6b0(base179d109c95f8). The headdf5dd981e8ccis that commit rebased onto73576910dd7a:git range-diffreports=, no conflict was resolved by hand, and main's one new commit touches none of this PR's files. On the head, the generator check, the description comparison 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 #46198
Refs #45845
Checklist
feat|fix|docs|style|refactor|perf|test|chore|ci|build|revert: ...); PR Hygiene does not count commits