{
  "permissions": {
    "defaultMode": "acceptEdits",
    "allow": [
      "Agent",
      "Bash",
      "Edit",
      "Glob",
      "Grep",
      "NotebookEdit",
      "PowerShell",
      "Read",
      "Skill",
      "TaskOutput",
      "TaskStop",
      "TodoWrite",
      "WebFetch",
      "WebSearch",
      "Write"
    ],
    "deny": [
      "Read(**/.ssh/**)",
      "Bash(sudo *)",
      "Bash(git add:*)",
      "Bash(git stage:*)",
      "Bash(git rm:*)",
      "Bash(git mv:*)",
      "Bash(git restore:*)",
      "Bash(git commit:*)",
      "Bash(git push:*)",
      "Bash(git pull:*)",
      "Bash(git merge:*)",
      "Bash(git rebase:*)",
      "Bash(git cherry-pick:*)",
      "Bash(git revert:*)",
      "Bash(git am:*)",
      "Bash(git apply --index:*)",
      "Bash(git apply --cached:*)",
      "Bash(git apply --3way:*)",
      "Bash(git stash:*)",
      "Bash(git reset:*)",
      "Bash(git checkout:*)",
      "Bash(git clean:*)",
      "Bash(git switch:*)",
      "Bash(git branch:*)",
      "Bash(git submodule:*)",
      "Bash(git worktree:*)",
      "Bash(git reflog:*)",
      "Bash(git gc:*)",
      "Bash(git prune:*)",
      "Bash(git filter-branch:*)",
      "Bash(git fast-import:*)",
      "Bash(git sparse-checkout:*)",
      "Bash(git bisect:*)",
      "Bash(git update-index:*)",
      "Bash(git update-ref:*)",
      "Bash(git symbolic-ref:*)",
      "Edit(**/.agent/inbox/**)"
    ]
  },
  "hooks": {
    "PreToolUse": [
      {
        "matcher": "^(?!(Read|Glob|Grep|Edit|Write|NotebookEdit|TodoWrite)$).*",
        "hooks": [
          {
            "type": "command",
            "command": "{{PERMISSION_GATE}}",
            "timeout": 10
          }
        ]
      },
      {
        "matcher": "^(Write|Edit|NotebookEdit)$",
        "hooks": [
          {
            "type": "command",
            "command": "{{PROSE_GATE}}",
            "timeout": 10
          }
        ]
      }
    ]
  },
  "disableArtifact": true,
  "workflowKeywordTriggerEnabled": false,
  "promptSuggestionEnabled": false,
  "awaySummaryEnabled": false,
  "fileCheckpointingEnabled": false,
  "showTurnDuration": true,
  "remoteControlAtStartup": true,
  "skipAutoPermissionPrompt": true,
  "spinnerTipsEnabled": false,
  "tui": "fullscreen",
  "prefersReducedMotion": true,
  "precomputeCompactionEnabled": false,
  "terminalProgressBarEnabled": false,
  "autoMemoryEnabled": false,
  "outputStyle": "Concise+"
}