mirror of
https://github.com/openai/codex.git
synced 2026-10-19 17:28:46 +00:00
## Why Environment readiness previously changed which tools and command parameters were advertised to the model, even when the selected environments stayed the same. ## What changed - Keep enabled command, patch, image, and permission tools exposed when environments are absent, starting, or failed. - Return a consistent message asking the model to wait when no usable execution environment is available, while preserving distinct errors for unknown environment IDs. - Derive environment selectors from all selected environments rather than only ready ones. - Always advertise `exec_command`'s `shell` and `login` parameters while continuing to enforce login policy at execution time. ## Testing Expand integration coverage for empty, pending, failed, ready, and recovered environments, including stable command parameters and login-policy rejection. Update subagent and skill-catalog snapshots, with separate Windows expectations. GitOrigin-RevId: bb08084066896a9f14b3b568c081c3eaac981db7