Skip to navigation

Claude Code Postmortems: Evidence Without Blame

In short: Turn agent session records, cloud events and decisions into blameless postmortem inputs with facts and hypotheses kept separate.

Published 19 min read
On this page

Direct answer

A blameless postmortem uses Claude Code session records as one evidence source among several, keeps facts separate from hypotheses, and assigns corrective actions to system owners rather than to people. The agent telemetry can show what was requested, what was decided and what happened next. Cloud and service records show what actually changed. The postmortem’s job is to explain how the system shaped the outcome, not to identify who to blame. The concrete win is a corrective-action list that targets the conditions that produced the failure, which is the only kind of action that prevents recurrence. The concrete loss is that agent evidence is partial and can be wrong in ways that look authoritative. Session summaries are generated text, and one community report describes incorrect ones. Treat summaries as claims to verify, never as ground truth.

Why blameless is the useful version

Blamelessness is sometimes described as a kindness. It is more accurate to describe it as a correctness requirement. A postmortem that assigns blame to a person stops at the person, and the conditions that produced the failure survive intact.

Three mechanisms make blame corrosive to learning. A person who expects blame hides the parts of the sequence that make them look bad, so the record becomes incomplete. Reviewers who expect blame stop asking “what made this easy to do” and start asking “who did it”, which produces different corrective actions. And a blamed person leaves, taking context that no document recovers.

Agent evidence makes blamelessness more necessary, not less. An agent is not a person, so blaming it is a category error, and blaming the person who used it usually stops the analysis before it reaches the system. The useful question is why a reasonable action, taken by a person or requested of an agent, produced a bad outcome. That question has an answer about conditions, and conditions can be changed.

None of this means outcomes are unexamined. Blameless does not mean consequence-free. It means the review targets the system, and the people involved are treated as sources of evidence rather than as defendants.

Evidence map of postmortem scope, agent session evidence, cloud events, contributing conditions and corrective actions assigned to system owners.
Editorial evidence map based on F085, F086 and F087. The postmortem should explain how the system shaped the outcome, not who to blame for it.

Postmortem scope

Define the scope before gathering evidence. A postmortem without a scope grows until it covers everything and concludes nothing.

Three scope decisions come first. Which incident or near-miss is being reviewed, expressed as a time window and an affected service. Which severity threshold triggered the review, tied to the error budget policy so the trigger is consistent. Who is in the room, which should include the people who responded and a facilitator who did not.

Scope also means exclusions. A postmortem about a database failure should not expand into a review of every database decision ever made. Related near-misses can be logged for separate review rather than folded in. A scope that grows during the review is a scope that will not finish.

The CISA incident management material describes a written process for collecting and preserving evidence and references tabletop exercises. A written scope is part of that process discipline. Write the scope down before the first evidence is read, because scope set after evidence is read tends to follow the evidence rather than frame it.

Evidence sources

List the sources and what each can and cannot support. This is the table that keeps the postmortem honest.

Evidence source Supported observation Limitation
Claude Code session telemetry What was requested, decided, and returned Configurable, sampled, truncated; partial by default
Cloud control-plane audit log What actually changed in the infrastructure Shows the change, not the intent behind it
Kubernetes audit log Which objects were written and by which identity Does not record business context
Terraform plan and apply records What was proposed and what was applied A plan is a proposal; an apply can differ
Monitoring and alert records When the impact became visible Detection time lags the underlying condition
On-call and chat records Human decisions and context Entered after the fact; approximate timing
Generated session summary A narrative claim about the session Generated text; can be incorrect or incomplete

Read the limitation column as seriously as the observation column. Each row names something that source cannot do, and a postmortem that forgets a limitation will over-trust that source.

Agent telemetry can provide prompt, tool and API events with correlation attributes, which is F085. Telemetry is incomplete by default and should be corroborated with cloud and service evidence. A postmortem built only from agent telemetry will describe the agent’s view of the incident, which is a useful view and not the whole picture.

Timeline reconstruction

Reconstruct the sequence from events, not from memory. The incident timeline method covers this in detail: gather sources, normalize clocks, join on identifiers, mark uncertainty.

Two adaptations matter for postmortems. The timeline should start earlier than the incident, because the contributing conditions usually predate the trigger. And the timeline should record successful mitigations alongside failures, because a mitigation that worked is evidence about which controls are effective.

