feat(cli): add explanations to migration prompts#1270
Merged
fengmk2 merged 7 commits intovoidzero-dev:mainfrom Apr 2, 2026
Merged
feat(cli): add explanations to migration prompts#1270fengmk2 merged 7 commits intovoidzero-dev:mainfrom
fengmk2 merged 7 commits intovoidzero-dev:mainfrom
Conversation
Add prompts.log.info() calls before interactive prompts in the migration flow to explain why each option is being presented to the user. - Agent selection: explain what agent instruction files are - Agent conflict (append/skip): explain template contents - Editor selection: explain what editor configs will be written - Editor conflict (merge/skip): explain merge behavior - ESLint migration: explain what Oxlint is and what the migration does - Prettier migration: explain what Oxfmt is and what the migration does Closes voidzero-dev#1030 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
✅ Deploy Preview for viteplus-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Replace standalone prompts.log.info() calls with inline gray subtext
embedded in the prompt message itself via styleText('gray', ...).
This keeps the explanation visually tied to its associated prompt
instead of appearing as a detached message before it.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The previous message only mentioned CLAUDE.md and AGENTS.md, but each agent has its own file (GEMINI.md, etc.). Use a generic description that covers all agents. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Some editors don't have recommendations — 'Other' is more accurate than 'None' for this case. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
TheAlexLichter
approved these changes
Apr 2, 2026
Member
|
@codex review |
|
Codex Review: Didn't find any major issues. Delightful! ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
fengmk2
approved these changes
Apr 2, 2026
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.
Summary
Closes #1030
When running
vp migrateinteractively, users are prompted with choices (which agents to use, whether to merge editor configs, whether to migrate ESLint/Prettier, etc.) but are given no context for why. This PR adds a brief gray explanation embedded directly in each prompt message so users understand what they're agreeing to before making a choice.Demo
Test plan
vp check --fixpassespnpm bootstrap-cli && pnpm testpasses (snap tests unaffected — all new messages are insideinteractiveguards)🤖 Generated with Claude Code