Commit document
commit_documentFinalize an editing session by sealing its journal into a receipt, ensuring every change is recorded. If not, commit is refused unless forced, and the override is logged.
Instructions
End a session by sealing its journal into a receipt, but only if the recorded operations account for every change to the document. If they do not, the commit is REFUSED. force overrides a failed gate VERDICT and the override is recorded in the receipt, where verify will surface it; it does not override a ledger that could not be read or replayed at all.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| session_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gate | Yes | ||
| caveat | Yes | ||
| forced | Yes | ||
| notices | Yes | ||
| document | Yes | ||
| operations | Yes | ||
| session_id | Yes | ||
| structural | Yes | ||
| visibility | Yes | ||
| receipt_path | Yes | ||
| gate_failures | Yes | ||
| result_digest | Yes | ||
| baseline_digest | Yes |