mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-15 02:42:45 +08:00
- Added Phase 1: Session Start to detect input mode and create test workflow session. - Added Phase 2: Test Context Gather to gather test context via coverage analysis or codebase scan. - Added Phase 3: Test Concept Enhanced to analyze test requirements using Gemini and generate multi-layered test requirements. - Added Phase 4: Test Task Generate to create test-specific tasks based on analysis results. - Added Phase 5: Test Cycle Execute to manage iterative test execution and fix cycles with adaptive strategies. - Introduced BottomPanel component for terminal dashboard with Queue and Inspector tabs.
1.7 KiB
1.7 KiB
Phase 4: Test Task Generate (test-task-generate)
Generate test task JSONs via action-planning-agent.
Objective
- Generate test-specific IMPL_PLAN.md and task JSONs based on TEST_ANALYSIS_RESULTS.md
- Create minimum 4 tasks covering test generation, code validation, quality review, and test execution
Execution
Step 1.4: Generate Test Tasks
Skill(skill="workflow:tools:test-task-generate", args="--session [testSessionId]")
Input: testSessionId from Phase 1
Note: test-task-generate invokes action-planning-agent to generate test-specific IMPL_PLAN.md and task JSONs based on TEST_ANALYSIS_RESULTS.md.
Expected Output (minimum 4 tasks):
| Task | Type | Agent | Purpose |
|---|---|---|---|
| IMPL-001 | test-gen | @code-developer | Test understanding & generation (L1-L3) |
| IMPL-001.3 | code-validation | @test-fix-agent | Code validation gate (L0 + AI issues) |
| IMPL-001.5 | test-quality-review | @test-fix-agent | Test quality gate |
| IMPL-002 | test-fix | @test-fix-agent | Test execution & fix cycle |
Validation:
.workflow/active/[testSessionId]/.task/IMPL-001.jsonexists.workflow/active/[testSessionId]/.task/IMPL-001.3-validation.jsonexists.workflow/active/[testSessionId]/.task/IMPL-001.5-review.jsonexists.workflow/active/[testSessionId]/.task/IMPL-002.jsonexists.workflow/active/[testSessionId]/IMPL_PLAN.mdexists.workflow/active/[testSessionId]/TODO_LIST.mdexists
Output
- Files: IMPL_PLAN.md, IMPL-*.json (4+), TODO_LIST.md
- TodoWrite: Mark Phase 1-4 completed, Phase 5 in_progress
Next Phase
Return to orchestrator for summary output, then auto-continue to Phase 5: Test Cycle Execute.