Dmitriy Kovalenko
526f6099f6
Preserve filesystem authority when loading skills ( #59279 )
...
## Why
Skill discovery and metadata loading used raw filesystem handles with unrestricted reads, and cache keys distinguished filesystems without accounting for captured permissions.
## What changed
- Pass borrowed `EnvironmentAccess` accessors through skill root resolution, discovery, canonicalization, and metadata reads.
- Include captured permissions in skill snapshot and empty remote root cache keys.
- Add fixed-path watches to `EnvironmentAccess`, falling back to live discovery when read restrictions prevent using unsandboxed executor watches.
- Keep user and plugin roots under host filesystem authority independently of the selected repository executor.
## Testing
Extend remote root cache coverage to verify that changing captured permissions triggers a fresh scan and that restricted accessors decline unsandboxed watches.
GitOrigin-RevId: 97d4bfdfcba78a93fc8845773c6397d4364494e3
2026-11-04 01:13:54 +00:00
..
2026-10-30 18:02:30 +00:00
2026-10-14 07:13:22 +00:00
2026-10-29 17:25:51 +00:00
2026-11-03 15:02:57 +00:00
2026-11-03 12:33:26 +00:00
2026-11-03 23:49:01 +00:00
2026-11-04 00:31:24 +00:00
2026-10-29 11:23:51 +00:00
2026-11-03 04:20:50 +00:00
2026-11-04 00:31:24 +00:00
2026-11-02 16:00:20 +00:00
2026-11-03 02:26:29 +00:00
2026-11-02 17:05:56 +00:00
2026-10-26 20:26:32 +00:00
2026-11-04 00:19:12 +00:00
2026-10-22 19:36:47 +00:00
2026-11-03 23:35:00 +00:00
2026-10-26 21:08:15 +00:00
2026-11-04 00:52:58 +00:00
2026-11-03 18:11:16 +00:00
2026-11-03 23:35:00 +00:00
2026-11-03 23:35:00 +00:00
2026-11-03 23:35:00 +00:00
2026-10-29 16:57:12 +00:00
2026-10-29 16:57:12 +00:00
2026-10-29 01:04:48 +00:00
2026-10-29 01:04:48 +00:00
2026-11-03 23:35:00 +00:00
2026-10-19 21:43:19 +00:00
2026-11-03 01:59:24 +00:00
2026-11-03 23:36:34 +00:00
2026-10-30 20:39:47 +00:00
2026-10-29 18:24:34 +00:00
2026-11-04 01:13:54 +00:00
2026-11-03 15:02:57 +00:00
2026-10-19 15:15:17 +00:00
2026-11-03 06:37:07 +00:00
2026-10-27 05:52:01 +00:00
2026-11-03 23:49:01 +00:00
2026-11-03 04:08:59 +00:00
2026-11-02 20:36:39 +00:00
2026-11-03 23:22:28 +00:00
2026-11-03 23:22:28 +00:00
2026-10-27 23:53:09 +00:00
2026-10-30 18:20:57 +00:00
2026-11-04 01:13:54 +00:00
2026-10-28 21:22:06 +00:00
2026-11-03 21:53:57 +00:00
2026-10-22 19:36:47 +00:00
2026-10-22 19:36:47 +00:00
2026-11-04 01:13:54 +00:00
2026-10-13 17:22:34 +00:00
2026-10-26 20:40:53 +00:00
2026-11-03 21:54:52 +00:00
2026-11-03 21:54:52 +00:00
2026-10-26 19:21:08 +00:00
2026-11-03 23:35:00 +00:00
2026-10-22 19:36:47 +00:00
2026-11-03 21:22:21 +00:00
2026-11-04 00:52:58 +00:00
2026-11-03 15:02:57 +00:00
2026-10-22 19:36:47 +00:00
2026-11-03 12:33:26 +00:00
2026-11-02 20:34:35 +00:00
2026-10-22 19:36:47 +00:00
2026-11-03 23:35:00 +00:00
2026-11-02 08:31:14 +00:00
2026-11-03 15:02:57 +00:00
2026-11-03 23:00:54 +00:00
2026-10-26 18:22:40 +00:00
2026-11-03 00:59:43 +00:00
2026-10-27 16:36:32 +00:00
2026-11-03 01:58:18 +00:00
2026-11-04 00:31:24 +00:00
2026-11-03 21:02:34 +00:00
2026-10-19 16:56:42 +00:00
2026-11-03 01:59:24 +00:00
2026-11-03 21:22:21 +00:00
2026-10-30 14:40:32 +00:00
2026-11-03 23:35:00 +00:00
2026-11-03 23:37:58 +00:00
2026-10-27 05:52:01 +00:00
2026-10-22 04:59:19 +00:00
2026-10-27 05:52:01 +00:00
2026-10-29 17:49:51 +00:00
2026-11-04 00:31:24 +00:00
2026-10-22 00:19:02 +00:00
2026-10-30 07:11:56 +00:00
2026-11-04 00:31:24 +00:00
2026-11-04 00:31:24 +00:00
2026-10-30 20:53:25 +00:00
2026-11-04 00:52:58 +00:00
2026-10-13 22:40:57 +00:00
2026-11-04 00:19:12 +00:00
2026-10-30 16:35:54 +00:00
2026-11-03 21:22:21 +00:00
2026-10-27 05:52:01 +00:00
2026-11-03 15:02:57 +00:00
2026-11-03 23:00:54 +00:00
2026-10-29 22:36:06 +00:00
2026-11-04 00:52:58 +00:00
2026-10-28 21:09:05 +00:00
2026-11-03 23:35:00 +00:00
2026-11-02 19:26:15 +00:00
2026-10-30 23:56:12 +00:00
2026-10-27 05:52:01 +00:00