Skip to main content

Behavior

  • Writes tools first, then plans, then agents, to this project’s .dive, to the global config for every project (scope), or to the configured directories.
  • Writes an opened item back to its own file, a built-in to a project override (tools/builtin/<name>.yaml for a tool, an agent or plan file of the same name otherwise), and a pack’s item to the pack’s installed copy. The result lists each file with where it went: file, override, pack or new.
  • Leaves out the nodes named in skip, and opened items that haven’t changed.
  • Needs every node drafted without problems, and a passing test since the network last changed unless untested is true. A save without a passing test asks to save the network untested and reports the files as (untested).
  • In an edit without a sketch, the saved items stay open, so the next change starts from what was saved.

Input

enum<string>
This project’s .dive, or the global config for every project; omit for the configured directoriesAvailable options: project, everywhere
string[]
Node names the user chose not to save
boolean
Save without a passing test, only when the user said not to test it