Skip to content

Scope the first release of an internal tool by its exceptions

The happy path is the easy part. Internal tools succeed or fail on how they handle the cases people currently solve by email and memory.

Published
Reading time
2 minutes
Written by
Cyber Vision engineering

When a team asks for an internal tool, they usually describe the normal case: an order comes in, someone checks it, it moves on. That flow often takes a week to build. The months go into everything else, and the tool gets abandoned if the everything-else is missing on day one.

The spreadsheet already handles exceptions#

The process you are replacing works, somehow. Usually through a spreadsheet with a notes column, a shared inbox and one person who remembers which supplier always ships late. Those workarounds are the real requirements. If the new tool cannot express them, people will keep the spreadsheet open next to it.

Interview for the bad days#

Instead of asking how the process works, ask about the last time it went wrong:

  • What was the last order, invoice or request that took more than a day? Why?
  • What do you do when the data in two systems disagrees?
  • Who do you ask when you are not sure? What do they know that is not written down?
  • What do you check that nobody asked you to check?

Write each answer down as a named exception with an owner and a resolution.

Build an exception inventory#

ExceptionHow oftenCurrent workaroundFirst release?
Supplier invoice does not match the purchase orderWeeklyEmail thread, manual note in sheetYes
Order needs splitting across two shipmentsSeveral per weekDuplicate row, edited by handYes
Customer changes address after dispatchMonthlyPhone call to carrierNo, link to carrier portal
Duplicate supplier recordRarelyIgnoredNo, admin fix

The release decision for each row is not build or skip. It is one of: handled in the tool, routed out of the tool with a link and a record, or explicitly out of scope with someone responsible.

Make exceptions first-class in the data model#

If exceptions live in a free-text notes field, nobody can filter, count or assign them. Give them structure from the first release:

exceptions.ts
type ExceptionKind = "price_mismatch" | "quantity_mismatch" | "split_shipment" | "handled_externally";
 
type OrderException = {
  id: string;
  orderId: string;
  kind: ExceptionKind;
  openedBy: string;
  assignedTo: string | null;
  note: string;
  openedAt: Date;
  resolvedAt: Date | null;
};

This makes the most useful screen in the tool possible: open exceptions, by kind and age, with an owner.

Measure whether the old tool is still in use#

The clearest signal that the first release worked is that the spreadsheet stops being updated. Agree on that test with the team before launch, then check it after two weeks. If the sheet is still active, ask which rows are going into it. That list is the next release.

  1. Infrastructure · 3 min read

    Changing a PostgreSQL schema without taking the application down

    Expand, migrate, contract: how to add columns, indexes and constraints to a live table without long locks or a maintenance window.

  2. AI Engineering · 3 min read

    Why operational AI needs an approval boundary

    Separate analysing information from taking consequential actions, bind every approval to a specific change, and make each decision traceable.

  3. Software Architecture · 3 min read

    Idempotency keys in PostgreSQL: a pattern that survives retries

    Clients retry, webhooks repeat and networks time out. A small table and one unique constraint make a write safe to repeat.