FOUNDATIONSCHAPTER 04

The first ninety days: the codebase, the team and the first change

Spend the first month learning how the system really works and who owns what, ship something small early to prove the path, and treat your first change to old code as an experiment you set up before you run it

40 MINSOFTWARE ENGINEERUPDATED 2026-11-21
PREDICT

You are in week two at a company with about 150 services. The team wiki has a forty-page architecture overview, written 18 months ago. What is the most reliable way to learn how the system actually behaves?

A new job is a learning problem with a deadline. Nobody expects you to be productive in week one, and most teams budget a quarter before a new engineer carries work alone. But the first ninety days still shape what comes after. You form habits, a reputation for the questions you ask and the changes you ship, and a picture of the system that you will either correct or keep for years. This chapter is about using those days on purpose: what to learn, in what order, how to ask for help, and how to make your first change to old code without breaking something that someone else owns.

The model: three maps and one change

You are building three maps and shipping one change.

The system map answers how the software fits together: where a request enters, which services and data stores it touches, what runs on a schedule, and what pages someone when it fails. The people map answers who knows what and who decides: the owner of each service, the person to ask about the data, the reviewer who knows the payment rules, the person the team goes to when a deploy is stuck. The norms map answers how this team works: what a good pull request looks like here, how long reviews take, whether people announce deploys, what counts as an emergency.

The change is your first real piece of work. It is how you test the three maps against reality. A map you have never used to make a change is a guess.

Michael Watkins’ The First 90 Days, in the reading, is written for people taking on a leadership role, and you should not import its leader’s playbook into an engineering job. One idea carries over: the early weeks set patterns that last, because people form a view of you quickly and then read later evidence through it. For an engineer, the useful patterns are asking early, writing down what you learn and shipping in small steps.

Days 1 to 30: learn the path before you walk it

The first month has one goal: be able to make a small change and see it safely in production, without anyone holding your hand for the mechanics.

Week one is setup and one trivial change. Get the code building on your machine, get access to the tools you need, and ship something small all the way to production: a typo in an error message, a stale line in the README, a log line that prints the wrong field. The change is not the point. The point is that you have run the whole path once, cloned, built, tested, opened a pull request, been reviewed, deployed and seen it live, while the stakes were low. Many new engineers find in week six that they lack a permission or that the deploy needs a step nobody told them about. Find out in week one, on a typo.

Write down every question and every answer. You are the only person in the company who can see what is confusing about the setup, because everyone else has forgotten. Keep a running file. When an answer is not in the docs, fix the docs; that is a real contribution, small and welcome, and it is how most new engineers make their first reviewed change. Batch your questions: three questions in one message, with what you already tried, respects someone’s time more than ten interruptions. A good question names what you expected, what happened and what you checked.

Read the history. Read the last twenty merged pull requests on your team’s main repository to learn the norms: how big changes are, how descriptions are written, what reviewers ask for. Read the last few postmortems and the runbooks, because they list the places the system has actually hurt people. Incidents and postmortems covers how to read one.

Map one request. This is the most valuable thing you will do in the first month, and the next section is about it.

Meet people with a question. Ask each person on the team what they own, what they would change, and who else you should meet. Do not ask for a general chat. People answer specific questions better.

The one-page map

Pick a user action that matters to the company: a seller is paid, a customer places an order, a payout batch runs. Follow it from the entry point to the data and back. Where the company has tracing, take a real trace of that action; Distributed tracing 101 shows what the spans tell you. Where it does not, follow the code: the route, the handler, the calls it makes, the queue it writes to, the job that reads the queue.

Draw what you find on one page. Boxes for services and data stores, arrows for calls, and for each box four facts: the owner, how it is deployed, what its tests cover, and how you would know it was failing. Mark every line confirmed (you saw it run, or someone who owns it told you) or believed (you read it, or inferred it). Your map will be mostly believed on day ten, and that is useful: the believed lines are your question list.

Two rules keep the map honest. First, show it to the owner of each box and ask what is wrong. You will find at least one thing, and the owner will tell you three more. Second, date it. A map you drew in week three is out of date in month six; the date tells the next reader how far to trust it.

