Skip to content
TrustMeshVyantraa

Guides

Approval workflows

Approver roles, expiry, separation of duties and re-evaluation.

Lifecycle

pending → approved | rejected | expired

  • A request that matches a require_approval rule (or is escalated by risk) is stored as pending_approval. The tool is not executed.
  • Pending requests past expires_at become expired and are treated as denied.

Who can decide

Rule's approver_roleRoles that can decide
security_analystSecurity Analyst, Administrator, Owner
adminAdministrator, Owner
ownerOwner

Only signed-in people can decide (POST /v1/approvals/{id}/decision). API keys and agent credentials receive 403 HUMAN_ONLY. With separation of duties, the person who submitted the request cannot approve it. Rejections require a comment.

Re-evaluation on approval

On approval TrustMesh re-checks that the agent and tool are still active and re-evaluates current policy. If the agent was quarantined or policy now denies, the final decision is DENY with APPROVAL_SUPERSEDED_BY_POLICY. An approval never overrides a deny or quarantine.

Demo and sandbox

In demo workspaces decisions are recorded as simulated approvals by a demo user. In the public sandbox the approver is fully simulated and labelled as such.