Repository navigation
5.9.8
A setup run that fails partway now takes back what it wrote.
A failed run leaves nothing behind. 5.9.7's known issue is closed. When the setup writer stops after it has started writing (a file it cannot write, a folder where a file should go, Ctrl-C), it takes back everything that run did: the folders and files it made are removed, the line it added to your AGENTS.md or CLAUDE.md is cut off again, and a --bulk file it wrote over gets its old contents back. It prints one REFUSED line with the path it stopped at and the system's own words, then "nothing left behind", and ends with a non-zero exit (after Ctrl-C, as an interrupt). Fix the cause and run it again; there is nothing to delete by hand.
When it cannot take something back, it says which. Each such path is listed as NOT PUT BACK with what is there now, and the last line counts them. The writer never removes or shortens what the run did not write: a file another program changed during the run is left as it is and listed.
Smaller:
- a stop before the first file now reads "the writer stopped before writing anything", with the error's own words; it no longer says the plan is at fault when it may not be;
- a run started with no output at all (
>&-) writes the world as before; a run whose output fails when the summary is written is taken back, and says so on the error output; - the summary is printed in one piece, after the last file;
- a file that appears at a path the run is about to create refuses the run, where 5.9.7 wrote over it.
Unchanged: a run that succeeds writes the same files and prints the same lines as 5.9.7.
Known: a killed process (or a second Ctrl-C in the instant before the take-back starts or while the refusal prints) leaves the run's files where they are, with no list. A Ctrl-C during the take-back stops it: what was not yet taken back stays, each path listed, and the path it was on is listed as UNKNOWN, to look at. An existing --bulk file that was being given its old contents back at that moment can be left empty. An existing --bulk file is read whole into memory before it is written over.
Install or update: npx skills add OnlyWorlds/toolkit.