Use CODEX_THREAD_ID as the highest-priority candidate session instead of excluding it. Keep reverse-mtime project session fallback and codify the order in tests.
Co-authored-by: Codex <noreply@openai.com>
Remove redundant apply_patch tool summary handling and ignore records missing synthetic line numbers before extracting planning updates or follow-up messages.
Co-authored-by: Codex <noreply@openai.com>
Teach session-catchup.py to read Codex rollout JSONL, skip the current Codex thread, filter subagent/tiny sessions, and detect structured planning updates. Update tests and docs for the new behavior.
Co-authored-by: Codex <noreply@openai.com>
Restores the Codex-specific fallback in session-catchup.py that was overwritten by the v2.23.0 sync. When running from a Codex skill path, the script now skips cleanly instead of silently scanning Claude storage.
Changes:
- Fix root cause in canonical session-catchup.py (not just Codex copy)
- Sync fix across all 7 IDE copies
- Add regression test to prevent future overwrites
Thanks @YSAA1