# The Coding Was Never the Expensive Part

> Cross-team work has a hidden cost: finding out where things are. I call it the orientation tax. AI agents make it cheap, and that changes what we ask each other.

HTML version: <https://matborowiak.com/blog/the-coding-was-never-the-expensive-part>

Published: 2026-12-02  
Tags: ai, agents, engineering, teams  
Author: Mateusz Borowiak

Every engineer at a large company pays a tax that nobody budgets for. Before you write a line,
you spend hours finding out which service owns the thing, which admin tool configures it, which
field switches it on and who can give you access.

I call it the **orientation tax**. I have paid it my whole career and assumed it was a fixed
cost of working somewhere big.

It isn't fixed any more.

> 5 systems · 5 owning teams · about 2 hours to a working test setup · 3 questions to people

## The ticket

The feature was a partner promotion: sign up with a partner's promo code, and after a few
orders you unlock a free gift from that partner. It's simple to say, but it crossed most of the
platform:

| System                 | What had to change                                                 |
| ---------------------- | ------------------------------------------------------------------ |
| Campaigns and vouchers | A new discount type that carries a partner benefit                 |
| Product catalogue      | A free product, hidden everywhere it shouldn't appear              |
| Menus                  | Weekly listings for the gift, visible only to people who earned it |
| Rewards                | Unlocking the benefit after the Nth order                          |
| Orders                 | A way to fake delivered orders on staging to trigger the unlock    |

Then there was the frontend, where most of my own work went: the gift had to appear in
sign-up, checkout, confirmation, the account area and the order total.

The owning teams had built the hard parts. My job was to connect them, test the whole thing
end to end and build the customer-facing side. My manager had already done the groundwork:
a short handover listing which file holds the voucher logic, which nested field holds the
order count, which service owns benefits after checkout and who to contact on each team.

That handover was the most valuable input I had. It was a map.

## Letting the agent read first

The usual next step is a round of calls, one per team, to learn how each part works. I started
somewhere else. I gave a coding agent (Claude Code, with Playwright driving a browser) the map,
the repositories and links to the admin tools, and asked it to work out the route.

It read the code of services I had never opened and found the endpoints and fields that
mattered. It opened the admin tools in a browser, I logged in, and it worked through the forms
while I watched. Everything ran on staging first, and every step went into a document with
exact values.

A couple of hours later the chain worked end to end. The document that came out of it is the
real deliverable:

```text
Testing the partner gift on staging
1. Voucher admin: create the campaign and a code using the partner discount setting.
2. Staging frontend: sign up a new account with that code.
3. Order service: mark the account's first N-1 orders as delivered.
4. Check that the rewards service now returns an active benefit for the account.
```

The rest of the three weeks went where it should: frontend work, reviews and product decisions.

## The three questions

I did ask people for help. Here is everything I needed from a human:

1. **Access.** One endpoint rejected my token for reasons nobody could pin down. A teammate ran
   the two requests with his token.
2. **What's live.** Was the unlock feature switched on in production, or only on staging? The
   owning engineer checked.
3. **Intent.** Which value one form field expected. The code answered that one.

Look at what's missing. None of them is "how does your system work?".

| Questions I used to ask        | Questions I asked this time        |
| ------------------------------ | ---------------------------------- |
| How does your service work?    | Can you run this with your access? |
| Where does the config live?    | Is this switched on in production? |
| Which field controls this?     | What did you mean by this value?   |
| Who else do I need to talk to? |                                    |

The agent couldn't answer the right-hand column, and it shouldn't. Access, what's true in
production right now and what someone intended are human knowledge. Product decisions were
the same: what counts as an order, what happens when someone misses the cut-off and how stock
is reserved were all settled by people in a room.

**Agents don't replace collaboration. They change what it's about.**

## Depth and breadth

Teams that own a service test it in depth: seed the data, call the internal APIs and check the
service's own state. That's the right way to test one service.

End-to-end testing needs breadth instead: five systems, four of which belong to someone else.
The hardest steps are rarely inside any one service. They sit in the gaps between them, like the
menu listing that has to exist before a gift can appear anywhere. No team owns the gaps, so
every newcomer pays the orientation tax there.

Reading unfamiliar code, finding the one field that matters and filling in a form you have never
seen are exactly what agents are good at. Breadth used to be the expensive part. Now it's the
cheap part.

## Where this breaks

This worked because the code was readable, the handover was good and there was a staging
environment to make mistakes in. Take away any of those and it gets much harder. Tribal
knowledge that lives only in someone's head can't be read by an agent. A system with no
staging means every experiment is a production change.

And agents need guardrails. I learned that when
[one wiped my database](https://matborowiak.com/blog/an-ai-agent-wiped-my-database). Here I held the credentials,
watched every form and did everything on staging before production repeated the documented
steps.

## Try it on your next cross-team ticket

1. **Give the agent the map before the task.** Handover notes, links and owners. One paragraph
   about where things live is worth more than any prompt.
2. **Let it drive the tools you would click through.** You keep the credentials and watch.
3. **Make it write down every step with exact values.** That document is a deliverable.
4. **Save people for what only people know:** access, what's live and what someone meant.
5. **Publish the recipe in a public channel**, not a DM, so the next person pays the tax once.

Then try one experiment. On your next ticket that crosses team lines, count the questions you
ask colleagues and sort them into two piles: "how does it work?" and "only a human knows".

Watch the first pile shrink. The coding was never the expensive part. Finding things out was.
