mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-05 01:50:27 +08:00
feat: Add comprehensive tests for CCW Loop System flow state
- Implemented loop control tasks in JSON format for testing. - Created comprehensive test scripts for loop flow and standalone tests. - Developed a shell script to automate the testing of the entire loop system flow, including mock endpoints and state transitions. - Added error handling and execution history tests to ensure robustness. - Established variable substitution and success condition evaluations in tests. - Set up cleanup and workspace management for test environments.
This commit is contained in:
29
.test-loop-comprehensive/.task/E2E-TASK-1769007254162.json
Normal file
29
.test-loop-comprehensive/.task/E2E-TASK-1769007254162.json
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
"id": "E2E-TASK-1769007254162",
|
||||
"title": "Test Task E2E-TASK-1769007254162",
|
||||
"description": "Test task with loop control",
|
||||
"status": "pending",
|
||||
"loop_control": {
|
||||
"enabled": true,
|
||||
"description": "Test loop",
|
||||
"max_iterations": 3,
|
||||
"success_condition": "current_iteration >= 3",
|
||||
"error_policy": {
|
||||
"on_failure": "pause",
|
||||
"max_retries": 3
|
||||
},
|
||||
"cli_sequence": [
|
||||
{
|
||||
"step_id": "step1",
|
||||
"tool": "bash",
|
||||
"command": "echo \"iteration\""
|
||||
},
|
||||
{
|
||||
"step_id": "step2",
|
||||
"tool": "gemini",
|
||||
"mode": "analysis",
|
||||
"prompt_template": "Process output"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user