{
  "$schema": "./omco.schema.json",

  "model_mapping": {
    "tierDefaults": {
      "haiku": "github-copilot/claude-haiku-4",
      "sonnet": "github-copilot/claude-sonnet-4",
      "opus": "github-copilot/claude-opus-4"
    },
    "debugLogging": false,
    "opusReadOnlyFallbackToSonnet": false
  },

  "agents": {
    "architect": {
      "tier": "opus",
      "enabled": true
    },
    "explore": {
      "tier": "haiku",
      "enabled": true
    },
    "frontendEngineer": {
      "model": "github-copilot/claude-sonnet-4",
      "temperature": 0.7
    }
  },

  "features": {
    "parallelExecution": true,
    "lspTools": true,
    "astTools": true,
    "continuationEnforcement": true,
    "autoContextInjection": true
  },

  "mcpServers": {
    "exa": { "enabled": true },
    "context7": { "enabled": true },
    "grepApp": { "enabled": true }
  },

  "permissions": {
    "allowBash": true,
    "allowEdit": true,
    "allowWrite": true,
    "maxBackgroundTasks": 5
  },

  "magicKeywords": {
    "ultrawork": ["ultrawork", "ulw", "uw"],
    "search": ["search", "find", "locate"],
    "analyze": ["analyze", "investigate", "examine"],
    "ultrathink": ["ultrathink", "think", "reason", "ponder"]
  },

  "routing": {
    "enabled": true,
    "defaultTier": "MEDIUM",
    "escalationEnabled": true,
    "maxEscalations": 2,
    "tierModels": {
      "LOW": "github-copilot/claude-haiku-4",
      "MEDIUM": "github-copilot/claude-sonnet-4",
      "HIGH": "github-copilot/claude-opus-4"
    },
    "agentOverrides": {
      "architect": { "tier": "HIGH", "reason": "Advisory agent requires deep reasoning" },
      "explore": { "tier": "LOW", "reason": "Exploration is search-focused" }
    },
    "escalationKeywords": ["critical", "production", "urgent", "security"],
    "simplificationKeywords": ["find", "list", "show", "where"]
  },

  "background_task": {
    "defaultConcurrency": 5
  },

  "ralph_loop": {
    "enabled": true,
    "default_max_iterations": 100
  },

  "autopilot": {
    "enabled": true,
    "maxPhaseRetries": 3,
    "delegationEnforcement": "warn"
  },

  "ultraqa": {
    "enabled": true,
    "maxIterations": 10
  },

  "orchestrator": {
    "delegationEnforcement": "warn",
    "auditLogEnabled": true
  }
}
