vault_commit
Stages all pending vault changes and creates a single commit. Use after batch writing or patching to flush edits into one commit and get the new SHA.
Instructions
Stage everything in the vault and create one commit.
Companion to vault_write(commit=False) and
vault_patch(commit=False): callers that opt out of per-write
commits batch many writes and then flush with a single
vault_commit call.
Returns the new commit SHA on success, a clean-tree notice when there is nothing to commit, or a human-readable error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | No | Commit message. Empty defaults to "vault: batch update". This is the only parameter — there is no `project` argument; the commit spans the whole vault working tree. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |