AGENT SKILL

revert

Undo edits a run made, by their call ids, together. Each file returns to what it held before them, all or none, and a file that changed since is refused, naming it.

License 许可
Apache-2.0
所属仓库
runxhq/runx
最近更新
2026-11-14
Stars
★ 103
Forks
108

01 前言 Front Matter

name
revert
description
Undo edits a run made, by their call ids, together. Each file returns to what it held before them, all or none, and a file that changed since is refused, naming it.

02 资源文件 1

03 SKILL.md 正文

Revert

Undo the edits a run made: its fs.write, fs.edit and fs.apply_bundle calls, named by their call_id. Every file they changed goes back to what it held before the first of them, in one journaled bundle, so either every file is restored or none is.

An undo is bound to what the edits left. A file that changed after them is refused, naming it, and nothing is restored: read what changed and decide what to keep before undoing again. A file the edits created is deleted; a file they deleted comes back.

This is an ordinary run with its own receipt, so an undo is as governed as the edit it undoes.

04 同仓库更多 Skills