# VAPORA Solo Deployment Configuration Example
#
# Single-user development/testing mode with local storage and minimal resources.
# Copy this to provisioning/config/runtime/vapora.solo.toml and customize as needed.
#
# Generated: 2026-01-12

deployment_mode = "solo"
workspace_name = "vapora-workspace"

[backend]
host = "127.0.0.1"
port = 8001
workers = 2
request_timeout = 30000
keep_alive = 75
max_connections = 100
graceful_shutdown = true
shutdown_timeout = 30

[backend.auth]
method = "jwt"
jwt_secret = ""
jwt_ttl = 86400
mfa_enabled = false
audit_logging = true

[backend.database]
url = "file:///tmp/vapora/surrealdb.db"
username = "root"
password = ""
database = "vapora"
pool_size = 10
connection_timeout = 30

[backend.storage]
backend = "filesystem"
path = "/tmp/vapora/storage"

[backend.cache]
enabled = true
ttl = 3600
max_size = 104857600

[agents]
host = "127.0.0.1"
port = 8002
max_instances = 3
heartbeat_interval = 300
health_check_timeout = 5

[agents.learning]
enabled = true
recency_window_days = 7
recency_multiplier = 3.0

[agents.learning.scoring]
load_weight = 0.3
expertise_weight = 0.5
confidence_weight = 0.2

[agents.knowledge_graph]
enabled = true
retention_days = 7
causal_reasoning = true
similarity_search = true

[agents.swarm]
enabled = false
load_balancing_strategy = "round_robin"
capability_filtering = true

[agents.nats]
enabled = false
url = "nats://localhost:4222"
timeout = 60

[agents.registry]
persistence = true
path = "/tmp/vapora/agents/registry"

[llm_router]
host = "127.0.0.1"
port = 8003

[llm_router.cost_tracking]
enabled = false
track_tokens = true
track_latency = true
reporting_interval = 3600

[llm_router.budget_enforcement]
enabled = false
window = "monthly"
near_threshold_percent = 80
auto_fallback = true
detailed_tracking = true

[llm_router.budget_enforcement.role_limits]
architect_cents = 500000
developer_cents = 300000
reviewer_cents = 200000
testing_cents = 100000

[llm_router.providers]
claude_enabled = true
openai_enabled = false
gemini_enabled = false
ollama_enabled = false
ollama_url = "http://localhost:11434"

[llm_router.routing]
strategy = "performance"
fallback_chain = ["claude", "ollama"]
retry_attempts = 3
retry_delay = 1000
request_timeout = 60

[llm_router.logging]
level = "debug"
detailed_cost_logs = false

[frontend]
host = "127.0.0.1"
port = 3000
api_url = "http://localhost:8001"
enable_wasm = true

[database]
url = "file:///tmp/vapora/surrealdb.db"
username = "root"
password = ""
database = "vapora"
pool_size = 5

[nats]
enabled = false
url = "nats://localhost:4222"
timeout = 60

[providers]
claude_enabled = true
openai_enabled = false
gemini_enabled = false
ollama_enabled = false
ollama_url = "http://localhost:11434"

[monitoring]
prometheus_enabled = false
log_level = "debug"
tracing_enabled = false
metrics_path = "/metrics"

[security]
jwt_secret = ""
tls_enabled = false
tls_cert_path = "/etc/vapora/certs/tls.crt"
tls_key_path = "/etc/vapora/certs/tls.key"

[storage]
base_path = "/tmp/vapora"
backup_enabled = false
backup_interval = 24
