Owen Lin and GitHub
a3be74143a
fix(guardian, app-server): introduce guardian review ids ( #17298 )
...
## Description
This PR introduces `review_id` as the stable identifier for guardian
reviews and exposes it in app-server `item/autoApprovalReview/started`
and `item/autoApprovalReview/completed` events.
Internally, guardian rejection state is now keyed by `review_id` instead
of the reviewed tool item ID. `target_item_id` is still included when a
review maps to a concrete thread item, but it is no longer overloaded as
the review lifecycle identifier.
## Motivation
We'd like to give users the ability to preempt a guardian review while
it's running (approve or decline).
However, we can't implement the API that allows the user to override a
running guardian review because we didn't have a unique `review_id` per
guardian review. Using `target_item_id` is not correct since:
- with execve reviews, there can be multiple execve calls (and therefore
guardian reviews) per shell command
- with network policy reviews, there is no target item ID
The PR that actually implements user overrides will use `review_id` as
the stable identifier.
2026-04-10 16:21:02 -07:00
..
2026-02-01 23:38:43 -08:00
2026-04-09 21:15:17 -07:00
2026-04-09 21:15:17 -07:00
2026-04-09 21:15:17 -07:00
2026-02-01 23:38:43 -08:00
2026-03-06 00:03:39 +00:00
2026-02-09 23:10:26 -08:00
2026-03-06 00:03:39 +00:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-03-06 17:30:17 -08:00
2026-03-06 17:30:17 -08:00
2026-03-06 17:30:17 -08:00
2026-03-06 17:30:17 -08:00
2026-03-06 17:30:17 -08:00
2026-03-06 17:30:17 -08:00
2026-03-06 17:30:17 -08:00
2026-02-01 23:38:43 -08:00
2026-03-06 17:30:17 -08:00
2026-03-06 17:30:17 -08:00
2026-03-08 17:38:01 -07:00
2026-02-01 23:38:43 -08:00
2026-03-13 15:27:00 -07:00
2026-04-06 19:38:51 -07:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-03-23 10:19:44 -07:00
2026-03-25 02:27:00 +00:00
2026-03-25 02:27:00 +00:00
2026-02-05 20:04:01 +00:00
2026-02-05 23:31:04 +00:00
2026-02-25 02:11:51 -08:00
2026-02-25 02:11:51 -08:00
2026-02-25 02:11:51 -08:00
2026-02-25 02:11:51 -08:00
2026-02-20 22:26:14 +00:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-04-07 11:22:28 -07:00
2026-03-13 14:42:20 -07:00
2026-03-13 14:42:20 -07:00
2026-03-13 14:42:20 -07:00
2026-03-13 14:42:20 -07:00
2026-03-13 14:42:20 -07:00
2026-03-13 14:42:20 -07:00
2026-03-13 14:42:20 -07:00
2026-03-13 14:42:20 -07:00
2026-03-13 14:42:20 -07:00
2026-03-13 14:42:20 -07:00
2026-03-13 14:42:20 -07:00
2026-03-13 14:42:20 -07:00
2026-04-07 11:22:28 -07:00
2026-03-24 15:52:13 -07:00
2026-04-07 11:22:28 -07:00
2026-04-07 11:22:28 -07:00
2026-03-13 14:42:20 -07:00
2026-03-13 14:42:20 -07:00
2026-02-01 23:38:43 -08:00
2026-04-09 21:15:17 -07:00
2026-04-09 21:15:17 -07:00
2026-03-25 19:18:03 -07:00
2026-03-25 19:18:03 -07:00
2026-04-07 11:10:21 -07:00
2026-04-10 16:21:02 -07:00
2026-04-10 16:21:02 -07:00
2026-04-07 11:10:21 -07:00
2026-04-06 16:27:02 -07:00
2026-02-02 17:41:55 -08:00
2026-03-27 00:27:15 -07:00
2026-03-27 00:27:15 -07:00
2026-02-01 23:38:43 -08:00
2026-04-06 19:17:14 -07:00
2026-04-06 19:17:14 -07:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-03-19 15:09:59 -07:00
2026-02-01 23:38:43 -08:00
2026-02-13 16:26:32 -08:00
2026-04-07 17:55:40 -07:00
2026-02-17 11:02:23 -08:00
2026-02-01 23:38:43 -08:00
2026-03-16 21:37:27 -07:00
2026-03-19 15:02:45 -07:00
2026-03-11 12:33:08 -07:00
2026-03-24 11:47:23 -07:00
2026-03-12 16:52:21 -07:00
2026-03-23 12:57:40 -07:00
2026-03-16 21:37:27 -07:00
2026-03-09 12:40:25 -07:00
2026-03-18 09:37:13 -07:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-04-07 11:10:21 -07:00
2026-02-27 12:45:59 -08:00
2026-03-03 17:01:00 -08:00
2026-03-23 12:57:40 -07:00
2026-02-01 23:38:43 -08:00
2026-02-09 13:30:38 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-04-09 21:15:17 -07:00
2026-04-09 21:15:17 -07:00
2026-02-17 14:53:58 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-25 13:14:30 -08:00
2026-02-03 18:15:55 -08:00
2026-02-03 18:15:55 -08:00
2026-03-13 15:27:00 -07:00
2026-04-07 11:10:21 -07:00
2026-03-18 15:19:29 -07:00
2026-04-07 11:10:21 -07:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-03-03 15:56:11 -08:00
2026-04-07 11:10:21 -07:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-04-07 11:10:21 -07:00
2026-02-25 09:59:10 -08:00
2026-02-25 09:59:10 -08:00
2026-02-25 09:59:10 -08:00
2026-03-16 21:38:07 -07:00
2026-04-07 15:43:38 -07:00
2026-03-17 15:24:37 -07:00
2026-03-20 15:30:48 -07:00
2026-03-18 09:37:13 -07:00
2026-04-07 11:10:21 -07:00
2026-02-01 23:38:43 -08:00
2026-04-07 11:10:21 -07:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-03-18 23:42:40 -06:00
2026-03-18 23:42:40 -06:00
2026-04-07 11:10:21 -07:00
2026-04-10 16:05:21 -07:00
2026-04-07 11:10:21 -07:00
2026-02-18 15:20:03 -08:00
2026-02-01 23:38:43 -08:00
2026-02-17 14:53:58 -08:00
2026-02-01 23:38:43 -08:00
2026-04-07 11:10:21 -07:00
2026-02-25 13:14:30 -08:00
2026-02-25 13:14:30 -08:00
2026-04-07 11:10:21 -07:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-02-01 23:38:43 -08:00
2026-04-07 11:10:21 -07:00
2026-03-13 15:27:00 -07:00
2026-04-07 11:10:21 -07:00
2026-02-06 00:35:04 +00:00
2026-02-06 00:35:04 +00:00
2026-02-18 13:03:16 -08:00
2026-03-08 18:07:46 -07:00
2026-02-18 13:03:16 -08:00
2026-02-01 23:38:43 -08:00