allowDirsToPermissions
allowDirsToPermissions(
allowDirs):FilesystemPermission[]
Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/core/deepAgentPermissions.ts:56
Build allow+deny rules for the widened (--allow-dir) sandbox. Because the backend runs
without virtualMode, paths are REAL absolute paths, so we anchor allow rules at the resolved
absolute cwd and each allowed dir, then deny everything else. First-match-wins, so the allow
rules must come before the catch-all deny.
Parameters
Section titled “Parameters”allowDirs
Section titled “allowDirs”string[]