docs: add draft patch and plan artifact workflow guidance

This commit is contained in:
lda
2026-06-15 05:34:05 +07:00 Verified
parent bee5ead63e
commit 49011464fc
10 changed files with 229 additions and 4 deletions
@@ -70,3 +70,12 @@ Prefer focused helpers over JSON Patch for common edits:
- `set_step_output_map`
Use JSON Patch for structural edits the helpers do not cover.
For larger patches, write a JSON Patch array to a file and pass it with
`--input-file`:
```bash
wf draft patch <workspace_id> --revision <n> --input-file draft-patch.json
```
The patch file must be an RFC 6902 JSON Patch array, not a full draft object.