Repository navigation
docs(authority): project complete AST-054 icon capabilities - #7116
rubyycheung wants to merge 2 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
897f631 to
ff7b044
Compare
4ddc7ca to
a633319
Compare
PR Analysis Report
|
There was a problem hiding this comment.
Thanks for the careful transcription — the seven records track the AST-054 draft decisions faithfully, released defaults are preserved on paper, and the scope is clean.
Approval needs a maintainer decision first: spec:AST-054 is still a draft (its decisions list no decider yet) and is not part of the current authority on main, while this PR writes those decisions into records that are current. Under the project's own promotion rule, a maintainer needs to approve and promote spec:AST-054 to current authority so this PR applies an established decision rather than creating one.
Two things to settle in that promotion so the records can govern implementation afterwards:
- the final request-aware type and overload spelling, which the amended icon-resolution record currently defers to the draft's still-open spelling question;
- how built themes store or expose resolver-valued component slots, which the compilation record currently leaves out while runtime slot resolvers are specified.
No removal or restructuring of this PR is being asked for on authority grounds — once the governing spec is current, this change can be re-judged on its merits.
[Automated review]
a633319 to
be95b4e
Compare
There was a problem hiding this comment.
Thanks for the careful projection — the nine records track the AST-054 draft decisions faithfully, keep the released defaults intact on paper, honestly mark the new surface as unshipped, and pass the repository knowledge checks.
Approval needs a maintainer decision first. spec:AST-054 is still a draft — DEC-7 through DEC-10 list no decider yet, and its two open questions (final exported spellings, and where the generated inventory/conformance command lives) are unsettled — and it is not part of the current authority on main, while this PR writes those decisions into records that are current. A maintainer needs to approve and promote spec:AST-054 to current authority on main, including approval from the owners of the nine changed records, so this PR applies an established decision rather than creating one. That matches the blocked-projection note in the PR description.
Two smaller things to settle alongside that promotion:
- The PR body's global-baseline receipt and validation list cite a different base and head than the current PR commits, so they can't be checked against this change — please refresh them (the knowledge check and its tests do pass on the current head).
- The records currently use conceptual field/helper spellings deferred to the draft's open spelling question; landing the final spellings with the promotion will keep the current records self-contained.
No removal or restructuring is being asked for on authority grounds — once the governing spec is current, this change can be re-judged on its merits.
[Automated review]
4aadac4 to
b57c446
Compare
be95b4e to
dea8f2a
Compare
There was a problem hiding this comment.
Thanks for the careful projection — the nine records track the draft Icon capability decisions faithfully, keep the released defaults intact on paper, honestly mark the new surface as unshipped, and pass the repository knowledge checks.
Approval needs a maintainer decision first. The deciding spec is still a draft — four decisions list no decider yet, and its two open questions (final exported spellings, and where the generated inventory/conformance command lives) are unsettled — and it is not part of the current authority on main, while this PR writes those decisions into records that are current. A maintainer needs to approve and promote the deciding spec to current authority on main, including approval from the owners of the nine changed records, so this PR applies an established decision rather than creating one. That matches the blocked-projection note in the PR description.
Two smaller things to settle alongside that promotion:
- The PR body's global-baseline receipt cites a different base and head than the current PR commits, so it can't be checked against this change — please refresh it (the knowledge check and its tests do pass on the current head).
- The records currently use conceptual field/helper spellings deferred to the draft's open spelling question; landing the final spellings with the promotion will keep the current records self-contained.
No removal or restructuring is being asked for on authority grounds — once the governing spec is current, this change can be re-judged on its merits.
[Automated review]
dea8f2a to
5c768b9
Compare
There was a problem hiding this comment.
Approval needs a maintainer decision first: these records would make the draft Icon capability decisions current, including intended changes to Icon's closed size set, component-slot size ownership and the namespaced-key statement, but the deciding spec is still a draft that is not on main (four decisions have no decider, and its export-spelling and inventory-location questions are open), so a maintainer needs to approve and promote it, with the owners of the changed records signing off. Separately, this branch predates current main, where architecture:public-component-api already uses INV15 for part styling inputs and the theming-surface Verification table has changed. Once that decision lands, please rebase, renumber the Icon claim (for example to INV16) everywhere it appears, and rebuild the theming-surface table from main, adding only the INV16 row. No removal or split is being asked for on authority grounds.
[Automated review]
Blocked authority projection
This authority projection is blocked until
spec:AST-054becomescurrent. The local source is stillauthority: draft; this change must not land before DEC-1 through DEC-10 are approved and current, DEC-7 through DEC-10 have named deciders, and the owners of every changed canonical record approve the final projection.Summary
Projects the corrected AST-054 Icon capability contract into its existing canonical owners without creating another decision log or implementation path.
The projection keeps the approved
componentIconsrole-to-IconName/nullmodel, preservesComponentIconSlotMapentries whose value istrue, and refines only the ownership needed for metadata-bearing roles: a theme may provide a default role size and appearance for one effective state, while components continue to own source, state transitions, transforms, placement, color, interaction, and accessibility.No implementation, generated package output, consumer documentation, Changeset, dependency update, or migration is included. Each owner records the AST-054 capability surface as accepted but unshipped and preserves the released implementation baseline.
Exact changed owners
component:Icon—packages/core/src/Icon/Icon.spec.mdarchitecture:component-theming-surfacetrueslots do not participate.architecture:icon-resolution-and-component-slotscomponentIconssource mapping and precedence; extends slot values additively with metadata-bearing finite state vocabularies; derivesComponentIconStateNameconditionally; requires zero or one effective state; preserves selected/pressed source overrides; defines malformed-registry fallback; and projects generated owner metadata, inventory, conformance, and the durable structural/visual ownership split.architecture:public-component-apiIconType-compatible through opaque metadata, and ordinary direct components plustrueslot declarations remain compatible nonparticipants.architecture:theme-applicationarchitecture:theme-authoring-contractarchitecture:theme-compilationbuild.mjsdoes not preserve that metadata.family:buttonspressedIconas an explicit source override.contributing:api-conventionstrueversus metadata-bearing role participation, caller-ownership gate, exact mismatch behavior, default-pixel/namespaced compatibility, and shared generated inventory/conformance expectations.No other canonical owner is changed.
Decision references
The owner records link the corrected system decisions instead of reproducing them:
spec:AST-054/DEC-1— one grouped application capability set;spec:AST-054/DEC-2— canonical and theme-overridable Icon dimensions;spec:AST-054/DEC-3— non-throwing fallback and caller-versus-policy diagnostics;spec:AST-054/DEC-4— component/family structural defaults only;spec:AST-054/DEC-5— one-direction, source-local resolution;spec:AST-054/DEC-6— explicit caller-owned Icon appearance;spec:AST-054/DEC-7— typed safe direct-icon adapters;spec:AST-054/DEC-8— theme appearance and final-size global weight;spec:AST-054/DEC-9— additive role metadata and one effective state; andspec:AST-054/DEC-10— atomic presentation inheritance, per-role size inheritance, inventory, and conformance.The standing owners contain only the claims each owner must enforce. AST-054 remains the sole decision owner.
Compatibility preserved
xsm,sm,md, andlgkeep 12px, 16px, 20px, and 24px defaults.ComponentIconSlotMapvalues oftrueremain valid, stateless, nonparticipating, and continue to usecomponentIconssource mapping.componentIconscontinues mapping a role to anIconNameornullbefore shared registry resolution.IconTypecomponents remain fixed and receive no presentation props.Icon, returns no node throughgetIcon, and uses the caller fallback throughgetExtendedIcon.selectedIconandpressedIconvalues remain explicit caller source overrides.Exact diagnostic projection
The canonical records defer the complete matrix to
spec:AST-054/DEC-3and project only their owned consequences:truerole reject before theme use or build output;md;Related work and dependency
ComponentIconSlotMapandcomponentIconssource architecture. This projection preserves its role-to-name/null model and adds only the metadata-bearing value plus the narrow INV8 ownership refinement accepted by corrected AST-054.design:iconography/DEC-4rejects ad hoc size names. Corrected AST-054 admits only grouped-contract names with canonical defaults rather than ad hoc component names, but the two drafts must be aligned before both can become current.Global-baseline review receipt
fa4c5fcb0f3344ca7090af4fd1dce08ed3a95aba.9c04be264bcde9957949cf58a8eabeaecc818653.accessibility,behavior,component-slots,layout,public-api,theming.component:Iconcontributespublic-api,behavior,theming, andaccessibility;family:buttonscontributes those pluslayout; changed architecture routing contributescomponent-slots,public-api, andtheming. The union is the six requested triggers above.component-theming-surface/INV16,icon-resolution-and-component-slots/INV8,INV11, andINV12,public-component-api/INV15,theme-application/INV11,theme-authoring-contract/INV13, andtheme-compilation/INV15join their matching global review routes.architecture:component-size-cascadelayoutINV1,INV2,INV3,INV4,INV5,INV9layoutmatched each listedarchitecture:component-size-cascade/<claim>throughreview-applicability:v1at the authority base.architecture:component-theming-surfacethemingINV10,INV12,INV14,INV15,INV3,INV4,INV5,INV6,INV7,INV8,INV9themingmatched each listedarchitecture:component-theming-surface/<claim>throughreview-applicability:v1at the authority base.architecture:container-paddinglayoutINV1,INV10,INV11,INV3,INV6,INV8,INV9layoutmatched each listedarchitecture:container-padding/<claim>throughreview-applicability:v1at the authority base.architecture:container-paddingpublic-apiINV10,INV11,INV3,INV7,INV9public-apimatched each listedarchitecture:container-padding/<claim>throughreview-applicability:v1at the authority base.architecture:icon-resolution-and-component-slotscomponent-slotsINV1,INV10,INV2,INV3,INV6,INV7component-slotsmatched each listedarchitecture:icon-resolution-and-component-slots/<claim>throughreview-applicability:v1at the authority base.architecture:layer-runtimelayoutINV11,INV12,INV3layoutmatched each listedarchitecture:layer-runtime/<claim>throughreview-applicability:v1at the authority base.architecture:public-component-apipublic-apiINV1,INV12,INV2,INV3,INV4,INV5,INV6,INV7,INV8,INV9public-apimatched each listedarchitecture:public-component-api/<claim>throughreview-applicability:v1at the authority base.architecture:theme-applicationthemingINV1,INV2,INV3,INV7,INV8,INV9themingmatched each listedarchitecture:theme-application/<claim>throughreview-applicability:v1at the authority base.architecture:theme-authoring-contractthemingINV1,INV11,INV12,INV3,INV8,INV9themingmatched each listedarchitecture:theme-authoring-contract/<claim>throughreview-applicability:v1at the authority base.architecture:theme-compilationthemingINV10,INV2,INV3,INV4,INV6,INV9themingmatched each listedarchitecture:theme-compilation/<claim>throughreview-applicability:v1at the authority base.spec:AST-002public-apiDEC-1,DEC-2,DEC-3,DEC-6,DEC-7,DEC-8,FR15,FR4public-apimatched each listedspec:AST-002/<claim>throughreview-applicability:v1at the authority base.spec:AST-009accessibilityFR1,FR10,FR11,FR12,FR13,FR14,FR15,FR16,FR2,FR3,FR4,FR5,FR6,FR7,FR9accessibilitymatched each listedspec:AST-009/<claim>throughreview-applicability:v1at the authority base.spec:AST-012themingFR4,FR5,FR6,FR7themingmatched each listedspec:AST-012/<claim>throughreview-applicability:v1at the authority base.spec:AST-020accessibilityFR1,FR2,FR6accessibilitymatched each listedspec:AST-020/<claim>throughreview-applicability:v1at the authority base.spec:AST-055accessibilityAR1,AR2,AR3,AR4accessibilitymatched each listedspec:AST-055/<claim>throughreview-applicability:v1at the authority base.spec:AST-055public-apiDEC-1,DEC-4,FR1,FR2,FR3,FR7,FR8public-apimatched each listedspec:AST-055/<claim>throughreview-applicability:v1at the authority base.spec:AST-056accessibilityAR1,AR2accessibilitymatched each listedspec:AST-056/<claim>throughreview-applicability:v1at the authority base.spec:AST-056public-apiDEC-1,DEC-2,DEC-3,DEC-4,FR1,FR2,FR3,FR4,FR5,FR6,FR7public-apimatched each listedspec:AST-056/<claim>throughreview-applicability:v1at the authority base.spec:AST-057accessibilityAR1,AR2,AR3accessibilitymatched each listedspec:AST-057/<claim>throughreview-applicability:v1at the authority base.spec:AST-057behaviorDEC-2,DEC-5,FR4,FR5,FR6,FR7,FR8behaviormatched each listedspec:AST-057/<claim>throughreview-applicability:v1at the authority base.spec:AST-057public-apiDEC-1,DEC-3,DEC-4,DEC-6,FR1,FR2,FR3,FR9public-apimatched each listedspec:AST-057/<claim>throughreview-applicability:v1at the authority base.spec:AST-058accessibilityAR1,AR2,AR3,AR4,DEC-2,DEC-3accessibilitymatched each listedspec:AST-058/<claim>throughreview-applicability:v1at the authority base.spec:AST-058behaviorFR3,FR4,FR5,FR6,FR7,FR8behaviormatched each listedspec:AST-058/<claim>throughreview-applicability:v1at the authority base.spec:AST-058public-apiDEC-1,DEC-4,DEC-5,FR1,FR2,FR9public-apimatched each listedspec:AST-058/<claim>throughreview-applicability:v1at the authority base.spec:AST-059behaviorFR2,FR4,FR5,FR7,FR8behaviormatched each listedspec:AST-059/<claim>throughreview-applicability:v1at the authority base.spec:AST-059layoutDEC-2,FR1,FR2,FR3,FR4,FR5,FR6,FR8layoutmatched each listedspec:AST-059/<claim>throughreview-applicability:v1at the authority base.spec:AST-059public-apiDEC-4,DEC-5,FR6public-apimatched each listedspec:AST-059/<claim>throughreview-applicability:v1at the authority base.Writing rubric results
R1 narration: AST-054 projection clauses are present-tense statements of behavior, ownership, compatibility, or evidence. No project-stage narration was added. Existing unrelated migration/conformance sections in current records were preserved rather than broadened by this scoped projection.
R2 research: no survey, options comparison, benchmark, or test-design narrative was added to a standing record. The public library survey and historical research remain only in the AST-054 preview body.
R3 evidence: added verification cells name type, runtime, browser, accessibility, inventory, diagnostic, source/build/server, and pixel-baseline facts; none uses a pull request, issue, or commit as evidence.
R4 rejected alternatives: no rejected-alternative prose was added. Rejections remain owned by AST-054 DEC-1 through DEC-10.
R5 change references: no pull request, issue, or commit reference was added to a standing record. Related-work references appear only in this local pull request body.
R6 open questions: no settled question was added as open. Final exported spellings/module paths and the inventory/conformance command location remain the two open AST-054 questions; owner projections do not choose them.
Validation
51c949530ed6130e566ff27a3b265c2ef245060d; authority head5c768b9c00e59319b5d36cb105b717b41b238a7c.check:knowledge, 100/100 knowledge tests, committed-rangegit diff --check, table-shape checks, and standing-reference scans passed.truecompatibility, conditional state typing, one effective state, no state weight, direct-adapter isolation, malformed registry fallback, namespaced-key outcomes, inheritance, provisional API naming, inventory columns, and explicit unshipped gaps.Implementation boundary
This PR changes exactly nine authority records relative to its #6891 base. It includes no runtime code, test-file changes, generated source, theme package, CLI behavior, consumer docs, or Changeset. Implementation remains in blocked dependent PRs and cannot land before this authority projection is approved.