mirror of
https://github.com/saymrwulf/crisis.git
synced 2026-05-14 20:37:54 +00:00
Crisis BFT consensus protocol — Go PoC, Python recorder, and CrisisViz: a native macOS scrubbable curriculum visualizer (10 chapters, ~18 minutes at 1×, signed-speed slider with reverse playback).
The chapter walks the leader chain from Ch05 and adds each leader's round-N ancestor closure to a single linear sequence at the bottom of the canvas — the "total order snake". Dashed placeholder slots #1 through #5 sit empty; as `appendToOrder` beats fire, blocks slide up from below into their position with cubic-out easing and the snake's spine arrows draw between consecutive slots. Sequence built across the chapter: Round 0: α (#1) → β (#2) → γ (#3) → δ (#4) Round 1: ε (#5) Round-N-ordered badges (green check + "ROUND 0 ORDERED" / "ROUND 1 ORDERED") fire as each round completes; final-convergence badge ("ALL VALIDATORS COMPUTE THE SAME TOTAL ORDER — CONVERGENCE") fires at the top once the snake is full. `Ch06Timeline.swift` (new) — 11 beats over ~51.5s. Beat kinds: `appendToOrder`, `roundOrderedBadge`, `finalConvergence`. `Ch07_Order.swift` rewritten to render from Ch06Timeline. Lanes fade slightly when a message goes into the order so the focus shifts to the snake. Slot connectors are arrowed. `SceneEngine` and `ImmersiveView` extended for chapter 6. Bundled, harness 55/55 invariants, 0 audit errors, 281 PNGs, 36/36 MP4 written. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
||
|---|---|---|
| CrisisViz | ||
| src/crisis | ||
| tests | ||
| .gitignore | ||
| Crisis.mirco-richter-2019.pdf | ||
| crisis_data.json | ||
| pyproject.toml | ||