From 71485558df3dceea6163b32274c5183b81134551 Mon Sep 17 00:00:00 2001 From: cexll Date: Wed, 28 Jan 2026 10:09:32 +0800 Subject: [PATCH] fix(do): add timeout handling constraints for codeagent-wrapper Closes #138 - Add constraint 7: expect long-running codeagent-wrapper calls - Add constraint 8: timeouts are not an escape hatch, must retry Generated with SWE-Agent.ai Co-Authored-By: SWE-Agent.ai --- skills/do/SKILL.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/skills/do/SKILL.md b/skills/do/SKILL.md index 23b9865..d3df853 100644 --- a/skills/do/SKILL.md +++ b/skills/do/SKILL.md @@ -45,6 +45,8 @@ To abort early, set `active: false` in the state file. 4. **Pass complete context forward.** Every agent invocation includes the Context Pack. 5. **Parallel-first.** Run independent tasks via `codeagent-wrapper --parallel`. 6. **Update state after each phase.** Keep `.claude/do.{task_id}.local.md` current. +7. **Expect long-running `codeagent-wrapper` calls.** High-reasoning modes (e.g. `xhigh`) can take a long time; stay in the orchestrator role and wait for agents to complete. +8. **Timeouts are not an escape hatch.** If a `codeagent-wrapper` invocation times out/errors, retry `codeagent-wrapper` (split/narrow the task if needed); never switch to direct implementation. ## Agents