viyatb-oai
3c1adbabcd
fix: refresh network proxy settings when sandbox mode changes ( #17040 )
...
## Summary
Fix network proxy sessions so changing sandbox mode recomputes the
effective managed network policy and applies it to the already-running
per-session proxy.
## Root Cause
`danger_full_access_denylist_only` injects `"*"` only while building the
proxy spec for Full Access. Sessions built that spec once at startup, so
a later permission switch to Full Access left the live proxy in its
original restricted policy. Switching back needed the same recompute
path to remove the synthetic wildcard again.
## What Changed
- Preserve the original managed network proxy config/requirements so the
effective spec can be recomputed for a new sandbox policy.
- Refresh the current session proxy when sandbox settings change, then
reapply exec-policy network overlays.
- Add an in-place proxy state update path while rejecting
listener/port/SOCKS changes that cannot be hot-reloaded.
- Keep runtime proxy settings cheap to snapshot and update.
- Add regression coverage for workspace-write -> Full Access ->
workspace-write.
History
..
2026-04-07 08:03:35 -07:00
2026-04-07 08:03:35 -07:00
2026-04-07 00:32:41 +00:00
2026-04-06 16:22:59 -07:00
2026-04-08 03:07:55 +00:00
2026-04-07 15:18:34 -07:00
2026-04-03 18:06:52 -07:00
2026-04-07 15:18:34 -07:00
2026-04-07 08:03:35 -07:00
2026-04-07 15:18:34 -07:00
2026-04-07 11:33:35 -07:00
2026-04-03 00:33:34 -07:00
2026-03-24 18:34:44 -07:00
2026-04-07 08:03:35 -07:00
2026-04-07 15:18:34 -07:00
2026-04-08 03:07:55 +00:00
2026-04-07 10:17:31 +01:00
2026-03-24 18:10:53 -07:00
2026-04-07 21:20:22 +00:00
2026-04-01 23:06:24 -07:00
2026-04-01 23:06:24 -07:00
2026-04-01 23:06:24 -07:00
2026-04-07 15:18:34 -07:00
2026-04-07 15:18:34 -07:00
2026-04-07 09:52:17 -07:00
2026-04-07 15:43:38 -07:00
2026-04-06 16:22:59 -07:00
2026-04-07 10:52:08 -07:00
2026-04-01 23:06:24 -07:00
2026-04-08 03:07:55 +00:00
2026-04-06 19:17:14 -07:00
2026-04-08 03:07:55 +00:00
2026-03-12 08:16:36 -07:00
2026-04-01 23:06:24 -07:00
2026-03-27 19:00:44 -07:00
2026-03-12 08:16:36 -07:00
2026-04-07 15:18:34 -07:00
2026-03-27 19:00:44 -07:00
2026-04-06 16:22:59 -07:00
2026-04-07 08:03:35 -07:00
2026-04-07 08:03:35 -07:00
2026-03-12 00:35:21 -07:00
2026-03-27 19:00:44 -07:00
2026-03-25 10:43:49 -07:00
2026-03-27 19:00:44 -07:00
2026-03-27 06:17:59 +00:00
2026-03-27 19:00:44 -07:00
2026-03-24 12:43:53 -07:00
2026-04-03 12:07:07 -07:00
2026-04-03 21:00:24 +00:00
2026-04-06 11:11:44 -07:00
2026-04-07 10:52:08 -07:00
2026-03-27 19:00:44 -07:00
2026-04-07 08:03:35 -07:00
2026-03-27 19:00:44 -07:00
2026-04-07 08:03:35 -07:00
2026-03-27 19:00:44 -07:00
2026-03-24 11:04:47 -07:00
2025-09-24 14:29:51 -07:00
2026-01-08 15:07:30 +00:00
2026-03-27 19:00:44 -07:00
2026-04-01 23:06:24 -07:00
2026-04-07 09:52:17 -07:00
2026-04-01 23:06:24 -07:00
2026-04-07 09:52:17 -07:00
2026-04-07 08:03:35 -07:00
2026-03-27 19:00:44 -07:00
2026-04-07 00:32:41 +00:00
2026-04-07 08:03:35 -07:00
2026-04-07 08:03:35 -07:00
2026-03-12 08:16:36 -07:00
2026-04-03 00:33:34 -07:00
2026-03-25 11:05:35 -07:00
2026-03-27 19:00:44 -07:00
2026-04-02 01:19:44 -07:00
2026-04-02 23:00:02 -07:00
2026-04-02 23:00:02 -07:00
2026-03-27 19:00:44 -07:00
2026-04-07 10:52:08 -07:00
2026-04-01 13:21:50 -07:00
2026-04-07 08:03:35 -07:00
2026-04-07 15:18:34 -07:00
2026-04-07 00:32:41 +00:00
2026-04-07 10:52:08 -07:00
2026-04-07 10:52:08 -07:00
2026-04-06 12:46:55 -07:00
2026-03-27 19:00:44 -07:00
2026-03-24 15:45:40 -07:00
2026-03-16 21:38:07 -07:00
2026-04-07 15:43:38 -07:00
2026-04-01 23:06:24 -07:00
2026-03-27 14:50:01 +01:00
2026-04-07 08:03:35 -07:00
2026-04-07 21:20:22 +00:00
2026-04-07 09:25:39 -07:00
2026-04-01 23:06:24 -07:00
2026-04-01 23:06:24 -07:00
2026-04-01 23:06:24 -07:00
2026-03-20 18:23:48 +00:00
2026-04-03 00:33:34 -07:00
2026-04-07 15:18:34 -07:00
2026-02-10 17:03:46 -08:00
2026-03-30 11:59:50 -07:00
2026-03-17 17:59:27 +00:00
2026-03-27 19:00:44 -07:00
2026-04-02 13:47:10 -07:00
2026-03-27 19:00:44 -07:00
2026-03-25 12:57:42 -07:00
2026-03-07 02:30:21 +00:00
2026-04-07 08:03:35 -07:00
2026-04-03 00:33:34 -07:00
2026-04-06 23:49:47 -07:00
2026-04-03 00:33:34 -07:00
2026-04-06 16:22:59 -07:00
2026-04-07 12:47:37 +01:00
2026-03-31 14:10:43 +02:00
2026-03-31 14:10:43 +02:00
2026-03-12 08:16:36 -07:00
2026-04-01 23:06:24 -07:00
2026-03-19 22:05:13 +00:00
2026-03-24 13:26:23 -07:00
2026-03-18 10:03:38 +00:00
2026-04-07 08:03:35 -07:00
2026-04-03 00:33:34 -07:00
2026-04-03 00:33:34 -07:00
2026-04-03 00:33:34 -07:00
2026-04-03 00:33:34 -07:00
2026-01-30 16:37:56 -08:00
2026-04-01 23:06:24 -07:00
2026-04-01 23:06:24 -07:00
2026-04-02 01:19:44 -07:00
2026-04-07 08:03:35 -07:00