Skip to main content
A good postmortem asks what the team knew when it made each call, not what it knows now. That’s hard to rebuild from memory. Graphify already keeps part of the record: when a review finishes, a fix is drafted or a pull request merges, it saves a memory with the commit behind it. Memory keeps every version with when it was recorded and when it took effect, so your agent can recall what was known on the day.
Works with: Graphify. Time: about 30 minutes per incident.

What you’ll build

  • An incident record in Memory, linked to the code that broke.
  • A timeline of the pull requests around the incident, from records Graphify saved itself.
  • A recall of what the team knew before the incident, next to what it knows now.
  • A lesson agents recall the next time someone edits that code.

Before you start

  • A Graphify workspace with the affected repository indexed.
  • Pull request reviews on for that repository, so Graphify has been saving review and merge records.
  • A coding agent connected to the Graphify MCP server.

Run the postmortem

1

Record the incident

Open Memory, choose the Repository, switch to Advanced, and select Record an incident. Fill in Incident identifier, such as INC-42 or the affected service, and What should the team know? Status starts as Open.Under More options, set Effective time to when the incident happened, and list the files involved in Related code paths. Select Save record.
2

Pull the pull request history

On the Memories tab, filter Type by Decision, Fix or Status, or browse Pull requests in the entities panel. Pull request memories are titled with the number and title, such as PR #442 · Fix login redirect. Ones that record a review, a verification or a merge are labelled Review result, Verification or Merged.Your agent can read a review’s findings too. review_status with a pr_number returns the gate result, finding counts and the top findings for that pull request.
3

Recall what was known before the incident

Ask your agent to recall as of a moment just before the incident:
Both take an ISO 8601 time with a timezone, and both need an explicit profile.
4

Compare with now

Run the same recall without known_at. The difference is what the team learned since. Anything in the first answer that turned out wrong is a candidate cause. Anything missing from the first answer is knowledge nobody had written down.
5

Plan the fix

In Ask, select Plan a change and describe the fix, adding the File or function you know. Graphify suggests a plan with source links. It won’t edit your code.
6

Close it and save the lesson

Open the incident’s memory, select View evidence, then Update status. Set Status to Closed and write what the team should do differently. Agents now recall the lesson when someone edits those files. See Remember incident lessons.

What a recalled record looks like

Real output from the open-source Graphify-Labs/graphify repository, recalled with known_at and valid_at set to 1 November 2026, trimmed:
recall
recorded_at is when Graphify learned it. valid_from is when it took effect. The evidence names the commit, so you can open exactly the code the review saw.

Keep it blameless

Each memory is attributed to the person who saved or changed it. That tells you where a fact came from, not who caused an incident. A remembered fact is evidence, not proof: follow its anchor to the code before you draw a conclusion.

Troubleshooting

Next steps

Remember incident lessons

Save the lesson so agents recall it before they edit that code.

Keep a decision log

Record the decision that came out of the postmortem.