# Example: VAPORA Multiuser Deployment Configuration (Team Mode)
#
# This is a reference Nickel configuration for team collaboration deployments.
# Copy this file to provisioning/config/runtime/vapora.multiuser.ncl and customize.
#
# Multiuser mode (4-8 CPU, 8-16GB RAM):
# - Team collaboration with multiple users
# - Cost tracking and budget enforcement per role
# - NATS JetStream for distributed agent coordination
# - MFA and audit logging enabled
#
# Prerequisites:
# - SurrealDB instance (remote or local)
# - NATS JetStream cluster
# - Docker/Kubernetes cluster
#
# Generated: 2026-01-12

let helpers = import "../../schemas/platform/common/helpers.ncl" in
let defaults = import "../../schemas/vapora/main.ncl" in
let mode_config = import "../../schemas/platform/defaults/deployment/multiuser.ncl" in

# Multiuser mode composition: base defaults + mode overlay
helpers.compose_config defaults mode_config {
  # Team-specific customizations:

  # Set your external domain
  frontend.api_url = "https://api.vapora.yourcompany.com",

  # Configure LLM providers
  providers.openai_enabled = true,
  providers.ollama_enabled = true,

  # Adjust role budgets as needed
  llm_router.budget_enforcement.role_limits = {
    architect_cents = 750000,    # $7500/month for architects
    developer_cents = 500000,    # $5000/month for developers
    reviewer_cents = 300000,     # $3000/month for reviewers
    testing_cents = 150000,      # $1500/month for testing
  },

  # Logging and monitoring
  monitoring.log_level = "info",
  monitoring.prometheus_enabled = true,
  monitoring.tracing_enabled = true,
}
