fix(init): clarify guidance when using --tools none#1160
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughWhen ChangesEmpty Tools Initialization Messaging
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
This PR clarifies the success message for
openspec init --tools none.Previously,
init --tools nonecould still show the standard workflow guidance after setup, even though no AI tool integrations were installed in that mode.This change makes the output explicit for the
--tools nonecase:openspec init --tools <tool>All existing guidance for tool-configured setups remains unchanged.
Why
--tools noneis a valid non-interactive setup mode when a user wants to initialize the OpenSpec project structure without installing any tool-specific skills/commands yet.In that case, showing the normal workflow entrypoint guidance is misleading, because there is no installed tool surface to invoke.
Changes
initsuccess message for the--tools nonepathValidation
pnpm vitest run test/core/init.test.tspnpm buildpnpm vitest run test/cli-e2e/basic.test.tsSummary by CodeRabbit