How thread tracking works
The plugin tracks Codex task threads per repository. Each time a/codex:rescue task completes, its threadId is stored in the repository’s job state. This lets you continue the same Codex thread in a later request rather than always starting from scratch.
Thread resumption only applies to task threads (from
/codex:rescue). Review jobs (/codex:review, /codex:adversarial-review) are always one-shot and are never resumable.Resuming automatically
When you run/codex:rescue without --resume or --fresh, the plugin checks whether a resumable thread exists for the current Claude session. If one is found, it asks exactly once:
- “Continue current Codex thread”
- “Start a new Codex thread”
Explicit resume
Use--resume to skip the prompt and always continue the last thread:
Explicit fresh start
Use--fresh to skip the prompt and always start a new thread:
Resuming in Codex directly
After any task finishes,/codex:result includes the Codex session ID. Use it to open that run directly in the Codex interface: