mirror of
https://github.com/openai/codex.git
synced 2026-10-20 17:38:45 +00:00
## Why Unarchiving a thread previously read rollout metadata across both active and archived history, including unrelated threads. ## What changed Use `RolloutReferenceIndex::scan_archived_threads` to restrict discovery to archived files whose canonical filenames match the requested thread. Continue validating ownership through session metadata and include compressed and reverted rollouts. ## Testing Add coverage for compressed and replacement archived rollouts, metadata ownership mismatches, unrelated filenames, and exclusion of active rollouts. GitOrigin-RevId: 8784f3502b839dcb4a3839744010e350d0196545