Files
codex/codex-rs/core/src
T
jif-oai 61cbf3574e Drop startup context when truncating forked rollouts (#24751)
## Summary
- Change last-`n` fork truncation to start at the first fork-turn
boundary instead of returning the full rollout when the fork history is
shorter than the requested window.
- Add coverage for the startup-prefix case in both rollout truncation
tests and agent control spawn behavior.
- Ensure bounded forked children still rebuild context after the cached
prefix is truncated.

## Testing
- Added unit coverage for truncation behavior when the parent history is
under the requested fork-turn limit.
- Added an agent control test covering bounded fork spawn behavior with
startup context present.
- Not run (not requested).
61cbf3574e · 2026-05-27 15:49:08 +02:00
History
..
2026-04-14 14:26:10 -07:00