
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-16 07:14:53 +00:00
2026-06-09 18:45:54 -07:00
2026-06-15 13:50:08 +01:00
2026-06-17 16:18:39 +02:00
2026-06-15 21:53:47 -07:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-15 21:53:47 -07:00
2026-06-17 08:50:39 -07:00
2026-05-28 14:54:39 -07:00
2026-05-26 20:59:47 -07:00
2026-06-15 15:35:57 +00:00
2026-06-15 16:23:37 +02:00
2026-06-09 19:51:54 +02:00
2026-06-15 17:14:22 -07:00
2026-06-04 13:35:31 -07:00
2026-06-16 09:50:55 -07:00
2026-06-15 21:53:47 -07:00
2026-06-05 15:32:43 -04:00
2026-06-12 11:57:22 -07:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-15 20:20:19 +02:00
2026-06-10 12:54:21 +02:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-16 23:04:07 +00:00
2026-06-04 14:01:14 -07:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-15 21:53:47 -07:00
2026-06-15 14:04:01 +01:00
2026-06-16 01:16:11 +00:00
2026-06-16 01:25:22 +00:00
2026-06-01 21:49:38 +00:00
2026-06-09 12:52:05 -07:00
2026-06-01 21:49:38 +00:00
2026-06-15 21:54:01 +00:00
2026-06-15 21:54:01 +00:00
2026-06-15 21:53:47 -07:00
2026-06-16 23:04:07 +00:00
2026-06-17 16:18:39 +02:00
2026-06-14 00:14:26 -07:00
2026-06-01 21:49:38 +00:00
2026-06-11 22:30:41 -07:00
2026-06-01 21:49:38 +00:00
2026-06-05 02:41:06 -07:00
2026-06-15 22:07:07 +00:00
2026-06-15 21:39:21 -07:00
2026-06-01 21:49:38 +00:00
2026-06-10 11:22:12 -07:00
2026-06-14 00:14:26 -07:00
2026-06-15 15:05:28 -07:00
2026-06-16 21:39:30 -07:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-06-01 21:49:38 +00:00
2026-05-12 18:40:53 -07:00
2026-06-14 00:14:26 -07:00
2026-06-16 21:39:30 -07:00
2026-06-01 21:49:38 +00:00
2026-06-15 17:17:34 +00:00
2026-06-15 21:53:47 -07:00
2026-06-16 21:42:28 +00:00
2026-06-01 21:49:38 +00:00
2026-06-09 00:38:35 +00:00
2026-06-15 15:35:57 +00:00
2026-06-01 21:49:38 +00:00
2026-06-15 21:53:47 -07:00
2026-06-16 21:42:28 +00:00
2026-06-01 21:49:38 +00:00
2026-06-07 23:18:23 -07:00
2026-06-01 21:49:38 +00:00