mirror of
https://github.com/openai/codex.git
synced 2026-11-25 23:30:49 +00:00
## Why Automatic goal continuations could lose the thread's saved Daybreak choice, even when the thread was enrolled in Daybreak propagation. ## What changed Capture the saved choice when an externally created live goal first becomes active. For goals created by a tool, carry forward the originating turn's choice and preserve explicit access program overrides. Keep the captured choice in memory for the life of the goal and check it against the current account and model on continuation. Changing the thread's Daybreak setting takes effect for new goals. ## Testing Add coverage for enrolled and opted-out threads, including blocking a goal when the model lacks Daybreak support and starting a new goal after turning Daybreak off. Also cover account changes and isolation from foreground turns. GitOrigin-RevId: 0baf08f06baf267595cb5a2b3b1fe033db52ad06