Post plugin verb invocation result
Called by the daemon after executing a polled plugin verb invocation. Ordinary local-bridge results keep the existing resume behavior. `rensei.verify.run` is a strict runtime-JWT-only branch (maximum 2 MiB) requiring `X-Rensei-Claim-Acknowledgement-Receipt-Sha256` and `X-Rensei-Result-Attempt: 1|2|3|4`; it settles canonical result bytes and creates or reloads one immutable result-attempt authority before returning its exact bytes, echoed send number, and platform attempt id. It never resumes the workflow. Positive continuation occurs only at acknowledgement confirmation. Duplicate settlements are replay-safe and conflict on changed stable bytes.
AuthorizationBearer <rsk_live_*>Rensei API key presented as Authorization: Bearer rsk_live_. Required API-key scopes are recorded per operation in x-rensei-required-scopes.
X-Rensei-Result-Attempt?integerRequired for the privileged rensei.verify.run branch; daemon-consumed result send number.
1234application/json- body
invocationId*stringresult?unknownSuccess payload (present on success; absent on error).
error?stringError message (present on failure; absent on success). Daemon adapter refusals use <code>: <reason>: <detail>, where code is adapterReceipt.refusal.code. Ordinary local-bridge errors remain free-form. Platform enqueue/poll refusals (adapter_host_retired and adapter_consent_*) are a separate group, not daemon result refusal codes.
adapterReceipt?D10 execution receipt. Required on a success result for an adapter-bound invocation; contractDigest must equal the digest bound at enqueue or the result is refused (409) and the invocation fails closed. Optional on an error-only post, but must match when present. Stored verbatim (max 16 KiB).
Result recorded.
application/json- response
ok*truetrueinvocationId*stringresumed*integerNumber of workflow runs resumed.
curl -X POST 'https://app.rensei.ai/api/daemon/plugin-verbs/result' \ -H 'Content-Type: application/json' \ -d '{ "invocationId": "string"}'{ "ok": true, "invocationId": "string", "resumed": 0}Poll for a pending plugin verb invocation
The daemon polls this endpoint to pick up plugin verb invocations queued by workflow engine steps. Returns the oldest pending invocation for the daemon's org/project scope, atomically marking it as in-flight. Returns `{ invocationId: null }` when the queue is empty or the daemon lost a race. Auth: `Bearer rsk_*` via `getCliOrSessionAuth` OR runtime JWT (`authenticateDaemon`).
Confirm Donmai terminal lease acknowledgement and authorize continuation
Runtime-JWT-only confirmation for a settled `rensei.verify.run` result. Requires `X-Rensei-Confirmation-Attempt: 1|2`, exact `X-Rensei-Result-Attempt-Id`, exact retained settlement/result-response digests, and a canonical Donmai acknowledgement outcome. A `true/1` final-edge result-attempt is status-only recovery and cannot authorize this POST. Applied outcomes may retain `release-pending` with provider release incomplete or observe `released`; permitted rejection outcomes authorize only the action-failure edge. This is the sole positive continuation authority; the result endpoint itself always reports `resumed: 0` for first settlement.