Skip to content

spec(AST-017): components retire in stages — doc deprecation, optional _DEPRECATED rename, removal (DEC-24, FR55–FR58) - #8006

Open
imdreamrunner wants to merge 3 commits into
mainfrom
spec/staged-component-deprecation
Open

imdreamrunner wants to merge 3 commits into
mainfrom
spec/staged-component-deprecation

Conversation

@imdreamrunner

@imdreamrunner imdreamrunner commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Exact decision needed

How a public component, or a public prop or subcomponent of one, is retired: which steps exist, which release tier each one takes, how far apart they are, what decides whether the export is renamed to <Name>_DEPRECATED before removal, and what the declarations, docs, templates, stories, agent-facing docs, and DEP-*/CLN-* records show at each step.

The rename idea is @cixzhang's: renaming the export to Component_DEPRECATED marks every remaining import in caller code. Because the released name stops resolving, that step is [breaking] and needs a declared minor, so it is the optional middle step rather than the first one.

Existing authority searched

  • spec:AST-017 (current) already owns the deprecation lifecycle: FR7 (a replacement-first deprecation is a [feat] patch), FR26 (lifecycle states), FR28/DEC-18 (deprecate in the patch, remove in a later minor), FR29–FR29d (no production-runtime behavior; warnings at authoring surfaces; whole components stay exported and discoverable), FR30 (no elapsed-time or release-count minimum; the structural minimum is the final patch carrying old and new together), FR31 (one [breaking] Changeset per incompatible delta), FR38 (the final patch is the minor's locked baseline), DEC-10, DEC-16. None of them says what a component deprecation's steps are or whether an export rename is part of it. This PR extends that owner; no new record is created, because the steps are the component application of the lifecycle AST-017 already owns, and a separate record would split one fact boundary.
  • architecture:knowledge-contracts, docs/contributing/spec-writing.md, docs/templates/knowledge/system-spec.md for shape.
  • Existing DEP-*/CLN-* records (component:Selector DEP-0011/CLN-0020, component:Banner DEP-0007, spec:AST-032 DEP-0012, spec:AST-042 DEP-0006, architecture:component-theming-surface DEP-0013/DEP-0014) for the table convention and the state vocabulary in use (proposed, deprecated; CLN pending). The DEP table is a record convention, not a template field, so adding a rename row and the renamed/removed/released states needs no schema bump.
  • Paths and symbols: packages/core/package.json exports (component-root subpaths such as ./BottomSheet), .doc.mjs prop-level deprecated, Storybook titles, packages/cli/assets/docs/README.md for where agent-facing docs come from.
  • Open pull requests: searched AST-017 and deprecat. None edits docs/specs/AST-017/spec.md. The BottomSheet open-order stacking change is merged into main; it added DEP-0015 to component:BottomSheetSwitcher (the switcher's own record, which stays current) for the switcher's doc deprecation — step 1 of this procedure — and this PR edits that one record so it agrees with FR58 (below).

Decision

Amendment to spec:AST-017: DEC-24 plus FR55–FR58, routed under the compatibility trigger. (Renumbered from DEC-23 after main took that number for the touch-presentation decision; DEC-24 is the first free decision number — main runs DEC-23, DEC-25–DEC-29 — and FR55–FR58 were still free, main having added FR59–FR60. The record keeps main's approval lines, cixzhang / 2026-10-24, until the owner's approval is recorded.)

  • FR55 — A component deprecation is staged. Up to three steps, each its own Changeset, each shipping only after the previous step is in a stable release:

    1. Doc deprecation — @deprecated on the declarations; consumer docs, CLI templates and blocks, stories, agent-facing docs teach the replacement; a DEP-* record in the owning record may describe it (never gates, FR28). [feat], patch (FR7, FR28). Old usage works exactly as released, no runtime warning (FR29).
    2. Rename deprecation (optional) — the export becomes <Name>_DEPRECATED; the released name stops resolving. [breaking] in a declared minor (FR31) with an astryx upgrade codemod that rewrites imports (FR8).
    3. Removal — the surface, its _DEPRECATED export, and a subpath that existed only for it are removed. [breaking] in a declared minor with the migration and, where mechanical, a codemod (FR8).

    A deprecated prop or prop value has no step 2 (it is not an export). Spacing reuses FR30/FR38's structural minimum and adds nothing: step 1 is in a stable release with old usage working before the minor that renames or removes; step 3 lands in a later declared minor than step 2; cadence is not a clock (FR36); a component record may require a longer transition. A removal in a declared minor with no prior deprecation stays admissible under FR28.

  • FR56 — The rename changes the export identifier and nothing else. The reserved suffix's precondition is the step-1 release (the @deprecated declarations and deprecation Changeset in a stable release), not a record. The component export and every export that exists only for it (props type, own subcomponents, hooks, types) take the suffix in one change. Import subpaths, theme targets, CSS classes, data attributes, template identifiers, documentation catalog identity, the DEP-* id, and runtime behavior keep their released identity; the renamed surface keeps every FR29d guarantee and its reference is reachable under both names. _DEPRECATED is reserved for this step.

  • FR57 — Usage evidence decides the rename; the owner decides. The owner of the owning record decides, or an engineering owner when the surface has no current record (FR42: maintainers resolve missing authority; no record is created); the step-2 [breaking] Changeset (or step-3's when the rename is skipped) states the ruling and its evidence, as FR42's declaration; a kept DEP-* record repeats it in a rename row as description. Evidence is the usage remaining after maintained surfaces migrate in the deprecation patch: imports found in public code search and in known downstream consumers. Rename when remaining imports are unknown or more than the maintainers can migrate themselves; skip when every known remaining caller can be migrated by the maintainers or the step-1 migration. Usage never changes a compatibility class (FR6).

  • FR58 — Each step projects the lifecycle state. A table per step for declarations, consumer reference (astryx component, doc site), maintained guidance (templates, blocks, examples, starter output, agent-facing docs and its component list), stories (the surface's own stories are FR29b's labelled explicit reference: titled (deprecated), naming the replacement and the modernization route; every other story teaches only the replacement), and, when kept, DEP-* state (proposed → deprecated → renamed → removed) and CLN-* state (pending → released). Records are optional description (FR7, FR28, DEC-18): a missing or lagging record never gates a step. The owning record is defined once here — the surface's own current record: the carrying component's for a prop; a subcomponent's own current module record when it has one (module:Dialog/DialogHeader), otherwise the carrying component's; a whole component's own record. It stays current and states that the surface still works and is deprecated through steps 1–2; at step 3 a whole component's own record and a subcomponent's own module record are archived (superseded linking the replacement's current record, withdrawn when there is none), and the description moves to the replacement's or parent's current record if one exists or stays in the released Changesets — and FR55, FR57, and the Authority line point at it. A surface with no current record (a draft-only record counts as none) keeps no DEP-* record: its Changesets and the deprecation note in its consumer reference describe it, and no record is created for it.

  • DEC-24 — Components retire in stages, and the rename step is optional. Decider imdreamrunner, 2026-10-23. States that the step's Changeset carries the ruling and records stay DEC-18's optional description.

  • Non-goals — "Defining component or template naming conventions" now excepts the _DEPRECATED suffix FR56 reserves.

Also updated: the review-applicability trigger list, the Authority relationships (the owning record owns the rename decision, evidence, any longer transition, and its kept DEP-* record), Current-state impact, and the Verification table (FR55–FR58 rows; each names "a lifecycle record required before a step may merge" as a failure signal).

Rejected alternatives

  • Always rename at the first deprecation: forces every deprecation into a minor, so the replacement waits for a minor instead of reaching builders in the next patch.
  • Never rename: a high-usage surface then has no in-code signal in caller source beyond editor strikethrough.
  • A runtime warning: FR29 excludes production-runtime deprecation behavior.

Each is one Rejected: line inside DEC-24.

Claim scope and non-goals

  • Governs the component path only. CLI, theme, token, and configuration deprecations keep FR29a/FR29d and their surface records (FR54).
  • Does not decide for any specific component whether its rename step runs; that is the component record's rename row under FR57.
  • Does not prescribe how docs, the CLI, or Storybook implement the labels and dual-name lookup (INV18); it states what a builder observes after each step.
  • Does not change FR28: a removal in a declared minor without prior deprecation remains admissible.
  • Does not edit the BottomSheet records.

Evidence and implementation relationship

  • First application: the doc deprecation of BottomSheetSwitcher, merged into main with the BottomSheet open-order stacking change, is step 1 as written here (@deprecated on BottomSheetSwitcher, BottomSheetSwitcherProps, sheetId; .doc.mjs leads with the replacement; templates rewritten to standalone sheets; its stories kept and titled (deprecated); DEP-0015 in component:BottomSheetSwitcher's own record, which stays current and says the switcher still works and is deprecated — the owning record FR58 names for a whole component through steps 1–2; no runtime warning). This PR brings that record into line with FR58, the one place the first application disagreed with the procedure: DEP-0015 gains the rename row FR58 requires, reading undecided (the open decision the record already states), and its state row says what deprecated is read from — the merge of the change that shipped the doc deprecation (FR58, step 1), ahead of the release that carries it. FR58 names that one read point for a DEP-* record's state — deprecated, renamed and removed are each read from the merge of the change that ships their step — and judges a kept DEP-* record against the last merged step, in its defect sentence and in its verification row alike. A CLN-* record's released is read, as its name says, from the release that carries the cleanup, so between a breaking step's merge and its release the DEP-* record reads renamed/removed while the cleanup still reads pending; and a retired component's own record is archived at the merge of step 3, the point removed is read from, so the archive sentence and the verification row agree. One more alignment in component:BottomSheet: sheetId, the one BottomSheet prop that exists only for a switcher step, is named there — still works, deprecated with the switcher under DEP-0015, which owns its migration — and the record's "Migration decision" now says none for a standalone sheet's callers while a sheet passing sheetId migrates with its flow. Whether BottomSheetSwitcher takes step 2 (BottomSheetSwitcher_DEPRECATED) is that record's owner's call under FR57, stated in that step's Changeset.
  • No implementation PR; the amendment changes no published package and needs no Changeset.

Writing rubric results

  • R1 narration: none; every added sentence states what the system does. The rename's origin and the first application are in this description only. The DEP-0015 rows added or changed in component:BottomSheetSwitcher state the record's rename and state values in the present tense ("from the merge of the change that shipped the doc deprecation" names the step, not the pull request); the sheetId sentence in component:BottomSheet states what the prop is and its lifecycle state.
  • R2 research in the record: none; the per-step comparison is a projection of the rules, not a survey.
  • R3 evidence naming a change: none; verification cells name the comparison or inspection (latest-stable export comparison, DEP-* record review, per-step inspection).
  • R4 rejected alternatives over one line or outside a decision: three, all one line each, inside DEC-24.

Automated review round: the four findings (records as a merge precondition vs FR7/FR28/FR42/DEC-18; two homes for a whole component's DEP-* record; (deprecated) stories vs FR29b/FR29d; the naming Non-goal vs the reserved suffix) are reconciled in the record as described above. Second round: the reserved suffix and the FR56 failure signal rest on the step-1 release rather than a record; withdrawn covers the no-replacement archive; components without a record get an engineering-owner ruling in the Changeset and no new record. Third round: "no current record" everywhere (a draft-only record is none); a subcomponent's own module record is the owning record and is archived at step 3; superseded links the replacement's current record, else withdrawn; Current-state impact says "the DEP-* record, when kept".

  • R5 pull request or issue references remaining: none in the record (searched # + digits, /pull/, /issues/ in the diff).
  • R6 ruled open questions still listing options: none; Open questions stays None.

Scope

  • This PR contains specification records only: docs/specs/AST-017/spec.md, the DEP-0015 alignment in packages/core/src/BottomSheet/BottomSheetSwitcher.spec.md, and the sheetId sentence in packages/core/src/BottomSheet/BottomSheet.spec.md.
  • It records observable behavior and preserves equivalent internal implementations.
  • Any named internal mechanism is intentionally public, names its dependent caller/system, and explains why an equivalent implementation would not satisfy the contract. (astryx upgrade codemods are already the public migration surface under FR8.)
  • Verification states the evidence layer and failure signal without prescribing CI job/workflow topology.
  • It records one intentional durable decision, not a rescue for a separable tagalong.
  • The canonical knowledge owner, affected current claims, and overlapping open work are named; any ownership collision is resolved or called out for human decision.
  • Adjacent API, visual, accessibility, composition, and implementation facts remain outside scope unless this exact decision depends on them.
  • Public text and artifacts contain no internal Meta context.

Validation

  • pnpm check:knowledge — "Knowledge templates and records are aligned."
  • pnpm check:repo — exit 0.
  • Prettier — applied.
  • git diff --check — clean.
  • Pre-commit check:* suite — green.

@vercel

vercel Bot commented Oct 23, 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 15, 2026 3:26pm UTC

Request Review

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

astracat-bot Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
❓ Needs maintainer input (for maintainers only) Nov 15, 2026, 3:36 PM UTC

@github-actions github-actions Bot added the needs:spec-owner-review Current knowledge records await owner approval label Oct 23, 2026
@github-actions

github-actions Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

PR Analysis Report

Current run: The current change has no visual or preview-producing scope. Visual checks are not applicable; preview links are not shown.


Generated by PR Enrichment workflow | View current CI run

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

This amendment adds requirements that the current spec:AST-017 does not yet state (FR55–FR58 and DEC-23), so approval waits on an engineering owner's decision, which any engineering owner, the author included, records by commenting /approve-spec <full head SHA> on this pull request. Before that, please reconcile one contradiction and three smaller wording points:

  • FR55–FR58 make the DEP-* record (its rename row and one CLN-* id per breaking step) a precondition for steps 2 and 3, while the unchanged FR7, FR28, FR42 and DEC-18 say lifecycle records are optional description that never gates a merge, so either amend those claims for the component path or keep the record descriptive.
  • FR58 places a whole component's DEP-* record in its replacement's or parent's record, but FR55's step 1, FR57 and the new Authority relationships line point at the owning component record and its owner.
  • FR58's retained (deprecated) stories should be stated as FR29b's labelled explicit reference, carrying the modernization route, or FR29b and FR29d amended.
  • The Non-goal “Defining component or template naming conventions.” should except FR56's reserved _DEPRECATED suffix.

[Automated review]

Comment thread docs/specs/AST-017/spec.md Resolved
Comment thread docs/specs/AST-017/spec.md Resolved
Comment thread docs/specs/AST-017/spec.md Resolved
Comment thread docs/specs/AST-017/spec.md Resolved

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

This amendment adds requirements the current spec:AST-017 does not yet state (FR55–FR58 and DEC-23), so approval waits on an engineering owner's decision on this retirement path, which any engineering owner, the author included, records by commenting /approve-spec <full head SHA> on this pull request. Record placement, the retained stories and the naming Non-goal now read consistently, and three corrections remain:

  • FR56 still says a renamed export's DEP-* record exists, and its verification row fails a step without one, which contradicts FR58, DEC-23 and the unchanged FR7, FR28 and DEC-18; ending FR56 at “deprecated and its removal is planned” and failing that row only on an export that is not deprecated would fix it.
  • FR58 archives a removed component's record as superseded “linking the replacement” even in the no-replacement case it names, which pnpm check:knowledge refuses without superseded_by; withdrawn fits that case.
  • FR57 and FR58 give the rename ruling to the owner of the component's own record, but 26 Core component directories (Button and TextInput among them) have no record, so please name the decider for those.

[Automated review]

Comment thread docs/specs/AST-017/spec.md Resolved
Comment thread docs/specs/AST-017/spec.md Resolved
Comment thread docs/specs/AST-017/spec.md Resolved

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

This amendment adds requirements the current spec:AST-017 does not yet state (FR55–FR58 and DEC-23), so approval waits on an engineering owner's decision on this retirement path, which any engineering owner, the author included, records by commenting /approve-spec <full head SHA> on this pull request. The earlier record-gating, archiving and decider points now read consistently, and four wording corrections remain:

  • The Authority relationships line says an engineering owner rules “when no record exists” while FR57 says “no current record”, so for a component whose only record is a draft the two name different deciders; “no current record” in both would fix it.
  • FR58 archives only a whole component's own record at removal, so a subcomponent with a record of its own, such as DialogHeader's module record, would stay current after removal, which FR58's own verification row fails.
  • “superseded, linking the replacement, or withdrawn when there is none” has no case for a replacement that has no current record to link.
  • The Current-state impact bullet lists “the DEP-* record” among the projections without “when kept”, although FR58 makes the record optional.

[Automated review]

Comment thread docs/specs/AST-017/spec.md Resolved
Comment thread docs/specs/AST-017/spec.md Resolved
Comment thread docs/specs/AST-017/spec.md Resolved
Comment thread docs/specs/AST-017/spec.md Resolved

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

This amendment adds requirements the current spec:AST-017 does not yet state (FR55–FR58 and DEC-23), so approval waits on an engineering owner's decision on the retirement path it proposes: a doc deprecation in a patch, an optional owner-ruled <Name>_DEPRECATED export rename in a declared minor, and removal in a later declared minor, with DEP-* and CLN-* records kept as optional description that never gates a step. Any engineering owner, the author included, records that decision by commenting /approve-spec <full head SHA> on this pull request. The earlier wording corrections are all in place, and no other change is needed.

[Automated review]

@imdreamrunner
imdreamrunner force-pushed the spec/staged-component-deprecation branch from bf9f16f to 1659e10 Compare October 26, 2026 00:26
@imdreamrunner imdreamrunner changed the title spec(AST-017): components retire in stages — doc deprecation, optional _DEPRECATED rename, removal (DEC-23, FR55–FR58) spec(AST-017): components retire in stages — doc deprecation, optional _DEPRECATED rename, removal (DEC-24, FR55–FR58) Oct 26, 2026

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

This amendment adds requirements the current spec:AST-017 does not yet state (FR55–FR58 and DEC-24), so approval waits on an engineering owner's decision on the retirement path it proposes: a doc deprecation in a patch, an optional owner-ruled <Name>_DEPRECATED export rename in a declared minor, and removal in a later declared minor, with DEP-* and CLN-* records kept as optional description that never gates a step. Any engineering owner, the author included, records that decision by commenting /approve-spec <full head SHA> on this pull request. The record needs no other change; please remove the description's stale line saying the frontmatter approval lines change to imdreamrunner / 2026-10-23, since this head keeps main's approval lines and nothing in the gate rewrites them.

[Automated review]

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

This amendment adds requirements the current spec:AST-017 does not yet state (FR55–FR58 and DEC-24), so approval waits on an engineering owner's decision on the staged retirement path; any engineering owner, the author included, records it by commenting /approve-spec <full head SHA> on this pull request. Independently of that decision, FR58's lifecycle states contradict the current component:BottomSheetSwitcher record of the first application: its DEP-0015 reads deprecated before its doc deprecation exists and has no rename row (packages/core/src/BottomSheet/BottomSheetSwitcher.spec.md, lines 105–106). Please either update DEP-0015 in this pull request (state proposed and a rename row reading undecided) or change FR58 so a record may read deprecated from the merge of the deprecation, and refresh the description, which still lists the BottomSheet stacking change as open and places the record in component:BottomSheet.

[Automated review]

Comment thread docs/specs/AST-017/spec.md Resolved

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

This amendment adds requirements the current spec:AST-017 does not yet state (FR55–FR58 and DEC-24), so approval waits on an engineering owner's decision on the staged retirement path; any engineering owner, the author included, records it by commenting /approve-spec <full head SHA> on this pull request. The DEP-0015 rows now follow FR58's new read point, but FR58 still disagrees with itself: it reads deprecated from the merge of the doc deprecation, while its record-defect sentence ("a kept record that disagrees with the released step") and its verification row ("a kept record describes a step other than the released one") still judge records against the released step, so DEP-0015 fails FR58's own row until 0.7.5 ships. Please name one read point and use it in all three places, and say whether renamed and removed are also read from the merge of their step.

[Automated review]

Comment thread docs/specs/AST-017/spec.md Resolved

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

This amendment adds requirements the current spec:AST-017 does not yet state (FR55–FR58 and DEC-24), so approval waits on an engineering owner's decision on the staged retirement path; any engineering owner, the author included, records it by commenting /approve-spec <full head SHA> on this pull request. FR58's DEP-* states now share one read point, but two corrections remain:

  • With every lifecycle state read from the merge, a kept CLN-* record must say released before any release carries the cleanup, and a retired component's record is archived "When step 3 is released" while FR58's verification row fails one that "stays current after removal"; naming the CLN-* end state for the merge (or reading released from the release) and using one point for the archive would settle both.
  • DEP-0015 deprecates BottomSheet's sheetId prop, whose FR58 owning record is component:BottomSheet, but that record never names sheetId; one sentence there, or an FR58 clause that describes a prop existing only for a deprecated component in that component's own record, would align the first application.

[Automated review]

Comment thread docs/specs/AST-017/spec.md Resolved
Comment thread docs/specs/AST-017/spec.md Resolved

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

This amendment adds requirements the current spec:AST-017 does not yet state (FR55–FR58 and DEC-24), so approval waits on an engineering owner's decision on the staged retirement path; any engineering owner, the author included, records it by commenting /approve-spec <full head SHA> on this pull request. The FR58 read-point and archive corrections and the sheetId sentence in component:BottomSheet are in place, and the record needs no other change.

[Automated review]

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

This amendment adds requirements the current spec:AST-017 does not yet state (FR55–FR58 and DEC-24), so approval waits on an engineering owner's decision on the staged retirement path; any engineering owner, the author included, records it by commenting /approve-spec <full head SHA> on this pull request. Independently of that decision, FR58's step 1 requires the component list to label a deprecated component and name its replacement, but astryx component --list still shows BottomSheetSwitcher with only its name and import, while DEP-0015 now places it at step 1 and Current-state impact names no gap. Please add a present-tense gap for the CLI component list to Current-state impact, or limit FR58's step-1 cell to what ships today.

[Automated review]

Comment thread docs/specs/AST-017/spec.md Resolved

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

This amendment adds requirements the current spec:AST-017 does not yet state (FR55–FR58 and DEC-24), so approval waits on an engineering owner's decision on the staged retirement path; any engineering owner, the author included, records it by commenting /approve-spec <full head SHA> on this pull request. The component:BottomSheetSwitcher and component:BottomSheet alignments and the new CLI component-list gap note check out against the code at this head. One small wording fix is worth making in the same pass: the narrowed Non-goal names only the _DEPRECATED suffix, while FR21 and DEC-28 already define the _experimental suffix, so naming both keeps that line accurate.

[Automated review]

Comment thread docs/specs/AST-017/spec.md Resolved

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

This amendment adds requirements the current spec:AST-017 does not yet state (FR55–FR58 and DEC-24), so approval waits on an engineering owner's decision on the staged retirement path; any engineering owner, the author included, records it by commenting /approve-spec <full head SHA> on this pull request. One correction is needed whichever way that decision goes: the rename step adds <Name>_DEPRECATED exports in a declared minor, but FR39 admits only removals, corrections, release metadata and compatible fixes in a final-patch-to-minor delta and prohibits refactors with public deltas, so please say in FR55 or FR56 that the rename (the released name's removal together with its _DEPRECATED export) is one cleanup delta described by its [breaking] Changeset, or name renames in FR39(a). The Non-goal now names both lifecycle suffixes, and the component:BottomSheetSwitcher and component:BottomSheet alignments and the CLI component-list gap check out against the code at this head.

[Automated review]

Comment thread docs/specs/AST-017/spec.md Resolved
…l `_DEPRECATED` rename, removal (DEC-24, FR55–FR58)

A public component, prop, or subcomponent is deprecated in up to three
steps: a doc deprecation in a patch, an owner-decided rename of the export
to `<Name>_DEPRECATED` in a declared minor, and removal in a later declared
minor. The record states the tier and tag of each step, the structural
spacing reused from FR30/FR38, what the rename does and does not change,
what usage evidence decides the rename, and how declarations, docs,
templates, stories, agent-facing docs, and the DEP/CLN records project each
step.

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

This amendment adds requirements the current spec:AST-017 does not yet state (FR55–FR58 and DEC-24), so approval waits on an engineering owner's decision on the staged retirement path; any engineering owner, the author included, records it by commenting /approve-spec <full head SHA> on this pull request. The FR39 classification of the rename is now in place, and the records need no other change. Separately, please refresh the description, which still says the pull request does not edit the BottomSheet records and that every FR55–FR58 verification row names a lifecycle-record failure signal; editing it leaves an exact-head approval valid.

[Automated review]

Resolve AST-017: keep DEC-30 beside DEC-24 in the applicability list and
the FR55-FR58 verification rows beside main's. The BottomSheet record
edits follow their move to docs/specs/components/. DEC-24's decider line
and the FR58 gap line take the Specs wording.

Co-authored-by: Ivor Zhou <[email protected]>

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

Approval waits on an engineering owner's decision: FR55–FR58 and DEC-24 add a staged component retirement path (a doc deprecation in a patch, an optional owner-ruled <Name>_DEPRECATED rename in a declared minor, removal in a later declared minor, with DEP-*/CLN-* records as optional description) that the current spec:AST-017 does not yet state. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request, and the author may do so if they are an engineering owner.

One fix is needed in the head that gets approved:

  • DEC-24's Decider line gives its date as <P1 date> (docs/specs/AST-017/spec.md:1530); replace the placeholder with the decision date as YYYY-MM-DD, because an approval binds the exact head and a later commit voids it.

The earlier record findings (the CLN-* read point, sheetId in the BottomSheet record, the component-list gap and the rename's FR39 class) are fixed at this head. The description still names the old packages/core/src/BottomSheet/ record paths and DEC-24's earlier decider and date, so updating it helps the approver.

[Automated review]

### DEC-24 — Components retire in stages, and the rename step is optional

**Reference:** `spec:AST-017/DEC-24`
**Decider:** `cixzhang`, `<P1 date>`; proposed by `imdreamrunner`

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.

<P1 date> is a placeholder where the system-spec template and every other decision in this record carry a YYYY-MM-DD date. An /approve-spec binds this exact head, so approving it would merge a current decision with no date. Writing the decision date here, in the commit the owner approves, fixes it.

Comment on lines +860 to +861
`renamed` when step 2 is skipped. Its `cleanup` row
names one `CLN-*` id per breaking step, the rename and the removal, mirroring the one

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 says a kept DEP-* record's cleanup row names one CLN-* id per breaking step, while CLN-* records are kept only optionally (the table's "when kept") and component:BottomSheetSwitcher DEP-0015's cleanup row reads "none yet" at step 1. Saying the row names CLN-* ids only when they are kept would let the first application agree.

# Conflicts:
#	docs/specs/AST-017/spec.md

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

Approval waits on an engineering owner's decision: FR55–FR58 and DEC-24 add a staged component retirement path to spec:AST-017 (a doc deprecation in a patch, an optional owner-ruled <Name>_DEPRECATED rename in a declared minor, and removal in a later declared minor, with DEP-*/CLN-* records as optional description) that the current record does not yet state. An engineering owner records that decision by commenting /approve-spec <full head SHA> on this pull request, and the author may do so as an engineering owner.

One fix is needed before approval:

  • Newly live check: The description no longer matches the head: it gives DEC-24's decider as imdreamrunner, 2026-10-23 where the record reads cixzhang, <P1 date> (docs/specs/AST-017/spec.md:1577), puts the BottomSheet records under packages/core/src/BottomSheet/ where they now live in docs/specs/components/BottomSheet/, and says every FR55–FR58 verification row fails a step that requires a lifecycle record, which the FR56 and FR58 rows do not.

The <P1 date> placeholder itself no longer blocks, because the repository's approval-line rule lets a placeholder be filled in later, and the earlier findings on the cleanup read point, sheetId in the BottomSheet record, the component-list gap and the rename's release class are fixed at this head.

Claims and files checked

Review mode: full; reason: spec-record

Claims:

  • The amendment adds the staged retirement path as FR55–FR58 and one new decision: verified in docs/specs/AST-017/spec.md.
  • The new decision and requirement numbers were free on main: verified.
  • DEC-24's decider and date as the description gives them: false (docs/specs/AST-017/spec.md:1577).
  • Renumbering leaves the existing touch-presentation decision's approval line unchanged: verified.
  • The amendment is routed under the compatibility review trigger: verified.
  • Every FR55–FR58 verification row fails a step that requires a lifecycle record: false for the FR56 and FR58 rows.
  • The switcher's deprecation record gains an undecided rename row and reads its deprecated state from the merge: verified.
  • The BottomSheet record names sheetId as deprecated with the switcher and limits its migration to sheets that pass it: verified, and the code agrees (packages/core/src/BottomSheet/BottomSheet.tsx:381, :386).
  • The changed BottomSheet records live under packages/core/src/BottomSheet/: false (they are under docs/specs/components/BottomSheet/).
  • No published package changes, so no Changeset is needed: verified.
  • The records cite no pull request or issue, and the open questions stay empty: verified.
  • The knowledge check passes: verified at the head; repository checks and formatting: verified by the Lint workflow at the head; whitespace check: verified; the pre-commit suite: not independently checked.
  • Public text carries no internal context: verified.

Files:

  • docs/specs/AST-017/spec.md: the new requirements await an engineering owner's approval; non-blocking notes on the decision-date placeholder and the cleanup-row wording.
  • docs/specs/components/BottomSheet/BottomSheet.spec.md: clear.
  • docs/specs/components/BottomSheet/BottomSheetSwitcher.spec.md: clear.

Automated review (maintainer link)

This branch was successfully deployed

1 active deployment
Preview — 3adae09a Deployed Nov 15, 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. needs:spec-owner-review Current knowledge records await owner approval

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants