Docs
Incident replay
Would an AI coding agent repeat your past incidents, and do your lessons stop it? Codela replays each one to find out. Find it under Replay on your dashboard.
Which incidents
Any lesson Codela learned from a change in this repo: after a deploy, from a reverted change or production fix in your Git history, or from a bug your CI caught. Starter lessons can't be replayed: they came from other teams' code. A repo needs at least 2 incidents. You pick up to 4 per replay.
How each one is replayed
- Codela finds the change that caused it: the deployed commit, the reverted commit, the failing commit, or, for a production fix, the earlier commit that wrote the lines the fix changed.
- A model writes the request as your developer would have asked it the day before, limited to the part that went wrong and with no hint of the problem. A second check rejects requests that steer the agent towards the mistake or away from it (one rewrite allowed). Incidents that can't be redone as one request are left out, and the results say why.
- Your code at the commit just before that change is copied from GitHub. An AI coding agent builds the request twice: once with no Codela files, once with your lessons as they sit in your repo (
.codela/lessons.md, its detail files and the CLAUDE.md line). The agent can read, search and edit files. It can't run commands, tests or anything else. - A separate model answers one yes/no question about each run ("does the change repeat the mistake?"), from its code alone, with every mention of Codela or lessons removed. It answers twice, a third time if the two disagree. Results: Repeated, Partly (one part of the change repeats it), Avoided, or Didn't build it (not counted).
Limits
- Every Pro workspace gets its first replay included. Teams of 3 or more people then get one every 30 days.
- About 20 minutes for 4 incidents. You can leave the page; Codela emails the person who started it when it's done.
- Each replay has a spending cap. If it's reached, the incidents not yet replayed are marked as such. Replays don't use your workspace's daily budget for lessons and pull request checks.
- A replay stopped by an error doesn't count towards your limits.
What it never does
- Nothing is written to your repo, and no pull request is opened. The copy is deleted when each incident is done.
- Your code is never run, built or tested.
- Results are visible only to your workspace.