Expand description
Event bus: inter-agent communication via oxi_sdk::EventBus<KernelEvent>.
The event bus is the “pipe” of Oxios. All agents communicate through kernel events published on the bus.
After RFC-014 Phase C, this module no longer owns the broadcast channel —
it reuses oxi_sdk::EventBus<E>, which is a generic wrapper over
tokio::sync::broadcast. The only Oxios-specific bits are:
KernelEventenum (oxios-internal event vocabulary)kernel_event_to_audit_actionmapping for the audit trailattach_audit_trailhelper (subscribes the bus to the trail)
Enums§
- Kernel
Event - Events that flow through the kernel event bus.
Functions§
- attach_
audit_ trail - Subscribe the audit trail to all kernel events.
- kernel_
event_ to_ audit_ action - Convert a KernelEvent to an AuditAction for the audit trail.
Type Aliases§
- Event
Bus - Kernel event bus — generic SDK bus specialised for
KernelEvent.