Files
hermes-agent/tests
teknium1 b98ff81978 refactor(file-safety): fold vault/ and browser-profile/ into the existing protected-subpath table
The salvaged fix added a second directory tuple and a second loop for the same
predicate. _HERMES_PROTECTED_SUBPATHS already expresses "HERMES_HOME subpaths the
file tools must not rewrite", so the two secret directories join it and the
duplicate loop goes. Tests trimmed to two invariants: every read-denied secret
store is also write-denied on both the profile and the global root, and the
#45947 control files plus same-named paths outside HERMES_HOME stay writable.
2026-09-15 06:20:15 -07:00
..
…