case file · 01 / DevOps / SRE · 2026 · active
OutageForge
A flight simulator for on-call: a deterministic, event-sourced incident sandbox where every outage is reproducible frame-for-frame — practice production without production.
highlights
- Pure seeded reducer — no Math.random(), no wall clock; a run is fully described by seed + input log
- Time-travel debugging, lockstep multiplayer, and replay anti-cheat all fall out of one determinism property
- A WASM shell and real kubectl at the surface; a causal, gamified debrief and RPG skill tree at the end
- 23 ADRs of design rigor, adversarial property-based determinism tests, blue-green gated deploys
the engineering move
The whole simulation is a pure, seeded, event-sourced reducer that never touches Math.random() or the wall clock — so a run is fully described by seed + input log. That one property buys time-travel debugging, lockstep multiplayer, free replay-based anti-cheat, and total observability, proven by adversarial property-based determinism tests.
Practice production without productionwhy
On-call skill is usually built in anger, at 3am, against real customers. OutageForge models a Kubernetes/Linux/network topology as a pure simulation and emulates the real tools at the surface, so the reps are realistic but the blast radius is zero.
One pure reducer; everything else is projectionarchitecture
The simulation core is a seeded, event-sourced reducer that never touches randomness or wall-clock time. A run is fully described by its seed plus the input log — which buys time-travel debugging, lockstep multiplayer where the server only orders inputs, and replay-based anti-cheat, for free.
ADR-driven, property-testedprocess
Twenty-three architecture decision records anchor the design, and the determinism property is enforced adversarially — property-based tests try to break reproducibility on every change. Deploys ship through a green-gated blue-green pipeline.
artifacts
evolution
- 2026
Determinism kernel, WASM shell, and causal debrief landed; blue-green pipeline gated on the property suite.
scale
- lines TS
- 68K
- ADRs
- 23
- test files
- 187
stack
- TypeScript
- React
- Vite
- Fastify
- xterm.js
- WASM/WASI
- Supabase
- Vitest + fast-check