Skip to content

Approval Request

approval_request is emitted when a policy decision requires human, automated, or delegated approval. It is not a UI component. It is the contract a UI can render and a runtime can wait on.

Required fields

FieldMeaning
approval_idStable approval id.
decision_idDecision that caused the request.
requested_actionAction summary and structured parameters.
required_approverUser, role, group, service, peer, or policy authority.
promptHuman-readable explanation and risk summary.
choicesExplicit possible responses.
default_actionSafe default if the request expires.
statuspending, approved, denied, modified, expired, or escalated.
expires_atExpiry timestamp.

Choice design

Prefer explicit choices:

  • approve_once
  • approve_for_scope
  • deny
  • modify
  • escalate
  • request_more_info

High-risk approvals should include the exact command, tool, destination, resource, credential class, redaction state, and irreversible effect.

Response facts

An approval response should preserve who responded, when, which choice was selected, what constraints changed, and which grant or waiver resulted. Do not overwrite the original approval request.

Draft standard for portable agent policy decisions, approvals, permissions, risk, and audit traces.