Configuration Defaults
Default config keys come from DEFAULT_CONFIG in src/lib/config.ts.
| Key | Default | Description |
|---|---|---|
runtime | auto | Runtime preference (auto/apptainer/podman). |
image | docker.io/library/node:20-bookworm | Default container image. |
session_timeout_hours | 8 | Maximum session duration. |
filesystem.blocked_patterns | credential/secret globs | Hidden path patterns inside the sandbox. |
filesystem.extra_paths | [] | Extra host paths mounted into the sandbox. |
datasets | [] | Named dataset mounts and cached stats. |
commands.blacklist | mount, umount, mkfs, reboot, shutdown | Blocked high-risk commands in session runtime wrappers. |
commands.ensure_commands | ["git"] | Commands checked/installed (best effort) before Claude startup. |
network.mode | host | Network policy mode (none/filtered/host). |
network.allowed_domains | preset allowlist | Domain allowlist for filtered mode. |
slurm.enabled | true | Enable SLURM tracking and status commands. |
slurm.mcp_server | true | Enable SLURM MCP server entrypoint. |
audit.enabled | true | Enable audit logging. |
audit.log_dir | ~/.labgate/logs | Audit event log directory. |
headless.claude_run_with_allowed_permissions | false | Deprecated/ignored. Claude headless runs always keep per-tool approvals enabled. |
headless.continuation_in_other_terminals | true | Show the labgate continue ... terminal continuation hint in the UI footer. |
headless.git_integration | false | Enable Git DAG sidebar and footer branch controls in the UI. |
Common lifecycle commands: labgate config path, labgate config show, labgate config get, labgate config set, and labgate config reset.
Last updated on