diff --git a/.claude/commands/workflow/tools/task-generate-tdd.md b/.claude/commands/workflow/tools/task-generate-tdd.md index b93a0c75..196189bc 100644 --- a/.claude/commands/workflow/tools/task-generate-tdd.md +++ b/.claude/commands/workflow/tools/task-generate-tdd.md @@ -230,57 +230,6 @@ For each feature, generate task(s) with ID format: } ``` -**Complex Feature Container (IMPL-N.json)** - Only when subtasks needed: -```json -{ - "id": "IMPL-N", - "title": "Complex feature with TDD", - "status": "container", // Container status - "meta": { - "type": "feature", - "agent": "@code-developer", - "tdd_workflow": true - }, - "context": { - "requirements": ["Complex feature requiring >2500 lines", "Split into subtasks"], - "focus_paths": ["src/feature/"], - "acceptance": ["All subtasks complete TDD cycles"], - "depends_on": [] - } -} -``` - -**Complex Feature Subtask (IMPL-N.M.json)**: -```json -{ - "id": "IMPL-N.M", - "title": "Sub-feature with TDD", - "status": "pending", - "meta": { - "type": "feature", - "agent": "@code-developer", - "tdd_workflow": true, - "max_iterations": 3, - "use_codex": false - }, - "context": { - "requirements": ["Sub-feature description with TDD phases"], - "tdd_cycles": [{"cycle": 1, "feature": "...", "test_focus": "...", "expected_failure": "..."}], - "focus_paths": ["src/feature/sub/", "tests/feature/sub/"], - "acceptance": ["Tests pass", "Code refactored"], - "parent": "IMPL-N", // Parent task reference - "depends_on": [] - }, - "flow_control": { - "implementation_approach": [ // Same 3-phase structure as simple task - {"step": 1, "title": "RED Phase", "tdd_phase": "red", "description": "..."}, - {"step": 2, "title": "GREEN Phase", "tdd_phase": "green", "description": "..."}, - {"step": 3, "title": "REFACTOR Phase", "tdd_phase": "refactor", "description": "..."} - ] - } -} -``` - **Key JSON Fields Summary**: - `meta.tdd_workflow`: Must be `true` - `meta.max_iterations`: Green phase fix cycle limit (default: 3)