Repository navigation
build: validate component-spec theming anatomy - #5718
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
cixzhang
force-pushed
the
docs/component-theming-surface
branch
from
August 30, 2026 22:50
2ba0db5 to
3fbed51
Compare
cixzhang
force-pushed
the
feat/anatomy-theming-dispositions
branch
2 times, most recently
from
August 30, 2026 22:55
5d3842e to
493cf44
Compare
cixzhang
force-pushed
the
feat/anatomy-theming-dispositions
branch
from
August 30, 2026 22:59
493cf44 to
e9ba105
Compare
cixzhang
force-pushed
the
docs/component-theming-surface
branch
from
August 30, 2026 23:00
3fbed51 to
f171a16
Compare
cixzhang
force-pushed
the
feat/anatomy-theming-dispositions
branch
from
August 30, 2026 23:04
e9ba105 to
ab81a4b
Compare
cixzhang
force-pushed
the
docs/component-theming-surface
branch
from
August 30, 2026 23:10
f171a16 to
e2e8741
Compare
cixzhang
force-pushed
the
feat/anatomy-theming-dispositions
branch
from
August 30, 2026 23:11
ab81a4b to
446327c
Compare
cixzhang
force-pushed
the
docs/component-theming-surface
branch
from
August 30, 2026 23:18
e2e8741 to
cf708e2
Compare
cixzhang
force-pushed
the
feat/anatomy-theming-dispositions
branch
from
August 30, 2026 23:19
446327c to
d0b9d15
Compare
cixzhang
force-pushed
the
feat/anatomy-theming-dispositions
branch
from
August 30, 2026 23:58
d0b9d15 to
ea37a28
Compare
cixzhang
marked this pull request as ready for review
August 31, 2026 00:01
cixzhang
enabled auto-merge (squash)
August 31, 2026 00:01
Contributor
Author
|
/approve-spec ea37a28 |
Contributor
Author
|
/approve-spec 090d592 |
cixzhang
force-pushed
the
feat/anatomy-theming-dispositions
branch
from
August 31, 2026 03:07
ea37a28 to
090d592
Compare
cixzhang
force-pushed
the
feat/anatomy-theming-dispositions
branch
from
August 31, 2026 03:12
f026032 to
090d592
Compare
Contributor
PR Analysis Report📚 Storybook PreviewView Storybook for this PR 🧪 Sandbox PreviewView Sandbox for this PR No new or modified components detected. Bundle Size SummaryNo component packages changed. Accessibility AuditStatus: No accessibility violations detected. Generated by PR Enrichment workflow | Storybook | Sandbox | View full report |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
Theme authors need every documented component part to have an explicit theming owner, without exposing maintainer ownership records through consumer docs, CLI JSON, MCP, or generated docsite data.
What
### Theming anatomyblock under## Design relationshipsin the existing component-spec template. The versioned JSON map keys exact English anatomy names and declares one oftarget,inherits,delegatesTo, ornonewith a reason.check:knowledgeto parse opted-in blocks, compare them with the component's canonical.doc.mjsanatomy and current targets, and reject incomplete, conflicting, misplaced, or malformed dispositions.Consumer impact
None.
ComponentDoc,.doc.mjs, CLI and programmatic JSON, MCP responses, and generated docsite registry types and data are unchanged. The validator test verifies consumer doc bytes remain unchanged.Metadata shape
Target names omit
astryx-and use kebab-case. Delegated owners usecomponent:<Name>orfamily:<id>.Testing
vitest run scripts/check-knowledge.test.mjs— 30 testspnpm check:knowledgepnpm check:repo