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 closing chapter. Aaron splits ξ's body into 4 erasure-coded shards (s1, s2, s3, s4) where any 2 reconstruct the body. Aaron's vault visually morphs from "1 MB body grid" to "4 labeled shards on a row". One shard each is then sent to Ben (s1), Carl (s2), Dave (s3); s4 stays with Aaron. Each non-Aaron cast gets a small vault next to their cast circle that shows whichever shards they currently hold. Empty vaults read "(empty)"; once shards arrive they appear as small filled chips labeled s1/s2/s3. Then Aaron goes offline (dimmed cast circle + red ⚠ OFFLINE label). Carl asks Ben for s1; Ben sends; Carl now holds s1+s2 — k=2 reached. A green halo pulses on Carl's vault as he runs the decoder, then a "✓ ξ body reconstructed" caption pins under his vault and a big banner reads "✓ ξ BODY RECONSTRUCTED — k=2 of 4 shards was enough — Aaron NOT NEEDED". Closes with a final-summary banner: "CRISIS COMPLETE · consensus + DA + Byzantine resilience" and an outro inviting the viewer to scrub. `Ch08Timeline.swift` (new) — 19 beats over ~85s. Beat kinds: `splitIntoShards`, `sendShard`, `stowShard`, `aaronOffline`, `askForShard`, `shardArrives`, `reconstructBody`, `reconstructed`, `finalSummary`. `Ch09_DA_Design.swift` rewritten end-to-end to render from Ch08Timeline. Aaron's vault adapts to "shards" mode after the split beat. Per-cast vaults sit just to the right of each cast circle (small, dashed, expand to fit chips). Reconstruction halo pulses while running, then settles into a steady green border once the body is back. `SceneEngine` and `ImmersiveView` extended for chapter 8 — every chapter (0–9) now has a timeline-backed renderer + beat-bound narration. Bundled, harness 55/55 invariants, 0 audit errors, 281 PNGs, 36/36 MP4 written. All 10 chapters migrated. 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 | ||