Files
codex/codex-rs/core/src
jif 66232220e2 [codex] Keep v1 spawn metadata visible (#26599)
## Summary
- keep the legacy v1 `spawn_agent` role and model selectors visible
- add regression coverage for the default v1 tool plan

## Why
`hide_spawn_agent_metadata` is a multi-agent v2 setting, but the v1
planning branch also consumed it. After the default changed to `true`,
v1 stopped advertising `agent_type`, `model`, `reasoning_effort`, and
`service_tier`, preventing configured agents from being selected.

This keeps the hidden-metadata default for v2 while opting v1 out of
that behavior.

Fixes #26363.

## Validation
Not run locally, per request; CI will validate the change.
2026-06-05 14:52:51 +02:00
..
2026-06-03 15:38:30 +02:00
2026-06-03 15:38:30 +02:00