Charlie Marsh
42c320991e
Add compact filesystem context for workspace-write profiles ( #64164 )
...
## Why
The filesystem context sent to the model repeats the same generated
read-only metadata entries under each writable path.
## What changed
Add the opt-in `features.compact_filesystem_context` flag. For matching
workspace-write profiles with multiple writable paths, list workspace
roots and other writable paths separately, then state the shared
read-only rule for `.git`, `.agents`, `.codex`, and `.aws` once.
Keep temporary-directory write grants explicit and use the full listing
for profiles with rules the summary cannot represent.
## Testing
Cover compact rendering and fallback for explicit metadata reads or
Windows paths with different casing. Snapshot shared and per-environment
context across two turns to verify that unchanged permissions carry
forward.
GitOrigin-RevId: 4e9f36a054a96f06c9e5d0b3882148b132233e4f
2026-11-26 15:09:58 +00:00
..
2026-11-10 01:30:08 +00:00
2026-11-20 21:42:17 +00:00
2026-11-04 13:03:01 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-11-13 22:01:26 +00:00
2026-11-20 01:48:00 +00:00
2026-11-20 06:05:04 +00:00
2026-11-20 06:05:04 +00:00
2026-11-17 20:04:36 +00:00
2026-10-30 18:33:14 +00:00
2026-11-17 14:20:08 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-11-20 21:42:17 +00:00
2026-11-20 21:42:17 +00:00
2026-11-03 12:33:26 +00:00
2026-11-20 21:42:17 +00:00
2026-11-20 21:42:17 +00:00
2026-11-20 21:42:17 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 21:42:17 +00:00
2026-11-16 04:54:23 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-04 00:19:12 +00:00
2026-11-03 21:24:16 +00:00
2026-10-30 20:53:25 +00:00
2026-11-03 21:24:16 +00:00
2026-11-03 21:24:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-25 14:03:11 +00:00
2026-11-21 05:42:40 +00:00
2026-11-21 05:42:40 +00:00
2026-11-16 04:54:23 +00:00
2026-11-21 05:42:40 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-21 05:42:40 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-10 21:28:22 +00:00
2026-11-17 20:04:36 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-26 15:09:58 +00:00
2026-11-26 15:09:58 +00:00
2026-11-20 21:42:17 +00:00
2026-11-20 23:12:16 +00:00
2026-10-30 18:33:14 +00:00
2026-11-16 04:54:23 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-11-20 23:12:16 +00:00
2026-11-24 00:13:03 +00:00
2026-11-21 21:40:05 +00:00
2026-11-21 21:40:05 +00:00
2026-11-20 23:12:16 +00:00
2026-11-16 04:54:23 +00:00
2026-11-20 21:42:17 +00:00
2026-11-25 14:22:54 +00:00
2026-11-24 14:20:14 +00:00
2026-11-13 18:46:45 +00:00
2026-11-17 16:16:36 +00:00
2026-11-21 08:39:16 +00:00
2026-11-21 08:39:16 +00:00
2026-11-17 16:16:36 +00:00
2026-11-17 16:16:36 +00:00
2026-11-17 16:16:36 +00:00
2026-11-24 14:35:46 +00:00
2026-11-17 16:16:36 +00:00
2026-11-17 16:16:36 +00:00
2026-11-17 18:24:49 +00:00
2026-11-17 16:16:36 +00:00
2026-11-17 16:16:36 +00:00
2026-11-17 16:16:36 +00:00
2026-11-24 21:10:00 +00:00
2026-11-17 16:16:36 +00:00
2026-11-21 05:42:40 +00:00
2026-11-17 16:16:36 +00:00
2026-11-17 16:16:36 +00:00
2026-11-20 20:24:34 +00:00
2026-11-20 20:24:34 +00:00
2026-11-20 20:24:34 +00:00
2026-11-18 19:39:41 +00:00
2026-11-02 20:10:37 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-17 20:04:36 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-17 22:58:38 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-11-21 08:38:44 +00:00
2026-11-20 21:42:17 +00:00
2026-11-04 13:03:01 +00:00
2026-11-02 21:35:56 +00:00
2026-10-30 18:33:14 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-17 22:58:38 +00:00
2026-11-17 22:58:38 +00:00
2026-11-17 20:04:36 +00:00
2026-11-21 05:42:40 +00:00
2026-11-21 05:42:40 +00:00
2026-11-21 04:18:31 +00:00
2026-11-21 05:42:40 +00:00
2026-11-23 16:52:47 +00:00
2026-11-20 23:44:47 +00:00
2026-11-20 23:44:47 +00:00
2026-11-17 20:04:36 +00:00
2026-10-30 18:33:14 +00:00
2026-10-30 18:33:14 +00:00
2026-11-20 21:42:17 +00:00
2026-11-20 21:42:17 +00:00
2026-11-16 04:54:23 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 21:42:17 +00:00
2026-10-30 18:33:14 +00:00
2026-11-18 15:24:29 +00:00
2026-11-20 23:12:16 +00:00
2026-11-17 03:48:25 +00:00
2026-11-17 03:48:25 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-10-30 20:53:25 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-16 04:54:23 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-16 04:54:23 +00:00
2026-11-20 21:42:17 +00:00
2026-11-20 21:42:17 +00:00
2026-11-20 23:12:16 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-10-27 19:11:56 +00:00
2026-11-20 23:12:16 +00:00
2026-11-20 23:12:16 +00:00
2026-11-16 04:54:23 +00:00
2026-11-16 04:54:23 +00:00
2026-10-30 18:33:14 +00:00