Revert note to exact history
revert_noteRestore a note to a previous saved state by supplying its content hash. Reverts bad writes with exact byte recovery, while keeping the revert reversible and logged.
Instructions
Use this to undo a bad write by restoring exact prior bytes. Restore a note to exact content-addressed history bytes. Pass the current content_hash as expected_hash for CAS. The revert is itself durable, reversible, indexed, and operation-logged.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| to_hash | Yes | ||
| request_id | No | ||
| expected_hash | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| indexed | Yes | ||
| rel_path | No | ||
| replayed | No | ||
| reverted | No | ||
| committed | No | ||
| content_hash | Yes | ||
| operation_id | No |