The run rewinds itself after the failed checkpoint. Hover a row to rewind it yourself.
Checkpoints an agent run saves down a rail, with the cost of each. A failing one rewinds the run: the rail forks to a new lane and the next checkpoint carries an attempt chip.
Checkpoints appear one by one down the rail. When the run hits a failing test it rewinds itself: the failed row turns Stopped, a fork branches to a new lane and the next checkpoint carries an Attempt 2 chip. Hover a row to rewind it yourself, or focus a row and press Enter; Arrow keys move between rows.
Options for the assembled component.
checkpoints*Checkpoint[]Id, title, status (running/done/failed/stopped), optional icon, files, time, cost, forkOf and attempt.
taskstringTask name in the head, truncates with ellipsis.
titlestringHeader label, defaults to "Checkpoints".
onRewind(checkpoint) => voidCalled when a row is rewound via its Rewind button or Enter.
labelsPartial<CpLabels>Override any UI string; attempt supports the {n} placeholder.
_agent-checkpoints/agent-checkpoints.tsxCard shell: head with task and sum, the SVG rail with live segments and fork curves, rows with marks, meta, Rewind button and keyboard nav.
_agent-checkpoints/checkpoint-model.tsLane assignment, live-set and rail geometry, aria labels and the checkpoints/attempts/cost sum.
_agent-checkpoints/types.tsCheckpoint, CpDraft, CpStatus and the label table.
_agent-checkpoints/use-checkpoints-script.tsPlays the demo loop: checkpoints land, the failed one rewinds onto a fork and the run resets.
_agent-checkpoints/agent-checkpoints.cssAll colors and spacing as tokens on .ac, with a dark theme and reduced-motion handling.
Recreated from the behavior of a reference checkpoint rail. Colors and spacing are the reference values.
The run rewinds itself after the failed checkpoint. Hover a row to rewind it yourself.