e-volv

Observability playbook

PostmortemDrafter

When an incident-labeled issue closes, assembles a blameless postmortem timeline from comments, PRs, commits, and deploys.

When an issue labelled incident is closed, reconstructs the incident timeline from the issue body and comments, linked pull requests, commits, CI runs, and deploys in the window. Drafts a blameless postmortem and posts it as an issue comment for humans to edit. Set the repository on the report step after importing.

Identifier
postmortem-drafter
Version
1.0.0
Steps
3
Triggers
1
  • postmortem
  • incident
  • observability
  • blameless
  • automated

When it runs

Issueissue.closed
Settle delay
15s after the event

Only when all hold

  • issue.labels contains incident
  • actor.username not contains [bot]

The pipeline

The graph below is the one the workflow opens with in the builder — same steps, same layout, drawn on the same canvas. The run playing through it is a simulation; the branches and conditions are real.

  1. 01
    Incident Issue Closedtrigger

    The event that starts the run.

  2. 02
    Draft Blameless Postmortemagent.run

    One agent works the task with its toolkit.

  3. 03
    Publish Postmortem Commentreport.publish

    Posts or updates a deduplicated report comment.

The agent

Postmortem Drafter

Base type
Tech Writer
Temperature
0.25
Max iterations
40
Tools
6

Git provider · 3

  • read_pull_requestRead Pull Request · read
  • list_pull_requestsList Pull Requests · read
  • create_issue_commentCreate Issue Comment · write

CI/CD · 2

  • list_pr_ci_runsList PR CI Runs · read
  • get_ci_run_logsGet CI Run Logs · read

Status · 1

  • update_statusUpdate Status · write