# mandates/issue

https://toip.tools/spec/mandates/issue/0.1

A delegator sends its delegate a new mandate, with the chain of mandates above it. The receiver checks that the sender issued the mandate and that the whole chain verifies and only narrows. With a status resolver, it checks the chain's status lists too.

- **Sent**: delegator (a principal, or an agent delegating to a sub-agent) → delegate
- **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:13`](https://github.com/yourbuddyconner/toip-tools/blob/main/packages/mandates/src/tasks.ts#L13) as `MANDATE_ISSUE`
- **Handled in**: [`packages/mandates/src/tasks.ts`](https://github.com/yourbuddyconner/toip-tools/blob/main/packages/mandates/src/tasks.ts)
- **Design**: [10.1 Types](https://github.com/yourbuddyconner/toip-tools/blob/main/projects/agents/docs/design.md#101-types) in `projects/agents/docs/design.md`

Source documentation: “Delegator → delegate: a new mandate, with the chain above it.”

## Payload

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

```ts
export interface IssuePayload {
  mandate: Mandate;
  chain: Mandate[];
}
```

## 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/issue/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/issue/0.1/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
