Mission: Understand risk-graph-indexer deeply, end to end

Why

The user wants a deep, correct, mechanism-level understanding of the entire

risk-graph-indexer system (Forta Network) — how every layer actually works and why it's

built that way — before they start contributing. Contributing is still the eventual goal;

it's now sequenced after full comprehension, not abandoned. (Re-sequenced 2026-06-10 from

"onboarding to contribute [now]": understand everything deeply first → then contribute on a

solid foundation. See LR-0007.)

Two phases: (1) NOW — deep end-to-end understanding (mechanisms, trade-offs, failure modes).

(2) LATER — guided real contributions, once phase 1 is complete. Don't push phase 2 yet; the

already-covered architecture (Lessons 1–6) + the connective-tissue/failure lessons are the foundation it will build on.

Success looks like

not just what — including the failure modes and the design trade-offs behind each choice.

AND explain what happens when things go wrong (crash, reorg, consumer lag, stale write).

backpressure, the single-writer model, cursor/atomicity/idempotency as one coherent story.

and reason about its correctness.

Constraints

(mechanisms, trade-offs, failure modes) over "where would I change this." Still cite real code/files.

Out of scope (for now)

Risk-engine concepts are now in-scope at orientation level (covered in Lesson 6: AT_RISK cells,

exposure BFS, incremental delta-driven recompute) — but the heavy math stays deferred until the

user has shipped simpler changes. The risk engine is explicitly NOT a first-PR area (parity constraints).