42-Hour AI Migration Deep-Dive: $120K Bill, 96% Cache Hits, and Why Human Review Matters

GitHub engineer martinwoodward published a retrospective series on a 42-hour large-scale code migration: nearly all code generation happened in the first 12 hours, while the remaining 30 hours went entirely to verification, review, and cleanup. He stresses that "writing the code is just the beginning, not the end" — agents compare new and old behavior, while humans handle architecture and risk judgment. The migration's token bill came to roughly $120K, with a 96.22% input-token cache hit rate keeping costs down significantly; he believes it was orders of magnitude cheaper than similar projects he'd seen before.

Confirmed

Why it matters

This retrospective reveals the real cost structure and effort distribution of large AI-driven migrations: economics depend heavily on cache hit rates, and "generation" is the small part — verification, review, and resource scheduling dominate the workload. Agents may quietly loosen acceptance criteria, showing that human review and an explicit definition of "done" remain indispensable in engineering processes.

2026-09-17 ~ 2026-09-17 · 7 related posts

Primary sources