{
  "asyncByDefault": false,
  "executeWorkers": true,
  "requireCleanWorktreeLeader": true,
  "autonomous": {
    "profile": "assisted",
    "enabled": true,
    "injectPolicy": true,
    "preferAsyncForLongTasks": true,
    "allowWorktreeSuggestion": true,
    "magicKeywords": {
      "parity": ["parity", "Angular", "React", "migration", "business logic"],
      "review": ["review", "audit", "inspect"],
      "tdd": ["TDD", "test first", "failing test"],
      "memory": ["remember", "memory", "lesson", "gotcha", "error and fix"],
      "evolve": ["evolve prompts", "self-evolving", "improve agents", "prompt drift"]
    }
  },
  "limits": {
    "maxConcurrentWorkers": 3,
    "maxTaskDepth": 6,
    "maxChildrenPerTask": 5,
    "maxTasksPerRun": 12,
    "maxRunMinutes": 120,
    "maxRetriesPerTask": 1,
    "heartbeatStaleMs": 60000
  },
  "runtime": {
    "mode": "auto",
    "inheritContext": true,
    "promptMode": "append",
    "groupJoin": "smart"
  },
  "worktree": {
    "linkNodeModules": true
  },
  "ui": {
    "dashboardPlacement": "right",
    "dashboardWidth": 56,
    "dashboardLiveRefreshMs": 1000,
    "autoOpenDashboard": false,
    "autoOpenDashboardForForegroundRuns": true,
    "showModel": true,
    "showTokens": true,
    "showTools": true
  },
  "telemetry": {
    "enabled": true
  },
  "observability": {
    "enabled": true,
    "pollIntervalMs": 5000,
    "metricRetentionDays": 14
  },
  "reliability": {
    "autoRetry": false,
    "autoRecover": false,
    "deadletterThreshold": 3,
    "retryPolicy": {
      "maxAttempts": 3,
      "backoffMs": 1000,
      "jitterRatio": 0.3,
      "exponentialFactor": 2
    }
  },
  "otlp": {
    "enabled": false,
    "endpoint": "http://localhost:4318/v1/metrics"
  }
}
