Skip to content

docs(rfc-crew-api): mark the earlier accepted amendments - #46290

Merged
KiroCrewCaptain merged 1 commit into
mainfrom
crew/headless-crew/accepted-markers-docs
Dec 3, 2026
Merged

KiroCrewCaptain merged 1 commit into
mainfrom
crew/headless-crew/accepted-markers-docs

Conversation

@buluoray

@buluoray buluoray commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

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:

  1. The OpenAPI descriptions marked "Proposed amendment(s), , waiting for a maintainer's sign-off" with the dates 2026-11-25, 2026-11-26 and 2026-11-27. They came in with feat(crew-api): keep a response and read it back with its input items #42509, feat(crew-api): serve conversations for the machine owner #43140, feat(crew-api): list, read, update and delete conversations for the owner #43293 and feat(crew-api): serve a conversation's event stream to the owner #43339.
  2. The local authorization amendments of 2026-11-19, 2026-11-20 and 2026-11-24 in the RFC, and the matching "(amendment, proposed)" notes in 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

  • No change to the wording or the place of any sentence. Only markers change.
  • No change to the five sentences that were not accepted, and no fix for what each of them disagrees with.
  • No change to code or tests.

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.

Where Before After
crew-public.yaml (10 markers), components.yaml (2), dated 2026-11-25 and 2026-11-26 Proposed 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-27 the same marker Amendments, 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-24 proposed / proposed, to be accepted by a maintainer accepted by a maintainer on 2026-12-02
rfc-crew-api.md, "how the app waits for the owner", 2026-11-19 proposed with the pull request that builds the four routes, and in force once a maintainer merges it accepted, except the last sentence, "Proposals to be confirmed"
rfc-crew-api.md, "what the owner reads and ends", 2026-11-20 proposed, to be accepted by a maintainer accepted, except three sentences in item 2
rfc-crew-api.md, status paragraph, 4 phrases about the amendments of 2026-11-25 to 2026-11-27 "... as proposed amendments, , that wait for a maintainer's sign-off." "... as amendments, , that a maintainer accepted on 2026-12-02.", and for 2026-11-27 "..., except item (4), which stays proposed."

Five sentences were not accepted. Each stays proposed, word for word and in place, and the marker above it names it:

  • Item (4) on GET /v1/crew/events, about what approval.requested and approval.decided carry. It does not agree with an accepted sentence about a cancelled turn's approval.
  • "Proposals to be confirmed: a request waits 10 minutes, ...". Its numbers are proposals, as the sentence itself says.
  • "The app is expected to send the exact model id from GET /v1/models, ...". It does not agree with what the code does today.
  • "Unlike scopes, a Bot is never given by default." It does not agree with an accepted sentence about bots:chat.
  • "The grants list returns the owner's recorded Bot selection; no route enforces it yet." It does not agree with what the code does today.

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 with python 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; only description text differs.

Tests

No test is added or changed. python scripts/generate_crew_api_reference.py --check exits 0, and test/test_crew_api_reference.py holds the generated pages to the spec.

Manual verification

bash scripts/docs-lint.sh passes. A script loaded the three spec files on origin/main and on this head. Everything outside description is 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 (base 54e1b8494b11). The head f47fe7e0d7e1 is that commit rebased onto 55ccc6321844, with a longer commit message: git range-diff shows 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 and docs-lint.sh were run again and pass. The frontend gates were not run: the diff touches nothing under website/.

Real-machine verification

N/A -- the diff changes Markdown and the description text of OpenAPI YAML files; none of it is executed by the gateway.

Related Issues

Closes #46281

Refs #46213

Checklist

  • A Conventional Commits title (feat|fix|docs|style|refactor|perf|test|chore|ci|build|revert: ...); PR Hygiene does not count commits
  • Existing tests pass and new tests added for new functionality
  • Self-review completed; code follows project style guidelines
  • Documentation updated (if applicable)
  • No secrets, credentials, or internal references in the diff

