mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-05 01:50:27 +08:00
- 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.
29 lines
668 B
JSON
29 lines
668 B
JSON
{
|
|
"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"
|
|
}
|
|
]
|
|
}
|
|
} |