martin_pause
Record a durable pause receipt for a MartinLoop run to temporarily hold work before risky follow-up. Provide a selector (file, loopId, or latest) and optional reason; does not terminate the process.
Instructions
Write a durable pause receipt for one canonical MartinLoop run. Provide exactly one selector: file, loopId, or latest; runsDir changes the run-store root, while reason and requestedBy add audit context. Use for a temporary hold before risky follow-up work. This records a request and does not kill a process; use martin_cancel to abandon work or martin_continue to resume.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Path to one canonical run record or directory. Mutually exclusive with loopId and latest. | |
| latest | No | When true, targets the latest canonical run. Mutually exclusive with file and loopId. | |
| loopId | No | Canonical MartinLoop run identifier. Mutually exclusive with file and latest. | |
| reason | No | Optional non-empty reason recorded in the pause receipt. | |
| runsDir | No | Optional run-store root override used to resolve loopId or latest. | |
| requestedBy | No | Optional human or runtime identity label recorded for audit context. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the control receipt was recorded. | |
| state | Yes | Run control state after this request, including all recorded receipts. | |
| action | Yes | The control action that was recorded. | |
| loopId | Yes | MartinLoop run identifier the control was applied to. | |
| reason | No | Human-readable reason for the control, if provided. | |
| summary | Yes | Human-readable result of the control request. | |
| controlId | Yes | Unique receipt ID for this control action. | |
| requestedAt | Yes | ISO 8601 timestamp when the control was recorded. | |
| requestedBy | No | Identity that requested the control, if provided. | |
| requestedAction | Yes | The control action that was requested. |