mirror of
https://github.com/openai/codex.git
synced 2026-10-21 17:48:44 +00:00
## Why Forking a resumed paginated thread failed when the managed `sessions` directory was a symlink, even though the rollout remained under that managed root. ## What changed - Validate rollout lineage references against the canonical `sessions` and `archived_sessions` roots. - Accept rollouts beneath symlinked managed roots while rejecting nested symlinks that escape those roots. ## Testing - Cover forking a resumed rollout under a symlinked `sessions` root. - Cover rejection of rollout lineage paths that escape through a nested symlink. GitOrigin-RevId: 0128ecde7087120ef510baa3ed62cdbb33073117