Session summaries deserve their own treatment here. Generate the timeline from events, then compare any generated summary against it. Where they differ, trust the events and record the difference. One community report, Claude Code issue 6452, describes incorrect session summaries. Treat that as a reason to verify summaries rather than as proof of a universal defect or a confirmed fix.

Contributing conditions

Contributing conditions are the properties of the system that made the outcome possible. They are the part of the postmortem that produces useful actions.

Contributing condition System owner Corrective action
Apply permission granted to a broad identity IAM or platform owner Narrow the identity; add a permission boundary
Change window had no stop condition Reliability owner Define stop conditions before the next window
Approval gate was bypassable Platform owner Move the check into the deployment path
Telemetry gap hid the degradation Observability owner Close the gap; add pipeline health checks
Runbook did not match the current system Runbook owner Update and exercise the runbook
Alert routed to an unowned channel On-call owner Re-route to a named responder

Read the table as the shape of a useful condition. Each row names a property of the system, an owner who can change it, and an action that changes it. A condition with no owner is a condition that will still be there at the next postmortem.

Distinguish conditions from triggers. A trigger is the event that set the failure in motion. Conditions are what made the trigger consequential. A postmortem that lists only triggers will prevent that specific trigger and leave every equivalent one intact.

Human and tool decisions

Record the decisions made during the incident, both by people and through the agent, as decisions made under the conditions that existed at the time. A decision that looks wrong in hindsight was made with less information than the review has.

Three fields make a decision record useful. What was known at the time, expressed as the evidence available to the decision maker. What options were considered, including the option of doing nothing. What the decision produced, expressed as the resulting action and its outcome.

Agent decisions get the same treatment. A tool decision event records what the agent requested and what decided the outcome, which is the same shape as a human decision record. Recording them in the same table prevents the postmortem from treating agent actions as a separate, lesser category of event.

Attribution is the point to be careful about. Naming the identity that made a decision is evidence. Turning that identity into a judgment about competence is blame, and it stops the analysis. Keep the identity as a fact and the analysis on the conditions.

What went well

Record what worked. A postmortem that lists only failures teaches the team that only failures get reviewed, which makes people less likely to surface near-misses.

Three things belong here. Mitigations that reduced the impact, recorded as evidence about which controls are effective. Detection that worked, including the alert or the human who noticed early. Decisions that turned out to be correct, recorded with the reasoning that produced them.

Successful mitigations are also corrective-action inputs. A control that reduced impact once is a candidate for making standard. A postmortem that omits it loses the cheapest improvement available.

The Google SRE postmortem culture material treats blameless review as the mechanism for turning incidents into learning. The canonical page was not full-page fetched during this research pass, so exact wording should be verified before relying on a specific phrase. The general principle, that the review targets systems rather than people, is the part this post relies on.

Corrective actions

Corrective actions are the output. An action without an owner and a date is a wish.

Action Due date Completion evidence
Narrow the apply identity Two weeks Updated IAM policy and a permission diff
Add stop conditions to change windows One month Documented conditions and a rehearsal
Move the approval check into the deployment path One quarter Path configuration showing the check
Close the telemetry gap Six weeks Pipeline health check passing
Update and exercise the runbook One month Updated runbook plus an exercise record

Read the due-date column as a commitment, not as an aspiration. A corrective action with no date is an action that will be rediscovered at the next postmortem. Track completion with evidence rather than with a checkbox, because a checkbox records intent and evidence records a change.

Actions should target conditions, not people. An action that reads “X will be more careful” is not actionable and is a sign the review drifted into blame. Rewrite it as a condition: what made carelessness possible, and what changes that.

The runbook ownership and review cadence post covers maintaining the procedures that corrective actions often update. The risk-tiered infrastructure approvals post covers the approval gates that corrective actions often strengthen.

Some corrective actions narrow access. An apply identity that was broader than the task needed is a condition, and the fix is to narrow it with a cloud IAM permission boundary or a Kubernetes RBAC least privilege review. Both are governance actions that an agent can prepare evidence for but not approve for itself.

Some corrective actions add preventive controls. A change that should have been blocked by policy but was not points at a gap in policy as code, and the fix is a new rule that starts in audit mode before it prevents. Some corrective actions add spending limits, which the cloud budget and quota guardrails post covers, because a cost overrun is also an incident with contributing conditions.

Every corrective action needs a decision owner recorded against it, and the RACI model for infrastructure changes is the structure that names the accountable human for each class of change. An action without an accountable owner is an action that will be rediscovered.