The map also tells you where the risk is. At Ojaline, the online marketplace with 300 engineers and about 150 services, 24 services are tier 1, meaning an outage costs money or trust quickly, and five of those have one owner. A new engineer who knows which five can see that a change near them needs a second pair of eyes before anyone says so. The retention chapter in the head-of-engineering track explains why a single owner is a risk to the company as well as to you: when that person leaves, the knowledge leaves with them.

Days 31 to 60: own a small piece

By day thirty you should have a working map, a reviewed change in production and a list of people you can ask. The second month is about taking a whole piece of work from ticket to production.

Choose something small and complete: a bug with a clear reproduction, a field added to a report, a validation that is missing. Complete means you write the change, the tests, the description, respond to review, deploy it, and check that it worked. How to write a pull request that gets merged, and how to test your own change, are chapters later in this track (Pull requests that get merged, Testing your own work); for now, keep changes small enough that a reviewer can hold them in their head.

Start reviewing. You are not expected to find deep design flaws, but reading other people’s pull requests is the fastest way to learn the codebase and its conventions. Ask a question when you do not understand a line; if it confuses you, it will confuse the next person too.

Shadow the on-call rota if the team has one. Sit with whoever carries the pager for a shift, read the alerts that fire, and see how they are handled. You will not carry the pager yet; On-call done right covers the practice. Shadowing tells you which parts of the system wake people at 03:00, which is more honest than any document.

Your first change to old code

Sooner or later your ticket will lead into code that is old, shared and untested. Michael Feathers, in Working Effectively with Legacy Code, defines legacy code as code without tests. The definition is blunt, and it is useful for the reason it gives: age does not make code dangerous. Not knowing whether your change broke it does.

The old code is often there for a reason. G. K. Chesterton’s parable of the fence, from his 1929 book The Thing, says that if you find a fence across a road and cannot see why it is there, you should not tear it down until you find out. Applied to code, a strange condition, an extra rounding step or an odd retry may be the scar of an incident that nobody wrote down. Find the reason before you remove it, or keep it.

So the sequence for a change to old code is:

  1. Find out who uses it. Search for every caller. A helper with three callers has three behaviours to protect, not one.
  2. Find out why it is the way it is. Read the commit history and the pull request that introduced the odd part. If the author has left, the history is the only witness. “Last edited by someone who has left” tells you nobody can explain it from memory, not that it is wrong.
  3. Pin down what it does now. Feathers calls a test that records current behaviour, whether or not the behaviour is right, a characterisation test. You call the function with realistic inputs, write down what comes back, and assert it. You are not saying the output is correct. You are saying that if it changes, you will know.
  4. Make the change in the smallest step you can. Add a parameter whose default reproduces the old behaviour, so existing callers see no difference, then use the new parameter in your own call.
  5. Prove the old callers are untouched. Your characterisation tests still pass. Say so in the pull request.
  6. Tell the owner and the callers’ teams. If a service has one owner, make them a reviewer. They may know something the tests do not.

Money code needs the most care, because wrong amounts are small, quiet and cumulative. A function that rounds is a good example. If it rounds each line separately, the parts may not add up to the whole, which is the problem in Residual cent; if it handles amounts as decimals in floating point, results can differ by a kobo for reasons described in Money in floating point. When you meet either, do not fix it in your first week in passing. Record it, tell the owner, and make the fix its own change with its own tests. Testing money and regulated systems covers how QA approaches the same code.

Days 61 to 90: carry something

In the third month, the aim is for the team to rely on you for something specific. It may be small: a service’s alerts, a dashboard, the release checklist for one component. Say it out loud to your manager: “I will look after X.” People relax when ownership is named.

Do three things in this period.

Ask what good looks like. In a one-to-one with your manager, ask what they expect from someone at your level at six months, and how they will know. One-to-ones and feedback describes what a manager should be doing in that conversation. Write the answer down; it becomes the base of your next plan.

Write down what you have done. Julia Evans’ post on brag documents, in the reading, recommends keeping a running list of your work (projects, work with other people, skills learnt) so that you do not rely on memory at review time. Add an entry every week. In month three it is the evidence that your 30-60-90 plan happened.

Give feedback on onboarding. You are now the only person who remembers what it was like. Send your manager a short list of what to change for the next hire. Fixing one item is better than listing ten.

Where practitioners disagree

