Repository navigation
spec(AST-017): a Lab-to-Core promotion removes the Lab copy with no alias - #14295
Conversation
…lias Adds FR27a, its verification row, two FR27a gaps, and DEC-35: when a component promotes from Lab to Core, Lab removes it and its exports with no alias or re-export, and the promotion's [feat] Changeset names the Core import path.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
|
/approve-spec 104030d |
There was a problem hiding this comment.
Changes requested: the new rule is owner-approved, but one current record still requires what it forbids, and two of this pull request's own claims do not hold at this head.
component:InfoTipFR4 still requires the Lab alias FR27a forbids: that record is current and says the Lab export re-exports Core'sInfoTip"for one release, and is then removed" (docs/specs/components/InfoTip/InfoTip.spec.md:122, repeated in its Public contract and Compatibility/readiness rows, its Migration decision bullet and its FR4 verification row), so amend it to defer to FR27a or write that re-export into FR27a as a transition the rule admits.- The FR27a gap list misses Lab's CodeBlock re-export: Lab's entry also re-exports
tokenize,tokenizeAsync,SYNC_TOKENIZE_THRESHOLDandSyntaxTokenfrom@astryxdesign/core/CodeBlock(packages/lab/src/index.ts:17-22), left behind by CodeBlock's own Lab-to-Core promotion, so the Current-state impact section needs a secondFR27a gap:line for them. - The overlap check misses one current claim and four open pull requests: the checked box says affected current claims and overlapping open work are named, but
component:InfoTipFR4, #14294 (which deletes the InfoTip re-export this record books as a gap) and #13734, #13762 and #13769 (whose Lab entries become Core re-exports, so they would not meet FR27a) are not named, and no other open pull request edits this record or adds a Core re-export to a Lab entry.
Nothing else in the record needs changing: the requirement, the decision, the verification row, the Current-state impact bullet and the trigger registration agree with each other. CI is green at this head, and git diff --check is clean when run locally.
Claims and files checked
Review mode: same-head; reason: none
- Rules changed since the last review: none.
- Title, a Lab-to-Core promotion removes the Lab copy with no alias: verified against FR27a as written.
- FR22, FR23 and FR27 leave the Lab copy undecided: verified by reading each on the default branch.
- The default branch has one Lab name that is also a Core component, InfoTip: accurate for component names, but it is the bound the gap list follows, and Lab also re-exports four names of Core's CodeBlock, a component that promoted from Lab (gap-list finding).
- The only other open record pull request for this spec covers Core components, not Lab promotion: verified; of every open pull request, only #8006 changes the record.
- Overlap checked, #14290 and #8006, with what each covers: verified for those two (#14290 is now closed); incomplete overall (overlap finding).
- The decision bullets (removal with no alias, the Changeset names the Core path, same-name and renamed promotions, removal as its own change, FR22 and FR23 aliases do not apply): verified in FR27a.
- The decision records the decider, date, choice and words: verified in DEC-35.
- A verification row and a gap; no automated check compares Lab's exports with Core's: verified; the repository's tooling and tests hold no such comparison, and the Lab readiness audit only checks that a candidate's exports reach the Lab entry.
- Current-state impact gains a bullet and the InfoTip gap: verified.
- The rejected one-release Lab alias: verified in DEC-35.
- Scope and non-goals (approval, Core's promoted API and FR23 for Core's own experimental surfaces unchanged; the InfoTip re-export not removed): verified; only the record changes.
- Lab is private and canary-only: verified in Lab's package manifest and FR27.
- Lab's InfoTip entry re-exports Core's InfoTip, InfoTipProps and InfoTipSize as deprecated aliases: verified in Lab's InfoTip entry file.
- Writing rubric results R1 to R7: verified against the added text (present tense, no research, no pull-request or issue references, one rejected alternative inside the decision, Open questions still "None.", both gap lines name FR27a with an observable mismatch).
- Checklist boxes on records only, one durable decision, verification layer and failure signal, adjacent facts out of scope, and no internal context: verified.
- Checklist box on the knowledge owner, affected current claims and overlapping open work: false (overlap finding).
- Components: none: verified.
- Validation:
pnpm check:knowledgealigned is reported in your Validation section and not re-run here; Prettier is checked by CI's lint formatting step, which passes at this head;git diff --checkis clean when run locally; thepnpm specs:for --diffrouting result is reported. docs/specs/AST-017/spec.md, the only changed file: read whole; findings above.
|
/approve-spec 900276e |
There was a problem hiding this comment.
Changes requested: FR27a and DEC-35 carry an engineering owner's approval for this head, but one current record still requires what FR27a forbids.
component:InfoTipFR4 still requires the Lab alias FR27a forbids: that current record says Lab'sInfoTipexport re-exports the Core component "for one release, and is then removed" (docs/specs/components/InfoTip/InfoTip.spec.md:122, restated at:51,:55,:78-79and:208), so amend it in this pull request, or merge #14294 first and then drop the InfoTip gap line (docs/specs/AST-017/spec.md:1049-1050) as you plan.- FR27a leaves open what Lab exports between a promotion and its separate removal (non-blocking): with the removal in its own change, a same-name promotion leaves Lab and Core both exporting the name until the removal lands, which the FR27a verification row (
docs/specs/AST-017/spec.md:1095) treats as a failure, and nothing says whether the Lab entry may be a Core re-export meanwhile, as #13769's is.
Everything else in the record holds: the gap lines match every Core binding that Lab's sources re-export, and the knowledge check passes in CI.
Claims and files checked
Review mode: same-head; reason: none
- changed rules (0): the review rules are unchanged since the last review of this head.
- Live title, spec(AST-017): a Lab-to-Core promotion removes the Lab copy with no alias: verified against FR27a as written.
- FR22, FR23 and FR27 leave the Lab copy undecided: verified by reading each on the default branch.
- Lab's entry on the default branch re-exports two promoted Core surfaces, InfoTip and CodeBlock's four tokenizer names: verified by scanning every Lab source for re-exports of Core; the only other one is a Core date type that Lab's Schedule passes through, never a Lab component.
- The InfoTip record's FR4 is current, keeps the Lab re-export for one release, and FR27a forbids it: verified; the record is unamended here (blocking finding).
- #14294 amends that FR4 and removes the Lab InfoTip re-export: verified at its current head; it is still an open draft.
- After #14294 merges, this branch merges the default branch and drops the InfoTip gap line: your stated plan.
- This pull request does not edit the InfoTip record: verified; that is the blocking finding.
- The only other open record pull request for this spec covers Core components, not Lab promotion: verified; only #8006 changes the record.
- Overlap checked, #14290, #8006, #14294, #13734, #13762 and #13769, with what each covers: verified; #14290 is now closed; #13762 already removes its Lab copy; #13734 and #13769 still turn their Lab entry into a Core re-export, with the removal you describe still ahead (see the non-blocking note).
- Decision bullets (removal with no alias, the Changeset names the Core path, same-name and renamed promotions, removal as its own change, FR22 and FR23 aliases do not apply): verified in FR27a.
- The decision records the decider, date, choice and words: verified in DEC-35.
- A verification row, and no automated check compares Lab's exports with Core's: verified; the only Lab export check is the readiness audit's barrel check.
- Current-state impact gains a bullet and gaps for the InfoTip and CodeBlock re-exports: verified.
- The rejected one-release Lab alias: verified in DEC-35.
- Scope and non-goals (approval, Core's promoted API and FR23 for Core's own experimental surfaces unchanged; no re-export removed; the InfoTip record not edited): verified; only the record changes.
- Lab is private and canary-only: verified in Lab's package manifest and FR27.
- Lab's InfoTip entry re-exports Core's InfoTip, InfoTipProps and InfoTipSize as deprecated aliases, and Lab's entry re-exports the four CodeBlock names from Core: verified in both files.
- Writing rubric results R1 to R7: verified against the added text.
- Scope checklist boxes and Components: none: verified.
- Validation: the knowledge check passes in CI,
git diff --checkis clean when re-run locally, and Prettier was clean in an earlier local run on this head; the specs routing result is reported. docs/specs/AST-017/spec.md, the only changed file: read whole; one blocking finding and one non-blocking note.
Co-authored-by: David Petersen <thedjpetersen@gmail.com>
… names the Core import Co-authored-by: David Petersen <thedjpetersen@gmail.com>
… row and InfoTip's header match the removal Co-authored-by: David Petersen <thedjpetersen@gmail.com>
Co-authored-by: David Petersen <thedjpetersen@gmail.com>
Co-authored-by: David Petersen <thedjpetersen@gmail.com>
…port Co-authored-by: David Petersen <thedjpetersen@gmail.com>
…d copy in the promotion change DEC-35 states that Lab exports no InfoTip, InfoTipProps or InfoTipSize, and InfoTip DEC-2 cites FR27a and DEC-35. The InfoTip gap line goes, because this head removes the re-export. FR27a removes the Lab copy and exports in the promotion change itself.
|
/approve-spec 902e8c4 |
PR Analysis Report🔎 Preview ·
|
| Component | Size | LoC | Visual · A11y · RTL |
|---|---|---|---|
| CheckboxInput | 74.0 kB (0) · 11.0 kB CSS (0) | — | — · — · — |
| CheckboxList | 69.2 kB (0) · 8.5 kB CSS (0) | — | — · — · — |
| CheckboxListItem | 85.8 kB (0) · 13.0 kB CSS (0) | — | — · — · — |
✓ passed · ✗ needs a fix · Δ changed, for review in the shots below · ↻ needs re-verify · — did not run
55 more components
| Component | Size | LoC | Visual · A11y · RTL |
|---|---|---|---|
| ComplexSelector | 88.4 kB (0) · 13.7 kB CSS (0) | — | — · — · — |
| ContextMenu | 111.3 kB (0) · 19.9 kB CSS (0) | — | — · — · — |
| DateInput | 214.9 kB (0) · 19.4 kB CSS (0) | — | — · — · — |
| DateRangeInput | 101.6 kB (0) · 14.6 kB CSS (0) | — | — · — · — |
| DateTimeInput | 238.8 kB (0) · 21.2 kB CSS (0) | — | — · — · — |
| DropdownMenu | 138.6 kB (0) · 20.1 kB CSS (0) | — | — · — · — |
| Field | 63.9 kB (0) · 8.0 kB CSS (0) | — | — · — · — |
| FieldLabel | 59.3 kB (0) · 6.5 kB CSS (0) | — | — · — · — |
| FileInput | 81.5 kB (0) · 13.1 kB CSS (0) | — | — · — · — |
| InfoTip · Storybook | 53.9 kB (0) · 6.1 kB CSS (0) | 151 (0) | ✓ · ✓ · — |
| InputGroup | 66.1 kB (0) · 9.4 kB CSS (0) | — | — · — · — |
| ListItem | 84.9 kB (0) · 13.0 kB CSS (0) | — | — · — · — |
| Markdown | 202.3 kB (0) · 23.9 kB CSS (0) | — | — · — · — |
| MoreMenu | 138.8 kB (0) · 20.1 kB CSS (0) | — | — · — · — |
| MultiSelector | 110.7 kB (0) · 19.4 kB CSS (0) | — | — · — · — |
| NumberInput | 110.3 kB (0) · 13.4 kB CSS (0) | — | — · — · — |
| Pagination | 155.9 kB (0) · 20.4 kB CSS (0) | — | — · — · — |
| PowerSearch | 327.8 kB (0) · 27.8 kB CSS (0) | — | — · — · — |
| RadioList | 65.4 kB (0) · 8.0 kB CSS (0) | — | — · — · — |
| RadioListItem | 81.8 kB (0) · 11.6 kB CSS (0) | — | — · — · — |
| Selector | 122.6 kB (0) · 20.1 kB CSS (0) | — | — · — · — |
| Slider | 119.9 kB (0) · 9.6 kB CSS (0) | — | — · — · — |
| Switch | 114.6 kB (0) · 10.9 kB CSS (0) | — | — · — · — |
| Table | 127.1 kB (0) · 21.6 kB CSS (0) | — | — · — · — |
| TableCell | 112.4 kB (0) · 20.6 kB CSS (0) | — | — · — · — |
| TableHeaderCell | 112.3 kB (0) · 20.4 kB CSS (0) | — | — · — · — |
| TextArea | 97.9 kB (0) · 10.5 kB CSS (0) | — | — · — · — |
| TextInput | 105.0 kB (0) · 13.2 kB CSS (0) | — | — · — · — |
| TimeInput | 187.0 kB (0) · 18.2 kB CSS (0) | — | — · — · — |
| Tokenizer | 118.9 kB (0) · 22.5 kB CSS (0) | — | — · — · — |
| Typeahead | 100.2 kB (0) · 14.8 kB CSS (0) | — | — · — · — |
| lab/AudioPlayer | 241.9 kB (0) · 1.8 kB CSS (0) | — | — · — · — |
| lab/ChatEmojiPicker | 134.0 kB (0) · 773 B CSS (0) | — | — · — · — |
| lab/ChatReactionBar | 135.4 kB (0) · 1.1 kB CSS (0) | — | — · — · — |
| lab/CommentComposer | 192.9 kB (0) · 1.9 kB CSS (0) | — | — · — · — |
| lab/Comments | 384.3 kB (0) · 2.5 kB CSS (0) | — | — · — · — |
| lab/CommentThread | 377.2 kB (0) · 2.4 kB CSS (0) | — | — · — · — |
| lab/EmojiPicker | 125.0 kB (0) · 751 B CSS (0) | — | — · — · — |
| lab/ListInput | 102.7 kB (0) · 1.3 kB CSS (0) | — | — · — · — |
| lab/MediaCaptionsButton | 231.4 kB (0) · 1.5 kB CSS (0) | — | — · — · — |
| lab/MediaFullscreenButton | 231.4 kB (0) · 1.5 kB CSS (0) | — | — · — · — |
| lab/MediaPlaybackRate | 231.4 kB (0) · 1.5 kB CSS (0) | — | — · — · — |
| lab/MediaPlayButton | 231.4 kB (0) · 1.5 kB CSS (0) | — | — · — · — |
| lab/MediaSeekButton | 231.4 kB (0) · 1.5 kB CSS (0) | — | — · — · — |
| lab/MediaTime | 231.4 kB (0) · 1.5 kB CSS (0) | — | — · — · — |
| lab/MediaTimeSlider | 231.4 kB (0) · 1.5 kB CSS (0) | — | — · — · — |
| lab/MediaVolume | 231.4 kB (0) · 1.5 kB CSS (0) | — | — · — · — |
| lab/SelectableCardGroup | 74.4 kB (0) · 162 B CSS (0) | — | — · — · — |
| lab/TabBarMoreList | 98.7 kB (0) · 1.8 kB CSS (0) | — | — · — · — |
| lab/TransferList | 134.6 kB (0) · 1.4 kB CSS (0) | — | — · — · — |
| lab/TransferListSelector | 147.4 kB (0) · 1.6 kB CSS (0) | — | — · — · — |
| lab/VideoPlayer | 239.8 kB (0) · 2.1 kB CSS (0) | — | — · — · — |
| richtext/RichTextEditor | 314.9 kB (0) · 2.7 kB CSS (0) | — | — · — · — |
| richtext/RichTextEditorToolbar | 299.3 kB (0) · 454 B CSS (0) | — | — · — · — |
| richtext/RichTextView | 291.5 kB (0) · 2.4 kB CSS (0) | — | — · — · — |
Package size: @astryxdesign/core 8.18 MB packed (−65 B); no new dependencies.
Touched components checked; for the full suites, add ci:run-visual for Visual, ci:run-a11y for Accessibility, ci:run-rtl for RTL.
Generated by PR Enrichment workflow | View full report
There was a problem hiding this comment.
Changes requested: FR27a, DEC-35 and the amended InfoTip record carry an engineering owner's approval for this head, but the required lint check fails and two description claims need correcting.
- Required
lintfails: the Core header edit ships without a Changeset: CI'slintjob fails Changeset coverage becausepackages/core/src/InfoTip/InfoTip.tsxis shipped Core source with no Changeset naming@astryxdesign/core, so add one (pnpm changeset:new --packages @astryxdesign/core --category docs, which can point Lab canary users at the Core import) or leave that file untouched, and update the description's "No Changeset" and "Core unchanged" lines. - The overlap list leaves out #11205, which conflicts in
component:InfoTip's verification map: that open draft also editsdocs/specs/components/InfoTip/InfoTip.spec.md, a test merge with this branch conflicts in the verification map, and its side still carries the old Lab FR4 row, so name it under "Overlap checked" and say which change keeps the new FR4 row. - "The Decider lines quote the owner's choice" does not hold for InfoTip DEC-2: DEC-2's Decider line (
InfoTip.spec.md:235) gives only the name and date, and the record template asks for no quote, so reword the R1 line in the description. - InfoTip DEC-2 still says Lab's InfoTip entry exports the three names (non-blocking):
InfoTip.spec.md:241-243describes the entry this change deletes as current; "The rule removes Lab'sInfoTip,InfoTipPropsandInfoTipSize, each a re-export of Core InfoTip" keeps the point.
The rule, the InfoTip FR4 amendment and the Lab removal hold: the new test passes when reproduced locally, and CI's typecheck passes at this head.
Claims and files checked
Review mode: full; reason: spec-record
- Title, a Lab-to-Core promotion removes the Lab copy with no alias: verified against FR27a.
- FR22, FR23 and FR27 leave open whether Lab keeps a promoted component: verified against their text.
- Lab's entry re-exports two promoted Core surfaces, InfoTip and the CodeBlock tokenizer: verified by a scan of every non-test Lab source.
- InfoTip FR4 kept the Lab alias for one release, and this change amends it and removes the alias: verified.
- The only other open pull request on the AST-017 record is the staged-deprecation one: verified against every open pull request's files.
- #14290 is closed, #8006 does not decide what Lab keeps, #13734, #13762 and #13769 are promotions, and #14294's commits are folded in with their authorship: verified (the six patches are identical).
- The owner's card answer and words, with their times: reported.
- FR27a, DEC-35, InfoTip FR4 and DEC-2, the contract, compatibility and migration rows, the verification rows, the current-state bullet and the gap lines say what the description says: verified.
- Lab's InfoTip folder and entry export are removed, and the new test rejects the value and both types: verified (test reproduced locally; CI typecheck).
- Core's InfoTip header no longer names a Lab re-export: verified.
- No Changeset is needed: false (CI's lint).
- Scope says Core is unchanged: false (Core source changes, per CI's lint).
- Claim scope and non-goals, Lab's private manifest, and the CodeBlock gap line: verified.
- Writing rubric: the Decider lines quote the owner's choice: false; no issue references and open questions kept as None: verified; the other rubric lines: reported.
- Checklist, overlapping open work is named: false (#11205); no internal context: verified; the other checklist lines: reported.
- Validation (knowledge check, Prettier, whitespace check, the new test): reported, and reproduced locally.
docs/specs/AST-017/spec.md: clear.docs/specs/components/InfoTip/InfoTip.spec.md: DEC-2 wording note; conflicts with #11205.packages/core/src/InfoTip/InfoTip.tsx: missing Changeset.packages/lab/src/InfoTip/InfoTip.test.tsx(deleted): clear.packages/lab/src/InfoTip/index.ts(deleted): clear.packages/lab/src/index.ts: clear.packages/lab/src/promotedComponents.test.ts: clear.
…he removal, not the deleted entry
… none of the three names
|
/approve-spec a8fa89a |
There was a problem hiding this comment.
Changes requested: the Lab-to-Core rule, its InfoTip application and the Lab removal check out and carry an engineering owner's approval for this head, but the description's overlap list is incomplete.
- The overlap list leaves out open promotions #13735, #12891 and #13700: #13735 (CommentPin) and #13769 each add their own
packages/lab/src/promotedComponents.test.ts, so either one conflicts with this branch in that file, and #12891 (Tour) and #13700 (DiffViewer to CodeDiff) are promotions FR27a now governs, so please name all three under "Overlap checked" and say which change merges the cases into the shared test file.
The last round's Changeset, #11205 overlap note, R1 wording and DEC-2 wording are all fixed, and CI's lint and typecheck jobs pass on this head. Separately, open promotion #13734 still makes Lab's SelectableCardGroup a re-export of Core's, which FR27a forbids once this lands.
Claims and files checked
Review mode: full; reason: spec-record
- Claim: a Lab-to-Core promotion removes the Lab copy with no alias (title): verified, AST-017 FR27a at
docs/specs/AST-017/spec.md:551-559. - Claim: FR27 keeps whole experiments in the private canary-only Lab and needs owner approval and a
[feat]Changeset for a promotion; FR22 makes an alias optional; FR23 encourages a transition alias; none decides what Lab keeps: verified against the record onmain. - Claim: Lab's entry on
mainre-exports two promoted Core surfaces, InfoTip and CodeBlock's four tokenizer names: verified by comparing Lab's entry with Core's root (the other shared names,PlainDateand Lab's ownpercentformatter, are not promoted components). - Claim: InfoTip FR4 on
mainkeeps the alias for a release, and this change amends it and removes the alias: verified,InfoTip.spec.md:123and the deleted Lab files. - Claim: the only other open AST-017 record pull request is the staged-deprecation one: verified over every open pull request's files.
- Claim: overlap entries for #14290, #8006, #14294 and #11205: verified (closed release check; no Lab promotion text in #8006; #14294's six commits folded with their author; #11205 conflicts only in the InfoTip verification map, as described).
- Claim: #13734, #13762 and #13769 each remove their Lab copy under FR27a: verified as what FR27a requires; #13734's head still re-exports (note above).
- Claim: the owner's card answer and words decide the removal: reported; both new Decider lines quote them.
- Claims: FR27a, DEC-35, InfoTip FR4 and DEC-2, the contract, compatibility, migration and verification rows, the current-state bullet and both gap lines say what the description lists: verified at
spec.md:1046-1053,:1092,:1717-1733andInfoTip.spec.md:51,:55,:78-80,:209,:232-243. - Claim: no automated check compares Lab's exports with Core's: verified by searching the repository scripts, CI scripts and internal tooling.
- Claim: Lab no longer exports
InfoTip,InfoTipPropsorInfoTipSize, and the new test checks the value and both types: verified; the test passes here and fails on the base, value and type checks both. - Claim: Core changes only its header comment, with no runtime or type change: verified; Core's and every published theme's built surfaces are identical.
- Claim: a
[docs]patch Changeset for@astryxdesign/corecovers the header edit and points Lab callers at Core, and Lab takes no Changeset because the check refuses private packages: verified,.changeset/lab-infotip-core-import.mdandscripts/check-changesets.mjs:125. - Claims: scope and non-goals (approval process, Core's API and FR23 unchanged; CodeBlock re-exports stay, booked as a gap) and Lab is private and canary-only: verified.
- Claims: writing rubric R1 to R7: verified (present tense, quotes match both Decider lines, no pull request references in added text, open questions still "None.").
- Claim: checklist says overlapping open work is named: false (finding above); the other checked items hold, and no internal context appears in public text.
- Claims: validation (knowledge check, Prettier,
git diff --check, 374 valid changesets, 2 passing tests, type checks in CI): verified, run here, and CI'stypecheckpasses. - Files:
.changeset/lab-infotip-core-import.mdclear;docs/specs/AST-017/spec.mdclear;docs/specs/components/InfoTip/InfoTip.spec.mdclear;packages/core/src/InfoTip/InfoTip.tsxclear;packages/lab/src/InfoTip/InfoTip.test.tsx(deleted) clear;packages/lab/src/InfoTip/index.ts(deleted) clear;packages/lab/src/index.tsclear;packages/lab/src/promotedComponents.test.tsfinding (shared with #13735 and #13769).
There was a problem hiding this comment.
Approved pending CI: the deferred build, test and docsite-test suites run once this review passes, and they must pass before merge.
The Lab-to-Core rule and its InfoTip application carry an engineering owner's approval for this head, the Lab removal is held by promotedComponents.test.ts (it passes when run locally, as does Lab's typecheck, and CI's lint, typecheck and smoke test pass on this head), and the overlap list now names every open promotion with a plan for the shared test file.
Claims and files checked
Review mode: same-head; reason: none
- Live title: spec(AST-017): a Lab-to-Core promotion removes the Lab copy with no alias. Changed rules since the last review: 0.
- Claim: a Lab-to-Core promotion removes the Lab copy with no alias (title): verified, AST-017 FR27a at
docs/specs/AST-017/spec.md:551-559. - Claim: FR27 keeps whole experiments in the private canary-only Lab and needs owner approval and a
[feat]Changeset to promote; FR22 makes an alias optional; FR23 encourages a transition alias; none decides what Lab keeps: verified against the record onmain. - Claim: Lab's entry on
mainre-exports two promoted Core surfaces, InfoTip and CodeBlock's four tokenizer names: verified; compared locally with the type checker, Lab's entry shares with Core only those names, a Core date type that Lab's Schedule re-exports and Lab's ownpercentformatter, and neither of the last two is a promoted component. - Claim: InfoTip FR4 on
mainkeeps the alias for a release, and this change amends it and removes the alias: verified,InfoTip.spec.md:123and the deleted Lab files. - Claim: the only other open AST-017 record pull request is the staged-deprecation one, which covers Core components: verified over the file lists of open pull requests.
- Claim: the overlap entries (the closed release check, the staged-deprecation record, the closed InfoTip removal whose six commits are folded in with their author, the three earlier-named promotions, and the draft that edits InfoTip's verification map): verified against each pull request.
- Claim: the CommentPin, Tour and DiffViewer-to-CodeDiff pull requests are promotions FR27a governs: verified; each removes its Lab exports.
- Claim: the CommentPin and TransferList promotions each add their own
promotedComponents.test.ts, an add/add conflict with this file, and this pull request keeps it: verified by test merges, which conflict only in that file. - Claim: the SelectableCardGroup promotion's head still re-exports Core's component, so it must drop that re-export: verified at its current head.
- Claim: the owner's card answer and words decide the removal of the three Lab names: reported; both new Decider lines quote them.
- Claims: FR27a, DEC-35, InfoTip FR4 and DEC-2, the contract, compatibility, migration and verification rows, the current-state bullet and both gap lines say what the description lists: verified at
spec.md:551-559,:1046-1053,:1092,:1717-1733andInfoTip.spec.md:51,:55,:78-80,:123,:209,:232-243. - Claim: no automated check compares Lab's exports with Core's: verified by searching the repository scripts, CI scripts and internal tooling; the Lab readiness audit checks a component's own barrel before promotion, not Lab against Core.
- Claim: Lab no longer exports
InfoTip,InfoTipPropsorInfoTipSize, and the new test checks the value and both types: verified; the test passes and Lab's typecheck, which includes it, is clean, both run locally; CI'stypecheckpasses. - Claim: Core changes only its header comment, with no runtime or type change: verified; the diff is one JSDoc line, and Core builds cleanly.
- Claim: a
[docs]patch Changeset for@astryxdesign/corecovers the header edit and tells Lab callers to import from Core; Lab takes no Changeset because the check refuses private packages: verified,.changeset/lab-infotip-core-import.md,packages/core/src/index.ts:73andscripts/check-changesets.mjs:125. - Changeset: Lab no longer exports the three names; import them from Core: verified (same evidence as the Lab removal claim).
- Claims: scope and non-goals (approval process, Core's API and FR23 unchanged; CodeBlock re-exports stay, booked as a gap) and Lab is private and canary-only: verified,
packages/lab/package.json:4andpackages/lab/src/index.ts:17-22. - Claims: writing rubric R1 to R7: verified (present tense, quotes match both Decider lines, no pull request references in added text, open questions still "None.", gap lines name FR27a).
- Claims: scope checklist (unchecked records-only box, overlapping work named, no internal context in public text): verified.
- Claims: validation (knowledge check, Prettier,
git diff --check, 374 valid changesets, 2 passing tests, type checks in CI): reported; the 2 tests pass locally and CI'slintandtypecheckpass on this head. - Files:
.changeset/lab-infotip-core-import.mdclear;docs/specs/AST-017/spec.mdclear;docs/specs/components/InfoTip/InfoTip.spec.mdclear;packages/core/src/InfoTip/InfoTip.tsxclear;packages/lab/src/InfoTip/InfoTip.test.tsx(deleted) clear;packages/lab/src/InfoTip/index.ts(deleted) clear;packages/lab/src/index.tsclear;packages/lab/src/promotedComponents.test.tsclear.
Exact decision needed
When a component promotes from Lab to Core, does Lab keep an alias or re-export of it?
Existing authority searched
spec:AST-017FR22, FR23, FR27 and the verification table. FR27 keeps whole experimental components in the private, canary-only Lab package and requires owner approval and a[feat]Changeset for a promotion. FR22 makes a compatibility alias optional for an experimental surface. FR23 encourages a transition alias when a Core API leaves its experimental marking. None of them decides whether Lab keeps a promoted component.packages/lab/src/index.ts,packages/lab/src/*/index.ts,packages/core/src/index.ts. Lab's entry on main re-exports two promoted Core surfaces:InfoTip(a deprecated re-export) and CodeBlock'stokenize,tokenizeAsync,SYNC_TOKENIZE_THRESHOLDandSyntaxToken.component:InfoTipFR4 on main keeps the LabInfoTipre-export for one release, which FR27a forbids. This PR amends that record and removes the re-export (see "Lab code changes").Overlap checked: #14290, #8006, #14294, #13734, #13762, #13769, #11205, #13735, #12891, #13700 (#14290 is a closed release interaction check, not a record change; #8006 records staged deprecation of Core components and does not decide what Lab keeps after a promotion; #14294's commits are folded into this PR with their authorship, so this PR carries the InfoTip record amendment and the Lab InfoTip removal; #13734, #13762 and #13769 are promotions, and under FR27a each one removes its Lab copy: each in its own promotion change; #11205 is an open draft that also edits
component:InfoTip's verification map, in its AR1 row; both rows stay: this PR changes the FR4 row ("LabpromotedComponents.test.ts: the Lab entry exports noInfoTip") and #11205 keeps its AR1 row, so whichever lands second merges both, with this PR's FR4 row; #13735 (CommentPin), #12891 (Tour) and #13700 (DiffViewer to CodeDiff) are promotions FR27a governs, so each removes its Lab copy and exports in its own promotion change, with no Lab re-export; #13735 and #13769 each add their ownpackages/lab/src/promotedComponents.test.ts, which conflicts add/add with this PR's file: this PR keeps that file, and whichever of them merges main after this PR lands adds its cases to it; #13734's head still makes Lab'sSelectableCardGroupa re-export of Core's, which FR27a forbids, so it drops that re-export before it merges)Decision
Her card answer "Remove the Lab copy" (2026-12-03 17:54:23 PT), her words "when lab promotes it gets removed with no alias from lab" (17:54:44 PT). These decide the removal of Lab's
InfoTip,InfoTipPropsandInfoTipSize.[feat]Changeset names the Core import path. The rule applies to a same-name promotion and to a renamed one. Lab's copy and exports are removed in the promotion change itself. FR22's optional alias and FR23's transition alias do not apply to a Lab component.cixzhang,2026-12-03), her card choice and her words. It states that Lab's entry exports noInfoTip,InfoTipPropsorInfoTipSize, and that Core is InfoTip's one import path.component:InfoTip: FR4 becomes "@astryxdesign/labMUST NOT exportInfoTip,InfoTipProps, orInfoTipSize;@astryxdesign/coreis their one import path". The new DEC-2 applies the rule and citesspec:AST-017FR27a and DEC-35. The contract, compatibility and migration rows match.Lab code changes
packages/lab/src/InfoTip/index.tsandpackages/lab/src/InfoTip/InfoTip.test.tsxare deleted: Lab no longer re-exports Core'sInfoTip,InfoTipPropsorInfoTipSize.packages/lab/src/index.tsdrops the InfoTip export.packages/lab/src/promotedComponents.test.ts: the Lab entry exports noInfoTipvalue, and the type checker rejectsInfoTipPropsandInfoTipSizeon it.packages/core/src/InfoTip/InfoTip.tsx: the file header no longer names a Lab re-export. No runtime or type change in Core..changeset/lab-infotip-core-import.md: a[docs]Changeset for@astryxdesign/core(patch), for the comment-only header edit inInfoTip.tsx. Reverting that edit would leave a stale comment that says Lab re-exports InfoTip. The Changeset tells Lab canary users to importInfoTip,InfoTipPropsandInfoTipSizefrom@astryxdesign/core.pnpm check:changesetsrefuses Lab Changesets.Rejected alternatives
Claim scope and non-goals
Evidence and implementation relationship
private. FR27 says that Lab is canary-only.packages/lab/src/index.tsre-exportstokenize,tokenizeAsync,SYNC_TOKENIZE_THRESHOLDandSyntaxTokenfrom@astryxdesign/core/CodeBlock. The FR27a gap line records this.Writing rubric results
promotedComponents.test.ts.FR27a gap:lines. "Lab's copy and exports are removed in the promotion change itself" is an order the release process follows, not work order.Scope
Components: InfoTip (Lab export removed; Core's file header and a
[docs]Changeset only)Validation
pnpm check:knowledge: "Knowledge templates and records are aligned."git diff --check: clean.pnpm check:changesets: 374 changesets valid.packages/lab/src/promotedComponents.test.ts(vitest, ui project): 2 tests pass. The type checks in that file are left to CI's typecheck job.