# Test Mode Configuration Overlay
#
# Optimized for: Fast tests, isolation, no side effects
# Storage: In-memory only (ephemeral)
# Embeddings: Disabled (tests don't need semantic search)
# Logging: Debug level
# Sync: Disabled (manual control in tests)

{
  storage = {
    primary = 'memory,  # Ephemeral, fast, isolated
    secondary = {
      enabled = false,  # No database in tests
    },
  },

  embeddings = {
    enabled = false,  # Disable for test speed
    provider = 'fastembed,  # Fallback if needed
    model = "BAAI/bge-small-en-v1.5",
    dimensions = 384,
  },

  query = {
    similarity_threshold = 0.3,  # Permissive for test coverage
    max_results = 50,  # More results for verification
    cross_graph = false,  # Isolated tests
  },

  sync = {
    auto_index = false,  # Manual control in tests
    debounce_ms = 0,  # No debounce for deterministic tests
  },

  mcp = {
    server = {
      transport = 'stdio,
    },
    tools = {
      search = true,
      add_note = true,
      add_decision = true,
      link = true,
      get_guidelines = true,
      export = true,
    },
    resources = {
      expose_project = false,  # Isolated tests
      expose_shared = false,
    },
  },
}
