Skip to content

The assumption nobody owns

Kevin Kissi

Kevin Kissi

· 2 min read
Two engineers discussing a diagram on a whiteboard.
Photo by ThisisEngineering on Unsplash (opens in a new tab)

A team that sets a high standard tends to notice when one part of the work keeps falling below it. In software, the weakest part can be harder to see. It may be an assumption between two well-maintained services, owned by neither team and mentioned in neither test suite.

Consider a scheduling service that sends a time to a notification service. Both teams write careful code. Each has good test coverage. One assumes the timestamp is in the customer’s local time. The other reads it as UTC. The notification service faithfully sends the reminder several hours away from the appointment. A reviewer can inspect either codebase in isolation and find a perfectly reasonable implementation.

The reminder two services disagree on. Use one dated appointment and an explicit time zone as a shared contract between the owners.
Use one dated appointment and an explicit time zone as a shared contract between the owners. Original explanatory figure.
Read the figure as text
Scheduling service
Reads 09:00 as local time.
Notification service
Reads 09:00 as UTC.

Make disagreement observable

I would ask both teams to predict the result for a specific appointment. Choose a customer in one time zone, schedule an appointment in another, and write down the exact moment the reminder should arrive. If the teams give different answers before the software even runs, we have learned where the real engineering work is.

After they agree, the example can become a shared contract. Give one team responsibility for the timestamp semantics, document the representation explicitly, and check the interpretation at the receiving boundary. If one team later introduces a new time format, somebody can see whether it preserves the promise to the customer.

The point carries over to AI-generated code. A tool can produce clean implementations of both services in less time than it takes two people to discover their disagreement. It can even generate polished tests that reproduce the local assumption on each side. More output can make both teams feel further along while the customer is still due to receive the wrong reminder.

I care about the standard of the whole journey. Sometimes raising that standard means writing very little code. Get the two owners into the same example. Find the sentence on which their predictions diverge. Put a durable check there, where it can protect the customer the next time either side changes.

Kevin Kissi

About Kevin Kissi

Engineering Leader

Subscribe

Stay up to date with my newest posts