astryx init foolproof: @astryxdesign/core postinstall nudge#4155
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
josephfarina
force-pushed
the
navi/vibe/core-postinstall
branch
from
July 22, 2026 00:49
102b789 to
377f1e6
Compare
Contributor
PR Analysis Report📚 Storybook PreviewView Storybook for this PR 🧪 Sandbox PreviewView Sandbox for this PR No new or modified components detected. Bundle Size Summary
Accessibility AuditStatus: 67 accessibility violation(s) found — 6 critical, 55 serious, 6 moderate. AppShell - 1 issue(s)
Avatar - 1 issue(s)
AvatarGroup - 1 issue(s)
Badge - 1 issue(s)
Banner - 1 issue(s)
Card - 1 issue(s)
Carousel - 1 issue(s)
Chat - 1 issue(s)
ChatComposer - 1 issue(s)
ChatComposerInput - 2 issue(s)
ChatLayout - 1 issue(s)
ChatReasoning - 1 issue(s)
ChatToolCalls - 1 issue(s)
CheckboxList - 1 issue(s)
ClickableCard - 1 issue(s)
CodeEditor - 2 issue(s)
CodeEditorPerf - 2 issue(s)
CodeEditorTheme - 1 issue(s)
CodeTheme - 1 issue(s)
Collapsible - 1 issue(s)
DateRangeInput - 1 issue(s)
FileInput - 3 issue(s)
Grid - 1 issue(s)
GridMasonry - 1 issue(s)
Heading - 1 issue(s)
Icon - 1 issue(s)
InputGroup - 1 issue(s)
Item - 2 issue(s)
Kbd - 1 issue(s)
Layout - 2 issue(s)
List - 2 issue(s)
LogStream - 1 issue(s)
OverflowList - 1 issue(s)
Overlay - 1 issue(s)
Pagination - 1 issue(s)
PowerSearch - 1 issue(s)
ProgressBar - 1 issue(s)
RadioList - 1 issue(s)
Schedule - 1 issue(s)
Section - 1 issue(s)
SegmentedControl - 1 issue(s)
SelectableCard - 1 issue(s)
Stack - 1 issue(s)
Stepper - 1 issue(s)
TabList - 1 issue(s)
Table - 1 issue(s)
TableGroupedRows - 2 issue(s)
TablePagination - 1 issue(s)
TableTree - 1 issue(s)
Text - 1 issue(s)
Theme - 1 issue(s)
PopArt - 1 issue(s)
Thumbnail - 1 issue(s)
Timestamp - 1 issue(s)
Token - 1 issue(s)
Tokenizer - 1 issue(s)
Toolbar - 1 issue(s)
ToolbarEdgeCompensation - 1 issue(s)
Generated by PR Enrichment workflow | Storybook | Sandbox | View full report |
josephfarina
force-pushed
the
navi/vibe/core-postinstall
branch
from
July 22, 2026 03:40
377f1e6 to
965f662
Compare
josephfarina
marked this pull request as ready for review
July 22, 2026 03:42
josephfarina
requested review from
cixzhang,
ejhammond and
imdreamrunner
as code owners
July 22, 2026 03:42
…forcement layer 1) When @astryxdesign/core is installed and the project hasn't run init yet, print a one-line next-step so agents/humans discover it — the most common fresh-install entry. - scripts/postinstall.mjs is self-contained (core can't import the CLI), so the agent-doc locations + marker duplicate the CLI's discovery (agent-docs.mjs); the Hermes entries are an intentional superset. Never fails the install. - Quiet in the monorepo/source build, during npx's transient fetch, and once set up. - Message is the validated simple one-liner (message-format vibe test).
josephfarina
force-pushed
the
navi/vibe/core-postinstall
branch
from
July 22, 2026 03:56
965f662 to
8a8331f
Compare
josephfarina
enabled auto-merge (squash)
July 22, 2026 04:00
cixzhang
added a commit
that referenced
this pull request
Jul 22, 2026
Seven published-behavior PRs merged since v0.1.7 without a changeset, which would leave their contributors uncredited in the CHANGELOG. Add changesets so the v0.1.8 bump credits them: - core docs.mjs redirect to the CLI (#4207) - Table tree-data plugin: useTableTreeState / useTableTreeData (#3789) - Table tree expander aria-label localization (#4149) - foolproof init: postinstall nudges + non-interactive init (#4147, #4153, #4154, #4155)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Enforcement layer 1 of 3 — and the highest-impact, since installing the design system is the common fresh-install entry point. When
@astryxdesign/coreis installed and the project hasn't run init, its postinstall prints a one-line next-step.Independent of the CLI-side PRs (separate package) — can land on its own.
What
packages/core/scripts/postinstall.mjsprintsNext step: run npx @astryxdesign/cli init …. Never fails the install.agent-docs.mjs:AGENT_DOC_PATHS+MARKER_START) — kept in sync + covered by a guardrail test (all 6 locations incl. Hermes + legacyXDS).Tests
packages/core/src/postinstall.test.mjs— marker detection across all locations + nudge decision matrix.