Cruxly › Forward deployed engineer › Decomposition Cases
A Production Incident at the Customer's Site
your first job is to be the calmest, most accurate person in the room, not the fastest typist
Open the interactive lessonPrompt: you are the forward deployed engineer on a deployment at a hospital group. At 9:40 on a Tuesday morning, staff report that the scheduling assistant is showing yesterday's appointment slots, and some patients have been double-booked. The customer's operations director is already in the room, visibly anxious, saying "we need this fixed in the next ten minutes." You have read-only access to their production environment. Write access belongs to their IT operator, who is on his way over.
45 minutes first. The tempting move is to start changing things to prove you are doing something. The actual job is to limit harm first, find out what changed second, and keep a frightened person informed at every step.
Clarifying questions that matter here
"What exactly are staff seeing, and what is the harm right now?" "Showing yesterday's slots" is a symptom. The thing that matters in the first minutes is the harm: are new bookings being made against stale data, which creates more double-bookings every minute, or is it only a display problem? If new bookings are making it worse, the first action is about stopping the bleeding, not about finding the cause.
"When did it start, and what changed shortly before that?" Most incidents have a recent cause: a deployment, a configuration change, a certificate that expired, a disk that filled up, a scheduled job that did not run, an upstream system that changed. Ask the customer's team directly, and also look at what you can read: deployment history, job status, error logs, the time graph of the key metric. The moment a line bends on that graph is often the best clue you will get all day.
"Is it getting worse, staying the same, or already recovering?" This decides urgency and what you say to the executive. A stable problem allows a careful investigation; a worsening one justifies a bolder, reversible mitigation sooner.
"Who can change things in production, and what is their process?" You have read-only access, and that is a feature, not an obstacle: it means you cannot make this worse by accident. Settle early that their operator runs every change while you read and advise, and that each action is announced aloud and written in a shared log before it is taken. Ask whether there is an on-call runbook or an incident procedure and who the named incident lead is. If there is none, offer to hold that role for the communication side while their operator drives.
"What is the safe fallback?" Almost every business has a manual process from before the system existed. Paper schedules, a phone call to confirm, a shared spreadsheet. Asking "what did you do before this tool?" often gives you the safest immediate mitigation and a calming answer for the executive.
"Who needs to know, and by when?" Patients, clinical leads, the customer's executives, your own manager. Ask who the customer wants informed and who is allowed to speak to whom, so you do not accidentally send an alarming message to the wrong audience.
The decomposition: stabilize, diagnose, fix, then communicate throughout
Step 1 — stop the harm, with the most reversible action available. If new bookings are piling onto stale data, the first mitigation might be to put the scheduling assistant into read-only mode, or to switch staff to the paper fallback, while the investigation proceeds. Pick the action that can be undone in one step and that does not destroy evidence. Do not restart services, clear caches or delete logs at this stage unless you have first captured their state; a restart might fix the symptom and erase the only clue to the cause.
Step 2 — build a timeline from facts. Write it in the shared log as you go: "09:05 nightly data sync scheduled; 09:40 first report; 09:44 sync job status: failed at 02:10 with a connection error." Separate what you observed from what you suppose. The timeline is also the raw material for the post-incident note, so building it live saves you hours later.
Step 3 — form two or three hypotheses and test the cheapest first. For example: (a) the nightly sync job failed, so data is stale; (b) the sync ran but the cache serving the assistant was not refreshed; (c) a configuration change pointed the app at the wrong data source. Each hypothesis predicts something you can check read-only: job status, the timestamp of the newest record in the database, the app's configuration history. Choose checks that can rule out the most with the least risk, and say your reasoning out loud so the room can follow it.
Step 4 — mitigate first, root-cause second. Suppose the sync job failed because a service account's password expired overnight. The mitigation is for their operator to renew the credential and re-run the job, then confirm the newest-record timestamp is current. That restores service. It is not the root cause: the root cause is that nothing renewed or monitored that credential, and nothing alerted when the job failed. Keep these separate in your language, because executives hear "fixed" and relax, and the deeper problem still waits.
Step 5 — verify with a real check, not a hope. Define what "recovered" means before you declare it: newest record is from this morning, a test booking shows correct availability, and the double-booking count has stopped growing. Then list the already-affected patients so the customer's staff can contact and reschedule them. Cleaning up the harm already done is part of resolving the incident.
Communication runs in parallel, on a clock, not on a feeling. Agree a cadence at the start: a first message within about fifteen minutes of your arrival, then an update every thirty minutes even when nothing has changed. Use a fixed format: what we know, what we do not know yet, what we are doing now, when the next update is. "No change, still investigating the sync job, next update at 10:30" is a good update, because silence is what makes an anxious person start calling everyone.
The root-cause trap, and what you can honestly promise afterwards
The trap is treating the trigger as the cause. "The sync job failed because a password expired" is the trigger. Behind it sit contributing factors: no one owned the credential's renewal, the job failure raised no alert, the assistant had no freshness check and so served old data without saying so, and there was no rule that stale data should stop new bookings. A post-incident note that stops at "the password expired" leads to a fix, "renew the password," that prevents one repeat and none of the others.
Writing the post-incident note. Do it within a day or two, while memories are fresh, and keep it blameless: describe what the systems and processes allowed, not who forgot. A structure that works: a plain-language summary in three sentences; the impact (for example, "about 140 appointments were shown against stale availability for roughly 3 hours, and 11 were double-booked; all 11 patients were contacted by 14:00"); a timeline; the trigger; the contributing factors; what went well and what did not in the response; and a short list of actions, each with an owner and a date. Write numbers only if you have verified them, and mark estimates as estimates.
Preventing a repeat without over-promising. Never write "this will not happen again." Nobody can guarantee that, and the customer will remember the sentence the next time something breaks. Write instead what you will do to make a repeat less likely, quicker to notice, and smaller in effect. For example: an alert when the sync job fails or when the newest record is more than two hours old; the assistant displaying "data last updated at..." and blocking new bookings when data is older than a set limit; credential expiry on a calendar with a named owner and a thirty-day warning; and a short rehearsal of the paper fallback. Each is concrete, assigned and checkable, and none is a promise about the future.
Distinguish what you own from what the customer owns. Some actions are yours (the freshness check and alert in your software). Some are theirs (credential ownership, their runbook, staff training on the fallback). Say this gently but clearly in the note, so the document is something both sides can act on and not something that quietly assigns blame to one of them. Offer to run a short review meeting rather than just sending the document, since actions agreed in a room get done more often than actions found in an email.
With the nervous executive. Give them what they actually need: what is affected, what is being done, when you will next update them, and what they should tell their own people. Avoid jargon, avoid guessing at causes in front of them, and do not promise a fix time you cannot control. "I do not know yet, and I will tell you at 10:30 either way" is a much stronger sentence than a confident guess that turns out wrong.
Follow-ups they will ask
"The executive demands you log in and fix it yourself, right now." Stay calm and explain the arrangement as a safety feature: "The fastest safe path is for their operator to make the change while I read and direct, because that keeps every action logged and means nothing changes that we have not agreed on. He is five minutes away, and in those five minutes I am confirming exactly what he needs to do." If they insist on widening your access, say that is their call to make through their own approval process, and note that you would rather not make production changes under pressure without their change record. Do not quietly use any credentials you were not given.
"You are sure it was the expired password? Could it be something else?" Say what you have evidence for and what you do not. "The job log shows an authentication failure at 02:10, and the timing matches. I have not yet ruled out a second problem with the cache, which is why I want to check this afternoon that tomorrow's run also succeeds." Declaring certainty early is the most common way to be publicly wrong later in an incident.
"Two hours in, you have found nothing. What do you do?" Widen rather than dig deeper alone. Bring in the customer's other system owners and your own colleagues, with the timeline in hand so they can join quickly. Re-examine the assumptions: is the first report really the start, or only when someone noticed? Meanwhile make sure the mitigation (the fallback) is holding, so the pressure to find the cause is no longer pressure to stop the harm.
"Can we put in writing that you will prevent this class of incident?" Offer measurable commitments instead: detection time (we will alert within fifteen minutes of a failed sync), a mitigation step documented in a runbook, and a review date. Explain that promising prevention of every cause is not something an honest engineer can sign, and that being exact about what is promised is what makes the promises worth having.
"Whose fault was it?" Redirect, without being evasive: "the useful question is which checks were missing, and we found three." Blame makes people hide information in the next incident, and information is what shortens the next incident.
How to say it in the interview
"Before I touch anything, or even guess, I want two minutes to get four facts: what is actually wrong, how many people it affects, whether it is getting worse, and what changed recently. Then I want to agree the very first action with the person who owns that system, so the first thing I do isn't a second incident."
Checklist
- Asked what harm is happening and whether it is growing before looking for a cause
- Asked what changed recently and read the evidence (deploy history, job status, metric graph) without touching anything
- Agreed that the customer's operator makes every change, with each action announced and logged
- Chose a reversible mitigation that preserves evidence, and kept mitigation separate from root cause
- Set a communication cadence with a fixed format and updated on time even when nothing had changed
- Wrote a blameless note (trigger versus contributing factors, owned actions with dates) and promised faster detection, not 'never again'