# mandates/approval/request

https://toip.tools/spec/mandates/approval/request/0.1

A delegate asks an approver to allow one action its mandate chain doesn't allow by itself. The request carries the action, its hash, the chain, the decision and, optionally, the delegate's own justification. The receiver checks that the action matches its hash and that the chain verifies for the sender.

- **Sent**: delegate (an agent) → approver (its principal)
- **Kind**: One-way. No response is expected; any answer is a separate message.
- **Envelope**: Signed by the issuer, addressed to one recipient, timestamped, and encrypted in a TSP Direct message. The signature and recipient binding prevent its use as a bearer token.
- **Defined in**: [`packages/mandates/src/tasks.ts:17`](https://github.com/yourbuddyconner/toip-tools/blob/main/packages/mandates/src/tasks.ts#L17) as `APPROVAL_REQUEST`
- **Handled in**: [`packages/mandates/src/tasks.ts`](https://github.com/yourbuddyconner/toip-tools/blob/main/packages/mandates/src/tasks.ts)
- **Design**: [9.3 The exchange](https://github.com/yourbuddyconner/toip-tools/blob/main/projects/agents/docs/design.md#93-the-exchange) in `projects/agents/docs/design.md`

Source documentation: “Delegate → approver.”

## Payload

packages/mandates/src/tasks.ts:31:

```ts
export interface ApprovalRequestPayload {
  request: string;
  action: Action;
  actionHash: string;
  chain: Mandate[];
  decision: Decision;
  /** The delegate's words (a model's, for an agent). Show them as such. */
  justification?: string;
  expiresAt: string;
}
```

## Notes

The answer is a separate one-way mandates/approval/grant or mandates/approval/deny.

## Document envelope

Every Trust Task uses this envelope. Replace `payload` with the structure shown above.

Shape of a document of this type:

```json
{
  "id": "urn:uuid:…",
  "type": "https://toip.tools/spec/mandates/approval/request/0.1",
  "issuer": "did:key:… (the sender)",
  "recipient": "did:key:… (the receiver)",
  "issuedAt": "2026-11-06T18:00:00.000Z",
  "payload": { … },
  "proof": {
    "type": "DataIntegrityProof",
    "cryptosuite": "eddsa-jcs-2022",
    "verificationMethod": "did:key:…#…",
    "proofPurpose": "assertionMethod",
    "proofValue": "z…"
  }
}
```

---

This is the Markdown version of https://toip.tools/spec/mandates/approval/request/0.1/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
