58 lines
1.3 KiB
Plaintext
58 lines
1.3 KiB
Plaintext
# Production Mode Configuration Overlay
|
|
#
|
|
# Optimized for: Scalability, performance, reliability
|
|
# Storage: Hybrid (filesystem + SurrealDB)
|
|
# Embeddings: Cloud providers (OpenAI/Claude via rig-core)
|
|
# Logging: Info level
|
|
# Sync: Auto-enabled with optimized debounce
|
|
|
|
{
|
|
storage = {
|
|
primary = 'filesystem,
|
|
secondary = {
|
|
enabled = true, # SurrealDB for scalable queries
|
|
type = 'surrealdb,
|
|
url = "ws://localhost:8000",
|
|
namespace = "kogral",
|
|
database = "production",
|
|
},
|
|
},
|
|
|
|
embeddings = {
|
|
enabled = true,
|
|
provider = 'openai, # Cloud API for production quality
|
|
model = "text-embedding-3-small",
|
|
dimensions = 1536,
|
|
api_key_env = "OPENAI_API_KEY",
|
|
},
|
|
|
|
query = {
|
|
similarity_threshold = 0.6, # Stricter for quality results
|
|
max_results = 10, # Conservative for performance
|
|
cross_graph = true,
|
|
},
|
|
|
|
sync = {
|
|
auto_index = true, # Auto-sync enabled
|
|
debounce_ms = 300, # Faster response to changes
|
|
},
|
|
|
|
mcp = {
|
|
server = {
|
|
transport = 'stdio,
|
|
},
|
|
tools = {
|
|
search = true,
|
|
add_note = true,
|
|
add_decision = true,
|
|
link = true,
|
|
get_guidelines = true,
|
|
export = true,
|
|
},
|
|
resources = {
|
|
expose_project = true,
|
|
expose_shared = true,
|
|
},
|
|
},
|
|
}
|