Expand description
§Brain Observability Bus
Single source of truth for everything the user might want to see Brain do.
BrainEventformalises every consequential moment in the signal lifecycle (received, classified, routed, executed, audited, budget-crossed, etc.).Observeris the trait every consequential code path publishes through.BroadcastObserveris the default in-process fanout implementation.Redactorscrubs vault-marked secrets from any event payload before publication.
The crate is intentionally self-contained — it owns no I/O or persistence;
wiring into crates/signal and crates/audit happens at the processor seam.
Re-exports§
pub use event::BrainEvent;pub use event::IntentSummary;pub use event::OutcomeSummary;pub use event::PrincipalSummary;pub use event::SignalSummary;pub use event::ToolRouteSummary;pub use observer::BroadcastObserver;pub use observer::ObserveError;pub use observer::Observer;pub use observer::DEFAULT_BROADCAST_CAPACITY;pub use redact::Redactor;pub use redact::SENTINEL_PREFIX;pub use redact::SENTINEL_SUFFIX;pub use sampling::LogSampler;