{
  "features": {
    "ollamaSync": true,
    "rateLimitFallback": true,
    "scopeShim": true,
    "perTurnRouting": true,
    "intentClassifier": false,
    "costBudgeting": true,
    "phaseMemory": true,
    "contextCompression": true
  },
  "ollamaSync": {
    "enabled": true,
    "onStartup": true,
    "onReload": true
  },
  "rateLimitFallback": {
    "enabled": true,
    "shortDelayThreshold": 60,
    "autoFallback": false,
    "autoRestore": false,
    "fallbackSequence": ["anthropic/claude-3-haiku-20240307", "ollama/*"]
  },
  "defaultProfile": "auto",
  "debug": false,
  "classifierModel": "google/gemini-flash-latest",
  "phaseBias": 0.5,
  "maxSessionBudget": 1.0,
  "largeContextThreshold": 100000,
  "rules": [
    {
      "matches": ["deploy", "production", "release"],
      "tier": "high",
      "reason": "Safety check for production tasks"
    },
    { "matches": "changelog", "tier": "low" }
  ],
  "profiles": {
    "auto": {
      "high": {
        "model": "openai/gpt-5.4-pro",
        "thinking": "high",
        "fallbacks": ["anthropic/claude-3-5-sonnet-20241022"]
      },
      "medium": { "model": "google/gemini-flash-latest", "thinking": "medium" },
      "low": { "model": "openai/gpt-5.4-nano", "thinking": "low" }
    },
    "cheap": {
      "high": { "model": "google/gemini-flash-latest", "thinking": "low" },
      "medium": { "model": "openai/gpt-5.4-nano", "thinking": "off" },
      "low": { "model": "google/gemini-flash-lite-latest", "thinking": "off" }
    },
    "deep": {
      "high": { "model": "openai/o1-preview", "thinking": "xhigh" },
      "medium": { "model": "openai/gpt-5.4-pro", "thinking": "medium" },
      "low": { "model": "google/gemini-flash-latest", "thinking": "low" }
    },
    "anthropic": {
      "high": {
        "model": "anthropic/claude-3-5-sonnet-20241022",
        "thinking": "high"
      },
      "medium": {
        "model": "anthropic/claude-3-5-sonnet-20241022",
        "thinking": "medium"
      },
      "low": { "model": "anthropic/claude-3-haiku-20240307", "thinking": "low" }
    }
  }
}
