DEV Community

Ashkan Rajaee
Ashkan Rajaee

Posted on

Managing Technical Debt on a Client Project Without Losing the Client's Trust

A team is eight months into building an ordering platform for a client. To hit an early launch, they took a few shortcuts: a payment integration written in a hurry, tests skipped on the pricing rules, a database table that does three jobs. Nobody told the client, because it felt like an internal matter. Now every new feature takes longer than the last one, the client is asking why, and the honest answer is a list of decisions they never heard about. The team has a technical problem, but what it is about to lose is trust.

Technical debt itself is rarely what damages a client relationship. Every real project carries some. The damage comes from hiding it, and then asking the client to pay for a large cleanup they never saw coming.

Earlier in my career, as a partner, I helped grow a software consulting company from about $6M to $60M in under three years, and later I founded and ran a fully remote consultancy. In services work, the client pays for the code but rarely sees inside it, so how you talk about its weak spots is a trust decision, not just an engineering one. Here is how I think about managing technical debt on a client project: name it in business terms, size it honestly, and schedule it where the client can see and approve it.

Why Hidden Debt Breaks Trust

Hidden debt causes trouble in three predictable ways.

It shows up as slowness nobody can explain. The client does not see a messy module. They see that a small change took two weeks. Without an explanation, slowness looks like a weak team.

It arrives as a surprise bill. When debt is ignored long enough, the only fix left is a big one. Asking for a rewrite after months of silence sounds like the team is asking the client to pay for its own mistakes.

It removes the client from a decision that is theirs. Taking on debt is a trade: speed now for cost later. That is a business decision. When the team makes it alone and never mentions it, the client loses the chance to agree or disagree.

The fix is not to avoid shortcuts. Sometimes a shortcut is the right call. The fix is to treat debt as something the client can see.

Name It in Business Terms

Engineers describe debt in engineering language: coupling, missing tests, an outdated framework. Clients hear noise. Every item of debt has a business effect, and that is the part to lead with.

A few habits help:

  • Describe what the debt does, not what it is. "Changes to pricing take about twice as long as they should, and each one risks breaking checkout" beats "the pricing logic has no test coverage."
  • Say what caused it, plainly. "We built this quickly to make the March launch, and we agreed to come back to it." If the shortcut was a mistake, say that too.
  • Connect it to something the client cares about: speed of new features, reliability, security or cost to run.
  • Avoid blame and avoid drama. The goal is a clear picture, not a confession or an alarm.

Size It Honestly

Once an item is named, the client needs to know how big it is. Precision is not the point here. A rough size with an honest explanation is enough.

For each item, I like three short answers:

  • What does it cost us today? For example, extra days on every change to that area, or a risk of outages during busy periods.
  • What does it cost to fix? A rough range, with the assumptions behind it.
  • What happens if we wait? Some debt stays flat. Some grows with every feature built on top of it. The second kind deserves attention first.

This turns a vague worry into a set of choices. Some items will be worth fixing now. Some will be cheaper to live with. A few might never be worth fixing at all, and saying so openly builds credibility.

Schedule It Where the Client Can See It

The most useful tool I know for this is a short debt register: a shared, one-page list of known debt items, each with its business effect, rough size and a recommendation. It lives alongside the backlog the client already reviews, not in a private engineering wiki.

Then make paying it down a normal, visible part of the work:

  • Agree with the client on a regular share of each cycle for debt work, so it is planned rather than smuggled in.
  • Attach debt fixes to the features that touch the same area. Cleaning up pricing while building the new discount feature is easier to approve than cleaning it up alone.
  • Review the register on a regular schedule, add new items as they appear and close the ones that are done.

When the client approves debt work the same way they approve features, it stops being a hidden cost and becomes an investment they chose.

The Conversation Clients Actually Need

Debt is a conversation, not a report, and a few questions make it go well:

  • Which areas of the product does the client expect to change most in the next year?
  • How much risk is acceptable in exchange for speed right now?
  • Is there a date, such as a launch or a funding round, that changes what matters most?

The answers decide which debt is urgent. Debt in an area that will never change again can usually wait. Debt in the area the client plans to grow next is the first thing to fix. Either way, the client is now helping set priorities instead of discovering problems after the fact.

How This Differs From Due Diligence and Rescue Projects

Managing technical debt is related to two other topics, but it is not the same as either. Technical due diligence is a one-time assessment, usually done for a buyer or investor, of a codebase someone else built. A rescue project is what happens when a build has already gone off the rails and trust is broken. Managing debt is the ongoing, everyday habit that sits before both. Done well, it is a large part of why a project never needs rescuing and why a due diligence review holds no surprises.

A Hypothetical Example

Here is a made-up scenario. A team is building a booking system for a client. To meet a trade-show demo, they hard-code the rules for appointment lengths instead of making them configurable.

Instead of keeping quiet, the team adds the item to the shared debt register the same week. It reads, in plain words: appointment rules are hard-coded, so any change to them needs a developer and a release; fixing it would take a few days; it will get more expensive as more appointment types are added.

Two months later, the client wants to add a new type of appointment. The team points to the register and offers two options: add the new type the quick way again, or spend a few extra days making the rules configurable so future changes need no developer. The client picks the second option. Nobody is surprised and nobody feels misled, because the debt was on the page from the day it was created.

What a Debt Register Will Not Fix

A register does not make the code better on its own. A team that keeps adding shortcuts faster than it pays them down will still slow down. Some clients will push back on any time not spent on new features, and you may need to show them the cost in plain terms more than once. And sometimes a client will choose to live with debt you would rather fix. That is their call to make, as long as they make it with a clear picture.

Start With Your Next Sprint

You do not need a new process. In your next planning meeting, list the three debt items that slow the team down most, write one plain sentence about the business effect of each, and show that list to the client. Then agree on when each one will be handled.

Managing technical debt on a client project comes down to three things: describe it in terms the client cares about, size it honestly, and schedule it where the client can see and approve it. When those three are in place, debt stops being the secret that erodes trust and becomes one more decision you make together.

If your team keeps getting caught between hidden technical debt and a frustrated client and you want help building a process that keeps both the code and the relationship healthy, visit https://tdzpro.com.

Ashkan Rajaee is the founder of TDZ Pro. He has spent years building and scaling software engineering teams, including a fully remote software consultancy.

Top comments (0)