Jesús Pérez a395bd972f
Some checks failed
Rust CI / Security Audit (push) Has been cancelled
Rust CI / Check + Test + Lint (nightly) (push) Has been cancelled
Rust CI / Check + Test + Lint (stable) (push) Has been cancelled
mdBook Build & Deploy / Build mdBook (push) Has been cancelled
Nickel Type Check / Nickel Type Checking (push) Has been cancelled
mdBook Build & Deploy / Documentation Quality Check (push) Has been cancelled
mdBook Build & Deploy / Deploy to GitHub Pages (push) Has been cancelled
mdBook Build & Deploy / Notification (push) Has been cancelled
chore: add cd/ci ops
2026-01-12 03:36:55 +00:00
..
2026-01-12 03:36:55 +00:00
2026-01-12 03:36:55 +00:00

Platform Schemas

Reusable Nickel schemas for common configuration components.

Schemas

Server (common/server.ncl)

Defines standard HTTP server configuration:

  • Host and port
  • Worker threads
  • Timeouts and keep-alive
  • Connection limits
  • Graceful shutdown

Used by: Backend, Agents, LLM Router, Frontend

Database (common/database.ncl)

Defines standard database configuration:

  • Connection URL
  • Credentials (user/password)
  • Database selection
  • Connection pooling
  • Timeout settings

Used by: All services requiring persistence

Monitoring (common/monitoring.ncl)

Defines observability configuration:

  • Prometheus metrics
  • Log level and format
  • Distributed tracing
  • Metric collection interval

Used by: All services

Storage (common/storage.ncl)

Defines storage and backup configuration:

  • Base storage path
  • Storage backend selection
  • Backup scheduling
  • Cache settings

Used by: Backend, Agents, Knowledge Graph

Security (common/security.ncl)

Defines security configuration:

  • TLS enablement
  • Certificate paths
  • Authentication method
  • Audit logging

Used by: All services

Usage Pattern

let server_schema = import "schemas/common/server.ncl" in

let my_config = server_schema {
  port = 9001,
  workers = 8,
}

References

  • Parent: ../README.md
  • Values: ../values/README.md
  • Constraints: ../constraints/README.md