The 3 stages of software tech debt management