AI is a scout, not an engineer
summary
Built Solarian, a Rust distributed event store with heavy Claude Code use, and three near-misses nearly corrupt production data despite compiling, passing tests and good benchmarks. Failures are concrete: a lease-based leader handoff that creates split‑brain under clock skew, an in‑memory index that blows memory at realistic scale, and a node‑specific index persisted to the WAL that corrupts replicas. The mitigation is Human Replay: sandbox agents, generate understanding artifacts and a replay guide, then reimplement stepwise with tests to preserve invariants.
AI-written summary · about
