Skip to content

Configuration example

This is the complete default configuration. Omitted keys use these values. Unknown keys fail by name. Copy only the values that your repository needs.

{
  "host": { "provider": "github-gh", "login": "", "trustedAuthors": [] },
  "labels": {
    "ready": "agent-ready",
    "inProgress": "in-progress",
    "needsInfo": "needs-info",
    "done": "agent-done",
    "unsuitable": "agent-unsuitable"
  },
  "paths": {
    "specsDir": "docs/specs",
    "plansDir": "docs/plans",
    "worktreeDir": ".worktrees",
    "runsDir": ".patchmill/runs"
  },
  "git": { "baseBranch": null },
  "skills": {
    "triage": ".patchmill/skills/patchmill-issue-triage",
    "planning": ".patchmill/skills/patchmill-planning",
    "implementation": ".patchmill/skills/patchmill-implementation",
    "retro": ".patchmill/skills/patchmill-retro",
    "selection": null
  },
  "pi": {
    "agentDir": ".patchmill/pi-agent",
    "timeoutMinutes": null,
    "commandTimeoutMinutes": 20,
    "maxCommandTimeoutMinutes": 25,
    "stallStopMinutes": 10,
    "maxStalls": 3
  },
  "workflow": {
    "specApproval": { "required": false },
    "planApproval": { "required": false }
  },
  "retro": { "unattended": "off" },
  "run": {
    "triageIntervalMinutes": 5,
    "conflictRetryMinutes": 30,
    "idleBackoff": { "initialSeconds": 60, "maxSeconds": 900 },
    "errorBackoff": { "initialSeconds": 30, "maxSeconds": 1800 }
  }
}

For Forgejo, set host.provider to forgejo-tea. Leave host.login empty to use Tea’s default profile, or set an explicit Tea profile alias. GitHub init can seed the detected username for comment trust, not account selection.

git.baseBranch: null uses the remote default branch. Both planning gates default off. The four skill paths each name a directory with SKILL.md. skills.selection is null, so selection is oldest first. retro.unattended is off, so only interactive runs offer a Retro. See Configuration for these boundaries.