Action Safety - complete workflow
action_safety_runComplete AI agent action safety workflow ($0.25 over x402 or free-tier quota): DestructGuard evidence, conditional ReviewQueue triage for high or critical risk, an honest decision, signed receipt, and 30-day status record. Triage does not imply human approval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory or execution context | |
| repo | No | Repository or project context | |
| actor | No | Agent or tool requesting the action | |
| payer | No | Optional wallet/account identifier; stored only as a hash | |
| apiKey | No | Free-tier / plan API key (hp_free_… or a pass key). Forwarded as X-API-Key so paid tools serve from your monthly quota with NO x402 wallet. Get a free key (250 calls/mo) at https://hermesplant.com/pricing. | |
| branch | No | Branch or environment context | |
| intent | No | Why the action is being requested | |
| channel | No | Discovery channel or source tag | |
| command | Yes | Shell, SQL, Git, deploy, or infrastructure action to preflight | |
| campaign | No | Campaign tag for downstream telemetry | |
| diffStat | No | Optional git diff --stat or change summary | |
| xPayment | No | Raw X-PAYMENT proof from an x402-compatible wallet/client | |
| actorType | No | Caller type for analytics: agent, human, synthetic, system, or unknown | |
| synthetic | No | Mark this paid retry as an internal test/probe for analytics exclusion | |
| paymentSignature | No | x402 payment proof to forward as PAYMENT-SIGNATURE and X-PAYMENT on retry | |
| paymentIdentifier | No | Optional x402 payment identifier for idempotency/retry correlation |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the upstream storefront call returned a 2xx response | |
| httpStatus | Yes | Upstream HTTP status code | |
| paymentRequired | No | True when the response is an x402 HTTP 402 payment challenge |