Skip to main content

Synopsis

Reads an execution report (generated by --self-heal or --report), extracts AI repair suggestions, and interactively applies them to the runbook YAML.

Required arguments

Optional arguments

AI model

Advanced

How it works

1

Extract suggestions

AI reads the report and extracts actionable repair suggestions.
2

Review each suggestion

For each suggestion, you can choose to apply, skip, or abort.
3

Generate patches

AI generates YAML patches and shows a diff preview.
4

Confirm and write

After confirmation, the patched runbook is written to disk.

Examples

Basic usage

First, run a self-heal execution to generate a report:
Then apply the repair suggestions:

Environment variables