Repository navigation
feat(cli): deprecate the astryx layout command group (DEP-0006) - #7136
Conversation
|
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 Regression20 of 436 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 |
81a35e7 to
c5b42b6
Compare
astryx layout command group (DEP-1)astryx layout command group (DEP-0006)
328fa4e to
f747571
Compare
There was a problem hiding this comment.
Thanks for staging this carefully — old invocations, canonical stdout, and exit codes all stay intact, and the pointers to astryx build, astryx template, and astryx docs layout are consistent throughout.
Approval needs a maintainer decision first. The governing release spec on main explains how a deprecation must be staged, but it does not yet decide that the astryx layout group itself is deprecated — that decision currently exists only in this PR. A maintainer needs to provide or identify the governing spec for deprecating this command group (for example, by settling the DEP-0006 decision in the governing spec) before this can be approved.
While that is pending, a few actionable items are already visible:
- The new
deprecatedfield on the four command docs does not appear anywhere a reader looks:--help, the capability manifest, andastryx docsoutput all omit it, so the deprecation is only discoverable by running the command. Wiring that field into help, the manifest, and docs (with a test) would fix it. - No test yet proves the new behaviour — the stderr warning, the JSON deprecation metadata, or that stdout and exit codes are unchanged for a deprecated invocation. Adding CLI tests for those would lock it in.
- JSON error responses (for example an empty or unparsable expression) return an error envelope without the deprecation metadata, so the metadata currently appears only on successful results. Either carrying it there too, or scoping the wording to successful results, would make the claim exact.
- The DEP-0006 record omits the direct-authority field the staging spec requires for a deprecation record; adding it once the maintainer decision above is settled would complete the record.
None of this asks you to remove or split the change; it can move forward once the maintainer decision above is settled.
[Automated review]
4256dee to
511b006
Compare
511b006 to
4217508
Compare
|
/approve-spec 4217508 |
Summary
Deprecates the
astryx layoutcommand group (expand,check,grammar) perspec:AST-017/DEP-0006. Joey's word: "oh also removing layout from the cli" (2026-10-07 13:22 PT).What users see
astryx layout expand|check|grammarprints a one-time stderr warning naming the replacement commands. Canonical stdout, exit codes, and behavior are unchanged.meta.deprecationobject withid,cleanup, andreplacement. Thetype,data, andapiVersionfields are unchanged.Replacement pointer
astryx layout expand "<expr>"astryx build "<idea>"→astryx template <name> <path>buildis the recommended entry point (agent-docs WORKFLOW). Templates provide production-quality starter code; the XLE expression language was an intermediate notation.astryx layout check "<expr>"expand.astryx layout grammarexpandandcheckconsumed.astryx docs layoutChanges
DEP-0006andCLN-0006records (deprecation + cleanup)layout.mjs): stderr warning (human),meta.deprecationmetadata (JSON)deprecatedfield on all four CommandDocs (group + 3 subcommands)astryx layoutas a command to run; keeps the docs topic reference[feat]/ patchWhat is NOT changed
astryx docs layout) — unaffected; a separate PR splits it into focused guideslayoutExpand,layoutCheck,layoutGrammar) — still exported from@astryxdesign/cliexperimental.xle.componentsconfig surface — removal is deferred to CLN-0006Manifest comparison against published 0.6.5
Response types
layout.expand,layout.check,layout.grammarare unchanged. The API barrel andapi/index.mjsexports are identical.Tests
check:changesets: valid (patch mode, 99 changesets)check:knowledge: alignedWriting rubric results