# Development Mode Configuration Overlay
#
# Optimized for: Fast iteration, local development, debugging
# Storage: Filesystem only (git-tracked)
# Embeddings: Local fastembed (no API costs)
# Logging: Debug level
# Sync: Disabled (manual only)

{
  storage = {
    primary = 'filesystem,
    secondary = {
      enabled = false,  # No database in dev mode
    },
  },

  embeddings = {
    enabled = true,
    provider = 'fastembed,  # Local, no API costs
    model = "BAAI/bge-small-en-v1.5",
    dimensions = 384,
  },

  query = {
    similarity_threshold = 0.4,  # Permissive for exploration
    max_results = 20,  # More results for discovery
    cross_graph = true,
  },

  sync = {
    auto_index = false,  # Manual sync in dev
    debounce_ms = 1000,  # Longer debounce
  },

  mcp = {
    server = {
      transport = 'stdio,
    },
    tools = {
      search = true,
      add_note = true,
      add_decision = true,
      link = true,
      get_guidelines = true,
      export = true,
    },
  },
}
