mirror of
https://github.com/stablyai/orca.git
synced 2026-11-18 11:54:46 +00:00
The sweep now also deletes Codex rollouts whose workspace folder is gone, under the same folder rule. A rollout is deleted under every name it has across the host's Codex homes (sessions and archived_sessions, .jsonl and .jsonl.zst), only when every copy is idle, its last turn ran in the gone folder and Codex holds no writer lock for the thread. History link passes, backfill and resume skip a rollout while it is being deleted, and no longer leave a dangling symlink when the source is gone. Fixes #16776 Co-authored-by: Max Hsu <maxmilian@gmail.com>