I rebuilt my product from scratch — and didn't lose anything

AI made the rewrite cheap; recreating years of product decisions from memory did not get cheaper. How to keep the decisions when you throw away the code.