Dylan Hurd
2230d64464
Route MCP tool calls through shared approval handling ( #38108 )
...
## What changed
- Represent MCP tool calls as approval actions and route them through the
session-level approval flow for permission hooks, reviewer selection,
rejection handling, and resolution telemetry.
- Preserve MCP-specific user prompts, session and persistent approval choices,
and the approval policy and reviewer captured for the tool call.
## Testing
- Add coverage for permission hooks resolving MCP calls before user or
automatic review, persistence choices, captured policy routing, and MCP turn
metadata with strict automatic review enabled.
GitOrigin-RevId: 8e134b3d17a19dc62b3b56076d2cd05a54c9f638
2026-08-12 03:00:47 +00:00
..
2026-08-11 19:30:12 +00:00
2026-07-06 14:29:19 -07:00
2026-08-11 19:16:15 +00:00
2026-08-11 21:28:35 +00:00
2026-08-11 19:30:12 +00:00
2026-08-08 00:59:39 +00:00
2026-08-11 19:30:12 +00:00
2026-06-24 21:08:39 -07:00
2026-08-11 10:43:11 +00:00
2026-07-22 19:43:35 +00:00
2026-07-30 16:30:32 +00:00
2026-08-12 00:41:53 +00:00
2026-08-12 00:41:53 +00:00
2026-08-12 00:41:53 +00:00
2026-08-12 03:00:47 +00:00
2026-08-11 19:26:41 +00:00
2026-07-28 23:49:37 +00:00
2026-07-15 03:27:16 +00:00
2026-08-11 19:58:10 +00:00
2026-08-07 09:50:43 +00:00
2026-08-05 06:38:57 +00:00
2026-07-22 21:00:01 +00:00
2026-08-10 10:50:49 +00:00
2026-08-07 14:08:13 +00:00
2026-08-11 19:35:05 +00:00
2026-08-10 23:41:52 +00:00
2026-08-11 22:25:14 +00:00
2026-08-12 00:41:53 +00:00
2026-07-23 19:32:26 +00:00
2026-08-05 18:19:22 +00:00
2026-08-11 19:30:12 +00:00
2026-08-11 17:58:11 +00:00
2026-08-11 19:30:12 +00:00
2026-08-11 19:30:12 +00:00
2026-08-11 19:30:12 +00:00
2026-08-11 19:30:12 +00:00
2026-07-30 16:44:18 +00:00
2026-08-11 19:30:12 +00:00
2026-08-07 23:43:14 +00:00
2026-08-07 23:43:14 +00:00
2026-06-24 22:17:43 -07:00
2026-07-06 11:20:32 -07:00
2026-07-06 11:20:32 -07:00
2026-08-11 19:58:10 +00:00
2026-08-11 19:58:10 +00:00
2026-08-04 00:51:53 +00:00
2026-08-03 21:37:17 +00:00
2026-08-10 01:44:30 +00:00
2026-08-10 17:02:19 +00:00
2026-08-08 00:59:39 +00:00
2026-07-21 19:17:18 +00:00
2026-08-08 00:59:39 +00:00
2026-08-10 19:57:40 +00:00
2026-08-10 19:57:40 +00:00
2026-08-05 20:23:35 +00:00
2026-08-12 00:41:53 +00:00
2026-08-06 03:15:08 +00:00
2026-08-06 03:15:08 +00:00
2026-08-12 00:41:53 +00:00
2026-08-12 01:45:20 +00:00
2026-08-11 18:35:03 +00:00
2026-08-12 03:00:47 +00:00
2026-08-12 03:00:47 +00:00
2026-08-06 13:37:07 +00:00
2026-08-06 13:37:07 +00:00
2026-08-05 21:45:33 +00:00
2026-08-05 04:07:59 +00:00
2026-07-06 14:51:34 -07:00
2026-07-20 13:45:29 +00:00
2026-07-30 16:44:18 +00:00
2026-07-29 18:37:22 +00:00
2026-08-11 17:58:11 +00:00
2026-07-22 19:43:35 +00:00
2026-08-01 01:17:26 +00:00
2026-08-11 18:06:05 +00:00
2026-07-23 19:32:26 +00:00
2026-08-07 18:33:46 +00:00
2026-08-03 09:46:38 +00:00
2026-07-23 19:19:35 +00:00
2026-08-03 12:03:33 +00:00
2026-08-03 12:03:33 +00:00
2026-07-21 19:17:18 +00:00
2026-07-23 18:22:41 +00:00
2026-08-07 14:08:13 +00:00
2026-07-20 08:29:12 +00:00
2026-08-05 05:30:51 +00:00
2026-08-11 21:09:29 +00:00
2026-08-08 16:58:26 +00:00
2026-07-31 17:24:33 +00:00
2026-07-28 23:49:37 +00:00
2026-08-04 15:23:43 +00:00
2026-08-11 19:30:12 +00:00
2026-08-11 19:30:12 +00:00
2026-08-11 19:30:12 +00:00
2026-08-11 19:30:12 +00:00
2026-07-22 02:19:45 +00:00
2026-07-22 02:19:45 +00:00
2026-08-11 18:06:05 +00:00
2026-08-11 18:06:05 +00:00
2026-07-28 23:49:37 +00:00
2026-07-25 16:06:54 +00:00
2026-08-12 00:41:53 +00:00
2026-07-20 13:45:29 +00:00
2026-07-20 13:45:29 +00:00
2026-07-21 21:06:04 +00:00
2026-07-21 21:06:04 +00:00