Postmortem maker

Read a real incident record at run time — a live web-fetch of an incident thread or an incident/ticket read_projection — reconstruct a source-cited postmortem that refuses invented facts, and execute a sealed outbox delivery only when the evidence settles the cause. Conflicting or insufficient evidence yields unknowns and publishes nothing.

You’re reading version sha-a5a1f95a965c. Go to the current version

Overview

Turn a resolved incident into a postmortem that cites its own evidence, and deliver it through a sealed outbox transport only when the source actually settles the cause. The read -> reason -> publish loop completes in one sealed run, so the receipt shows what was read, what was concluded, and what was or was not delivered.

In the manual

Runner

  • make

Declared by its execution profile. Read the profile

SKILL.md

Postmortem Maker

Turn a resolved incident into a postmortem that cites its own evidence, and deliver it through a sealed outbox transport only when the source actually settles the cause. The read -> reason -> publish loop completes in one sealed run, so the receipt shows what was read, what was concluded, and what was or was not delivered.

Procedure

  1. Read the incident record from a real source at run time. The read-source step resolves incident_source: {kind: "web_fetch", url} fetches the incident thread over HTTPS via web.fetch, {kind: "read_projection", ...} reads an incident/ticket event-stream projection via data.read_projection, and {kind: "inline", fragments} replays supplied fragments — the deterministic path the harness uses. Every fragment keeps a stable id, source, and text.
  2. Digest binds the exact fragment set via data.digest.
  3. The drafting agent separates facts from hypotheses: a summary, an impact statement and scope, an evidence-cited timeline, a root cause with status known, suspected, or unknown, open unknowns, and owned action_items.
  4. Deterministic enforcement checks every timeline entry and any non-unknown root cause: the cited fragment must exist and the quote must appear verbatim in that fragment's text. An invented citation refuses the whole run. Action items must carry an action and an owner.
  5. The verdict separates completeness from honesty. A fully cited postmortem with a supported root cause and no open unknowns is publishable; when postmortem_policy.allow_publish is true it carries a ready send plan for the bundled sealed-outbox transport, which writes the sealed postmortem packet to the policy's outbox_dir under a deterministic compare-and-set name — an executed delivery recorded in the receipt, not an inert proposal. Grounded-but-incomplete seals needs_more_evidence; unsupported claims seal refused; both withhold the send plan and the delivery steps never run, so the run proves the absence.

incident-commander owns running the incident; this skill owns explaining it afterward.

Output

postmortem (runx.postmortem.v2) carries decision (publishable, needs_more_evidence, refused), status, incident_ref, summary, impact, the cited timeline, root_cause, unknowns, action_items, the send_plan (ready or withheld), validation, and the fragments digest. When the sealed-outbox transport executes, publish_result (runx.publish_result.v1) records executed: true, the delivery path, and the digest the send was bound to.

Inputs are incident_ref, incident_source, and postmortem_policy.

Agent task contracts

postmortem-maker-read

Read incident_ref and incident_source from step inputs. For kind: "web_fetch" call web.fetch on the incident thread URL and extract the record text; for kind: "read_projection" call data.read_projection with the supplied stream coordinates; for kind: "inline" return the supplied fragments unchanged. Return source_read with read_kind, fetched_ref (the URL, stream id, or inline:<incident_ref>), and fragments — each fragment carrying a stable id, its source, and the verbatim text. Never paraphrase fragment text; never invent fragments.

postmortem-maker-draft

Read incident_ref and postmortem_policy from step inputs and incident_fragments plus source_digest from context. Return postmortem_draft with summary, impact (statement, scope), timeline entries (each entry, fragment_id, quote), root_cause (status, and for known or suspected a statement, fragment_id, and quote), unknowns, and action_items (each action, owner). Quote fragments verbatim, mark anything the fragments do not support as unknown rather than asserting it, and never invent fragments, quotes, owners, or deadlines.

Published execution profile

The execution profile published with sha-a5a1f95a965c, shown as its exact bytes.

Runner
  • make
Profile digestsha256:3224ea21590148afa054e4896cff4ed01a7670a2d5f019eb3ddcb4fd7f4e5ec7
skill: postmortem-maker
version: 0.2.0
catalog:
  kind: graph
  audience: operator
  visibility: public
  role: canonical
  execution: plan
  completion: runtime_receipt
  approval: none
  category: ops
runners:
  make:
    default: true
    inputs:
      incident_ref:
        type: string
        required: true
        description: Identifier of the resolved incident this postmortem covers.
      incident_source:
        type: json
        required: true
        description: "Where to read the incident record at run time: {kind: web_fetch, url, allowlist?} fetches a real incident thread over HTTPS, {kind: read_projection, data_source_ref, aggregate_id, resource} reads an incident/ticket event-stream projection, or {kind: inline, fragments} replays supplied fragments for deterministic harness runs."
      postmortem_policy:
        type: json
        required: false
        description: "Publish posture: {allow_publish: boolean, outbox_dir: string}. The sealed outbox delivery only runs when the postmortem is publishable and allow_publish is true."
    examples:
      - incident_ref: inc-checkout-2026-08-09
        incident_source:
          kind: web_fetch
          url: https://api.github.com/repos/nltk/nltk/issues/3733
        postmortem_policy:
          allow_publish: true
          outbox_dir: outbox/postmortems
    result_from:
      - record-delivery
      - finalize
    steps:
      - id: read-source
        label: read the incident record from its real source
        agent:
          role: researcher
          task: postmortem-maker-read
        outputs:
          source_read:
            required: false
        inputs:
          incident_ref: $input.incident_ref
          incident_source: $input.incident_source
        artifacts:
          named_emits:
            source_read: source_read
      - id: digest-source
        tool: data.digest
        inputs:
          value: $steps.read-source.source_read.fragments
      - id: draft
        label: separate facts from hypotheses across the source evidence
        agent:
          role: reviewer
          task: postmortem-maker-draft
        outputs:
          postmortem_draft:
            required: false
        inputs:
          incident_ref: $input.incident_ref
          postmortem_policy: $input.postmortem_policy
          incident_fragments: $steps.read-source.source_read.fragments
          source_digest: $steps.digest-source.digest_result.digest
        artifacts:
          named_emits:
            postmortem_draft: postmortem_draft
      - id: finalize
        label: enforce source citations deterministically
        tool:
          module: postmortem-maker.mjs
          export: finalizePostmortem
        inputs:
          incident_ref: $input.incident_ref
          postmortem_policy: $input.postmortem_policy
          incident_fragments: $steps.read-source.source_read.fragments
          postmortem_draft: $steps.draft.postmortem_draft
          fragments_digest: $steps.digest-source.digest_result.digest
        artifacts:
          named_emits:
            postmortem: postmortem
      - id: prepare-delivery
        label: bind the postmortem to its outbox delivery payload
        when:
          equals: ready
          value: $steps.finalize.postmortem.send_plan.status
        tool:
          module: postmortem-maker.mjs
          export: prepareDelivery
        inputs:
          postmortem_policy: $input.postmortem_policy
          postmortem: $steps.finalize.postmortem
        artifacts:
          named_emits:
            delivery_draft: delivery_draft
      - id: deliver
        label: execute the sealed outbox transport
        when:
          equals: ready
          value: $steps.finalize.postmortem.send_plan.status
        tool: fs.write
        inputs:
          path: $steps.prepare-delivery.delivery_draft.path
          contents: $steps.prepare-delivery.delivery_draft.contents
        scopes:
          - fs.write
      - id: record-delivery
        label: seal the executed send plan into the publish result
        when:
          equals: ready
          value: $steps.finalize.postmortem.send_plan.status
        tool:
          module: postmortem-maker.mjs
          export: recordDelivery
        inputs:
          postmortem: $steps.finalize.postmortem
          delivery_draft: $steps.prepare-delivery.delivery_draft
          write_result: $steps.deliver.file_write
        artifacts:
          named_emits:
            publish_result: publish_result

Published package and test evidence.

This exact version passed its recorded harness run: 4 checks passed · 0 failed.

Test result

Harness resultPassed
Tested versionsha-a5a1f95a965c
Recorded result4 checks passed · 0 failed
Result sourceReported by the publisher (runx_registry_publish)
Suiterunx-harness
Test recorded
Test recordOpen the recorded run
Inspect receipt referencessha256:a6962c2d97ead772e8fe3e603ade18b0758e4831956035dce87589ddfed68eb1sha256:43788e8c305c4d204890bffc83d4cd95847caf2eeccd4bf0bf51c657393d7093sha256:b3bee76ea3d1b87c7125347a812460474f3f9f2c152a495d67bfae14a0227a98sha256:5d8481a354bfa448c4d7ccb8f16d9bf8d05268588d6d286e931877d842237477

Package identity

Published revisionsha-a5a1f95a965c
Content digestsha256:a5a1f95a965c7c995f19265e02c316877291e8745c8cddf7fa366358c45c9e6c
SKILL.md digestsha256:53a384340a8dfcdde3d276996be3f2eed2e9aefe1b158c6be4b9f75aeb9e431b
Execution profile digestsha256:3224ea21590148afa054e4896cff4ed01a7670a2d5f019eb3ddcb4fd7f4e5ec7
Publisher identityUnverified publisher · Ilias
Trust tierCommunityPublished through the registry without publisher verification. This tier is not a code assessment.
Attestations
  • Publisher · DeclaredIlias · 17 Oct 2026
Source provenanceNot published with this version

Version history

  1. sha-6320c2a6c45aContent digest sha256:6320c2a6c45a76fcfb0fee908bbf32afb7d7884ccbfe224022328a3c29eef655
  2. sha-8f75ce2abad4Content digest sha256:8f75ce2abad4aaf4d525e5d62acdb81bf52ffe9c4f38065cb945521807b1d849
  3. sha-a5a1f95a965cViewingContent digest sha256:a5a1f95a965c7c995f19265e02c316877291e8745c8cddf7fa366358c45c9e6c
  4. sha-f9c3f7e5897dContent digest sha256:f9c3f7e5897df4a02eae6c196921da48d6053d5df9807671ca6cecf002a1d014