🐛 Fixed
Fixed /spec-kitty.clarify Command Template:
- Fixed broken placeholder in clarify template that prevented agents from running clarification workflow
- Bug: Template contained
(Missing script command for sh)placeholder instead of actual command - Impact: Agents couldn't get feature context, invented non-existent commands like
spec-kitty agent feature get-active --json - Fix: Replaced manual detection logic with
spec-kitty agent feature check-prerequisites --json --paths-only - Consistency: Now matches pattern used in specify.md, plan.md, and tasks.md templates
- Migration
m_0_13_5_fix_clarify_template.pyautomatically updates all 12 agent directories on upgrade - Source template:
src/specify_cli/missions/software-dev/command-templates/clarify.md
- Bug: Template contained
Testing:
- Added comprehensive test suite with 34 tests covering all scenarios
- Parametrized tests for all 12 agents (claude, copilot, gemini, cursor, qwen, opencode, windsurf, codex, kilocode, auggie, roo, q)
- Tests for detection, application, agent config respect, idempotency, dry-run
- Template content validation (ensures no broken placeholders, matches tasks.md pattern)
- End-to-end integration test verifying migration actually runs and fixes templates