Prerequisites
- A Bolt schedule you can edit.
- A Slack notification channel configured on the schedule (self-healing threads into the failure notification, so the channel must exist).
- A programmable agent defined under
.dinoai/agents/<name>.ymlon the schedule’s git branch.
Steps
1
Enable self-healing on the schedule
In the schedule’s Self-healing section, select an agent to enable it:
- Select a Channel, the Slack channel the agent runs in. It must already be a Slack notification channel on this schedule.
- Select an Agent name, the DinoAI programmable agent that diagnoses and fixes the run. The list comes from
.dinoai/agents/*.ymlon the schedule’s git branch. - Save the schedule.
You stay in control. The agent always opens a PR, it never merges to your default branch. Reviewers approve the fix before it reaches production.
2
Or configure self-healing as code
If you manage schedules as code, add a
self_healing block:When a run fails on a self-healing schedule, Paradime posts a self-healing message into the failure thread, the agent works in-thread, and it ends with a PR link. If self-healing never starts, check that the self-healing channel is also listed as a notification channel on the schedule.
Authoring the DinoAI agent that does the healing (the recipe itself) lives in the Automate with AI agents section, so this guide does not duplicate it.
Next steps
Set up alerts
Shape the failure notifications self-healing threads into.
Debug a failed run
Investigate by hand when a fix needs a human.
Self-healing reference
Every self-healing setting.
DinoAI reference
How the healing agent diagnoses and fixes runs.