Expand description
Owned engine boundary for library hosts (JOE-1782 / JOE-1654 / JOE-1784 / JOE-1787).
§Ownership model
AurumEngine owns:
- a
ValidatedConfig - an engine-local
ResourceGovernor - an engine-local
Metricssink - an engine-local STT context pool (
SttContextPool) - an engine-local TTS session pool (when the
ttsfeature is enabled) - lifecycle bookkeeping for explicit shutdown
§Isolation (JOE-1784)
Engines do not share whisper/TTS residency with each other or with the
process-global pools used by default LocalWhisperProvider::new /
LocalTtsProvider::new. Shutdown clears idle entries in this engine’s
pools only.
Process-global pools remain for CLI and callers that construct providers
without an engine. Call crate::providers::local::clear_context_cache at
process exit when using those paths with Metal.
Structs§
- Aurum
Engine - Library-facing engine: validated config + owned governor/metrics/model pools.