jamy-OAI
b313cca1cf
Enforce host-required cyber access programs per thread ( #59754 )
...
## What changed
- Expose `RequiredCyberAccessPrograms` so hosts can require an explicit allowed program on a thread. Snapshot the requirement before extension callbacks; hosts must reapply it on cold resume.
- Validate resolved `access_programs` before HTTP and WebSocket model requests, rejecting omitted or disallowed programs. Explicit `Standard` remains distinct from omission. Reject memory summarization and realtime requests when a requirement is present.
- Keep required programs scoped to the parent thread by preventing Guardian reviewers from inheriting its program, including Guardian v2 reviews.
## Testing
Add HTTP and WebSocket coverage for allowed programs, omission, disallowed programs, unsupported providers, and connection reuse. Extend Guardian tests to verify parent-only program scope and that removing the public attachment does not erase the startup snapshot.
GitOrigin-RevId: 9306a9af0e03e7a1728dfeb610cd7ec7517367fd
2026-11-05 22:49:46 +00:00
..
2026-11-03 10:01:36 +00:00
2026-11-04 02:00:01 +00:00
2026-11-05 20:55:46 +00:00
2026-11-02 22:56:19 +00:00
2026-11-04 19:58:24 +00:00
2026-11-05 21:21:19 +00:00
2026-11-03 21:54:52 +00:00
2026-11-05 19:20:56 +00:00
2026-11-03 10:44:27 +00:00
2026-10-23 02:21:49 +00:00
2026-11-04 09:51:28 +00:00
2026-11-04 16:34:49 +00:00
2026-11-03 06:05:55 +00:00
2026-11-03 06:05:55 +00:00
2026-10-27 23:53:34 +00:00
2026-11-04 00:19:12 +00:00
2026-11-03 01:58:18 +00:00
2026-10-27 21:50:08 +00:00
2026-11-02 14:06:17 +00:00
2026-11-03 23:35:00 +00:00
2026-11-04 04:02:00 +00:00
2026-11-04 04:02:00 +00:00
2026-10-28 16:46:41 +00:00
2026-11-05 16:27:59 +00:00
2026-11-02 14:06:17 +00:00
2026-11-04 00:19:12 +00:00
2026-11-04 13:03:01 +00:00
2026-10-30 20:53:25 +00:00
2026-11-03 22:29:33 +00:00
2026-11-04 19:58:49 +00:00
2026-10-27 23:53:34 +00:00
2026-11-05 00:55:46 +00:00
2026-11-04 02:00:01 +00:00
2026-10-27 00:08:07 +00:00
2026-10-26 22:13:14 +00:00
2026-11-03 21:00:31 +00:00
2026-10-29 12:54:39 +00:00
2026-10-23 04:01:39 +00:00
2026-10-29 12:37:59 +00:00
2026-11-05 22:49:46 +00:00
2026-11-04 20:37:39 +00:00
2026-11-04 16:33:22 +00:00
2026-11-02 21:09:37 +00:00
2026-10-26 18:13:00 +00:00
2026-11-03 11:43:00 +00:00
2026-10-30 15:11:02 +00:00
2026-10-27 14:28:15 +00:00
2026-10-28 16:00:30 +00:00
2026-11-05 19:20:56 +00:00
2026-10-26 19:21:08 +00:00
2026-11-02 22:09:34 +00:00
2026-10-29 03:14:13 +00:00
2026-10-30 15:28:20 +00:00
2026-11-05 00:39:39 +00:00
2026-11-04 13:03:01 +00:00
2026-11-03 15:02:57 +00:00
2026-11-02 21:09:37 +00:00
2026-11-05 22:03:29 +00:00
2026-10-29 03:14:13 +00:00
2026-10-30 17:32:09 +00:00
2026-10-23 00:02:29 +00:00
2026-11-02 21:09:37 +00:00
2026-10-27 22:01:13 +00:00
2026-11-04 19:58:49 +00:00
2026-11-05 20:55:46 +00:00
2026-11-05 22:49:46 +00:00
2026-10-29 00:03:28 +00:00
2026-11-04 21:23:11 +00:00
2026-11-03 21:24:16 +00:00
2026-10-27 16:16:17 +00:00
2026-11-03 01:58:18 +00:00
2026-10-23 18:39:28 +00:00
2026-11-04 09:51:28 +00:00
2026-10-27 00:23:39 +00:00
2026-10-29 10:34:17 +00:00
2026-11-02 19:25:02 +00:00
2026-10-30 20:53:25 +00:00
2026-10-27 22:26:12 +00:00
2026-11-04 01:13:54 +00:00
2026-10-30 18:33:14 +00:00
2026-11-02 19:38:59 +00:00
2026-11-02 19:17:00 +00:00
2026-10-28 20:10:15 +00:00
2026-11-04 19:58:24 +00:00
2026-11-04 01:15:38 +00:00
2026-10-29 00:42:21 +00:00
2026-10-27 16:16:17 +00:00
2026-11-04 20:37:39 +00:00
2026-11-03 01:58:18 +00:00
2026-11-03 11:14:59 +00:00
2026-11-05 03:49:13 +00:00
2026-11-05 03:49:13 +00:00
2026-11-02 21:09:37 +00:00
2026-11-05 22:49:46 +00:00
2026-10-29 19:16:28 +00:00
2026-11-04 19:58:49 +00:00
2026-11-02 21:37:17 +00:00
2026-11-04 01:24:36 +00:00
2026-11-03 12:08:52 +00:00
2026-11-02 19:25:02 +00:00
2026-11-05 22:03:29 +00:00
2026-11-03 12:33:26 +00:00
2026-11-04 19:10:59 +00:00
2026-11-04 00:19:12 +00:00
2026-11-05 00:39:39 +00:00
2026-10-27 22:26:12 +00:00
2026-11-05 11:14:26 +00:00
2026-11-04 13:03:01 +00:00
2026-10-23 00:46:28 +00:00
2026-10-22 23:48:20 +00:00
2026-10-27 19:50:41 +00:00
2026-11-04 02:00:01 +00:00
2026-11-05 20:57:03 +00:00
2026-11-05 20:55:46 +00:00
2026-11-05 20:55:46 +00:00
2026-10-27 13:02:57 +00:00
2026-10-23 18:48:10 +00:00
2026-11-05 13:38:12 +00:00
2026-11-02 18:43:57 +00:00
2026-10-30 18:19:38 +00:00
2026-11-04 13:03:01 +00:00
2026-10-29 11:23:51 +00:00
2026-11-05 22:03:29 +00:00
2026-10-22 22:44:48 +00:00
2026-10-30 20:53:25 +00:00
2026-11-05 20:43:36 +00:00
2026-10-30 18:20:57 +00:00
2026-11-04 01:15:38 +00:00
2026-11-03 06:05:55 +00:00
2026-11-02 07:27:49 +00:00
2026-11-03 12:08:52 +00:00
2026-10-26 21:46:26 +00:00
2026-11-05 20:55:46 +00:00
2026-10-30 18:33:14 +00:00
2026-10-27 22:26:12 +00:00
2026-10-23 00:02:29 +00:00
2026-11-04 02:00:01 +00:00
2026-11-04 01:12:49 +00:00
2026-11-03 01:58:18 +00:00
2026-11-02 16:00:20 +00:00
2026-10-27 22:26:12 +00:00
2026-10-26 18:33:05 +00:00
2026-10-26 18:33:05 +00:00
2026-11-02 19:25:02 +00:00
2026-10-30 18:33:14 +00:00
2026-10-27 23:02:27 +00:00
2026-10-27 05:52:01 +00:00
2026-11-04 01:24:36 +00:00
2026-11-04 19:58:24 +00:00
2026-11-04 19:58:24 +00:00
2026-10-26 18:13:00 +00:00
2026-10-26 19:01:45 +00:00
2026-10-28 15:10:52 +00:00
2026-10-23 00:02:29 +00:00
2026-10-30 20:53:25 +00:00
2026-11-04 01:24:36 +00:00
2026-10-30 15:11:02 +00:00
2026-11-02 21:37:17 +00:00
2026-10-23 00:02:29 +00:00