-
-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Labels
Description
Purpose
Workers that encounter errors (git add failure, test failure, tool call error) often stop and wait for conductor intervention instead of self-recovering. The worker prompt template should include explicit self-recovery instructions.
Changes
.claude/skills/taskmaestro/SKILL.md— Enhance worker prompt template inassignsubcommand
Expected Behavior
Add to worker prompt template:
[ERROR RECOVERY PROTOCOL]
If any command fails:
1. DO NOT STOP. Read the error message carefully.
2. Diagnose: run git status, check file paths, verify dependencies
3. Fix: apply the minimal fix to resolve the error
4. Retry: re-run the failed command
5. If 3 retries fail: write RESULT.json with status "failure" and error details
6. Reference systematic-debugging skill for complex errors
NEVER go idle after an error without either:
a) Recovering and continuing, OR
b) Writing RESULT.json with failure status
Acceptance Criteria
- Error recovery protocol added to worker prompt template
- Covers: git errors, test failures, tool call errors, dependency issues
- Maximum 3 retry attempts before failure RESULT.json
- References systematic-debugging skill
- Can be merged independently
References
- Incident: 2026-03-22 Wave 3 pane 4 (feat(mcp): add auto-dispatch strength to parse_mode specialist recommendations #808) — git add path error, stopped
- Incident: 2026-03-22 Wave 3 pane 3 (feat(mcp): add teams execution strategy to dispatch_agents #807) — parallel tool call error, stopped
- Parent: Improve taskMaestro parallel execution reliability (retrospective action items) #866
Reactions are currently unavailable