Files
codex/codex-rs/core/tests/suite
Michael BolinandGitHub d77d23da2e core tests: migrate model/personality turns to profiles (#20018)
## Summary

- Migrates `model_switching.rs` and `personality.rs` direct
`Op::UserTurn` construction from legacy `SandboxPolicy` literals to
`PermissionProfile`-backed turn fields.
- Adds small local helpers in each file so tests keep asserting
model/personality behavior without repeating permission plumbing.
- Reduces `rg -l '\bSandboxPolicy\b' codex-rs/core/tests` from 20 files
to 18; `codex-rs/tui` remains at zero `SandboxPolicy` references.

## Testing

- `cargo check -p codex-core --tests`
- `just fmt`
2026-04-28 17:09:12 -07:00
..
2026-04-28 13:03:28 +02:00
2026-04-24 17:49:29 -07:00
2026-04-20 10:27:01 -07:00
2026-04-27 18:48:57 -07:00
2026-04-24 17:49:29 -07:00