Expand description
Settings Manager — runtime configuration administration.
SettingsManager is the single source of truth for all application settings
after the first boot. It:
- Seeds the database on first boot from the resolved
AppConfig(config file + env vars + CLI) using typed JSON Schemas. - Detects drift on subsequent boots: settings changed via the REST API
and not reflected in the config file are flagged
is_drift=truein the in-memory cache, while the DB value is preserved. - Validates every write against the parent type’s JSON Schema.
- Exposes an extension API (
register_extension) so plugins can add their own settings namespaces without touching any UAR code. - Caches all settings in memory for sub-μs reads at runtime.
Structs§
- Governance
Mutation Result - Settings
Manager - Thread-safe runtime settings manager.
Enums§
Constants§
- SIDECAR_
GLOBAL_ MCP_ DISABLED - Error code returned when a sidecar refuses global MCP server mutation.