Skip to content

Commit 17433a7

Browse files
committed
Increase timeouts to 45 minutes for plan and review-gate
The default/previous timeouts were too short, causing commands to be killed mid-run. Strengthened the prompt instruction and bumped the review-gate hook timeout from 10min to 45min.
1 parent f6d1fb1 commit 17433a7

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

commands/captain-codex.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ Full pipeline: Codex plans, Claude implements, Codex reviews until satisfied.
2020
- `--max-rounds <n>` — Cap review iterations (default: from config)
2121
- `--supervised` — Pause after planning and after each review for human approval
2222

23-
## Important: Timeouts
23+
## CRITICAL — Bash Timeout
2424

25-
All Bash calls to codex scripts (`${CLAUDE_PLUGIN_ROOT}/scripts/plan.sh`, `${CLAUDE_PLUGIN_ROOT}/scripts/config.sh`, and any `codex exec` invocations) can take a long time. **Always use a 45-minute timeout (2700000ms)** for these calls by setting the `timeout` parameter on the Bash tool.
25+
**YOU MUST set `timeout: 2700000` on EVERY Bash tool call in this skill.** This includes `plan.sh`, `config.sh`, `codex exec`, and any other shell command. The default 2-minute timeout is far too short — these commands routinely run 10–30 minutes. If you use the default timeout, the command WILL be killed mid-run and the user's work will be lost. There are NO exceptions.
2626

2727
## Behavior
2828

hooks/hooks.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
{
77
"type": "command",
88
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/review-gate.sh",
9-
"timeout": 600000
9+
"timeout": 2700000
1010
}
1111
]
1212
}

0 commit comments

Comments
 (0)