Echo is an industrial-grade graph-rewrite simulation engine organized around a strict Hexagonal (Ports and Adapters) architecture and the WARP graph substrate.
Echo is the hot runtime within the larger Continuum platform. It is optimized for deterministic execution, parallel rule processing, and high-fidelity replay.
flowchart TD
subgraph Ingress["Ingress Surfaces"]
WASM[Echo WASM Guest]
CLI[warp-cli]
APP[echo-app-core]
end
subgraph Core["warp-core (Engine)"]
RE[Rewrite Engine]
SCH[Deterministic Scheduler]
MATH[Deterministic Math]
MBUS[Materialization Bus]
end
subgraph Memory["Memory"]
WL[Worldlines]
RCP[Tick Receipts]
PROV[Provenance Store]
end
subgraph Ports["Driven Ports"]
SP[ScenePort]
TP[TTD Port]
end
Ingress --> Core
Core --> Memory
Core --> Ports
- Structural Determinism: Concurrency is structurally prevented by the snapshot-delta-merge model. Same rules + same hashes = same result.
- WARP Substrate: State is a typed, directed multigraph. Time is a hash chain of ticks.
- Genealogy of Reality: Every state transition traces back to a causal receipt. Provenance is a first-class citizen.
- 0-ULP Inevitability: Cross-platform math convergence is enforced for consensus/default execution paths at the binary level; standard floats are excluded there, and wall-clock time is not part of state transition semantics.
The Echo tick loop is a deterministic sequence:
- Snapshot: Capture the current immutable WARP graph state.
- Execute: Run rewrite rules in parallel. Each rule reads the snapshot and writes to a private delta.
- Merge: Merge deltas in canonical order. Conflict detection occurs via footprint enforcement.
- Commit: Finalize the tick as a cryptographic commit in the worldline hash chain.
- Emit: Project changes to driven ports (Scene, TTD, Materialization Bus).
Echo uses WARP Graphs—a worldline algebra for recursive provenance.
- Ticks: Lamport clock values on a worldline.
- Receipts: Per-operation provenance from a materialized tick.
- Strands: Speculative causal lanes for counterfactual exploration.
The goal is inevitability. Every state transition is a provable consequence of its causal history.