
Alex ZamoshchinandGitHub
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-08 11:39:08 +02:00
2026-06-09 12:48:04 -07:00
2026-05-26 20:59:47 -07:00
2026-06-11 18:16:39 -07:00
2026-06-16 21:39:30 -07:00
2026-05-07 15:44:17 -07:00
2026-06-17 08:50:39 -07:00
2026-06-15 13:25:42 -07:00
2026-06-11 21:28:52 -07:00
2026-06-17 08:50:39 -07:00
2026-06-16 12:28:45 -07:00
2026-06-12 20:10:12 -07:00
2026-06-12 16:58:42 -07:00
2026-06-15 21:30:32 +00:00
2026-06-11 18:16:39 -07:00
2026-05-08 04:07:59 +00:00
2026-06-15 21:54:01 +00:00
2026-06-13 21:43:39 -07:00
2026-06-15 13:50:08 +01:00
2026-06-16 01:16:11 +00:00
2026-06-12 21:23:50 +00:00
2026-06-12 21:23:50 +00:00
2026-06-11 18:16:39 -07:00
2026-06-11 18:16:39 -07:00
2026-06-16 19:28:55 -07:00
2026-06-11 22:37:26 -07:00
2026-06-12 02:49:17 -07:00
2026-06-16 11:27:46 -07:00
2026-06-01 21:25:42 -07:00
2026-06-15 21:53:47 -07:00
2026-05-07 15:44:17 -07:00
2026-06-15 20:10:53 -07:00
2026-06-15 16:07:01 -04:00
2026-06-13 21:43:39 -07:00
2026-06-17 08:50:39 -07:00
2026-06-17 08:50:39 -07:00
2026-06-15 15:05:28 -07:00
2026-06-17 08:50:39 -07:00
2026-06-17 17:01:06 +02:00
2026-06-16 19:22:57 -07:00
2026-06-17 17:01:06 +02:00
2026-06-05 15:41:13 -07:00
2026-06-16 21:39:30 -07:00
2026-06-17 11:52:23 +02:00
2026-06-15 21:53:47 -07:00
2026-06-13 21:43:39 -07:00
2026-06-17 17:01:06 +02:00
2026-06-15 23:17:24 -07:00
2026-06-15 15:05:28 -07:00
2026-06-16 16:54:37 -07:00
2026-05-26 15:59:25 -07:00
2026-05-07 15:44:17 -07:00
2026-06-16 09:50:55 -07:00
2026-05-28 23:09:55 -07:00
2026-06-12 16:58:42 -07:00
2026-06-15 15:12:26 -07:00
2026-06-03 19:08:19 -07:00
2026-06-12 19:52:49 +00:00
2026-06-15 21:53:47 -07:00
2026-05-07 15:44:17 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 21:53:47 -07:00
2026-06-15 15:05:28 -07:00
2026-06-04 09:53:08 -04:00
2026-06-16 07:14:53 +00:00
2026-06-05 17:36:18 -07:00
2026-06-13 21:43:39 -07:00
2026-06-11 18:16:39 -07:00
2026-06-04 09:53:08 -04:00
2026-06-15 21:53:47 -07:00
2026-06-16 19:22:57 -07:00
2026-05-25 17:26:10 -03:00
2026-06-13 21:43:39 -07:00
2026-06-17 14:48:56 +02:00
2026-05-07 15:44:17 -07:00
2026-05-07 15:44:17 -07:00
2026-06-13 20:56:42 +00:00
2026-06-16 21:39:30 -07:00
2026-06-16 11:46:59 +02:00
2026-06-13 21:43:39 -07:00
2026-05-26 20:59:47 -07:00
2026-06-12 19:52:49 +00:00
2026-06-15 08:28:02 -07:00
2026-06-11 18:16:39 -07:00
2026-06-16 19:22:57 -07:00
2026-06-16 21:39:30 -07:00
2026-05-07 15:44:17 -07:00
2026-05-13 21:23:19 +00:00
2026-05-07 15:44:17 -07:00
2026-06-16 16:54:37 -07:00
2026-06-16 21:39:30 -07:00
2026-06-16 23:44:42 +00:00
2026-06-16 21:39:30 -07:00
2026-05-07 15:44:17 -07:00
2026-06-16 16:17:47 -07:00
2026-06-13 21:43:39 -07:00
2026-06-13 21:43:39 -07:00
2026-06-15 21:30:32 +00:00
2026-06-16 23:04:07 +00:00
2026-06-15 16:39:41 -07:00
2026-06-11 18:16:39 -07:00
2026-06-04 09:16:03 -07:00
2026-05-26 20:59:47 -07:00