A08 · MODULE 03 · L5 → L6 · 50 MINBLIND FAULT · 1-CLICK PREDICT
4D Zero-Downtime Surgery: Expand-and-Contract DDL Under Live Writes
Why a 20ms ALTER TABLE can lock up all of production for 4 minutes — and how lock_timeout + NOT VALID eliminates lock-queue cliffs.
14 EVOLVE01 STORE09 LIMIT13 VERIFYC3: Blast Radius & IsolationC2: Correctness & InvariantsC1: Tail Latency & Fan-Out
STAGE 01 · 1-CLICK VISUAL PREDICT-FIRST
10 SEC · TAP A HYPOTHESISUNLABELED PRODUCTION SYMPTOM
A simple ALTER TABLE orders ADD CONSTRAINT chk_amt CHECK (amount_cents >= 0) runs at 2pm. Even though the DDL only needs 20ms of work, EVERY API request freezes for 4 minutes and PgBouncer pools saturate.
How can a 20ms DDL statement freeze every reader and writer on a busy Postgres table for 4 minutes?
STAGE 02 · 5-BEAT FEYNMAN CONSOLIDATION
STAGE 03 · REAL EXECUTION LAB (COLD-NO-AI · TIER-A-1GB)
LOCKED UNTIL PREDICT-FIRSTTap 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-FIRSTStage 04 stays collapsed until you complete Stage 01 so the hardened diff and Principal consequence chain do not spoil your prediction.