Expand description
RuntimeObservability — narrow trait exposing metrics() and health()
to Endpoint consumers/producers. Defined per ADR-0012 §Signal-replacement-API
and the Phase A closure spec
(docs/superpowers/specs/2026-06-05-adr-0012-closure-design.md).
Why a separate trait: ComponentContext carries resolve_component,
resolve_language, platform_service — far more authority than an
emitter needs. Passing Arc<dyn ComponentContext> would be a
service-locator anti-pattern inviting future misuse. This trait exposes
exactly the two observability surfaces an ADR-0012 emitter calls.
Traits§
- Runtime
Observability - Narrow observability surface available to Endpoint consumers and producers.