Repository navigation
docs(architecture): a Lab-only pull request needs no owner decision (DEC-19) - #10789
Conversation
Records the owner's words as a decision: a pull request whose every changed path is in the Lab package needs only the spec owner's consistency stamp for its Lab behavior or API.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
|
/approve-spec 006f920 |
PR Analysis Report🔎 Preview ·
|
There was a problem hiding this comment.
Requesting changes. DEC-19 records the owner's Lab ruling, and an engineering owner has approved it for this head, but its rule sentence has two problems to fix first:
docs/architecture/knowledge-contracts.md:1324defines a Lab-only pull request as the Lab package plus "its Lab stories, sandbox pages, docs entries and Changesets", which differs from the existing definition of the same term inspec:AST-030FR26 (there, an existing story, a Sandbox page or a docsite page beside a Lab change makes it mixed, while a new Lab component's route-lock and CLI discovery entries still count as Lab), so cite FR26 or list the extra paths and say how the set differs.docs/architecture/knowledge-contracts.md:1324requires "the spec owner's consistency stamp", an act no record defines, so name the act (for example an engineering owner's/approve-specunder DEC-14 when the pull request changes a Lab record) or drop the clause.- Miss: the last sentence keeps a mixed pull request "under the normal owner rules for those parts", which reads as if its Lab parts still skip the owner although the
Rejected:line says it is not Lab-only; this one is non-blocking.
The inline comments cover smaller wording points: the "37b" fragment of the quote, the note in the Decider line, and "owner card" in the heading. Editing the spec text resets the approval, so an engineering owner approves the new head again.
[Automated review]
|
/approve-spec c4ce1b3 |
There was a problem hiding this comment.
Approved pending CI: the required CI jobs have not finished on this head yet. DEC-19 now takes "Lab-only" from spec:AST-030 FR26 and points Lab record approval at DEC-14, an engineering owner has approved this head, and every earlier finding is fixed.
Two optional wording points, also left inline:
- The Lab-record sentence asks for "an engineering owner's
/approve-specat the pull request's head", which is narrower than DEC-14 (an approving review also counts, and approval follows the spec content across base merges); "still needs spec-owner approval (DEC-14)" would match it. - Miss: "for its Lab behavior or Lab API" leaves a Lab-only appearance change waiting for an owner under INV4, while the quoted ruling says "Anything lab only gets an ok"; widen it if design changes are meant to be covered.
[Automated review]
| **Reference:** `architecture:knowledge-contracts/DEC-19` | ||
| **Decider:** `cixzhang`, `2026-11-04` | ||
|
|
||
| The owner said: "Anything lab only gets an ok". A Lab-only pull request, as `spec:AST-030` FR26 defines it, needs no owner decision (INV4) for its Lab behavior or Lab API. A Lab record it changes still takes an engineering owner's `/approve-spec` at the pull request's head (DEC-14). A pull request that is not Lab-only under FR26 follows the normal owner rules for every part it changes; splitting out the non-Lab part makes the rest Lab-only. |
There was a problem hiding this comment.
Non-blocking: this sentence is narrower than DEC-14, which it cites. DEC-14 also counts an eligible owner's approving review (line 1202), and it binds approval to the spec content, so base merges and rebases keep it (lines 1225-1227; exact-head binding is its Rejected: line). Read literally, "/approve-spec at the pull request's head" asks for more than the gate needs. Also, Lab component records sit under docs/specs/components/ (DEC-15), and a record there makes the pull request mixed under FR26, so today the sentence covers no file. Suggested: "A Lab record it changes still needs spec-owner approval (DEC-14)."
| **Reference:** `architecture:knowledge-contracts/DEC-19` | ||
| **Decider:** `cixzhang`, `2026-11-04` | ||
|
|
||
| The owner said: "Anything lab only gets an ok". A Lab-only pull request, as `spec:AST-030` FR26 defines it, needs no owner decision (INV4) for its Lab behavior or Lab API. A Lab record it changes still takes an engineering owner's `/approve-spec` at the pull request's head (DEC-14). A pull request that is not Lab-only under FR26 follows the normal owner rules for every part it changes; splitting out the non-Lab part makes the rest Lab-only. |
There was a problem hiding this comment.
Non-blocking. Miss: "for its Lab behavior or Lab API" does not cover a Lab-only appearance change, so a Lab restyle still meets INV4 (change coupling step 8 keeps a new visual representation novel-human), while the quoted ruling is "Anything lab only gets an ok". If design changes are meant to be covered, "for anything it changes in Lab" says so; otherwise the narrower scope stands.
Who this helps
Lab contributors and reviewers. The owner has already said that Lab-only changes need no owner decision, but the knowledge contracts didn't record it, so Lab-only pull requests still waited for an owner card. This records her words as a decision. It adds no new policy.
What changes
docs/architecture/knowledge-contracts.mdgains DEC-19 — A Lab-only pull request needs no owner decision:cixzhang, 2026-11-04./approve-specat its head (DEC-14).The owner's rule is quoted verbatim. DEC-18 is taken by another open pull request, so this one is DEC-19.
Writing rubric results
R1 narration: none; the quote is the decision's recorded basis, the rule after it is in the present tense, and the Decider line carries no note on how it was recorded.
R2 research: none.
R3 evidence: the Decider line names the owner and date, not a change; Lab-only cites FR26 as its one definition.
R4 rejected alternatives: one, one line, inside DEC-19.
R5 change references: none.
R6 open questions: none.
Tests
pnpm check:knowledgepasses. No code changes.