# todo/ack

https://toip.tools/spec/todo/ack/0.1

A new member sends the admin a signed acknowledgement credential (TodoListMembershipAcknowledgement) after accepting the welcome. The admin verifies it and records that the member acknowledged.

- **Sent**: new member's device → admin's 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:7`](https://github.com/yourbuddyconner/toip-tools/blob/main/projects/shared-todo/src/todo/specs.ts#L7) as `ACK`
- **Handled in**: [`projects/shared-todo/src/todo/device.ts`](https://github.com/yourbuddyconner/toip-tools/blob/main/projects/shared-todo/src/todo/device.ts)
- **Design**: [4.3 Messages](https://github.com/yourbuddyconner/toip-tools/blob/main/projects/shared-todo/docs/design.md#43-messages) in `projects/shared-todo/docs/design.md`

## Payload

As the handler declares it, in projects/shared-todo/src/todo/device.ts:

```ts
{ acknowledgement: Credential }
```

### Types it uses

packages/trust-core/src/credentials.ts:12:

```ts
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.

Shape of a document of this type:

```json
{
  "id": "urn:uuid:…",
  "type": "https://toip.tools/spec/todo/ack/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/todo/ack/0.1/. An index of the documentation for AI assistants is at https://toip.tools/llms.txt.
