Your agency delivered late, over budget, and the code is a mess. Here's how to assess the damage, decide what to salvage, and actually move forward.