feat: add git strategy prompt for Vibe workflow mode#71
Closed
salimomrani wants to merge 3 commits into
Closed
Conversation
- Add GitStrategy type ('pr-required' | 'no-pr') to ProjectConfig
- Add conditional git strategy prompt in project wizard (only for Vibe mode)
- Update claude-code generator to use gitStrategy from ProjectConfig
- Update test fixtures and configs to include gitStrategy field
- Default gitStrategy to 'pr-required' for safety
When users select Vibe workflow during setup, they're now asked to choose
between PR-required (safer) or direct-push (faster) strategies. The choice
is saved to settings.json and guides Claude Code's git behavior.
Spec, plan, and tasks documentation added to .specify/specs/001-vibe-git-strategy/.
Svelte frontend support was accidentally included in build artifacts and has been removed. Cleanup import statement in frontend/index.ts.
feat: add git strategy prompt for Vibe workflow mode
- Add GitStrategy type ('pr-required' | 'no-pr') to ProjectConfig
- Add conditional git strategy prompt in project wizard (only for Vibe mode)
- Update claude-code generator to use gitStrategy from ProjectConfig
- Update test fixtures and detection logic to include gitStrategy field
- Generate spec, plan, tasks.md for feature tracking
Owner
Author
|
Closing in favor of #72 which contains the clean git strategy changes without Svelte code |
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
Adds a git strategy configuration prompt for Vibe workflow mode, allowing users to choose between PR-required and direct-push strategies. The choice is written to
settings.jsonand guides Claude Code's behavior.Changes
GitStrategytype toProjectConfig(values:"pr-required"|"no-pr")Test Results
✅ TypeScript compilation passes
✅ claude-code tests pass
✅ Prompt appears only when Vibe workflow selected
✅ Both strategy options work correctly
✅ Default to "pr-required" (safe default)
✅ settings.json contains correct git.strategy value
Architecture
.specify/specs/001-vibe-git-strategy/