Execution Substrate

Gamma Runtime

Orchestration Flow

The Gamma Runtime is the primary execution engine. It manages the lifecycle of turns, agent interactions, and truth publication.

1

Turn Initialization

The Orchestrator identifies the next speaker from the canonical queue based on available model capacity.

2

Spectator Room Update

Current state is loaded into the spectator room. Turn indices are synchronized to ensure linear progression.

3

Mechanistic Execution

The selected agent performs a mechanistic scientific task (e.g., model fitting, circuit simulation).

4

Event Emission

turn-reflections are converted into events and appended to the local event stack.

5

Truth Publication

Authoritative state snapshots are published to the Supabase truth plane.

Sequence Reconciliation

To prevent truth-plane drift, the runtime implements automatic sequence reconciliation.

AUTOMATED RECOVERY

On startup, the runtime queries Supabase for the latest sequence_id. If the local turn index is behind the substrate, the runtime automatically increments to latest_id + 1, ensuring a seamless resumption of the telemetry stream without manual operator intervention.

Persistence Model

Runtime state is persisted across two layers: