Postmortem
Purpose: Answer an explicit retrospective causal question using the
already-validated outcome and evidence.
Critical Constraints
- Because proof and causal inference are different judgments, Postmortem is retrospective causal analysis, not the general learning umbrella and not a completion gate.
- It consumes immutable Validate verdict evidence and does not re-run acceptance validation because Validate already owns that proof.
- Treat causal statements as hypotheses because causal confidence must survive
alternatives. Separate observed sequence, contributing conditions,
counterfactuals, and unknowns.
- A correlation is not promoted to cause without evidence that discriminates
plausible alternatives.
- Because the caller owns delivery decisions, do not rewrite proof, operate
tracker state, change the remaining plan, or promote a rule. Return evidence
to the caller.
- Empty or inconclusive analysis is valid; manufacture neither certainty nor a
lesson to make the retrospective feel useful.
Workflow
- Pin the verdict, subject evidence, and explicit causal
question.
- Reconstruct the evidence-backed timeline without importing hidden author
reasoning as fact.
- List candidate contributing conditions and at least one plausible
alternative explanation.
- Test each claim against cited evidence and a counterfactual: what should
differ if the claim were false?
- Optionally use independent judges to challenge contested causal claims.
- Emit a report containing supported claims, rejected claims, unknowns,
evidence references, and suggested experiments. Stop.
Correlation-to-cause discrimination
A fix is proven when the mechanism is demonstrated, not when symptoms stop.
Promoting a claim from correlation to cause requires all three:
- a stated mechanism — the specific path by which the condition produced the
outcome, in terms a reader could check against the subject;
- discriminating evidence — an observation that the mechanism predicts and at
least one plausible alternative does not;
- a counterfactual test — what should have differed if the claim were false,
with the cited evidence showing it did differ.
Symptom disappearance after a change satisfies none of these on its own: the
change and the recovery may share an unobserved cause, or the symptom may be
intermittent. The named failure mode is post-hoc fix attribution — "we
changed X and the failure stopped, therefore X was the cause." Claims backed
only by symptom cessation stay in the report as correlations with the
untested alternatives listed, and the suggested experiment is the
discrimination that would settle them. Stop condition: every supported causal
claim in the report carries all three elements with citations; anything less
is filed under correlations or unknowns, never silently promoted.
Output Specification
- Artifact directory:
.agents/postmortem/.
- Filename convention:
YYYY-MM-DD-postmortem-<topic>.md.
- Serialization/schema format: Markdown with causal question, pinned inputs,
timeline, hypotheses, evidence, counterfactuals, unknowns, and experiments.
- Validator command:
bash skills/postmortem/scripts/validate.sh.
- Downstream handoff: Learn or the caller may consume the analysis; they own
any bookkeeping, promotion, planning, or delivery decision.
Quality Checklist
Executable behavior is in postmortem.feature.
Source: hashgraph-online/awesome-codex-plugins → plugins/boshu2/agentops/skills-codex/postmortem/SKILL.md
1---2name: postmortem-23description: Optionally test a retrospective causal4---5
6# Postmortem
7
8> **Purpose:** Answer an explicit retrospective causal question using the
9> already-validated outcome and evidence.
10
11## Critical Constraints
12
13- Because proof and causal inference are different judgments, Postmortem is retrospective causal analysis, not the general learning umbrella and not a completion gate.
14- It consumes immutable Validate verdict evidence and does not re-run acceptance validation because Validate already owns that proof.
15- Treat causal statements as hypotheses because causal confidence must survive
16 alternatives. Separate observed sequence, contributing conditions,
17 counterfactuals, and unknowns.
18- A correlation is not promoted to cause without evidence that discriminates
19 plausible alternatives.
20- Because the caller owns delivery decisions, do not rewrite proof, operate
21 tracker state, change the remaining plan, or promote a rule. Return evidence
22 to the caller.
23- Empty or inconclusive analysis is valid; manufacture neither certainty nor a
24 lesson to make the retrospective feel useful.
25
26## Workflow
27
281. Pin the verdict, subject evidence, and explicit causal
29 question.
302. Reconstruct the evidence-backed timeline without importing hidden author
31 reasoning as fact.
323. List candidate contributing conditions and at least one plausible
33 alternative explanation.
344. Test each claim against cited evidence and a counterfactual: what should
35 differ if the claim were false?
365. Optionally use independent judges to challenge contested causal claims.
376. Emit a report containing supported claims, rejected claims, unknowns,
38 evidence references, and suggested experiments. Stop.
39
40## Correlation-to-cause discrimination
41
42A fix is proven when the mechanism is demonstrated, not when symptoms stop.
43Promoting a claim from correlation to cause requires all three:
44
45- a stated mechanism — the specific path by which the condition produced the
46 outcome, in terms a reader could check against the subject;
47- discriminating evidence — an observation that the mechanism predicts and at
48 least one plausible alternative does not;
49- a counterfactual test — what should have differed if the claim were false,
50 with the cited evidence showing it did differ.
51
52Symptom disappearance after a change satisfies none of these on its own: the
53change and the recovery may share an unobserved cause, or the symptom may be
54intermittent. The named failure mode is post-hoc fix attribution — "we
55changed X and the failure stopped, therefore X was the cause." Claims backed
56only by symptom cessation stay in the report as correlations with the
57untested alternatives listed, and the suggested experiment is the
58discrimination that would settle them. Stop condition: every supported causal
59claim in the report carries all three elements with citations; anything less
60is filed under correlations or unknowns, never silently promoted.
61
62## Output Specification
63
64- **Artifact directory:** `.agents/postmortem/`.
65- **Filename convention:** `YYYY-MM-DD-postmortem-<topic>.md`.
66- **Serialization/schema format:** Markdown with causal question, pinned inputs,
67 timeline, hypotheses, evidence, counterfactuals, unknowns, and experiments.
68- **Validator command:** `bash skills/postmortem/scripts/validate.sh`.
69- **Downstream handoff:** Learn or the caller may consume the analysis; they own
70 any bookkeeping, promotion, planning, or delivery decision.
71
72## Quality Checklist
73
74- [ ] The causal question and immutable inputs are pinned.
75- [ ] Supported and rejected claims cite discriminating evidence.
76- [ ] Alternatives, counterfactuals, and unknowns remain visible.
77- [ ] The report stops short of proof, planning, tracker, and delivery authority.
78
79Executable behavior is in [postmortem.feature](references/postmortem.feature).
80
81---
82
83**Source:** [`hashgraph-online/awesome-codex-plugins`](https://github.com/hashgraph-online/awesome-codex-plugins) → `plugins/boshu2/agentops/skills-codex/postmortem/SKILL.md`