Ship in week one, or learn first. Many teams push a new engineer to merge something on day one, as a ritual and a test of the path. Others prefer a month of reading. The argument for early shipping is that you find the access problems and the team sees you in production. The argument for reading first is that an early change to the wrong thing teaches the wrong lesson. The compromise in this chapter is a trivial change in week one and a real one in week four or five.

Change the code you do not like, or leave it. Some engineers use the first month to fix everything that looks wrong. Others have a firm “no refactoring in the first ninety days” rule. The risk of the first is breaking what you do not yet understand; the risk of the second is learning to ignore problems that you will never see so clearly again. A workable rule: write down everything you would change, change nothing on that list without a ticket, and spend the first month adding tests and docs where you have to read the code anyway.

Ask now, or work it out. Asking too late wastes your time; asking too early wastes someone else’s. A common rule of thumb is to spend about thirty minutes trying, then ask, with what you tried. Treat the thirty minutes as a rule of thumb, not a measured figure. Reduce it if the work is on the critical path or the code is in a tier-1 service.

Day to day

A typical week in the first ninety days has a rhythm.

Daily stand-up, ten to fifteen minutes. Say what you are working on and where you are stuck. In the first weeks, “stuck” is the part that matters most.

Weekly one-to-one with your manager, thirty minutes. Bring the question list and the plan, and end every week by asking: what would you like me to change about how I am working?

Onboarding buddy sessions, twice a week for the first month, thirty minutes. A buddy is a peer who has been on the team for a year or two, not your manager. Ask them the questions you would not ask in public. Buddies work best when the pairing is named in the plan.

Two pull requests reviewed, every week from week four. Pick changes from different parts of the codebase.

Fifteen minutes on Friday for notes. Update the question file, the map and the brag document. Skip a week and the map goes stale first.

On-call shadow, one shift, around week six to eight. Agree the shift with the on-call engineer in advance.

Team retrospective, every two weeks. Say one thing about how the team works that a person who has been here two years would not notice.

BY ORG SIZE
STARTUPunder 30 people

There is no onboarding programme and often no documentation, so the codebase is the manual and the founders are the only people who know why anything is built the way it is. Your first week may include a production change, because there is no one to protect you from it. Ask for a half-hour with each founder about what must never break. Draw the map yourself, and put it in the repository as the first document, because you will be the next person’s onboarding.

SCALE-UP30 to 300

There is a buddy system, probably informal, and a wiki that was right a year ago. The system has grown faster than anyone’s picture of it, so the map you draw is likely the first one of its kind and your manager will want to see it. Several services have a single owner and the team does not yet know which. Ask the question out loud in your first month. Teams at this size are usually happy to hear it, and the answer decides where the next hires go.

ENTERPRISE300 and up

There is a structured programme: access requests, mandatory training, a bootcamp week and a service catalogue. The risk is the reverse of the startup’s. You spend six weeks on process and learn little about the system. Treat the catalogue as a starting list, not a map: it says who owns a service, rarely what depends on it. Ask for a named buddy on your own team, find out which services are tier 1, and have your first production change reviewed by someone who owns the code.

ARTEFACT Write your 30-60-90 plan and one-page map ~60 MIN
YOU PRODUCE30-60-90 plan with a one-page system map

Template

# 30-60-90 plan: <your name>, <team>, <start date>
Manager · Buddy · Date drawn · Read by: <names, dates>

## Days 1 to 30: learn the path
- Week one change (trivial, to production): <what>
- First real change (small, reviewed): <what, by day>
- Documents and incidents to read: <list>
- People to meet, with the question for each: <list>

## Days 31 to 60: own a small piece
- Piece of work, ticket to production: <what>
- Pull requests to review per week: <n>
- On-call shadow: <date, with whom>

## Days 61 to 90: carry something
- What I will look after: <what>
- Conversation with manager: what good looks like at six months, held by <date>
- Notes for the next hire: <list>

## Not changing in the first 90 days
| What I would change | Ticket |
|---|---|

## One-page map: <the action you followed>
Entry point:
| Box (service or store) | Owner | Tests cover | How we would know it failed | Confirmed or believed |
|---|---|---|---|---|

Risks (single owner, no tests, tier 1):

## Questions still open
WORKED EXAMPLE

