Guides
Draft a plan in the workbench
Draft unreleased_changes, a plan that writes a one-line release note for each commit since the latest release, then save and run it.
Draft the plan
Open the workbench in plan mode
dive workbench planDescribe the goal
Say what the plan should produce and from what:
a plan called unreleased_changes that writes a
one-line release note for each commit since the
latest GitHub release, from its subject and the
files it changedThe drafting architect asks what it can't settle, one question at a time with its guess and its confidence. The workspace shows what it knows so far.
It restates what it'll build for you to confirm, then sketches the plan in the workspace with the model role and design principles it uses: here a map that fetches each commit's changed files in parallel, and one small-model call for all the notes.
Build it
Tell the architect to build. The plan drafter writes down the steps the sketch lists, checks the plan, and puts it in the workspace. The architect then test-runs it and tells you how the test went:
Save
Press Ctrl+S. Dive writes the plan to ./.dive/plans/unreleased_changes.yaml.
Run the plan
dive plan run unreleased_changes{
"release_tag": "v0.21.0",
"release_notes": [
{
"note": "Plans now declare a required finish key, returning the plan's result shape on success and one standard error shape on failure",
"sha": "648d34e",
"short_sha": "648d34e"
},
{
"note": "Workbench agents now work on plans through the same artifact tools as agents and tools, folding 17 workbench tools into 7",
"sha": "cd01c05",
"short_sha": "cd01c05"
}
],
"commits": [ … ]
}