Skip to main content
CRUCIBLE
CRUCIBLE STUDIO· FOCUS MODE
← PrevNext Module →
Predict-First · Broken Fault
MENTAL MOVIE · EXPAND-CONTRACTPREDICT-FIRST · BROKEN FAULT
In-Place ALTERRENAME / Rewrite LockACCESS EXCLUSIVELock Queue JamBlocks All SELECTs& All Writes Behind Itv1 Pods Crash On SchemaSEV-0 OutagePool ExhaustedUnsafe Rollback
Why It Fails: Broken: Destructive in-place DDL or big-bang swaps queue ACCESS EXCLUSIVE locks and crash live v1 pods mid-rollout.
STUDY THE BROKEN VISUAL · 10-SECOND PREDICTION

Inspect the crimson fault path above, then tap your hypothesis card on the right to unlock the animated Cryo-Emerald Fixed invariant and Socratic physics breakdown.

A04 · MODULE 02 · L5 → L6 · 50 MINBLIND FAULT · 1-CLICK PREDICT

Global Payments & Double-Entry Ledger: Idempotency, Outbox & Reconciliation

Design Stripe from a blank canvas: zero lost cents, zero double-charges, and crash-proof PSP handoffs.

01 STORE06 ORDER07 AGREE13 VERIFYC2: Correctness & InvariantsC4: Security & Trust BoundariesC3: Blast Radius & Isolation
STAGE 01 · 1-CLICK VISUAL PREDICT-FIRST
10 SEC · TAP A HYPOTHESIS
UNLABELED PRODUCTION SYMPTOM

Your payment service executes UPDATE wallets SET balance = balance - 5000 in Postgres, commits, then crashes 12ms later BEFORE publishing the payment.captured event to Kafka — leaving the merchant unpaid while the customer was debited. Meanwhile concurrent transfers overdraw accounts.

Why does writing to Postgres AND publishing to Kafka in application code always lose money under crashes, and how do Double-Entry + Transactional Outbox solve it?
STAGE 02 · 5-BEAT FEYNMAN CONSOLIDATION
STAGE 03 · ARCHOS BLANK-CANVAS EXAM (COLD-NO-AI · TIER-A-1GB)
LOCKED UNTIL PREDICT-FIRST
Tap a Stage 01 hypothesis card (or click Skip Struggle (Veteran)) to unlock the Execution Lab and Linked Job Workflows without spoiling the solution.
STAGE 04 · PRINCIPAL JUDGMENT GATE & 3-MIN ORAL DIFF-DEFENSE
LOCKED UNTIL PREDICT-FIRST
Stage 04 stays collapsed until you complete Stage 01 so the hardened diff and Principal consequence chain do not spoil your prediction.
KORE & PUCK STUDIO AUDIOConnecting Global Payments & Double-Entry Ledger: Idempotency, Outbox & Reconciliation…