Protocol.Save
protocol.saveValidate and persist the NEXT VERSION of a protocol document (confirm-gated: each call appends a version row; accidental calls clutter the version history). Edits create a new version — the assignment pins the version it runs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | Wire-format protocol document (validate first to iterate). | |
| confirm | No | MUST be true to write. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||