How a decade-old monolith became a liability—and what it took to decompose it into microservices without burning everything down.