# VAPORA Composed Configuration - Multiuser Mode
#
# Team collaboration and staging configuration
# Uses: schema → common defaults → multiuser mode defaults → user customizations
#
# Features:
# - Network accessible (0.0.0.0)
# - Remote SurrealDB
# - NATS JetStream for coordination
# - Cost tracking enabled
# - TLS + MFA + audit logging
# - 30-day knowledge graph retention
#
# Generated: January 12, 2026

let helpers = import "../common/helpers.ncl" in
let schema = import "../../vapora/main.ncl" in
let defaults_mode = import "../defaults/deployment/multiuser.ncl" in

# Composition: Schema → Mode Defaults → User Config
helpers.compose_config schema defaults_mode {
  # Team-specific customizations:

  # Set external API domain
  frontend.api_url = "https://api.vapora.internal:8001",

  # Optional: Enable additional providers
  # providers.openai_enabled = true,
  # providers.gemini_enabled = true,

  # Optional: Adjust team budgets
  # llm_router.budget_enforcement.role_limits = {
  #   architect_cents = 750000,    # $7500/month
  #   developer_cents = 500000,    # $5000/month
  #   reviewer_cents = 300000,     # $3000/month
  #   testing_cents = 150000,      # $1500/month
  # },

  # Optional: Extend learning window
  # agents.learning.recency_window_days = 14,

  # Optional: Increase observability
  # monitoring.log_level = "debug",
  # monitoring.prometheus_enabled = true,
}
