Skip to content

PermissionConfigSlice

Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/core/deepAgentPermissions.ts:27

The slice of GthConfig the permission mapping consumes.

optional aiignore?: object

Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/core/deepAgentPermissions.ts:29

optional enabled?: boolean

optional patterns?: string[]


optional allowDirs?: string[]

Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/core/deepAgentPermissions.ts:35

Extra real filesystem roots to allow (gth exec --allow-dir). When present, the backend runs WITHOUT virtualMode, so permission paths are real absolute paths: access is allow-listed to cwd + these dirs and everything else is denied. Undefined/empty keeps the cwd-only sandbox.


filesystem: string[] | "read" | "all" | "none"

Defined in: _worktrees/docs-release/gaunt-sloth/packages/agent/src/core/deepAgentPermissions.ts:28