Charley Cunningham and Codex
d72fa2a209
[codex] Defer fork context injection until first turn ( #15699 )
...
## Summary
- remove the fork-startup `build_initial_context` injection
- keep the reconstructed `reference_context_item` as the fork baseline
until the first real turn
- update fork-history tests and the request snapshot, and add a
`TODO(ccunningham)` for remaining nondiffable initial-context inputs
## Why
Fork startup was appending current-session initial context immediately
after reconstructing the parent rollout, then the first real turn could
emit context updates again. That duplicated model-visible context in the
child rollout.
## Impact
Forked sessions now behave like resume for context seeding: startup
reconstructs history and preserves the prior baseline, and the first
real turn handles any current-session context emission.
---------
Co-authored-by: Codex <noreply@openai.com >
2026-03-24 18:34:44 -07:00
..
2026-03-24 12:43:53 -07:00
2026-02-20 23:45:35 -08:00
2026-03-19 20:12:07 -07:00
2026-03-19 20:12:07 -07:00
2026-03-23 15:19:01 -07:00
2026-03-23 15:19:01 -07:00
2026-03-24 12:39:58 -07:00
2026-03-24 13:26:23 -07:00
2026-03-19 20:12:07 -07:00
2026-03-23 15:19:01 -07:00
2026-03-23 15:19:01 -07:00
2026-02-20 23:45:35 -08:00
2026-03-23 15:19:01 -07:00
2026-03-13 20:51:01 -07:00
2026-03-24 12:43:53 -07:00
2026-03-23 15:19:01 -07:00
2026-03-19 20:12:07 -07:00
2026-03-23 15:19:01 -07:00
2026-03-24 08:20:57 -07:00
2026-03-24 18:34:44 -07:00
2025-11-21 22:10:52 +00:00
2026-03-19 20:12:07 -07:00
2026-03-23 14:32:59 -07:00
2026-03-23 15:19:01 -07:00
2026-03-23 15:19:01 -07:00
2026-03-19 20:12:07 -07:00
2026-03-23 15:19:01 -07:00
2025-11-13 17:12:10 -08:00
2025-12-23 19:29:32 -08:00
2026-03-23 15:19:01 -07:00
2026-03-19 20:12:07 -07:00
2026-03-20 08:02:50 -07:00
2026-02-25 15:20:46 -08:00
2026-03-13 15:27:00 -07:00
2026-03-23 15:19:01 -07:00
2026-03-23 15:19:01 -07:00
2026-03-23 15:19:01 -07:00
2026-03-23 15:19:01 -07:00
2026-03-23 14:32:59 -07:00
2026-03-13 15:27:00 -07:00
2026-02-20 23:45:35 -08:00
2026-03-24 18:34:44 -07:00
2026-03-20 18:23:48 +00:00
2026-03-23 15:19:01 -07:00
2026-03-19 20:12:07 -07:00
2026-03-23 15:19:01 -07:00
2026-02-20 23:45:35 -08:00
2025-11-13 17:12:10 -08:00
2026-03-18 15:19:49 -07:00
2026-03-20 08:02:50 -07:00
2026-03-23 15:19:01 -07:00
2026-03-19 20:12:07 -07:00
2026-03-23 15:19:01 -07:00
2026-03-23 15:19:01 -07:00
2026-03-23 15:19:01 -07:00
2026-03-11 20:18:31 -07:00
2026-03-13 15:27:00 -07:00
2026-03-13 15:27:00 -07:00
2026-03-23 15:19:01 -07:00
2026-03-07 03:48:36 -08:00
2026-03-23 15:19:01 -07:00
2026-03-19 20:12:07 -07:00
2026-02-20 23:45:35 -08:00
2026-03-20 22:03:31 +00:00
2026-03-08 13:37:41 -07:00
2026-03-24 04:41:38 +00:00
2026-03-23 15:19:01 -07:00
2026-03-23 15:19:01 -07:00
2026-03-19 20:12:07 -07:00
2026-03-23 15:19:01 -07:00
2026-03-17 10:07:46 -07:00
2026-03-17 10:07:46 -07:00
2026-03-19 20:12:07 -07:00
2025-11-20 11:04:11 -08:00
2026-03-23 15:19:01 -07:00
2026-03-23 15:19:01 -07:00
2026-03-19 20:12:07 -07:00
2026-03-23 15:19:01 -07:00
2026-03-11 12:33:09 -07:00
2026-03-19 20:12:07 -07:00
2026-03-23 15:19:01 -07:00
2026-03-19 20:12:07 -07:00
2026-02-27 16:05:44 +01:00
2026-03-23 15:19:01 -07:00
2026-03-23 15:19:01 -07:00
2026-03-19 20:12:07 -07:00
2026-03-23 15:19:01 -07:00