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:13asMANDATE_ISSUE- Handled in
packages/mandates/src/tasks.ts- Design
- 10.1 Types in
projects/agents/docs/design.md
Source documentation: “Delegator → delegate: a new mandate, with the chain above it.”
Payload
export interface IssuePayload {
mandate: Mandate;
chain: Mandate[];
}
Document envelope
Every Trust Task uses this envelope. Replace payload with the structure shown above.
{
"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…"
}
}