Follow-up review

A postmortem is not finished when the document is written. Follow-up review closes the loop.

Two reviews are enough. A short review at the action due dates, checking completion evidence. A longer review at the next policy cadence, checking whether the conditions recurred. If the same condition appears in a later postmortem, the corrective action did not work, and that is a finding about the action rather than about the review.

The OWASP guidance on securing AI-assisted development calls for human review of changes made by coding agents. That guidance supports treating the postmortem itself as a human review step rather than as a document an agent produces for humans to file. The review is the learning; the document is the record of it.

Preparing evidence before the review

A postmortem that starts with evidence gathering takes twice as long as one that starts with evidence already assembled. Preparation is a task the agent can do well, and it is the most useful application of automation in the whole process.

Assemble four things before the review meets. The timeline, built from events with correlation keys and uncertainty markers. The evidence table, with each source and its limitation. The change records for the window, including plans, applies and approvals. And the alert and monitoring record, showing when impact became visible.

The agent can assemble all four from the sources if it is given the window, the scope and the source list. Ask for the evidence table rather than a narrative, because a table is checkable line by line and a narrative is checkable only by reading it twice.

Give the review a facilitator who did not respond to the incident. A facilitator who was involved has a stake in the outcome, and a stake changes which questions get asked. The facilitator’s job is to keep the review on conditions and to notice when it drifts toward blame.

Distribute the evidence before the meeting. A review where half the time is spent reading is a review where half the thinking never happens. People arrive with questions when they have read the evidence first.

The preparation step is also where the health check belongs. If the telemetry path was unhealthy during the incident, the evidence is incomplete, and the review should know that before it starts rather than discovering it mid-way. The log pipeline health checks before triage post covers the check.

Working with Claude Code on the review

The agent can help assemble evidence. Give it the time window, the sources to query and the scope, and ask for a timeline of events with correlation keys and uncertainty markers. Ask it to produce the evidence table rather than a narrative.

Reviewing is the human job. Deciding which conditions mattered, which actions to take and who owns them is the review. An agent that produces a postmortem draft with a root cause has done the review’s job badly, because root cause is a conclusion the review reaches, not a text generation task.

The Claude Code verification guide covers the review questions that apply to any agent output: what changed, what proves it, and what was not checked. Those are the same questions a postmortem facilitator asks of the evidence.

Workflow from defining scope, gathering evidence from agent and cloud sources, reconstructing the timeline, listing contributing conditions, and assigning corrective actions to system owners.
Editorial workflow derived from F085 and F087. The sequence describes a reviewable postmortem routine; it is not an official process.

Concrete win, concrete loss, practical implication

The concrete win is corrective actions that target conditions. A review that produces “narrow the apply identity” and “add stop conditions to change windows” changes the system, and those changes are what prevent the next occurrence.

The concrete loss is time. A disciplined postmortem takes hours, and the people in the room are usually the ones with the least spare time. The cost is real and the payoff is delayed, which is why postmortems get skipped under pressure.

The practical implication is to keep facts and hypotheses in separate sections. Facts are observations with sources. Hypotheses are inferences that need verification. A postmortem that mixes them produces confident wrong conclusions, and those conclusions become the corrective actions.

Separating facts from hypotheses

The separation is mechanical. A fact is a record that was read, with its source and timestamp. A hypothesis is a statement about what the records mean, and it carries a verification step.

Observation Reasonable hypothesis Verification needed
Agent requested a permission change at 09:14 The request may have been the first step in the failure Cloud record of what actually changed
Alert fired at 09:21 The failure may have started before the alert Earliest affected-record timestamp
Rollback stopped the errors The change may have been the cause A controlled re-apply or a traffic analysis
No agent events during a window Either no activity or a telemetry gap Exporter health and event counts

Read the table as the discipline that keeps a postmortem honest. The hypothesis column is where the review thinks. The verification column is what keeps the thinking from becoming a conclusion.

A root cause is a conclusion, and it should be reached at the end, after the verification column is worked through. A postmortem that opens with a root cause has done the conclusion first and will spend the rest of the review defending it.

Tradeoff between a fast postmortem that reaches a root cause quickly and a slower review that keeps facts and hypotheses separate and verifies them.
Editorial tradeoff diagram based on F085 and F087. Separating facts from hypotheses costs review time and buys conclusions that survive verification.

Checklist before you close a postmortem