@buluoray
buluoray requested review from a team and KiroCrewCaptain as code owners December 2, 2026 22:07
@github-actions github-actions Bot added the readiness: checking Automated validation is still running label Dec 2, 2026
@github-actions

github-actions Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

First Principles Review (Opus 5.5) — ⏭️ skipped

Revision f47fe7e0d7e1fc6fc538cdc6005ea0a7fb15af29 ships no reviewable capability (docs, tests or generated files only), so there is nothing to inventory. Does not block merge.

@github-actions

github-actions Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

UX Review (Opus 5.5) — ⏭️ skipped

Revision f47fe7e0d7e1fc6fc538cdc6005ea0a7fb15af29 touches no user-facing surface (no changes under website/ or committed screenshots), so the UX review was skipped. Does not block merge.

@github-actions

github-actions Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Design Review (Opus 5.5) — ✅ PASS

Design-level review of f47fe7e0d7e1fc6fc538cdc6005ea0a7fb15af29 — updated in place on each push. A BLOCK verdict blocks PR readiness; PASS does not.

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 .github/scripts/pr-description-capture.sh over the same inputs; if it differs, the description or that evidence changed after this verdict was formed and any finding drawn from either is unproven.

@github-actions

github-actions Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

GPT 6.1 Review — ✅ no blocking findings

GPT 6.1 completed its review of f47fe7e0d7e1fc6fc538cdc6005ea0a7fb15af29 and found no blocking issues.

This comment is updated in place on each push.

Review details

No findings.
[GPT-REVIEWED] f47fe7e

False positive or not applicable? A repository writer can comment:
/ai-review override gpt f47fe7e0d7e1fc6fc538cdc6005ea0a7fb15af29 false-positive: <reason, 20 to 500 characters>

@github-actions

github-actions Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Opus 5.5 Review — ✅ no blocking findings

Reviewed f47fe7e0d7e1fc6fc538cdc6005ea0a7fb15af29 — this comment is updated in place on each push.

Review details

No findings.

[OPUS-REVIEWED] f47fe7e

Verdict parsed from the review's SHA-scoped output markers for commit f47fe7e0d7e1fc6fc538cdc6005ea0a7fb15af29.

False positive or not applicable? A repository writer can comment:
/ai-review override fable f47fe7e0d7e1fc6fc538cdc6005ea0a7fb15af29 false-positive: <reason, 20 to 500 characters>

@github-actions github-actions Bot added readiness: passed Eligible automated validation passed for the current revision and removed readiness: checking Automated validation is still running labels Dec 2, 2026
@KiroCrewCaptain

KiroCrewCaptain commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

Code change approver deep review: Approve

Approved on commit f47fe7e0d7: the review says why.

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 f47fe7e0d7 · 118 changed lines. If it is wrong, reply here: replies are how the approver is evaluated.

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
@buluoray
buluoray force-pushed the crew/headless-crew/accepted-markers-docs branch from 526d664 to f47fe7e Compare December 3, 2026 00:05
@buluoray

buluoray commented Dec 3, 2026

Copy link
Copy Markdown
Contributor Author

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.

@github-actions github-actions Bot added readiness: checking Automated validation is still running readiness: passed Eligible automated validation passed for the current revision and removed readiness: passed Eligible automated validation passed for the current revision readiness: checking Automated validation is still running labels Dec 3, 2026
@KiroCrewCaptain
KiroCrewCaptain enabled auto-merge (squash) December 3, 2026 01:24

@KiroCrewCaptain KiroCrewCaptain left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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, :1269 and :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.

@KiroCrewCaptain
KiroCrewCaptain merged commit 3084a80 into main Dec 3, 2026
108 of 112 checks passed
@KiroCrewCaptain
KiroCrewCaptain deleted the crew/headless-crew/accepted-markers-docs branch December 3, 2026 01:24
@github-actions github-actions Bot removed the readiness: passed Eligible automated validation passed for the current revision label Dec 3, 2026
KiroCrewCaptain pushed a commit that referenced this pull request Dec 4, 2026
…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
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.

docs(rfc-crew-api): mark the earlier Crew API amendments the maintainer accepted

2 participants