Skip to content

Latest commit

 

History

History
64 lines (48 loc) · 1.24 KB

File metadata and controls

64 lines (48 loc) · 1.24 KB

Harness Permissions

This document contains instructions for configuring each coding harness to run with full permissions inside Docker containers.

Configuration storage location: ~/.code-container/configs

OpenCode

Settings file location: .opencode/opencode.json

Add the following properties:

{
  "permission": "allow"
}

OpenAI Codex

Config file location: .codex/config.toml

Add the following lines:

approval_policy = "never"
sandbox_mode = "danger-full-access"

Claude Code

Settings file location: .claude/settings.json

Add the following properties:

{
  "permissions": {
    "allow": [
      "*",
      "Bash"
    ]
  }
}

Gemini CLI

Gemini uses a "policy engine" to determine tool usage approvals. To bypass permissions, perform the following:

  1. Navigte to the configuration storage location if not already:

    cd ~/.code-container/configs
  2. Create the policies directory if it doesn't already exist:

    mkdir -p .gemini/policies
  3. Create a rule file at .gemini/policies/rules.toml with the following contents:

    [[rule]]
    toolName = ["run_shell_command", "write_file", "replace"]
    decision = "allow"
    priority = 777