guard_verify
Run a command and record its exit code and output digest as verifiable evidence in a ledger, so you can prove a check actually passed rather than trusting untrusted exit codes or masked failures.
Instructions
Run a command and RECORD the outcome as evidence (id, exit, digest) in
verify_runs.jsonl. shell=True is by design: the command runs verbatim with
the caller's own privileges — this is an evidence ledger, not a sandbox.
Never raises on nonzero exit; failures are recorded and the text says why
and how to re-run. Exit 0 from a pipeline or a failure mask (|| true) is
labelled UNTRUSTED and is not proof. stdin is closed so a command cannot
read the MCP protocol. timeout_s is clamped to [1, 900].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| timeout_s | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |