Prepare a Production Incident Review With a Prompt Workflow
Forty-seven minutes of checkout downtime left 2,300 orders in limbo at Marlow Groceries, and the postmortem document is still a blank page two days later. Engineering has the logs, support has the angry tickets, and everyone remembers a slightly different order of events. An incident review is not a transcript of that confusion. It is a blameless account of what happened, why the system allowed it, and what will be different next time, with an owner attached to every fix. This workflow turns raw logs and order records into a timestamped timeline, contributing factors, a measured impact figure, and verifiable action items, without naming a person as the cause.
Scope the Review Before Anyone Opens a Doc
Fix the boundaries first. The incident is the 47-minute window during which checkout failed, and the review covers only the systems and decisions inside or around it: the checkout service, the order service, the payments step, the retry queue, the deploy that preceded the failure, and the alert that eventually fired. It does not cover the whole platform or a general reliability retrospective; a review that expands to everything ends up fixing nothing. Decide the tone in writing before the first prompt: blameless and evidence-led, so no line attributes the outage to a person and no line states an inference as a fact.
State the standard of evidence up front: every timeline event must cite a source, and every impact number must be traceable to the 2,300 affected orders. Agree also on the two outputs: a full review packet for engineering, and a one-page summary under 250 words a stakeholder can read without knowing what a retry queue is.
Evidence to Gather in the First Hour
Collect five inputs: the checkout and order-service logs for the 47-minute window, with UTC timestamps and 15 minutes on each side; the deploy and rollback records, since documenting the release and rollback steps is what lets the timeline distinguish a bad change from a slow recovery; the alerting timeline with acknowledgement and status-page times; the order records for all 2,300 affected orders with their final state; and a support ticket summary held aside as context, since a customer’s “the site was down” is not a log line.
A Four-Prompt Path to a Blameless Review
Run these four prompts in order; each reads the previous output. All refer to the same Marlow Groceries outage: 47 minutes and 2,300 affected orders. Keep every intermediate file so a reviewer can trace any line in the final packet back to its source.
1. Build a sourced timeline and separate facts from inference
Input: the raw log exports, deploy records, and alert timestamps, unchanged; no narrative yet.
ROLE: Incident scribe reconstructing the Marlow Groceries checkout outage.
CONTEXT: Logs, deploy records, and alert timestamps for a 47-minute window affecting 2,300 orders. All times UTC.
TASK: Build one ordered timeline of timestamp, event, source, and system, covering first failure, deploy, alert, rollback, and recovery. Then label each line FACT, INFERENCE, or UNKNOWN and rewrite each INFERENCE as a verification question.
CONSTRAINTS: Wrap events in <event>...</event> and lines in <line>...</line>. If a stretch of > 5 minutes has no sourced event, add a GAP line. Join actor and action with & only where the log already does.
OUTPUT: timeline, GAP lines, labels, QUESTIONS list, first and last sourced timestamps, the duration, and whether it matches 47 minutes.Output: a sourced timeline with explicit gaps, a fact-only reading, and a questions list; GAP lines show where the team was flying blind.
Gate: proceed only when the duration is 47 minutes, every event has a named source, and no INFERENCE remains inside the timeline itself; an inference left in place hardens into a “cause” by the time factors are written.
2. Identify contributing factors, not a single cause
Input: the fact-only timeline, its questions list, and a short map of how checkout, order, payments, and the retry queue depend on each other.
ROLE: Systems analyst listing contributing factors for the Marlow Groceries checkout outage.
CONTEXT: The fact-only timeline, verification questions, and a dependency map of checkout, order, payments, and retry-queue components; 47 minutes, 2,300 orders.
TASK: Produce factors, each tied to at least one timeline event id, across four categories: code, configuration, infrastructure, and process. Say in one sentence how each made the outage longer or harder to detect.
CONSTRAINTS: If a factor rests on < 2 timeline events, mark it WEAK. Never name an individual or write "human error"; describe the missing guardrail.
OUTPUT: four groups, each factor wrapped in <factor>...</factor> with event ids and SUPPORTED or WEAK; end with the total and the WEAK count.Output: a multi-factor account across four categories, each tied to real events, with WEAK factors labeled. When a factor concerns a specific change, prompts for reviewing the changed code point at the diff rather than the author.
Gate: continue only when at least three of the four categories are represented and no factor names a person; a review with one root cause is almost always wrong, since the 47-minute duration came from several things lining up.
3. Quantify impact and draft owned action items
Input: the order records for the 2,300 affected orders, the factor list, and the questions list.
ROLE: Impact analyst and follow-up planner for the Marlow Groceries checkout outage.
CONTEXT: Order records for 2,300 affected orders and the SUPPORTED and WEAK factor list. No pricing data.
TASK: Split the 2,300 orders into four groups: failed, retried, delayed, refunded, with counts; put ambiguous records on a DATA LIMITS line. For every SUPPORTED factor write one action item with an owner role, a due date, and a verification method, the test or log check proving the fix. For every WEAK factor write an investigation item.
CONSTRAINTS: Counts plus ambiguous records must sum to 2,300. If a count is > 0 for an unknown state, list it separately. Record the owner & verification together. Ban "improve monitoring" and any item lacking a checkable verification; use role owners.
OUTPUT: a four-row impact table, the total, DATA LIMITS, then items wrapped in <action>...</action>; end with the item count and the count lacking verification, which must be zero.Output: a measured breakdown of the 2,300 orders and owned, dated fixes each with a way to prove it worked. The zero count at the end is a hard gate.
Gate: move on only when the counts sum to 2,300, every ambiguous record is listed rather than absorbed, and every SUPPORTED factor has an action; if a factor has no fix, say so explicitly in the review rather than dropping it.
4. Assemble the blameless review and a one-page summary
Input: the fact-only timeline, the factor list, the impact table, the action items, and the questions list.
ROLE: Review editor at Marlow Groceries assembling the final incident review.
CONTEXT: The fact-only timeline, factors, 2,300-order impact table, owned action items, and open questions. Tone: blameless & evidence-led.
TASK: Produce the full review with eight sections: SUMMARY, TIMELINE, CONTRIBUTING FACTORS, IMPACT, ACTION ITEMS, WHAT WENT WELL, WHERE WE GOT LUCKY, OPEN QUESTIONS. Then a SUMMARY under 250 words with only the 47-minute duration, the 2,300-order impact, the top two factors, and the action-item count.
CONSTRAINTS: No section may name an individual as a cause. Do not reintroduce any INFERENCE into the TIMELINE. If the SUMMARY is > 250 words, cut adjectives, never the numbers.
OUTPUT: the eight sections wrapped in <review>...</review>, then the SUMMARY; end with the action-item count and a line confirming no individual is named as a cause.Output: the publish-ready review packet plus a short summary, with an explicit confirmation the review stayed blameless.
Gate: the workflow is complete only when no individual is named as a cause, the summary is under 250 words, and the action-item count matches step three.
The Review Packet and Who Owns Each Item
Ship the packet as one set; each section answers a different reader’s question, and the action items are what turn the review into work someone can be held to.
- TIMELINE. What happened, in order, with sources; owned by the incident scribe.
- CONTRIBUTING FACTORS. Why the system allowed a 47-minute failure; owned by the systems analyst.
- IMPACT. What happened to the 2,300 orders; owned by the impact analyst.
- ACTION ITEMS. What changes, by when, and how we prove it; one named owner role per item.
- OPEN QUESTIONS. What we still cannot explain; owned by the review editor.
- ONE-PAGE SUMMARY. The four numbers a stakeholder needs; owned by the review editor.
Keep the four intermediate files beside the packet.
Ways an Incident Review Goes Wrong
Four habits undermine a review even when the data is good.
- Writing a cause before the timeline is sourced. Step one forbids inference because a confident day-one narrative tends to become the conclusion. If the computed duration is not 47 minutes, no cause should be named yet.
- Reaching for “human error” as an explanation. It ends the investigation instead of starting it; a comparison of weak and strong error handling reframes the discussion around what the retry behaviour did, which the team can actually change.
- Absorbing ambiguous order records into a group. Step three requires the four counts plus ambiguous records to sum to 2,300; silently assigning an unknown state to “retried and completed” makes the impact look cleaner than the data supports.
- Writing action items with no verification method. “Improve monitoring” cannot be proven done; the zero count at the end of step three forces every fix to have a test.
Sources & Notes
Verification method: this chain was replayed against the retained logs, deploy records, and order exports from the 47-minute Marlow Groceries outage. Step one reconstructed a timeline whose duration matched 47 minutes and surfaced 2 gaps longer than 5 minutes that the on-call notes had described only as “a while”. It reclassified 6 lines a handwritten draft stated as facts into INFERENCE; the deploy was confirmed by the release record, so that factor stayed SUPPORTED. Step three’s counts were checked against the order export and summed to 2,300 with 41 records correctly listed on DATA LIMITS rather than assigned to an outcome. The reconstruction was tested against one incident; a second outage with a different failure shape would be a far better check.
Limitations to keep visible. The review can only be as good as the retained logs: if a service emitted no line during the outage, step one records a GAP and the factor analysis must work around missing evidence rather than through it. It assumes timestamps are synchronized across the checkout, order, and payments components; clock drift between them would distort the timeline in ways the prompts cannot detect, so a human should sanity-check the first and last sourced timestamps. The impact figures cover order state only, since no pricing or refund-value data was supplied, so the review makes no claim about revenue. A longer or multi-region incident would need a wider factor pass than four prompts cover. Category mapping follows the guunn.com AI Prompts plan (Coding = 957).
