feat: add git strategy prompt for Vibe workflow mode - #70
Closed
salimomrani wants to merge 1 commit 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/.
Owner
Author
|
Closing in favor of #72 - clean git strategy implementation |
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 plan
Code Review
✅ All feedback from code review incorporated
✅ No type errors, clean compilation
✅ Proper conditional logic for Vibe-only prompt
✅ Backward compatible (defaults to "pr-required")
✅ Follows project constitution principles