Blameless post mortem

From event4u-app/agent-config · View interactive version

Blameless post mortem is an AI agent skill from the GitHub repository event4u-app/agent-config. Use after an incident or outage is resolved — blame-free facilitation, root cause, corrective actions, memory write-back — even for a near-miss. Consumes the incident-commander skeleton.

How to use this skill

Skill file

blameless-post-mortem

Facilitate a blame-free post-mortem after an incident or near-miss.

Consumes the incident-commander skeleton, derives or fills the root

cause, writes the corrective-action plan, and drafts an

incident-learnings memory candidate. Systems and processes are

examined — never individuals.

When to use

write-up.

mode — same flow, different severity framing).

root cause is accepted — do not block on it).

schiefgelaufen?", "Vorfallsanalyse".

Do NOT use when:

CODE0 first.

to CODE0.

CODE0.

Procedure

1. Consume the incident-commander skeleton

Read the incoming skeleton. Per

CODE0:

Root cause (may be unknown or TBD).

If no skeleton is provided, reconstruct from the user's description:

severity, timeline, impact, mitigation state.

2. Derive the root cause (if unresolved)

If root cause is unknown or TBD, invoke

CODE0. That

skill returns ranked candidates with confidence levels — do NOT force

a verdict. If root cause remains unresolved after the analysis pass,

mark the post-mortem status: draft and continue. A draft post-mortem

can still produce memory candidates (note the open question in the

candidate summary).

3. Write the blame-free report

Sections in order — no individuals named, systems and processes only:

  1. Summary — one paragraph, blame-free, what happened and the

business impact.

  1. Timeline — reference the skeleton timeline; do NOT rebuild it.
  2. Impact — users affected, duration, data, revenue, SLA.
  3. Detection — how the incident was discovered (monitoring, user

report, alert, manual).

  1. Root cause — the confirmed or highest-confidence candidate;

state confidence level if draft.

  1. Contributing factors — conditions that made the root cause

possible (tooling gaps, process gaps, system state).

  1. What went well — at least one item; omitting this is a smell.
  2. What went wrong — process, tooling, signals, communication

gaps. No individual blame.

Near-miss mode: same sections; set SEV: near-miss. Add two

extra questions after "what went wrong":

4. Corrective actions (folded-in phase)

For each identified gap, propose a corrective action. Reuse

risk-officer mitigation framing: owner role, size, residual-risk

note. Four action types:

| Type | Purpose |

|---|---|

| Immediate | Stop recurrence now (config fix, kill switch, revert) |

| Preventive | Remove the root cause (architectural or process change) |

| Detection | Catch it sooner next time (alert, dashboard, runbook) |

| Process | Address human/coordination gaps (oncall rotation, docs) |

Each action MUST have:

action done

fix held

An action without a closure criterion is a wish, not a plan.

5. Memory write-back

Per CODE0:

  1. Run the dedup pre-check — find_duplicate(...) from

scripts/memory_lookup.ts over the same key-space (incident type,

affected paths, decision area); a memory:lookup query over the

same keys is the CLI equivalent.

  1. Match found — propose a frequency / supersedes update to

the existing entry; do NOT create a new candidate.

  1. No match — draft a REDACTED incident-learnings candidate to

/memory propose:

project-rooted paths)

possible)

  1. NEVER auto-promote. The human drives promotion via `/memory

promote`. If the candidate fails the admission gate

(check_memory_proposal.ts), surface the gap to the user.

If the lookup surfaces stale entries (past review_after_days),

surface them explicitly — never silently use stale data.

Output

The post-mortem produces, in order:

  1. Post-mortem document — sections 1–8 from step 3; status

final or draft if root cause is unresolved.

  1. Corrective-action table — each action with type, owner,

closure criterion, regression signal.

  1. Memory candidate — the drafted incident-learnings JSONL

snippet for /memory propose (or the frequency-update proposal if

a duplicate was found).

Do NOT

paths in the memory candidate (redact per the contract).

continue.

timeline.

Gotchas

post-mortems still produce memory candidates with the open question

noted.

Severity is near-miss; the extra two questions apply.

Always require a specific, testable done condition.

into the findings. Never silently reuse stale data.

See also

skeleton this skill consumes; run first during live incidents.

engine invoked in step 2 when root cause is unresolved.

reused for corrective actions (owner, size, residual-risk).

— produce → propose → promote → retrieve contract this skill binds to.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.