Repository navigation
spec(cli): AST-048 a change to an existing page starts from the app shell - #6862
Conversation
FR3 says a part starts from the page template the request places it in. A request that changes a page the builder already has names that page, but no template scaffolds it: the page is the builder's to keep (FR9). This adds that case to FR3, DEC-4 and FR3's verification row. The template-authoring architecture's field table also lists the optional `keywords` field every template entry may carry.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
AI review status for this pull request.
|
PR Analysis Report📚 Storybook Preview🧪 Sandbox PreviewNo new or modified components detected. Bundle Size SummaryNo component packages changed. Accessibility AuditStatus: No accessibility violations detected. Visual Regression15 of 420 shot(s) changed. A change here is a question, not a failure: check whether the after is the
Generated by PR Enrichment workflow | Storybook | Sandbox | View full report |
There was a problem hiding this comment.
Thanks for the precise write-up. Approval needs a maintainer decision before this can land: the change intentionally amends the current AST-048 rule, so a maintainer needs to update the existing spec for that intentional change.
What must be settled: whether AST-048 FR3 and DEC-4 on main should say that a request changing a page the builder already has starts from the app shell (FR2), because the page is the builder's to keep (FR9) and no template scaffolds it, instead of starting from the named page's template as FR3's first clause currently reads for part requests. The separable keywords row in the draft template-authoring record is already consistent with current AST-017 metadata rules and needs no decision.
One small actionable fix to land with the amendment: the FR3 verification row adds "a change to an existing page" as a representative state but states no failure signal for it, so consider extending the expectation to cover an existing-page change starting from that page's template.
[Automated review]
|
/approve-spec ba8ee43 |
There was a problem hiding this comment.
Thanks for the precise write-up and for adding the missing failure signal.
Approval from this review needs a maintainer decision before this can land: the change intentionally amends the current AST-048 rule, so a maintainer needs to accept the update to the existing spec on main.
What must be settled: whether AST-048 FR3 and DEC-4 on main should say that a request changing a page the builder already has starts from the app shell (FR2), because the page is the builder's to keep (FR9) and no template scaffolds it, instead of starting from the named page's template as FR3's first clause currently reads for part requests. The separable keywords row in the draft template-authoring record is already consistent with current AST-017 metadata rules and needs no decision.
The FR3 verification row now covers the new case as well: it lists a change to an existing page as a representative state and names starting that change from the page's own template as a failure. The knowledge-record, formatting, and whitespace checks pass, and this PR changes records only, with no code or shipped behaviour change.
[Automated review]
Exact decision needed
When a build request changes a page the builder already has ("add a sort
toggle to the existing reports page"), where does build's recommendation
start?
spec:AST-048FR3 says a part of a page starts from the page template therequest places it in, and from the app shell when the request gives no page.
A request that changes an existing page names that page, but the page is the
builder's own: FR9 already tells that builder to keep it, and no template
scaffolds it. The record does not say whether such a request starts from the
named page's template or from the app shell.
Existing authority searched
spec:AST-048(current): FR1 always one start, FR2 the app shell whennothing leads, FR3 a part starts where it lives, FR9 an existing page is
kept, DEC-2 and DEC-4. FR3 and DEC-4 cover a part placed in a page or in no
page; neither covers a change to a page that already exists.
spec:AST-017(current) FR10, FR11 and DEC-2: template metadata is catalogdata that may change, so the field table update below needs no
compatibility decision.
spec:AST-035(current) owns only the templatereplacesfield.spec:AST-039(draft) andarchitecture:template-authoring(draft): eachitem's descriptor owns its metadata.
templateandbuild.kitoutput (additive under FR11), and templates: stable-only dependency gate; dashboard-scorecard drops recharts #6730 gatestemplate dependencies. Neither changes where a start comes from (FR3).
Decision
already has starts from the app shell (FR2), because the page is the
builder's to keep (FR9) and no template scaffolds it.
as a part with no page. The page is the builder's own, so no template is
its start.
The draft
architecture:template-authoringrecord also listskeywordsamong the optional fields of every template entry, so the record matches the
authoring type the implementation adds. That row records no decision of its
own.
Rejected alternatives
of a page the builder already has, against FR9.
one template.
Claim scope and non-goals
implementation (AST-048 non-goals: ranking is not contracted).
are unchanged.
keywordsstays optional. No template is required to declare it.Evidence and implementation relationship
#6805 implements this. A request that changes an existing page starts from
the app shell, and the start's reason says the page is the builder's to keep.
The record stays valid without that implementation.
Scope
Validation
pnpm check:knowledgegit diff --check