martin_pause
Pause a MartinLoop run with a durable receipt before risky follow-up work. Select by file, loopId, or latest, and add reason and requester for audit.
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 |
|---|---|---|---|
| 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. | |
| 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. |