feat: add model selection per task via global config #265
feat: add model selection per task via global config #265zohar wants to merge 26 commits intoPriivacy-ai:1.x-maintenancefrom
Conversation
…te-feature - create-feature now creates and checks out a git branch named after the feature slug (e.g. 014-checkout-upsell-flow) instead of defaulting to the current branch (typically main) - target_branch in meta.json is set to this feature branch - implement.py now reads target_branch from meta.json (via get_feature_target_branch) instead of resolve_primary_branch, so the planning-artifacts guard accepts the feature branch - specify.md template example updated to show feature slug as target_branch - --target-branch flag still overrides this behavior for power users - tests updated to reflect new git-flow target_branch semantics
Auto-committed by spec-kitty before creating workspace for WP01
Code Review — PR #265Hey @zohar, thanks for working on this. I did a thorough review and want to share some findings and questions. What's actually in the diffThe PR title says "add model selection per task via global config" and the description mentions What the PR actually delivers is a branch-contract refactoring — separating the concept of "planning branch" from "merge target branch." This is valuable work! But it's a different feature than what's described. Can you clarify: Is the model selection feature planned as a follow-up PR on top of this branch infrastructure? Or was it intended to be here and something went wrong with the commits? What works well
Suggestions to make this PR merge-ready
The bigger questionModel selection per task ( 🤖 Review generated with Claude Code |
Users can configure which AI model is used for each spec-kitty
command by creating ~/.spec-kitty/config.yaml:
The model: field is injected into agent command frontmatter during
spec-kitty upgrade, supporting all configured agents automatically.