Files
codex/codex-rs/prompts
Dylan Hurd e3a398d3e4 Allow model catalogs to set initial collaboration guidance (#62896)
## Why

Model catalogs could provide guidance for Plan and for Default after Plan,
but had no field for the turns before the first Plan turn.

## What changed

Add optional `collaboration_modes.initial` guidance. Codex uses it in
Default before the first Plan turn when the field is nonempty and no
caller-supplied instructions take precedence.

## Testing

Add a request snapshot test that covers initial guidance on a new thread,
retains it after resume, and verifies the switch to Plan guidance and then
to Default guidance when leaving Plan.

GitOrigin-RevId: bb9e83aeb60af54fc2ee1bf9ce5acbb8a354ffb8
2026-11-21 04:18:31 +00:00
..