append_note
Append text to a note, creating it if missing, with an atomic write. Verify the note's SHA-256 to block stale appends and refresh its updated date.
Instructions
Append text to a note (created if missing) via an atomic write. Optionally pass expected_sha256 to prevent appending to a changed note. Refreshes the frontmatter updated: date (inserted when a frontmatter block exists without one).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Vault-root-relative note path | |
| text | Yes | Text to append | |
| vault | Yes | Vault name | |
| expected_sha256 | No | SHA-256 from a prior read/write; rejects stale appends |