Alex Zamoshchin
c78911e37f
[ez][codex-rs] Support apps._default.default_tools_approval_mode (#27965)
[from codex]
## Summary
- add `default_tools_approval_mode` to `[apps._default]` and expose it
through app-server v2 `config/read`
- apply it after managed, per-tool, and per-app approval settings,
before the built-in `auto` fallback
- document the precedence, regenerate config/app-server schemas, and add
unit plus end-to-end approval coverage
## Configuration
```toml
[apps._default]
default_tools_approval_mode = "prompt"
```
The effective precedence is managed requirements, tool-specific
`approval_mode`, app-specific `default_tools_approval_mode`,
`apps._default.default_tools_approval_mode`, then `auto`.
## Test plan
- `just write-config-schema`
- `just write-app-server-schema`
- `just write-app-server-schema --experimental`
- `just test -p codex-core app_tool_policy`
- `just test -p codex-core mcp_turn_metadata`
- `just test -p codex-config`
- `just test -p codex-app-server-protocol`
- `just test -p codex-app-server config_read_includes_apps`
- `just fix -p codex-config -p codex-core -p codex-app-server-protocol
-p codex-app-server`
- `just fmt`
2026-06-17 08:50:39 -07:00
..
2026-06-16 16:54:37 -07:00
2026-06-16 11:17:41 -04:00
2026-06-11 18:16:39 -07:00
2026-06-02 13:18:59 -07:00
2026-06-02 13:18:59 -07:00
2026-06-02 13:18:59 -07:00
2026-06-02 13:18:59 -07:00
2026-05-31 15:54:31 -07:00
2026-06-12 20:10:12 -07:00
2026-06-12 18:11:13 +00:00
2026-04-17 08:40:09 -07:00
2026-05-31 15:54:31 -07:00
2026-02-11 10:02:49 -08:00
2026-06-11 23:08:07 +00:00
2026-06-11 23:08:07 +00:00
2026-06-16 11:17:41 -04:00
2026-04-27 13:31:56 +02:00
2026-06-11 18:16:39 -07:00
2026-04-17 21:44:47 -07:00
2026-05-21 17:19:54 +02:00
2026-05-26 20:59:47 -07:00
2026-05-21 17:19:54 +02:00
2026-05-21 17:19:54 +02:00
2026-05-20 20:12:07 +00:00
2026-05-20 20:12:07 +00:00
2026-02-11 10:02:49 -08:00
2026-06-02 10:57:35 -07:00
2026-04-30 14:26:14 -07:00
2026-05-22 17:54:07 -07:00
2026-03-25 12:57:42 -07:00
2026-04-08 13:49:06 +01:00
2026-06-10 12:54:21 +02:00
2026-04-19 21:11:52 -07:00
2026-05-14 15:16:15 +02:00
2026-06-12 20:10:12 -07:00
2026-05-15 02:34:21 +00:00
2026-06-02 13:18:59 -07:00
2026-06-02 13:18:59 -07:00
2026-06-02 13:18:59 -07:00
2026-06-11 18:16:39 -07:00
2026-05-31 15:42:39 -03:00
2026-04-28 17:07:16 +02:00
2026-06-17 08:50:39 -07:00