Miravo

Architecture

Trace the one-way Miravo runtime flow from authoring files to the asset graph, event bus, and adapters.

Technical details

Follow the one-way flow

Miravo compiles content once. The runtime evaluates state on each tick. The same graph then feeds adapters, operator surfaces, and persistence.

Keep each subsystem narrow

The live WebSocket stream also carries runtime:tick messages with member deltas, core counters, and adapter metrics.

Adapters never compute member values. They project the graph they receive. Value generation stays in the runtime.

Reference

Event or metric surfaceNotes
tick:completeCarries { tick, simulationTime, graph, delta }
instance:created / instance:removedStructural lifecycle for runtime instances
lifecycle:changedCarries instanceId, stage transition, and operating hours
fault:triggered / fault:clearedFault lifecycle events
runtime:tick countersmemberValueCount, uptimeMs, actualTicksPerSecond, quarantinedInstanceCount, engineErrorsCount, tickOverrunsCount, circuitBreakerTripsCount
Adapter contractReceives graph snapshots and publishes protocol-specific projections

Was this page useful?

Last updated on