Abosede is a graduate engineer who joins the seller wallet team at Ojaline, the marketplace with 300 engineers and about 150 services. Her buddy is Thea, a mid-level engineer on the same team. She follows one action: the nightly payout of seller balances.

Map. Entry point: the 02:00 scheduler starts the seller payout batch. The batch reads each seller’s balance from the wallet ledger, calls the rounding helper, and sends payouts to the bank gateway by NIP. The next morning, reconciliation compares what the batch sent with what the bank confirmed.

Box Owner Tests cover How we would know it failed Status
Scheduler Platform Not known Alert if no start by 02:10 Believed
Seller payout batch (tier 1) One owner Batch logic, not the helper Page if sent count drops Confirmed with owner
Rounding helper Nobody; last edited 26 months ago None A kobo difference in reconciliation Believed
Wallet ledger Wallet team Balances, holds Ledger totals do not sum to zero Confirmed
Bank gateway (NIP) Payments Contract tests Bounced payouts spike Believed
Daily reconciliation Finance operations Not known Morning report shows unmatched items Believed

Risks: the batch has one owner; the helper has no tests and no owner.

Plan. Days 1 to 30: week-one change is a corrected log message in the batch; first real change is adding a fee line to the seller statement, with Thea reviewing; read the last three postmortems about payouts. Days 31 to 60: own the statement ticket end to end and shadow the on-call engineer on one night. Days 61 to 90: look after the seller statement’s tests and alerts; agree with her manager what good looks like at six months. Not changing: the helper’s rounding rule (ticket opened), the batch’s retry settings (ticket opened).

Now you

You join Tallowmere, the online pharmacy in Ibadan with same-day delivery, as its newest engineer. It has 40 people, nine of them engineers including you, and delivers about 520 orders a day. You are given four services. The storefront (web and app) takes orders and is deployed by the whole team. The order-and-prescription service, one repository built in 2021, checks that a prescription exists before an order is released; one engineer understands it and is on leave for weeks two and three. The refill-reminder job sends reminders to repeat-prescription patients each morning and has no tests. The courier hand-off posts orders for areas beyond the riders’ zone to an outside courier company’s system. Last month 11 orders sat at “out for delivery” after the courier’s system rejected a request, and the fix was found by reading the order service’s code. A founder wants you to speed up checkout by day 45. Draw the one-page map for an order from placement to the door, and write your plan.

Self-check

DECIDE

You are in week five at Ojaline. Your first real ticket adds a fee line to the seller statement. To make the lines add up, the shared rounding helper needs a new rule for fee lines. The helper was last edited 26 months ago by an engineer who has left, has no tests, and has three callers: the seller payout batch (about 48,000 sellers a night, one of five tier-1 services with a single owner), the statement generator and the monthly fee report. The batch runs at 02:00 tonight. Your manager says to ship by Friday.

READING
  1. BOOK
    The First 90 Days Michael D. Watkins, 2013

    The standard book on the first months in a new role. It is written for leaders, so read it for the idea that early weeks set lasting patterns, and leave its management playbook for later. Read: Harvard Business Review Press, updated and expanded edition.

  2. BOOK
    Working Effectively with Legacy Code Michael C. Feathers, 2004

    The source of the definition of legacy code as code without tests and of the characterisation test. It is the most practical guide to changing code you did not write. Read: Prentice Hall; the chapters on characterisation tests and on changing code without tests.

  3. POST
    Characterization testing

    A short news piece on the technique and on what coverage tools can tell you once the tests exist. It credits Feathers with the term and notes that coverage tools can show whether the tests really capture a system's behaviour.

  4. POST
    Get your work recognized: write a brag document Julia Evans, 2019

    A template for keeping a running record of your work, so that your review, and your 90-day check-in, do not depend on memory. Use it from week one.

  5. DOC
    Small CLs Google Engineering Practices

    Why small changes are reviewed faster and break less, and how to split work into steps. Apply it to your first change to old code: one parameter, one behaviour, one test net.

All companies and people in these examples are fictional. Any resemblance to a real business or person is unintended.

RECALL CARDS Tap to flip. They join your review deck when you mark the lesson complete.
NEXT: Breaking down work and estimating it: pieces you can see, ranges you can defend →