Michael Bolin
d84b3775ae
merge commit for archive created by Sapling
2026-04-28 15:31:25 -07:00
Michael Bolin
631451a504
core tests: submit turns with permission profiles
2026-04-28 15:30:57 -07:00
Michael Bolin
908abe8eae
Merge cf7d1ec0cf into sapling-pr-archive-bolinfest
2026-04-28 13:37:50 -07:00
Michael Bolin
cf7d1ec0cf
core tests: migrate hook turns to profiles
2026-04-28 13:37:26 -07:00
Michael Bolin
24400c08f8
core tests: migrate apply patch turns to profiles
2026-04-28 13:37:26 -07:00
Michael Bolin
182380485d
core tests: migrate rmcp turns to profiles
2026-04-28 13:37:26 -07:00
Michael Bolin
284fd113b1
core tests: migrate compact turns to profiles
2026-04-28 13:37:26 -07:00
Michael Bolin
7d6432e2d3
core tests: migrate zsh-fork permissions to profiles
2026-04-28 13:37:26 -07:00
Michael Bolin
fbe6b2f31f
core tests: migrate request permissions tool turns to profiles
2026-04-28 13:37:26 -07:00
Michael Bolin
325f99a52f
core tests: migrate prompt caching turns to profiles
2026-04-28 13:37:26 -07:00
Michael Bolin
b231f6b002
core tests: migrate exec policy turns to profiles
2026-04-28 13:37:26 -07:00
Michael Bolin
0542e46db4
core tests: migrate permissions message tests to profiles
2026-04-28 13:37:26 -07:00
Michael Bolin
268eb71bf9
core tests: migrate tools tests to permission profiles
2026-04-28 13:37:26 -07:00
Michael Bolin
b29756014a
core tests: migrate plan item turns to profiles
2026-04-28 13:37:26 -07:00
Michael Bolin
ef86cdfc21
core tests: migrate safety check turns to profiles
2026-04-28 13:37:26 -07:00
Michael Bolin
0ba8a035fb
core tests: migrate view image turns to profiles
2026-04-28 13:37:26 -07:00
Michael Bolin
d4a0ff5035
core tests: migrate model/personality turns to profiles
2026-04-28 13:37:26 -07:00
Michael Bolin
d46abdf862
core tests: send model turns with permission profiles
2026-04-28 13:37:26 -07:00
Michael Bolin
83b3fb73d7
core tests: configure profiles directly
2026-04-28 13:37:26 -07:00
Michael Bolin
945f09a3f8
core tests: migrate more turns to permission profiles
2026-04-28 13:37:26 -07:00
Michael Bolin
8e94cafe71
core tests: build user turns from permission profiles
2026-04-28 13:37:26 -07:00
Michael Bolin
7206fe0cd4
core tests: submit turns with permission profiles
2026-04-28 13:37:26 -07:00
Michael Bolin
3b74a4d3b1
tui: use permission profiles for sandbox state ( #20008 )
...
## Summary
- Move TUI permission state from legacy `SandboxPolicy` values to
canonical `PermissionProfile` values across presets, app events, chat
widget state, app commands, thread routing, and cached thread session
state.
- Keep app-server compatibility boundaries explicit: embedded sessions
send `permissionProfile`, while remote sessions send only a legacy
`sandbox` projection and fall back to read-only when a custom profile
cannot be projected.
- Update status/add-dir UI summaries and snapshots to render the active
permission profile, including workspace profiles selected by the new
built-in defaults.
## Verification
- `rg '\bSandboxPolicy\b' codex-rs/tui -n` returns no matches.
- `cargo test -p codex-tui`
- `cargo check -p codex-tui --tests`
- `cargo test -p codex-tui additional_dirs`
- `just fmt`
- `just fix -p codex-tui`
---
[//]: # (BEGIN SAPLING FOOTER)
Stack created with [Sapling](https://sapling-scm.com ). Best reviewed
with [ReviewStack](https://reviewstack.dev/openai/codex/pull/20008 ).
* #20041
* #20040
* #20037
* #20035
* #20034
* #20033
* #20032
* #20030
* #20028
* #20027
* #20026
* #20024
* #20021
* #20018
* #20016
* #20015
* #20013
* #20011
* #20010
* __->__ #20008
2026-04-28 20:36:48 +00:00
jif-oai
34d71d43eb
Make MultiAgentV2 wait minimum configurable ( #20052 )
...
## Why
MultiAgentV2 `wait_agent` currently clamps short waits to a fixed 10
second minimum. That default is still useful for preventing tight
polling loops, but it is too rigid for environments that need faster
mailbox wake-up checks or a larger minimum to discourage frequent
polling.
This PR makes the minimum wait timeout configurable from the existing
MultiAgentV2 feature config section, so operators can tune the behavior
without changing the legacy multi-agent tool surface.
## What Changed
- Added `features.multi_agent_v2.min_wait_timeout_ms`.
- Defaulted the new setting to the existing 10 second floor.
- Validated the configured value as `1..=3600000`, matching the existing
one hour maximum wait bound.
- Applied the configured minimum to MultiAgentV2 `wait_agent` runtime
clamping.
- Plumbed the configured minimum into the `wait_agent` tool schema,
including the effective default when the minimum is above the normal 30
second default.
- Regenerated `core/config.schema.json`.
## Verification
- `cargo test -p codex-features`
- `cargo test -p codex-tools`
- `cargo test -p codex-core --lib multi_agent_v2`
- `just fix -p codex-core`
2026-04-28 22:36:44 +02:00
Ruslan Nigmatullin
1de7a9bf69
app-server: allow remote_control runtime feature override ( #20047 )
2026-04-28 13:36:12 -07:00
Michael Bolin
66414ed08b
merge commit for archive created by Sapling
2026-04-28 13:18:17 -07:00
Michael Bolin
52d6fa132e
core tests: migrate hook turns to profiles
2026-04-28 13:17:24 -07:00
Michael Bolin
a9a4664bdb
core tests: migrate apply patch turns to profiles
2026-04-28 13:17:24 -07:00
Michael Bolin
372fde42c7
core tests: migrate rmcp turns to profiles
2026-04-28 13:17:24 -07:00
Michael Bolin
5fe96ae661
core tests: migrate compact turns to profiles
2026-04-28 13:17:23 -07:00
Michael Bolin
ae57689b74
core tests: migrate zsh-fork permissions to profiles
2026-04-28 13:17:23 -07:00
Michael Bolin
2318877b07
core tests: migrate request permissions tool turns to profiles
2026-04-28 13:17:23 -07:00
Michael Bolin
9ab973bee1
core tests: migrate prompt caching turns to profiles
2026-04-28 13:17:23 -07:00
Michael Bolin
cbcb011946
core tests: migrate exec policy turns to profiles
2026-04-28 13:17:23 -07:00
Michael Bolin
dcc561bf13
core tests: migrate permissions message tests to profiles
2026-04-28 13:17:23 -07:00
Michael Bolin
b8e10950fe
core tests: migrate tools tests to permission profiles
2026-04-28 13:17:23 -07:00
Michael Bolin
6f5cc66c66
core tests: migrate plan item turns to profiles
2026-04-28 13:17:23 -07:00
Michael Bolin
b3d3d89bbb
core tests: migrate safety check turns to profiles
2026-04-28 13:17:22 -07:00
Michael Bolin
1f5ff9224c
core tests: migrate view image turns to profiles
2026-04-28 13:17:22 -07:00
Michael Bolin
d4356ab3fb
core tests: migrate model/personality turns to profiles
2026-04-28 13:17:22 -07:00
Michael Bolin
0f7ef3ef08
core tests: send model turns with permission profiles
2026-04-28 13:17:22 -07:00
Michael Bolin
9bc08ac679
core tests: configure profiles directly
2026-04-28 13:17:22 -07:00
Michael Bolin
222ac46d79
core tests: migrate more turns to permission profiles
2026-04-28 13:17:22 -07:00
Michael Bolin
471a03a952
core tests: build user turns from permission profiles
2026-04-28 13:17:22 -07:00
Michael Bolin
7de307df6e
core tests: submit turns with permission profiles
2026-04-28 13:17:21 -07:00
Michael Bolin
2152c6dbad
tui: use permission profiles for sandbox state
2026-04-28 13:16:43 -07:00
Michael Bolin
158184b0ea
merge commit for archive created by Sapling
2026-04-28 13:13:02 -07:00
Michael Bolin
f9fa4e0613
core tests: migrate hook turns to profiles
2026-04-28 13:12:48 -07:00
Michael Bolin
4c958574bd
core tests: migrate apply patch turns to profiles
2026-04-28 13:12:48 -07:00
Michael Bolin
bc9fa219be
core tests: migrate rmcp turns to profiles
2026-04-28 13:12:48 -07:00