Item Expected evidence Failure interpretation
Scope written down first Scope statement dated before evidence gathering Review grew to cover everything
Multiple evidence sources used Agent, cloud and service records all cited Single-source narrative
Facts separate from hypotheses Two sections, not interleaved Conclusions presented as observations
Contributing conditions have owners Owner column populated Conditions without owners persist
Corrective actions have dates Due date and completion evidence per action Actions are wishes
What went well recorded Mitigations and detections listed Review teaches that only failure counts
No individual blame Entries name systems and conditions Blame has stopped the analysis
Summary verified against events Differences documented Generated summary treated as truth

Passing the checklist shows the postmortem was reviewed honestly. It does not prove the corrective actions will work, which is what follow-up review is for.

Control checklist covering scope, multiple evidence sources, fact and hypothesis separation, owned corrective actions, and blame-free entries.
Editorial control checklist derived from F085 and F087. Passing the checklist shows the review was honest; it does not certify the corrective actions.

Data gap and future update

No official Claude Code documentation was found that describes a postmortem feature or a blameless review workflow. The evidence capabilities in F085 come from the monitoring documentation. The blameless framing in F087 comes from the Google SRE postmortem culture page, which was not full-page fetched during this research pass, so its exact current wording should be verified before relying on a specific phrase.

The CISA incident management resource guide returned unreadable content during the research fetch, and the general evidence-preservation framing rests on the search-level access recorded in the fact pack. Claims that depend on page-level CISA wording should be verified separately.

One community report on incorrect session summaries, issue 6452, is included as a reason to verify summaries. Its resolution state is unknown from this research pass, and no fix version is claimed.

One AI API Key option for OpenAI-format agents

Claude Code uses an Anthropic-format route, so the One AI free model IDs are not a Claude Code model source. The packet records Claude IDs as unavailable on 2026-11-27.

OpenAI-format agents have a separate route: One AI API Key offers https://api.oneaiapikey.com/v1, one key and 46 live free IDs. It is a different client and request format, not a workaround for Claude Code authentication. Check the free model list and eligibility notes before choosing an agent route, or read the quickstart for the request shape. The cost calculator compares it with a paid route.

FAQ

Can we use the agent to write the postmortem?

Use it to assemble evidence, not to write the conclusions. An agent can produce a timeline and an evidence table from the sources. Reaching a root cause and choosing corrective actions is the review, and it belongs to the people in the room.

Is blameless the same as consequence-free?

No. Blameless means the review targets systems rather than people. Consequences for behavior are a separate matter handled outside the postmortem. Conflating the two makes people hide information during the review.

What if the evidence points at one person’s mistake?

Record the decision as a fact with its conditions, and move the analysis to what made the mistake possible. A decision that looks like a mistake in hindsight usually reveals a missing control, and the missing control is the corrective action.

How do we know the corrective actions worked?

Follow-up review. Check completion evidence at the due dates, and check whether the condition appears in a later postmortem. A condition that recurs is evidence that the action did not work.

Should we trust a session summary in the postmortem?

Verify it against the raw events first. Generate the timeline from events and compare. A community report on incorrect session summaries is one reason to be careful, and the general reason is that a summary is generated text with no obligation to preserve ordering or gaps.

Continue with incident timeline reconstruction with request IDs for the timeline method, OpenTelemetry semantic conventions for agents for the attribute names behind the evidence, SLO burn rate alerts during changes for the signal that triggers the review, error budget release policy for the severity threshold that triggers a postmortem, and log pipeline health checks before triage for proving the evidence path.

Verdict that a blameless postmortem uses agent records as one evidence source, keeps facts separate from hypotheses, and assigns corrective actions to system owners.
Editorial verdict based on F085 and F087. Target the conditions that produced the outcome, verify summaries against events, and give every corrective action an owner and a date.

More from this batch

More Claude Code incident and governance reading

More Claude Code troubleshooting

Sources

More in Blog

Try it

One API key for GPT, Grok, DeepSeek, Kimi, GLM, MiniMax, Qwen, Step, Beam, Nemotron, ERNIE, Hunyuan, Gemma, Laguna, LFM, LongCat, Llama, Solar, Jais, Mistral, K2 and Roleplay.

One AI API Key speaks the OpenAI and Anthropic formats, so you change the base URL and the key, not your code. Credit packs start at $10, and every model has a published per-token rate.

New accounts$10 credit on sign-up
Claim $10 credit →