Skip to main content

Module manager

Module manager 

Source
Expand description

Settings Manager — runtime configuration administration.

SettingsManager is the single source of truth for all application settings after the first boot. It:

  1. Seeds the database on first boot from the resolved AppConfig (config file + env vars + CLI) using typed JSON Schemas.
  2. Detects drift on subsequent boots: settings changed via the REST API and not reflected in the config file are flagged is_drift=true in the in-memory cache, while the DB value is preserved.
  3. Validates every write against the parent type’s JSON Schema.
  4. Exposes an extension API (register_extension) so plugins can add their own settings namespaces without touching any UAR code.
  5. Caches all settings in memory for sub-μs reads at runtime.

Structs§

GovernanceMutationResult
SettingsManager
Thread-safe runtime settings manager.

Enums§

GovernanceMutationStatus

Constants§

SIDECAR_GLOBAL_MCP_DISABLED
Error code returned when a sidecar refuses global MCP server mutation.