mirror of
https://github.com/openai/codex.git
synced 2026-11-25 23:30:49 +00:00
## Why Guardian's public review path does not consume per-write acknowledgments. The session still needs to finish saving accepted evidence when a turn is canceled. ## What changed Replace the acknowledgment tracker with a `PreserveReviewWrites` opt-in for Guardian root sessions. The session continues to save changed evidence across turn cancellation and waits for those writes during shutdown. Remove the append callback from `LiveThread`. ## Testing Add a regression test that interrupts a turn while forwarded user instructions are still being saved, then checks that the instructions appear in persisted history. GitOrigin-RevId: 01e8b2665034f46e766cb382ace99c416f29aab6