postmortem-maker
Turn bounded incident evidence into a traceable postmortem packet with action items and a gated publish proposal.
You’re reading version sha-9fcba384a280. Go to the current version
Overview
Postmortem Maker converts incident fragments into a postmortem packet without pretending unknowns are facts. It accepts bounded incident timeline events, alerts, deploy events, chat notes, and a postmortem policy. It separates known facts from hypotheses, cites the input evidence behind every timeline and root-cause claim, and emits action items plus a publish proposal only when the policy allows publication.
The skill does not post, assign work, page people, mutate incidents, or send communications. The publish proposal is a gated handoff for a downstream send-as or document-publisher executor.
In the manual
Runners
agentevaluate
Declared by its execution profile. Read the profile
SKILL.md
Postmortem Maker
Postmortem Maker converts incident fragments into a postmortem packet without pretending unknowns are facts. It accepts bounded incident timeline events, alerts, deploy events, chat notes, and a postmortem policy. It separates known facts from hypotheses, cites the input evidence behind every timeline and root-cause claim, and emits action items plus a publish proposal only when the policy allows publication.
The skill does not post, assign work, page people, mutate incidents, or send communications. The publish proposal is a gated handoff for a downstream send-as or document-publisher executor.
Inputs
incident_timeline(required array): timestamped incident observations.alerts(optional array): alert events with source, severity, and message.deploy_events(optional array): deploys or config changes near the incident.chat_notes(optional array): bounded chat excerpts or operator notes.postmortem_policy(required object): publication rules, evidence bar, and action-item requirements.
Output
postmortem: object containingsummary,timeline,impact,root_cause, andstatus.unknowns: unresolved or contradictory facts that must not be asserted.action_items: concrete follow-ups with owners or owner placeholders.publish_proposal: present only when the policy allows publication and the evidence bar is met.
Rules
- Cite input evidence for each timeline entry and root-cause claim.
- Keep unresolved facts in
unknownsinstead of inventing a cause. - Refuse publication when evidence conflicts, required policy fields are missing, or the incident timeline is too thin to support a postmortem.
- Preserve uncertainty explicitly: root cause may be
unknown,hypothesis, orconfirmed. - Do not include secrets, customer data, private chat dumps, or private incident identifiers in public-facing summaries.
Published execution profile
The execution profile published with sha-9fcba384a280, shown as its exact bytes.
| Runners |
|
|---|---|
| Profile digest | sha256:c791004ab110afe96ba77f93936be86967a585f2033d3da3a6d7c743b0cacbe4 |
skill: postmortem-maker
version: 0.1.0
catalog:
kind: skill
audience: operator
visibility: public
role: context
category: ops
runners:
agent:
steps:
- id: agent
agent:
role: agent
task: agent
evaluate:
default: true
inputs:
incident_timeline:
type: json
required: true
description: Timestamped incident observations with evidence references.
alerts:
type: json
required: false
description: Alert events that support timing, impact, or recovery claims.
deploy_events:
type: json
required: false
description: Deploys or configuration changes near the incident.
chat_notes:
type: json
required: false
description: Bounded operator notes with no secrets or private dumps.
postmortem_policy:
type: json
required: true
description: Publication and evidence rules for the postmortem packet.
steps:
- id: evaluate
agent:
role: postmortem-maker
task: postmortem-maker
inputs:
incident_timeline: $input.incident_timeline
alerts: $input.alerts
deploy_events: $input.deploy_events
chat_notes: $input.chat_notes
postmortem_policy: $input.postmortem_policy
artifacts:
wrap_as: postmortem_packet
outputs:
postmortem:
required: false
unknowns:
required: false
action_items:
required: false
publish_proposal:
required: false
harness:
cases:
- name: postmortem-maker-evidence-backed-postmortem
inputs:
incident_timeline:
- id: tl-1
at: 2026-07-01T10:00:00Z
event: API error rate crossed 12 percent for checkout requests.
evidence_ref: alert-1
- id: tl-2
at: 2026-07-01T10:07:00Z
event: Checkout deploy 2026.07.01.4 rolled back.
evidence_ref: deploy-2
- id: tl-3
at: 2026-07-01T10:12:00Z
event: Error rate returned below 1 percent.
evidence_ref: alert-2
alerts:
- id: alert-1
source: checkout-slo
severity: page
message: API 5xx rate above threshold.
- id: alert-2
source: checkout-slo
severity: info
message: API 5xx rate recovered.
deploy_events:
- id: deploy-2
service: checkout-api
version: 2026.07.01.4
change: payment adapter retry policy changed.
action: rollback
chat_notes:
- id: chat-1
note: On-call observed payment adapter timeouts after the deploy.
postmortem_policy:
publish_allowed: true
require_evidence_refs: true
require_action_items: true
public_summary_only: true
caller:
answers:
evaluate:
postmortem:
summary: Checkout API errors rose after deploy 2026.07.01.4 and recovered after rollback.
timeline:
- at: 2026-07-01T10:00:00Z
event: API error rate crossed 12 percent for checkout requests.
evidence_refs:
- alert-1
- at: 2026-07-01T10:07:00Z
event: Deploy 2026.07.01.4 was rolled back.
evidence_refs:
- deploy-2
- at: 2026-07-01T10:12:00Z
event: Error rate returned below 1 percent.
evidence_refs:
- alert-2
impact:
user_visible: checkout requests saw elevated 5xx responses during the incident window.
evidence_refs:
- alert-1
- alert-2
root_cause:
status: hypothesis
claim: The payment adapter retry-policy change in deploy 2026.07.01.4 likely contributed to the checkout errors.
evidence_refs:
- deploy-2
- chat-1
status: publishable_with_hypothesis
unknowns:
- Exact downstream timeout rate is not present in the input packet.
- The retry-policy change is a hypothesis, not a confirmed sole root cause.
action_items:
- owner: checkout-api
action: Add pre-deploy retry-policy regression checks.
evidence_refs:
- deploy-2
- owner: sre
action: Add dashboard panel for downstream timeout rate during checkout incidents.
evidence_refs:
- chat-1
publish_proposal:
channel: postmortem_doc
gated: true
reason: Policy allows publication and every timeline/root-cause claim cites input evidence.
expect:
status: sealed
receipt:
schema: runx.receipt.v1
operator_journeys:
- mode: standalone
confusors:
- incident-commander
- answer-from-docs
request: Write the postmortem for this resolved incident.
expected_outcome: Return a source-cited postmortem that refuses invented facts, delivering only when the evidence settles it.
- mode: composed
request: Continue this postmortem-maker work from evidence already gathered upstream.
expected_outcome: Return a source-cited postmortem that refuses invented facts, delivering only when the evidence settles it.
prior_evidence:
- The incident record already read.
must_not_repeat:
- Do not re-derive the timeline already sealed.
- name: postmortem-maker-refuses-thin-conflicting-evidence
inputs:
incident_timeline:
- id: tl-1
at: 2026-07-02T10:00:00Z
event: Users reported intermittent errors.
alerts: []
deploy_events:
- id: deploy-a
service: checkout-api
version: 2026.07.02.1
change: frontend copy update.
- id: deploy-b
service: payments-api
version: 2026.07.02.9
change: retry behavior changed.
chat_notes:
- id: chat-a
note: One operator suspected the frontend deploy.
- id: chat-b
note: Another operator suspected the payments deploy.
postmortem_policy:
publish_allowed: true
require_evidence_refs: true
require_action_items: true
caller:
answers:
evaluate:
postmortem:
summary: The input packet is insufficient for a publishable postmortem.
timeline:
- at: 2026-07-02T10:00:00Z
event: Users reported intermittent errors.
evidence_refs:
- tl-1
impact:
user_visible: unknown
evidence_refs: []
root_cause:
status: unknown
claim: No root-cause claim can be made from the conflicting evidence.
evidence_refs: []
status: refused_insufficient_evidence
unknowns:
- No alert source or measurable impact was provided.
- Conflicting deploy hypotheses are present without supporting evidence.
- Publication would overstate the known facts.
action_items:
- owner: incident-commander
action: Attach alert data and service metrics before drafting a public postmortem.
evidence_refs:
- tl-1
publish_proposal: null
expect:
status: sealed
receipt:
schema: runx.receipt.v1
- name: postmortem-maker-needs-required-inputs
inputs: {}
expect:
status: failure
receipt:
schema: runx.receipt.v1
Published package and test evidence.
The latest recorded test covers an earlier version, sha-2934e54a84da. It does not establish a result for this version.
Test result
| Harness result | An earlier version was tested |
|---|---|
| Tested version | sha-2934e54a84daNot this page’s version, sha-9fcba384a280 |
| Recorded result | 3 checks passed · 0 failed |
| Result source | Reported by the publisher (runx_registry_publish) |
| Suite | runx-harness |
| Test recorded | |
| Declared cases | 3 |
Package identity
| Published revision | sha-9fcba384a280 |
|---|---|
| Content digest | sha256:9fcba384a280f3e539dbf9ca34f5a4396c33df00e00cb20117e6a8b70ff23582 |
| SKILL.md digest | sha256:e19721056b3d0c6a1a69d260a9228ba56fd14648995d6e7b0ecce0af12f80bce |
| Execution profile digest | sha256:c791004ab110afe96ba77f93936be86967a585f2033d3da3a6d7c743b0cacbe4 |
| Publisher identity | Unverified publisher · guoyunfeng |
| Trust tier | CommunityPublished through the registry without publisher verification. This tier is not a code assessment. |
| Attestations |
|
| Source provenance | Not published with this version |
Version history
sha-2934e54a84daContent digest sha256:2934e54a84dafd7500b2be6c5096b5b099f0af61c9a18fdf74b11423586fe14bsha-5423b892fd33Content digest sha256:5423b892fd33df69a3431adad916f5ec273efe76d7808b55fcb59f26bd37a3cfsha-56d5476a2ec3Content digest sha256:56d5476a2ec322fe10f06da82fcd9d2a754e31bc76bfa573664a3dfb1a234580sha-9fcba384a280ViewingContent digest sha256:9fcba384a280f3e539dbf9ca34f5a4396c33df00e00cb20117e6a8b70ff23582