If a team can't bring the site back up in an emergency situation that's poor planning, not poor debugging.
Planning for mitigation before resolution lets a team address production issues at leisure (because the customer impact is mitigated)
All this knowledge is in your agent - ask it for ideas!