todo/welcome
https://toip.tools/spec/todo/welcome/0.1
The admin admits a joiner. It sends the list's name, the joiner's membership credential and the current signed roster. The joiner verifies all three and replies with todo/ack. The list's history follows as todo/sync pages.
- Sent
- admin's device joining device
- 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
projects/shared-todo/src/todo/specs.ts:5asWELCOME- Handled in
projects/shared-todo/src/todo/device.ts- Design
- 4.3 Messages in
projects/shared-todo/docs/design.md
Payload
{ listName: string; membership: Credential; roster: RosterDoc }
Types it uses
/**
* The list's signed record of who is in it (design v2 §4.4). Only the list's key signs it,
* every change bumps `version`, and a removal is never undone.
*/
export interface RosterDoc {
type: "todo/roster";
issuer: string;
list: string;
name: string;
version: number;
issuedAt: string;
members: RosterMember[];
proof?: Proof;
}
export interface Credential {
"@context": string[];
id: string;
type: string[];
issuer: string;
validFrom: string;
validUntil?: string;
credentialSubject: { id: string; [k: string]: unknown };
credentialStatus?: { type: "BitstringStatusListEntry"; statusListIndex: number; statusListCredential: string };
proof?: Proof;
}
Document envelope
Every Trust Task uses this envelope. Replace payload with the structure shown above.
{
"id": "urn:uuid:…",
"type": "https://toip.tools/spec/todo/welcome/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…"
}
}