Skip to content

docs(architecture): a Lab-only pull request needs no owner decision (DEC-19) - #10789

Merged
cixzhang merged 2 commits into
mainfrom
docs/dec-19-lab-only-no-owner-card
Nov 9, 2026
Merged

cixzhang merged 2 commits into
mainfrom
docs/dec-19-lab-only-no-owner-card

Conversation

@cixzhang

@cixzhang cixzhang commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

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.md gains DEC-19 — A Lab-only pull request needs no owner decision:

  • Decider: cixzhang, 2026-11-04.
  • The decision: a Lab-only pull request, as AST-030 FR26 defines it, needs no owner decision (INV4) for its Lab behavior or Lab API.
  • Lab records: a Lab record the pull request changes still takes an engineering owner's /approve-spec at its head (DEC-14).
  • Other pull requests: one 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.
  • Rejected: treating a pull request that also changes Core or another package as Lab-only.

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:knowledge passes. No code changes.

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.
@vercel

vercel Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
astryx Ready Ready Preview Nov 9, 2026 2:15pm UTC

Request Review

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 9, 2026
@astracat-bot

astracat-bot Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🟢 Reviewed (for maintainers only) Nov 9, 2026, 2:22 PM UTC

@cixzhang

cixzhang commented Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

/approve-spec 006f920

@github-actions github-actions Bot added needs:spec-owner-review Current knowledge records await owner approval and removed needs:spec-owner-review Current knowledge records await owner approval labels Nov 9, 2026
@github-actions

github-actions Bot commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

PR Analysis Report

🔎 Preview · c4ce1b3

Storybook · Sandbox · built from this PR's head

Package size: no published package changed; no new dependencies.

API changes: none in this pull request

Committed API report behind this build: cli 29 rows, core 36 rows, theme-butter 1 row, theme-y2k 1 row; run pnpm api:report.

Not run on this PR: add ci:run-visual, ci:run-a11y or ci:run-rtl to run them.


Generated by PR Enrichment workflow | View full report

@astracat-bot astracat-bot Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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:1324 defines 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 in spec:AST-030 FR26 (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:1324 requires "the spec owner's consistency stamp", an act no record defines, so name the act (for example an engineering owner's /approve-spec under 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]

@cixzhang
cixzhang marked this pull request as draft November 9, 2026 14:07
@cixzhang cixzhang changed the title docs(architecture): Lab-only changes need no owner card (DEC-19) docs(architecture): a Lab-only pull request needs no owner decision (DEC-19) Nov 9, 2026
@cixzhang

cixzhang commented Nov 9, 2026

Copy link
Copy Markdown
Contributor Author

/approve-spec c4ce1b3

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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-spec at 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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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.

@cixzhang
cixzhang merged commit 737ea2b into main Nov 9, 2026
150 of 156 checks passed
@github-actions
github-actions Bot deleted the docs/dec-19-lab-only-no-owner-card branch November 10, 2026 06:04

This branch was successfully deployed

1 active deployment
Preview — c4ce1b3c Deployed Nov 9, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant