Eric Traut
c29bc99949
Preserve restored permission profiles in TUI sessions ( #41192 )
...
## Why
Restored app-server threads can carry permission profiles that cannot be
represented without loss as legacy sandbox-mode overrides. Sending those
profiles as per-turn overrides can discard their original permission details.
## What changed
- Distinguish restored permission profiles from legacy per-turn sandbox
overrides.
- Preserve restored profiles while routing turns and changing to compatible
working directories.
- Reject `/cd` when a restored profile cannot be represented safely by a
legacy sandbox mode.
## Testing
- Cover retaining a restored read-only profile across `/cd` without a turn
override.
- Verify that lossy sandbox-mode projections are detected.
GitOrigin-RevId: 6143dca4b83ab4f59bab05f6a59b4fe841c56192
2026-08-27 19:51:10 +00:00
..
2026-08-24 22:40:35 +00:00
2026-08-27 02:19:10 +00:00
2026-08-27 14:54:13 +00:00
2026-08-18 23:05:52 +00:00
2026-08-27 07:50:05 +00:00
2026-08-25 03:08:33 +00:00
2026-08-24 21:39:48 +00:00
2026-08-20 08:10:08 +00:00
2026-08-25 07:37:42 +00:00
2026-08-24 21:39:48 +00:00
2026-08-20 19:28:32 +00:00
2026-08-11 03:39:02 +00:00
2026-08-14 05:03:39 +00:00
2026-08-17 22:37:14 +00:00
2026-08-26 19:02:02 +00:00
2026-08-25 16:38:46 +00:00
2026-08-25 21:34:05 +00:00
2026-08-27 01:55:53 +00:00
2026-08-27 01:55:53 +00:00
2026-08-27 01:55:53 +00:00
2026-08-21 16:50:34 +00:00
2026-08-27 07:50:05 +00:00
2026-08-18 23:47:00 +00:00
2026-08-13 23:13:37 +00:00
2026-08-25 21:20:51 +00:00
2026-08-27 11:27:50 +00:00
2026-08-04 22:58:02 +00:00
2026-08-26 19:31:52 +00:00
2026-08-07 00:23:38 +00:00
2026-08-23 18:53:15 +00:00
2026-08-27 19:47:41 +00:00
2026-08-25 21:20:51 +00:00
2026-08-26 22:58:54 +00:00
2026-08-07 11:30:17 +00:00
2026-08-13 00:00:16 +00:00
2026-08-26 23:58:10 +00:00
2026-08-27 02:23:03 +00:00
2026-08-25 23:38:49 +00:00
2026-08-17 04:37:50 +00:00
2026-08-27 19:47:41 +00:00
2026-08-26 15:02:21 +00:00
2026-08-26 23:05:08 +00:00
2026-08-18 21:46:18 +00:00
2026-08-25 18:04:01 +00:00
2026-08-25 21:34:05 +00:00
2026-08-25 01:03:20 +00:00
2026-08-25 10:29:26 +00:00
2026-08-17 00:09:44 +00:00
2026-08-10 22:12:14 +00:00
2026-08-26 23:41:18 +00:00
2026-08-25 21:08:22 +00:00
2026-08-26 21:39:05 +00:00
2026-08-26 15:02:21 +00:00
2026-08-24 21:39:48 +00:00
2026-08-26 14:36:48 +00:00
2026-08-27 06:58:07 +00:00
2026-08-25 18:41:03 +00:00
2026-08-25 22:46:49 +00:00
2026-08-21 21:01:59 +00:00
2026-08-25 15:50:19 +00:00
2026-08-27 15:01:22 +00:00
2026-08-26 17:45:42 +00:00
2026-08-21 16:45:05 +00:00
2026-08-27 00:02:26 +00:00
2026-08-26 23:58:10 +00:00
2026-08-24 17:07:21 +00:00
2026-08-26 23:49:05 +00:00
2026-08-10 15:43:10 +00:00
2026-08-20 17:39:06 +00:00
2026-08-08 16:58:26 +00:00
2026-08-20 06:10:03 +00:00
2026-08-26 22:37:59 +00:00
2026-08-20 18:29:35 +00:00
2026-08-26 23:58:10 +00:00
2026-08-27 02:00:31 +00:00
2026-08-27 19:51:10 +00:00
2026-08-26 23:49:05 +00:00
2026-08-20 14:55:08 +00:00
2026-08-26 21:52:56 +00:00
2026-08-15 14:31:04 +00:00
2026-08-25 21:44:43 +00:00
2026-08-27 01:55:53 +00:00
2026-08-25 21:34:05 +00:00
2026-08-18 22:00:25 +00:00