core-agent-ide/codex-rs/core/templates
Charley Cunningham 41b4962b0a
Sync collaboration mode naming across Default prompt, tools, and TUI (#10666)
## Summary
- add shared `ModeKind` helpers for display names, TUI visibility, and
`request_user_input` availability
- derive TUI mode filtering/labels from shared `ModeKind` metadata
instead of local hardcoded matches
- derive `request_user_input` availability text and unavailable error
mode names from shared mode metadata
- replace hardcoded known mode names in the Default collaboration-mode
template with `{{KNOWN_MODE_NAMES}}` and fill it from
`TUI_VISIBLE_COLLABORATION_MODES`
- add regression tests for mode metadata sync and placeholder
replacement

## Notes
- `cargo test -p codex-core` integration target (`tests/all`) still
shows pre-existing env-specific failures in this environment due missing
`test_stdio_server` binary resolution; core unit tests are green.

## Codex author
`codex resume 019c26ff-dfe7-7173-bc04-c9e1fff1e447`
2026-02-04 23:03:28 -08:00
..
agents chore: clean orchestrator prompt (#9994) 2026-01-27 16:32:05 +00:00
collab Remove batman reference from experimental prompt (#9812) 2026-01-24 14:24:36 +01:00
collaboration_mode Sync collaboration mode naming across Default prompt, tools, and TUI (#10666) 2026-02-04 23:03:28 -08:00
compact Improve compact (#6692) 2025-11-15 07:17:51 +00:00
model_instructions fix(personality) prompt patch (#10375) 2026-02-01 23:32:07 -08:00
personalities chore(personality) new schema with fallbacks (#10147) 2026-01-30 00:10:12 -07:00
review Delegate review to codex instance (#5572) 2025-10-29 21:04:25 +00:00