insonl
← journal

Write a Postmortem After an AI Workflow Makes a Wrong Decision

date
28 November 2026
by
Insonl
read
7 min read

When an AI workflow makes a wrong decision, start with the business record it changed. A closed case, a misrouted order or a customer message gives you a place to look for what actually happened. Work backwards from that record to the actor that changed it, the review it passed through and the output that prompted the action. Then work forwards to find other records affected by the same conditions.

Google’s Site Reliability Engineering book describes a postmortem as a record of the incident, its impact, the response, contributing causes and actions to prevent recurrence. Its blameless approach asks what information people had when they acted. Apply that approach here by reconstructing one AI decision and the conditions that allowed it to take effect. Google SRE, Postmortem Culture

AI workflow incident postmortem template

Use this template once someone is containing the incident. Name an operations owner to confirm the business impact and a technical owner to pull the evidence. If the workflow is still acting on cases, record which path was paused, when the pause took effect and where new cases go in the meantime. Check for work already queued or sent downstream.

Incident summary, impact and timeline

  • Incident and scope — Name the workflow, affected queue or operating unit, incident owner and review date. Summarise the expected decision, the action that took effect and the first observed consequence.
  • Impact — List confirmed affected cases and the records that prove the impact. List the cases still under investigation and the evidence needed to resolve them. Give the search window, which records you searched and any gaps in coverage.
  • Timeline — Record when the first known wrong action took effect, how it was detected, when containment took effect and when recovery was verified. Use a consistent timezone and identify the source for each timestamp. Mark an uncertain start as an estimate with its basis.
  • Containment and recovery — Record what was paused, rerouted or rolled back. Identify who reconciled work already in flight and how they checked that corrections reached the destination system.

State what the governing policy required at the time. If the operations team changed the policy after the incident, record the new requirement and its effective date separately. Confirm which version applies to any cases you reopen.

Decision trace

Pick a confirmed case. Fill the table with the values or revision-specific links that explain this run. If there were retries, identify the attempt whose output reached review and the attempt or job that applied the action. Record what is missing and how that limits the conclusion.

Field What to record
Original input Case and run IDs, receipt time, the record revision, and the relevant fields or attachments as received. If preprocessing changed a material field, capture the value the model saw too.
Execution The workflow release, requested model, actual model revision if available, prompt revision and any settings or fallback that mattered. Record the model alias and mark the revision unknown if that is all you have.
Retrieved data The source records, returned passages or field values, their revisions and when they were read. Record empty or failed lookups if they affected the path.
Model output The relevant raw output or a protected reference, the value the application extracted, and the proposal it passed to the next step.
Review or gate The control that should have caught the error, which proposal and evidence it received, whether it ran, and its result. For human review, record the role, the evidence visible at the time and the decision.
Applied action Who or what acted, the decision that authorised it, the destination and the before-and-after state. Use the destination’s history to confirm the effect. Record attempted writes with no confirmation as pending or unknown.

An input reference that opens today’s record can show evidence added after the decision. Use the original revision where possible. Keep sensitive payloads in restricted evidence storage and put only the details needed to understand the case in the shared postmortem. If the team lacks the records to fill the trace, turn the specific gap into an action item. Insonl, Decide What an AI Workflow Audit Log Must Record

Contributing conditions and the review that missed them

Write each condition with the evidence that supports it. A lookup might have returned a superseded rule, a parser might have mapped the right answer to the wrong status, or a job might have acted on a proposal issued before a case was edited. A replay can test whether a condition would produce that outcome. Keep the replay result separate from records of the original run, especially if a model revision or data snapshot is missing.

Describe the point where the wrong action could have been stopped. Record whether the control was skipped, lacked the necessary evidence or checked a different condition. If a reviewer saw a summary and a green validation indicator, check exactly what validation meant and whether the original evidence was available in that view. Give the people who handled the case a chance to correct the timeline and explain what they could see.

Actions and evidence of completion

Give each action a linked ticket, a named owner, a due date and a check someone else can verify. Cover the cases already affected as well as the failure that produced them. For a repair to the workflow, give the test a specific input, an expected outcome and a destination state to inspect. For a recovery task, specify which records must be reconciled and what counts as confirmation.

Before restoring automated actions, have the operations owner confirm who handles outstanding cases and what evidence is sufficient to resume. If the corrective release changes the prompt, link its approval and the versions tested. Rolling back a prompt can change subsequent decisions. Confirm and repair earlier writes against the records they reached. Insonl, Approve Prompt Changes Like You Approve Code Changes

Hypothetical example of a warranty claim closed in error

A warranty intake workflow recommends closing a repair claim as ineligible. An agent accepts the recommendation. The case service changes the status to closed and sends the standard reply. The customer reopens the case with the original service receipt. The operations owner confirms that the coverage rule in effect at intake called for specialist review.

The original form included the product family and service date. The recorded model and prompt matched the release manifest. The retrieval record showed a withdrawn coverage table, which contained the exclusion the model used. The model returned an ineligible decision and the application mapped it to a closure proposal. The agent’s screen showed the summary and a valid-format indicator. It omitted the coverage table revision and the controlling date rule. The case history shows the agent’s approval followed by the service account’s committed status change and the sent reply.

The approval step allowed the closure with the information on screen. The format check established that the response fit the schema. Retrieval had allowed a withdrawn table into the model’s context, and the closure path had no check that the cited rule applied to the case. A specialist’s later decision and the approved coverage table establish what should have happened. Insonl, Catch Conflicting Policy Versions Before a Support Assistant Replies

The operations owner pauses this closure path and sends new claims to the specialist queue. To scope the incident, they check closures from the time the withdrawn table became inapplicable through containment. They match retrieval records showing the withdrawn table to committed closures and check each claim against the governing rule. Runs with missing source references stay in the review set. The team reopens confirmed cases, assigns them and checks the saved status and customer follow-up before marking each case repaired.

The technical owner adds a check for the applicable approved coverage rule before closure. The recorded claim and a similar claim that qualifies for closure become regression tests. With the withdrawn table still available in the test environment, the original case must reach specialist review without generating a denial for delivery. The other claim must still reach the approval step with the applicable rule visible. The operations owner checks the test queue and message records before signing off on resuming the path.

Sources

Audit one workflow

Bring a redacted failed case or a near miss. Insonl can review where the workflow gets its inputs, who can approve a decision and what evidence you have after an action takes effect. The audit is free. Follow-on work is optional and billed separately if you commission it. Request a free AI workflow audit