Skip to content
tezvyn:
Menu

How would you handle a mandated Definition of Done with legacy debt?

Source: github.comHardHow cards are made

Tests whether you treat the Definition of Done as a negotiable standard or a rigid rule, and if you know how to close the gap via transparency, incremental remediation, and organizational negotiation without shipping unfinished work.

What's really being asked

This question tests whether you understand the Definition of Done as a living organizational standard that must be transparently aligned with reality, not a bureaucratic checkbox or a rigid rule to be circumvented. It probes your ability to balance Scrum commitments with technical debt, your courage to escalate uncomfortable truths, and your skill in building an incremental improvement plan rather than accepting permanent compromise.

The full answer

First, immediate transparency: you escalate the gap to the Product Owner and engineering leadership in the same Sprint, presenting data on which criteria fail and why. Second, a risk-based gap analysis: you categorize each unmet criterion by business risk, separating critical compliance or security gates from automation debt, so the organization understands the exposure. Third, a negotiated, time-bound remediation roadmap: you propose a Sprint-by-Sprint technical-debt backlog that incrementally raises team capability until it meets the organizational DoD, with clear milestones and explicit acceptance of interim risk by leadership. Fourth, strict separation of states: you never mark work as Done when it is not; instead you use clear labels for accepted risk or create a temporary, explicitly approved lower bar that is visible to all stakeholders. Fifth, process improvement: you embed the evolving DoD into team practices, using retrospectives to inspect progress and adjust the plan, treating the gap as a systemic impediment rather than a team failure.

The mistakes people make

A major red flag is suggesting the team lower the bar quietly or ignore criteria to maintain velocity. Another is proposing overtime or squeezing work into future Sprints without negotiation, which masks the impediment and burns out the team. Saying the organizational DoD does not apply to legacy systems signals a lack of ownership. Claiming automated testing or security scans are impossible to implement also fails, because the question asks how you close the gap, not why you accept it.

What usually comes next

The interviewer may ask how you handle a Product Owner who pressures the team to mark items Done anyway, or how you quantify the business risk of unmet criteria. They might probe whether you would create a team-specific Definition of Done that differs from the organizational standard, and under what conditions that is acceptable. Expect questions about how you fund remediation when the Product Owner wants only features, or how you prevent the temporary gap from becoming permanent.

A concrete example

Suppose the mandated DoD requires eighty percent unit-test coverage and passing static security analysis, but the legacy component has zero tests and a known dependency with critical CVEs. You would not ship and call it Done. Instead, you bring data to leadership: twelve critical CVEs, zero coverage, and an estimate of three Sprints to reach the standard if twenty percent of capacity is allocated to remediation. You negotiate a temporary exception for Sprint one with explicit risk acceptance by the PO and a signed roadmap, while immediately adding scanning and writing tests for all new code. By Sprint four, the team hits the standard and retires the exception.

Interview question

When a Scrum Team cannot immediately meet a mandated Definition of Done due to legacy debt, which approach best balances accountability with incremental improvement?

  • a.Create a permanent team-specific Definition of Done that reflects the legacy system's current limitations and ignore the organizational standard.
  • b.Mark items as Done to preserve velocity while logging the unmet criteria in a separate technical debt backlog for later resolution.
  • c.Require the team to work overtime for the next several Sprints until the legacy codebase fully complies with all mandated criteria before releasing any new work.
  • d.Escalate the gap to leadership with a risk-based analysis, propose a time-bound Sprint-by-Sprint remediation plan, and use visible labels for interim risk rather than marking work as Done.Correct
Why?

The correct approach treats the gap as a systemic impediment that requires immediate transparency, a negotiated time-bound remediation plan, and visible interim risk labels rather than misrepresenting work as Done. The most tempting distractor suggests marking work as Done to preserve velocity, which masks true progress, violates transparency, and quietly accumulates technical debt instead of closing the capability gap.

Just read this? Test yourself on what you have been reading.

Read the original → github.com

Put your scrolling time to good use

Learn one idea, try a quiz and save useful cards for revision. Tezvyn makes it easy to learn and stay current in your tech field, a few minutes at a time.

The iPhone app is on the way

We are building it. Until it lands, nothing here is held back from you: every interview card, your saved cards, streaks and the job board all work in Safari, plus hundreds of free practice quizzes of thirty questions each. Sign in and it all carries over to the app the day it arrives.

Want it as an icon? Tap Share at the bottom of Safari, then Add to Home Screen. It opens full screen and the cards you have read stay available offline.

Get it on Google PlayiPhone app coming soon

We are hiring for this. Open roles that interview on agile — each one lists the topics its interview covers.

See open roles