@openvtc/trust-tasks 0.17.11 → 0.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/CHANGELOG.md +108 -0
  2. package/dist/_shared/components.d.ts +34 -2
  3. package/dist/_shared/components.d.ts.map +1 -1
  4. package/dist/index.d.ts +2 -0
  5. package/dist/index.d.ts.map +1 -1
  6. package/dist/index.js +2 -0
  7. package/dist/index.js.map +1 -1
  8. package/dist/rooms/_shared/0.1/room.d.ts +1 -1
  9. package/dist/rooms/_shared/0.1/room.d.ts.map +1 -1
  10. package/dist/rooms/epoch/chain/0.1/payload.d.ts +4 -4
  11. package/dist/rooms/epoch/chain/0.1/payload.js +2 -2
  12. package/dist/rooms/epoch/chain/0.1/payload.js.map +1 -1
  13. package/dist/rooms/epoch/mint/0.1/payload.d.ts +4 -4
  14. package/dist/rooms/epoch/mint/0.1/payload.js +2 -2
  15. package/dist/rooms/epoch/mint/0.1/payload.js.map +1 -1
  16. package/dist/rooms/keys/present/0.2/payload.d.ts +378 -0
  17. package/dist/rooms/keys/present/0.2/payload.d.ts.map +1 -0
  18. package/dist/rooms/keys/present/0.2/payload.js +212 -0
  19. package/dist/rooms/keys/present/0.2/payload.js.map +1 -0
  20. package/dist/rooms/owner/claim/0.1/payload.d.ts +4 -4
  21. package/dist/rooms/owner/claim/0.1/payload.js +2 -2
  22. package/dist/rooms/owner/claim/0.1/payload.js.map +1 -1
  23. package/dist/rooms/owner/issue-authority/0.2/payload.d.ts +315 -0
  24. package/dist/rooms/owner/issue-authority/0.2/payload.d.ts.map +1 -0
  25. package/dist/rooms/owner/issue-authority/0.2/payload.js +174 -0
  26. package/dist/rooms/owner/issue-authority/0.2/payload.js.map +1 -0
  27. package/dist/rooms/owner/transfer/0.1/payload.d.ts +4 -4
  28. package/dist/rooms/owner/transfer/0.1/payload.js +2 -2
  29. package/dist/rooms/owner/transfer/0.1/payload.js.map +1 -1
  30. package/dist/rooms/records/curate/0.1/payload.d.ts +4 -4
  31. package/dist/rooms/records/curate/0.1/payload.js +2 -2
  32. package/dist/rooms/records/curate/0.1/payload.js.map +1 -1
  33. package/dist/rooms/records/get/0.1/payload.d.ts +241 -27
  34. package/dist/rooms/records/get/0.1/payload.d.ts.map +1 -1
  35. package/dist/rooms/records/get/0.1/payload.js +128 -12
  36. package/dist/rooms/records/get/0.1/payload.js.map +1 -1
  37. package/dist/rooms/records/list/0.1/payload.d.ts +8 -8
  38. package/dist/rooms/records/list/0.1/payload.js +4 -4
  39. package/dist/rooms/records/list/0.1/payload.js.map +1 -1
  40. package/dist/rooms/records/put/0.1/payload.d.ts +4 -4
  41. package/dist/rooms/records/put/0.1/payload.js +2 -2
  42. package/dist/rooms/records/put/0.1/payload.js.map +1 -1
  43. package/package.json +1 -1
  44. package/src/_shared/components.ts +34 -2
  45. package/src/index.ts +2 -0
  46. package/src/rooms/_shared/0.1/room.ts +1 -1
  47. package/src/rooms/epoch/chain/0.1/payload.ts +2 -2
  48. package/src/rooms/epoch/mint/0.1/payload.ts +2 -2
  49. package/src/rooms/keys/present/0.2/payload.ts +261 -0
  50. package/src/rooms/owner/claim/0.1/payload.ts +2 -2
  51. package/src/rooms/owner/issue-authority/0.2/payload.ts +234 -0
  52. package/src/rooms/owner/transfer/0.1/payload.ts +2 -2
  53. package/src/rooms/records/curate/0.1/payload.ts +2 -2
  54. package/src/rooms/records/get/0.1/payload.ts +157 -15
  55. package/src/rooms/records/list/0.1/payload.ts +4 -4
  56. package/src/rooms/records/put/0.1/payload.ts +2 -2
@@ -0,0 +1,234 @@
1
+ /**
2
+ * Generated by scripts/build-ts-bindings.mjs — DO NOT EDIT BY HAND.
3
+ * Source: specs/rooms/owner/issue-authority/0.2/payload.schema.json
4
+ */
5
+
6
+ import type { Ext } from "../../../../_shared/components.js";
7
+
8
+
9
+ export interface RoomsOwnerIssueAuthorityPayload {
10
+ /**
11
+ * The room whose identity issues this credential. The recipient MUST hold a signing key for it — it is signing AS the room, not as itself.
12
+ */
13
+ roomId: string;
14
+ /**
15
+ * Which held key signs. Named explicitly rather than looked up from `roomId`, because nothing maps a DID to a key it was minted with and inventing that mapping would add a lifecycle to get wrong. A key that is not the room's produces a credential that fails to verify against the room's DID document — loud, and at the first use rather than later.
16
+ */
17
+ signingKeyId: string;
18
+ /**
19
+ * Ecosystem-defined extension members per SPEC.md §4.5.1.
20
+ */
21
+ ext?: Ext;
22
+ /**
23
+ * The party this grants to. A chain ROOT: the room is the governing party, so this is the grant everything else descends from. A holder narrows their own grant with attenuation instead, which needs no issuer.
24
+ */
25
+ subject: string;
26
+ /**
27
+ * What the subject may do. MUST NOT be empty — an empty list confers nothing rather than everything, and a schema that allowed it would make the more dangerous reading available to a careless consumer. `curate` is not implied by `write`: pinning, deprecating and retracting are judgements over shared knowledge, not writes.
28
+ *
29
+ * @minItems 1
30
+ */
31
+ actions: ["read" | "write" | "curate" | "admin", ...("read" | "write" | "curate" | "admin")[]];
32
+ /**
33
+ * When the grant lapses. REQUIRED, and not merely recommended: nothing about the subject's current standing is consulted when an authority credential is verified, so a grant that never expires is authority nobody can withdraw by waiting. A verifier refuses a chain link carrying none, so a grant minted without one could not have been used. Changing what a party may do reissues this one small credential and leaves the membership edge alone, which is why the two are separate credentials.
34
+ */
35
+ validUntil: string;
36
+ }
37
+ /**
38
+ * Success response to rooms/owner/issue-authority. Type https://trusttasks.org/spec/rooms/owner/issue-authority/0.2#response. The signed VAC, a chain root at the room's scope.
39
+ */
40
+ export interface RoomsOwnerIssueAuthorityResponsePayload {
41
+ /**
42
+ * The signed Verifiable Authority Credential, serialised.
43
+ */
44
+ credential: string;
45
+ /**
46
+ * Its `id`.
47
+ */
48
+ credentialId: string;
49
+ ext?: Ext;
50
+ }
51
+
52
+ /** Shared definitions this specification references, re-exported under the names it used to declare them with. */
53
+ export type { Ext };
54
+
55
+ /** Trust Task type URI. */
56
+ export const TYPE_URI = "https://trusttasks.org/spec/rooms/owner/issue-authority/0.2" as const;
57
+
58
+ /** Stable alias for this specification's request payload shape. */
59
+ export type Payload = RoomsOwnerIssueAuthorityPayload;
60
+
61
+ /** Trust Task response type URI (request type URI + "#response"). */
62
+ export const RESPONSE_TYPE_URI = "https://trusttasks.org/spec/rooms/owner/issue-authority/0.2#response" as const;
63
+
64
+ /** Stable alias for this specification's success-response payload shape. */
65
+ export type Response = RoomsOwnerIssueAuthorityResponsePayload;
66
+
67
+ /**
68
+ * This specification's payload schema, as a value.
69
+ *
70
+ * SPEC.md §7.2 item 2 is performed against this. It is shipped as data
71
+ * rather than only as a `.json` file because TypeScript types are erased
72
+ * at runtime: without a schema a consumer has nothing to validate, and
73
+ * every REQUIRED payload member is optional in practice. Cross-file
74
+ * `$ref`s are already inlined, so it needs no resolver.
75
+ */
76
+ export const PAYLOAD_SCHEMA = {
77
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
78
+ "$id": "https://trusttasks.org/spec/rooms/owner/issue-authority/0.2",
79
+ "title": "Rooms Owner Issue Authority — payload",
80
+ "type": "object",
81
+ "additionalProperties": false,
82
+ "required": [
83
+ "roomId",
84
+ "signingKeyId",
85
+ "subject",
86
+ "actions",
87
+ "validUntil"
88
+ ],
89
+ "properties": {
90
+ "roomId": {
91
+ "type": "string",
92
+ "description": "The room whose identity issues this credential. The recipient MUST hold a signing key for it — it is signing AS the room, not as itself."
93
+ },
94
+ "signingKeyId": {
95
+ "type": "string",
96
+ "maxLength": 256,
97
+ "description": "Which held key signs. Named explicitly rather than looked up from `roomId`, because nothing maps a DID to a key it was minted with and inventing that mapping would add a lifecycle to get wrong. A key that is not the room's produces a credential that fails to verify against the room's DID document — loud, and at the first use rather than later."
98
+ },
99
+ "ext": {
100
+ "$ref": "#/$defs/Ext",
101
+ "description": "Ecosystem-defined extension members per SPEC.md §4.5.1."
102
+ },
103
+ "subject": {
104
+ "type": "string",
105
+ "description": "The party this grants to. A chain ROOT: the room is the governing party, so this is the grant everything else descends from. A holder narrows their own grant with attenuation instead, which needs no issuer."
106
+ },
107
+ "actions": {
108
+ "type": "array",
109
+ "minItems": 1,
110
+ "items": {
111
+ "type": "string",
112
+ "enum": [
113
+ "read",
114
+ "write",
115
+ "curate",
116
+ "admin"
117
+ ]
118
+ },
119
+ "description": "What the subject may do. MUST NOT be empty — an empty list confers nothing rather than everything, and a schema that allowed it would make the more dangerous reading available to a careless consumer. `curate` is not implied by `write`: pinning, deprecating and retracting are judgements over shared knowledge, not writes."
120
+ },
121
+ "validUntil": {
122
+ "type": "string",
123
+ "format": "date-time",
124
+ "description": "When the grant lapses. REQUIRED, and not merely recommended: nothing about the subject's current standing is consulted when an authority credential is verified, so a grant that never expires is authority nobody can withdraw by waiting. A verifier refuses a chain link carrying none, so a grant minted without one could not have been used. Changing what a party may do reissues this one small credential and leaves the membership edge alone, which is why the two are separate credentials."
125
+ }
126
+ },
127
+ "$defs": {
128
+ "Response": {
129
+ "$anchor": "response",
130
+ "title": "Rooms Owner Issue Authority — response payload",
131
+ "description": "Success response to rooms/owner/issue-authority. Type https://trusttasks.org/spec/rooms/owner/issue-authority/0.2#response. The signed VAC, a chain root at the room's scope.",
132
+ "type": "object",
133
+ "additionalProperties": false,
134
+ "required": [
135
+ "credential",
136
+ "credentialId"
137
+ ],
138
+ "properties": {
139
+ "credential": {
140
+ "type": "string",
141
+ "description": "The signed Verifiable Authority Credential, serialised."
142
+ },
143
+ "credentialId": {
144
+ "type": "string",
145
+ "description": "Its `id`."
146
+ },
147
+ "ext": {
148
+ "$ref": "#/$defs/Ext"
149
+ }
150
+ }
151
+ },
152
+ "Ext": {
153
+ "title": "Ext",
154
+ "description": "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.",
155
+ "type": "object",
156
+ "minProperties": 1,
157
+ "additionalProperties": true,
158
+ "propertyNames": {
159
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
160
+ }
161
+ }
162
+ }
163
+ } as const;
164
+
165
+ /** As {@link PAYLOAD_SCHEMA}, for the success-response variant. */
166
+ export const RESPONSE_PAYLOAD_SCHEMA = {
167
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
168
+ "$ref": "#/$defs/Response",
169
+ "$defs": {
170
+ "Response": {
171
+ "$anchor": "response",
172
+ "title": "Rooms Owner Issue Authority — response payload",
173
+ "description": "Success response to rooms/owner/issue-authority. Type https://trusttasks.org/spec/rooms/owner/issue-authority/0.2#response. The signed VAC, a chain root at the room's scope.",
174
+ "type": "object",
175
+ "additionalProperties": false,
176
+ "required": [
177
+ "credential",
178
+ "credentialId"
179
+ ],
180
+ "properties": {
181
+ "credential": {
182
+ "type": "string",
183
+ "description": "The signed Verifiable Authority Credential, serialised."
184
+ },
185
+ "credentialId": {
186
+ "type": "string",
187
+ "description": "Its `id`."
188
+ },
189
+ "ext": {
190
+ "$ref": "#/$defs/Ext"
191
+ }
192
+ }
193
+ },
194
+ "Ext": {
195
+ "title": "Ext",
196
+ "description": "Vendor-namespaced extension object per SPEC.md §4.5.1. Each immediate key MUST be a reverse-DNS namespace; structure under each namespace is opaque to the framework.",
197
+ "type": "object",
198
+ "minProperties": 1,
199
+ "additionalProperties": true,
200
+ "propertyNames": {
201
+ "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
202
+ }
203
+ }
204
+ }
205
+ } as const;
206
+
207
+ /**
208
+ * SPEC.md §7.2 policy for the request variant, from this specification's
209
+ * front matter. Pass to `consumeInbound` — items 5b, 7 and 8 are
210
+ * per-specification and cannot be derived from the document alone, and
211
+ * item 2 needs the schema this carries.
212
+ */
213
+ export const SPEC = {
214
+ typeUri: TYPE_URI,
215
+ isBearer: false,
216
+ isProofRequired: true,
217
+ isRecipientRequired: true,
218
+ isIssuedAtRequired: true,
219
+ payloadSchema: PAYLOAD_SCHEMA,
220
+ } as const;
221
+
222
+ /**
223
+ * SPEC.md §7.2 policy for the success-response variant. `isRecipientRequired`
224
+ * tracks the *issuer* party's requirement because a response swaps the
225
+ * parties (§7.3 item 5).
226
+ */
227
+ export const RESPONSE_SPEC = {
228
+ typeUri: RESPONSE_TYPE_URI,
229
+ isBearer: false,
230
+ isProofRequired: true,
231
+ isRecipientRequired: true,
232
+ isIssuedAtRequired: true,
233
+ payloadSchema: RESPONSE_PAYLOAD_SCHEMA,
234
+ } as const;
@@ -144,7 +144,7 @@ export const PAYLOAD_SCHEMA = {
144
144
  "membership",
145
145
  "authority"
146
146
  ],
147
- "description": "What a party presents to act on a room. Carries the whole authority chain: a host MUST NOT dereference an authority credential's `parent` to fetch a link it was not given. Resolving over the network would make verification depend on availability, turn every identifier into a request the host can be induced to make against an address the holder chooses, and signal credential use to whoever hosts the identifier.",
147
+ "description": "What a party presents to act on a room. Carries the whole authority chain: a host MUST NOT dereference an authority credential's `parent` to fetch a link it was not given. Resolving over the network would make verification depend on availability, turn every identifier into a request the host can be induced to make against an address the holder chooses, and signal credential use to whoever hosts the identifier. A host MUST bind the presenter to the chain's leaf. A chain that verifies is evidence that authority was conferred on somebody; it is not evidence that the party presenting it is that somebody. The leaf's subject MUST equal the party the host authenticated for this request — an identity the transport established or a document `proof` proved, never one named in a payload. A host that omits this check authorizes every captured presentation, and the omission is silent, because the chain still verifies.",
148
148
  "properties": {
149
149
  "membership": {
150
150
  "type": "string",
@@ -214,7 +214,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
214
214
  "membership",
215
215
  "authority"
216
216
  ],
217
- "description": "What a party presents to act on a room. Carries the whole authority chain: a host MUST NOT dereference an authority credential's `parent` to fetch a link it was not given. Resolving over the network would make verification depend on availability, turn every identifier into a request the host can be induced to make against an address the holder chooses, and signal credential use to whoever hosts the identifier.",
217
+ "description": "What a party presents to act on a room. Carries the whole authority chain: a host MUST NOT dereference an authority credential's `parent` to fetch a link it was not given. Resolving over the network would make verification depend on availability, turn every identifier into a request the host can be induced to make against an address the holder chooses, and signal credential use to whoever hosts the identifier. A host MUST bind the presenter to the chain's leaf. A chain that verifies is evidence that authority was conferred on somebody; it is not evidence that the party presenting it is that somebody. The leaf's subject MUST equal the party the host authenticated for this request — an identity the transport established or a document `proof` proved, never one named in a payload. A host that omits this check authorizes every captured presentation, and the omission is silent, because the chain still verifies.",
218
218
  "properties": {
219
219
  "membership": {
220
220
  "type": "string",
@@ -217,7 +217,7 @@ export const PAYLOAD_SCHEMA = {
217
217
  "membership",
218
218
  "authority"
219
219
  ],
220
- "description": "What a party presents to act on a room. Carries the whole authority chain: a host MUST NOT dereference an authority credential's `parent` to fetch a link it was not given. Resolving over the network would make verification depend on availability, turn every identifier into a request the host can be induced to make against an address the holder chooses, and signal credential use to whoever hosts the identifier.",
220
+ "description": "What a party presents to act on a room. Carries the whole authority chain: a host MUST NOT dereference an authority credential's `parent` to fetch a link it was not given. Resolving over the network would make verification depend on availability, turn every identifier into a request the host can be induced to make against an address the holder chooses, and signal credential use to whoever hosts the identifier. A host MUST bind the presenter to the chain's leaf. A chain that verifies is evidence that authority was conferred on somebody; it is not evidence that the party presenting it is that somebody. The leaf's subject MUST equal the party the host authenticated for this request — an identity the transport established or a document `proof` proved, never one named in a payload. A host that omits this check authorizes every captured presentation, and the omission is silent, because the chain still verifies.",
221
221
  "properties": {
222
222
  "membership": {
223
223
  "type": "string",
@@ -303,7 +303,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
303
303
  "membership",
304
304
  "authority"
305
305
  ],
306
- "description": "What a party presents to act on a room. Carries the whole authority chain: a host MUST NOT dereference an authority credential's `parent` to fetch a link it was not given. Resolving over the network would make verification depend on availability, turn every identifier into a request the host can be induced to make against an address the holder chooses, and signal credential use to whoever hosts the identifier.",
306
+ "description": "What a party presents to act on a room. Carries the whole authority chain: a host MUST NOT dereference an authority credential's `parent` to fetch a link it was not given. Resolving over the network would make verification depend on availability, turn every identifier into a request the host can be induced to make against an address the holder chooses, and signal credential use to whoever hosts the identifier. A host MUST bind the presenter to the chain's leaf. A chain that verifies is evidence that authority was conferred on somebody; it is not evidence that the party presenting it is that somebody. The leaf's subject MUST equal the party the host authenticated for this request — an identity the transport established or a document `proof` proved, never one named in a payload. A host that omits this check authorizes every captured presentation, and the omission is silent, because the chain still verifies.",
307
307
  "properties": {
308
308
  "membership": {
309
309
  "type": "string",
@@ -3,7 +3,7 @@
3
3
  * Source: specs/rooms/records/get/0.1/payload.schema.json
4
4
  */
5
5
 
6
- import type { AuthorityPresentation, DataCommitment, DigestMultibase, Ext, SealedRecord } from "../../../../_shared/components.js";
6
+ import type { AuthorityPresentation, DataCommitment, DigestMultibase, Ext, RecordTrace, SealedRecord } from "../../../../_shared/components.js";
7
7
 
8
8
 
9
9
  export interface RoomsRecordsGetPayload {
@@ -30,6 +30,24 @@ export interface RoomsRecordsGetPayload {
30
30
  export interface RoomsRecordsGetResponsePayload {
31
31
  key: string;
32
32
  version: number;
33
+ /**
34
+ * Curation state. Committed. Mirrors `CommittedRecord`, which fixes the leaf preimage; see the note on `trace`. A host that serves a `trace` MUST serve this, because a reader cannot reach the leaf without it — and a host that could omit it could retract a record without touching a byte of it.
35
+ */
36
+ status?: "active" | "deprecated" | "retracted";
37
+ /**
38
+ * RFC 3339. Committed. Mirrors `CommittedRecord`, which fixes the leaf preimage; see the note on `trace`. Required alongside a `trace` for the same reason `status` is.
39
+ */
40
+ updatedAt?: string;
41
+ /**
42
+ * Present **only** when the record is pinned; absent means it is not. Committed. Mirrors `CommittedRecord`, which fixes the leaf preimage; see the note on `trace`. `false` is not a permitted spelling: absent is how false is written in the preimage, and two spellings would give one record two roots.
43
+ */
44
+ pinned?: true;
45
+ /**
46
+ * The member who wrote it. Present on `open` and `attributed`, absent on `private` where the author is sealed with the body. Committed. Mirrors `CommittedRecord`, which fixes the leaf preimage; see the note on `trace`.
47
+ *
48
+ * This member is new to this response and is a **disclosure**: `rooms/records/list` already returns it on those tiers, so it tells a reader nothing the family withheld, but a host serving a single record now names its writer where before it did not. It is not conditional on `trace` — a reader wanting the record without the writer's identifier is asking for a different room tier, not a different response.
49
+ */
50
+ author?: string;
33
51
  /**
34
52
  * Present on an `attributed` or `private` room.
35
53
  */
@@ -41,14 +59,22 @@ export interface RoomsRecordsGetResponsePayload {
41
59
  [k: string]: unknown | undefined;
42
60
  };
43
61
  /**
44
- * The room's data commitment at the moment this record was read. Carried on a single-record read as well as a listing so a reader can tell whether the room moved between two reads — and, once traces are specified, so this record can be proved to sit inside this root.
62
+ * The room's data commitment at the moment this record was read. Carried on a single-record read as well as a listing so a reader can tell whether the room moved between two reads — and so a `trace` returned beside it has a root to reach.
45
63
  */
46
64
  dataCommitment?: DataCommitment;
65
+ /**
66
+ * The path from this record's leaf to `dataCommitment`, proving the record sits under the root the host just asserted.
67
+ *
68
+ * **The leaf preimage is this response payload with `dataCommitment`, `trace` and `ext` removed** — which is exactly `CommittedRecord`, and a reader MAY validate the object it assembles against that definition before hashing it. Nothing is reconstructed and no member is carried twice; the reader deletes three members from what it already holds.
69
+ *
70
+ * OPTIONAL, on the same reasoning as `dataCommitment`: a host that maintains no tree must not invent one. A host that serves this MUST have computed it and `dataCommitment` from the same snapshot, and MUST serve every committed member it holds — an omitted `status`, `updatedAt`, `pinned` or `author` yields a leaf the reader cannot reach, so the failure is a refused trace rather than a false one.
71
+ */
72
+ trace?: RecordTrace;
47
73
  ext?: Ext;
48
74
  }
49
75
 
50
76
  /** Shared definitions this specification references, re-exported under the names it used to declare them with. */
51
- export type { AuthorityPresentation, DataCommitment, DigestMultibase, Ext, SealedRecord };
77
+ export type { AuthorityPresentation, DataCommitment, DigestMultibase, Ext, RecordTrace, SealedRecord };
52
78
 
53
79
  /** Trust Task type URI. */
54
80
  export const TYPE_URI = "https://trusttasks.org/spec/rooms/records/get/0.1" as const;
@@ -120,6 +146,29 @@ export const PAYLOAD_SCHEMA = {
120
146
  "type": "integer",
121
147
  "minimum": 1
122
148
  },
149
+ "status": {
150
+ "type": "string",
151
+ "enum": [
152
+ "active",
153
+ "deprecated",
154
+ "retracted"
155
+ ],
156
+ "description": "Curation state. Committed. Mirrors `CommittedRecord`, which fixes the leaf preimage; see the note on `trace`. A host that serves a `trace` MUST serve this, because a reader cannot reach the leaf without it — and a host that could omit it could retract a record without touching a byte of it."
157
+ },
158
+ "updatedAt": {
159
+ "type": "string",
160
+ "format": "date-time",
161
+ "description": "RFC 3339. Committed. Mirrors `CommittedRecord`, which fixes the leaf preimage; see the note on `trace`. Required alongside a `trace` for the same reason `status` is."
162
+ },
163
+ "pinned": {
164
+ "type": "boolean",
165
+ "const": true,
166
+ "description": "Present **only** when the record is pinned; absent means it is not. Committed. Mirrors `CommittedRecord`, which fixes the leaf preimage; see the note on `trace`. `false` is not a permitted spelling: absent is how false is written in the preimage, and two spellings would give one record two roots."
167
+ },
168
+ "author": {
169
+ "type": "string",
170
+ "description": "The member who wrote it. Present on `open` and `attributed`, absent on `private` where the author is sealed with the body. Committed. Mirrors `CommittedRecord`, which fixes the leaf preimage; see the note on `trace`.\n\nThis member is new to this response and is a **disclosure**: `rooms/records/list` already returns it on those tiers, so it tells a reader nothing the family withheld, but a host serving a single record now names its writer where before it did not. It is not conditional on `trace` — a reader wanting the record without the writer's identifier is asking for a different room tier, not a different response."
171
+ },
123
172
  "sealed": {
124
173
  "$ref": "#/$defs/SealedRecord",
125
174
  "description": "Present on an `attributed` or `private` room."
@@ -131,11 +180,22 @@ export const PAYLOAD_SCHEMA = {
131
180
  },
132
181
  "dataCommitment": {
133
182
  "$ref": "#/$defs/DataCommitment",
134
- "description": "The room's data commitment at the moment this record was read. Carried on a single-record read as well as a listing so a reader can tell whether the room moved between two reads — and, once traces are specified, so this record can be proved to sit inside this root."
183
+ "description": "The room's data commitment at the moment this record was read. Carried on a single-record read as well as a listing so a reader can tell whether the room moved between two reads — and so a `trace` returned beside it has a root to reach."
184
+ },
185
+ "trace": {
186
+ "$ref": "#/$defs/RecordTrace",
187
+ "description": "The path from this record's leaf to `dataCommitment`, proving the record sits under the root the host just asserted.\n\n**The leaf preimage is this response payload with `dataCommitment`, `trace` and `ext` removed** — which is exactly `CommittedRecord`, and a reader MAY validate the object it assembles against that definition before hashing it. Nothing is reconstructed and no member is carried twice; the reader deletes three members from what it already holds.\n\nOPTIONAL, on the same reasoning as `dataCommitment`: a host that maintains no tree must not invent one. A host that serves this MUST have computed it and `dataCommitment` from the same snapshot, and MUST serve every committed member it holds — an omitted `status`, `updatedAt`, `pinned` or `author` yields a leaf the reader cannot reach, so the failure is a refused trace rather than a false one."
135
188
  },
136
189
  "ext": {
137
190
  "$ref": "#/$defs/Ext"
138
191
  }
192
+ },
193
+ "dependentRequired": {
194
+ "trace": [
195
+ "dataCommitment",
196
+ "status",
197
+ "updatedAt"
198
+ ]
139
199
  }
140
200
  },
141
201
  "Ext": {
@@ -148,10 +208,29 @@ export const PAYLOAD_SCHEMA = {
148
208
  "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
149
209
  }
150
210
  },
151
- "DataCommitment": {
152
- "title": "DataCommitment",
153
- "$ref": "#/$defs/DigestMultibase",
154
- "description": "The root of the room's record tree — a host's commitment to *which records the room holds*, as distinct from what any one of them says.\n\nA room's records are already signed and room-bound, so a host cannot forge, alter or relocate one. What it can do for free is stay silent: a listing that omits a record is indistinguishable from a room that never held it. This value is what makes that omission detectable, so it is only worth anything when the reader can compare it against a copy the host did not choose for them — one it gave another member, one it gave the same member earlier, or the witnessed anchor. A commitment read once, in isolation, proves nothing; a host that shows two members two different roots has been caught.\n\n**The construction is normative**, because two hosts that compute different roots over the same room make every comparison meaningless:\n 1. Take every record the room holds — including tombstones, which are records — and order them by `key` using unsigned byte order.\n 2. Leaf: `SHA-256(0x00 || JCS(record))`, where JCS is the RFC 8785 canonicalization of the record as this family's `RecordMetadata` plus its stored content, and `0x00` is RFC 6962's leaf-domain prefix.\n 3. Internal node: `SHA-256(0x01 || left || right)`.\n 4. A level with an odd number of nodes promotes the last one unchanged. It MUST NOT be duplicated: duplicating makes a tree of n leaves collide with one of n+1 whose last is repeated, so two different rooms commit to the same root.\n 5. A room holding no records commits to `SHA-256(\"\")`, a distinguished value rather than zeroes — a root of zeroes is what an uninitialised buffer looks like, and an empty room is a real state a host must be able to commit to honestly.\n\nThe leaf covers the whole record rather than its body, and that is deliberate: a host that could flip `status` from active to retracted, move `pinned`, or rewrite `author` on an `attributed` room would rewrite what the room means without touching a byte of ciphertext. The **plaintext is never involved** — on the sealed tiers the host holds ciphertext and commits to exactly what it stores.\n\nThe commitment is over the **whole room**, never over the page being returned. A page-scoped root is one a host satisfies by construction and could never fail."
211
+ "RecordTrace": {
212
+ "title": "RecordTrace",
213
+ "type": "array",
214
+ "maxItems": 64,
215
+ "items": {
216
+ "type": "object",
217
+ "additionalProperties": false,
218
+ "required": [
219
+ "sibling",
220
+ "siblingIsLeft"
221
+ ],
222
+ "properties": {
223
+ "sibling": {
224
+ "$ref": "#/$defs/DigestMultibase",
225
+ "description": "The sibling node's hash — a leaf hash or an internal node hash of this room's record tree, encoded exactly as `DataCommitment` is. A digest over **bytes**, produced by one of the two prefixed constructions in `DataCommitment`, not over a JSON document."
226
+ },
227
+ "siblingIsLeft": {
228
+ "type": "boolean",
229
+ "description": "Whether the sibling is the **left** child of the parent; the node being proved is the other one. Concatenation order is the whole of what a Merkle proof asserts, so this bit is load-bearing — inverting it on a single step yields a different root, and a reader that infers it from the record's position has assumed a tree shape the host never stated."
230
+ }
231
+ }
232
+ },
233
+ "description": "The path from one record's leaf to the room's `DataCommitment` — a Merkle inclusion proof, in the vocabulary this work already uses for it.\n\n**It is not called `proof`** because in this framework that word is taken: `proof` is the document's data-integrity proof (SPEC §7.3), and a payload member of the same name in the same document invites reading one for the other. The two are not interchangeable and the confusion would be silent.\n\n**To verify**, given the `CommittedRecord` reassembled from the same response:\n 1. `h = SHA-256(0x00 || JCS(record))` — the leaf, by `DataCommitment` step 2.\n 2. For each step in order: `h = SHA-256(0x01 || sibling || h)` when `siblingIsLeft` is true, and `SHA-256(0x01 || h || sibling)` when it is false.\n 3. `h` **MUST** equal the `dataCommitment` **carried in the same response**. Not one from an earlier read, and not one from a listing: a room moves, and a trace is only ever a statement about the tree it was cut from. A host **MUST** compute the trace and the commitment from the same snapshot.\n\nAn **empty array is valid** and is not the same as an absent member. It says the room holds exactly one record, whose leaf is the root; absence of `trace` says the host offered no trace at all.\n\nA trace is **not** always `ceil(log2 n)` steps. A level that promotes an odd node unchanged (`DataCommitment` step 4) contributes no step for that node, so a reader must follow the steps it was given rather than count them against a tree size it assumed.\n\n`maxItems` bounds a tree of 2⁶⁴ records. Verification cost is the reader's and the array is the host's, so the ceiling is stated rather than left to whoever writes the loop.\n\n**What a trace does not prove.** It binds a record to a root. It says nothing about whether that root is the room's — only comparing the root against one the host did not choose does that, exactly as `DataCommitment` describes. A reader that verifies a trace against a root received in the same breath has checked the host's arithmetic and nothing else. The two mechanisms answer different questions and neither substitutes for the other."
155
234
  },
156
235
  "DigestMultibase": {
157
236
  "title": "DigestMultibase",
@@ -163,6 +242,11 @@ export const PAYLOAD_SCHEMA = {
163
242
  "zQmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR"
164
243
  ]
165
244
  },
245
+ "DataCommitment": {
246
+ "title": "DataCommitment",
247
+ "$ref": "#/$defs/DigestMultibase",
248
+ "description": "The root of the room's record tree — a host's commitment to *which records the room holds*, as distinct from what any one of them says.\n\nA room's records are already signed and room-bound, so a host cannot forge, alter or relocate one. What it can do for free is stay silent: a listing that omits a record is indistinguishable from a room that never held it. This value is what makes that omission detectable, so it is only worth anything when the reader can compare it against a copy the host did not choose for them — one it gave another member, one it gave the same member earlier, or the witnessed anchor. A commitment read once, in isolation, proves nothing; a host that shows two members two different roots has been caught.\n\n**The construction is normative**, because two hosts that compute different roots over the same room make every comparison meaningless:\n 1. Take every record the room holds — including tombstones, which are records — and order them by `key` using unsigned byte order.\n 2. Leaf: `SHA-256(0x00 || JCS(record))`, where the record is a `CommittedRecord` — that definition fixes the members exactly, and this step used to name a *projection* instead, which two implementations could read two ways — JCS is its RFC 8785 canonicalization, and `0x00` is RFC 6962's leaf-domain prefix.\n 3. Internal node: `SHA-256(0x01 || left || right)`.\n 4. A level with an odd number of nodes promotes the last one unchanged. It MUST NOT be duplicated: duplicating makes a tree of n leaves collide with one of n+1 whose last is repeated, so two different rooms commit to the same root.\n 5. A room holding no records commits to `SHA-256(\"\")`, a distinguished value rather than zeroes — a root of zeroes is what an uninitialised buffer looks like, and an empty room is a real state a host must be able to commit to honestly.\n\nThe leaf covers the whole record rather than its body, and that is deliberate: a host that could flip `status` from active to retracted, move `pinned`, or rewrite `author` on an `attributed` room would rewrite what the room means without touching a byte of ciphertext. The **plaintext is never involved** — on the sealed tiers the host holds ciphertext and commits to exactly what it stores.\n\nThe commitment is over the **whole room**, never over the page being returned. A page-scoped root is one a host satisfies by construction and could never fail.\n\nProving that a *particular* record sits under this root is a separate question, answered by `RecordTrace` on a single-record read. A commitment catches a host that equivocates; a trace binds one record to what the host committed to. Neither is the other, and a reader wanting completeness needs both plus a root it did not get from the host it is checking."
249
+ },
166
250
  "SealedRecord": {
167
251
  "title": "SealedRecord",
168
252
  "type": "object",
@@ -197,7 +281,7 @@ export const PAYLOAD_SCHEMA = {
197
281
  "membership",
198
282
  "authority"
199
283
  ],
200
- "description": "What a party presents to act on a room. Carries the whole authority chain: a host MUST NOT dereference an authority credential's `parent` to fetch a link it was not given. Resolving over the network would make verification depend on availability, turn every identifier into a request the host can be induced to make against an address the holder chooses, and signal credential use to whoever hosts the identifier.",
284
+ "description": "What a party presents to act on a room. Carries the whole authority chain: a host MUST NOT dereference an authority credential's `parent` to fetch a link it was not given. Resolving over the network would make verification depend on availability, turn every identifier into a request the host can be induced to make against an address the holder chooses, and signal credential use to whoever hosts the identifier. A host MUST bind the presenter to the chain's leaf. A chain that verifies is evidence that authority was conferred on somebody; it is not evidence that the party presenting it is that somebody. The leaf's subject MUST equal the party the host authenticated for this request — an identity the transport established or a document `proof` proved, never one named in a payload. A host that omits this check authorizes every captured presentation, and the omission is silent, because the chain still verifies.",
201
285
  "properties": {
202
286
  "membership": {
203
287
  "type": "string",
@@ -244,6 +328,29 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
244
328
  "type": "integer",
245
329
  "minimum": 1
246
330
  },
331
+ "status": {
332
+ "type": "string",
333
+ "enum": [
334
+ "active",
335
+ "deprecated",
336
+ "retracted"
337
+ ],
338
+ "description": "Curation state. Committed. Mirrors `CommittedRecord`, which fixes the leaf preimage; see the note on `trace`. A host that serves a `trace` MUST serve this, because a reader cannot reach the leaf without it — and a host that could omit it could retract a record without touching a byte of it."
339
+ },
340
+ "updatedAt": {
341
+ "type": "string",
342
+ "format": "date-time",
343
+ "description": "RFC 3339. Committed. Mirrors `CommittedRecord`, which fixes the leaf preimage; see the note on `trace`. Required alongside a `trace` for the same reason `status` is."
344
+ },
345
+ "pinned": {
346
+ "type": "boolean",
347
+ "const": true,
348
+ "description": "Present **only** when the record is pinned; absent means it is not. Committed. Mirrors `CommittedRecord`, which fixes the leaf preimage; see the note on `trace`. `false` is not a permitted spelling: absent is how false is written in the preimage, and two spellings would give one record two roots."
349
+ },
350
+ "author": {
351
+ "type": "string",
352
+ "description": "The member who wrote it. Present on `open` and `attributed`, absent on `private` where the author is sealed with the body. Committed. Mirrors `CommittedRecord`, which fixes the leaf preimage; see the note on `trace`.\n\nThis member is new to this response and is a **disclosure**: `rooms/records/list` already returns it on those tiers, so it tells a reader nothing the family withheld, but a host serving a single record now names its writer where before it did not. It is not conditional on `trace` — a reader wanting the record without the writer's identifier is asking for a different room tier, not a different response."
353
+ },
247
354
  "sealed": {
248
355
  "$ref": "#/$defs/SealedRecord",
249
356
  "description": "Present on an `attributed` or `private` room."
@@ -255,11 +362,22 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
255
362
  },
256
363
  "dataCommitment": {
257
364
  "$ref": "#/$defs/DataCommitment",
258
- "description": "The room's data commitment at the moment this record was read. Carried on a single-record read as well as a listing so a reader can tell whether the room moved between two reads — and, once traces are specified, so this record can be proved to sit inside this root."
365
+ "description": "The room's data commitment at the moment this record was read. Carried on a single-record read as well as a listing so a reader can tell whether the room moved between two reads — and so a `trace` returned beside it has a root to reach."
366
+ },
367
+ "trace": {
368
+ "$ref": "#/$defs/RecordTrace",
369
+ "description": "The path from this record's leaf to `dataCommitment`, proving the record sits under the root the host just asserted.\n\n**The leaf preimage is this response payload with `dataCommitment`, `trace` and `ext` removed** — which is exactly `CommittedRecord`, and a reader MAY validate the object it assembles against that definition before hashing it. Nothing is reconstructed and no member is carried twice; the reader deletes three members from what it already holds.\n\nOPTIONAL, on the same reasoning as `dataCommitment`: a host that maintains no tree must not invent one. A host that serves this MUST have computed it and `dataCommitment` from the same snapshot, and MUST serve every committed member it holds — an omitted `status`, `updatedAt`, `pinned` or `author` yields a leaf the reader cannot reach, so the failure is a refused trace rather than a false one."
259
370
  },
260
371
  "ext": {
261
372
  "$ref": "#/$defs/Ext"
262
373
  }
374
+ },
375
+ "dependentRequired": {
376
+ "trace": [
377
+ "dataCommitment",
378
+ "status",
379
+ "updatedAt"
380
+ ]
263
381
  }
264
382
  },
265
383
  "Ext": {
@@ -272,10 +390,29 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
272
390
  "pattern": "^[a-z][a-z0-9-]*(\\.[a-z0-9-]+)+$"
273
391
  }
274
392
  },
275
- "DataCommitment": {
276
- "title": "DataCommitment",
277
- "$ref": "#/$defs/DigestMultibase",
278
- "description": "The root of the room's record tree — a host's commitment to *which records the room holds*, as distinct from what any one of them says.\n\nA room's records are already signed and room-bound, so a host cannot forge, alter or relocate one. What it can do for free is stay silent: a listing that omits a record is indistinguishable from a room that never held it. This value is what makes that omission detectable, so it is only worth anything when the reader can compare it against a copy the host did not choose for them — one it gave another member, one it gave the same member earlier, or the witnessed anchor. A commitment read once, in isolation, proves nothing; a host that shows two members two different roots has been caught.\n\n**The construction is normative**, because two hosts that compute different roots over the same room make every comparison meaningless:\n 1. Take every record the room holds — including tombstones, which are records — and order them by `key` using unsigned byte order.\n 2. Leaf: `SHA-256(0x00 || JCS(record))`, where JCS is the RFC 8785 canonicalization of the record as this family's `RecordMetadata` plus its stored content, and `0x00` is RFC 6962's leaf-domain prefix.\n 3. Internal node: `SHA-256(0x01 || left || right)`.\n 4. A level with an odd number of nodes promotes the last one unchanged. It MUST NOT be duplicated: duplicating makes a tree of n leaves collide with one of n+1 whose last is repeated, so two different rooms commit to the same root.\n 5. A room holding no records commits to `SHA-256(\"\")`, a distinguished value rather than zeroes — a root of zeroes is what an uninitialised buffer looks like, and an empty room is a real state a host must be able to commit to honestly.\n\nThe leaf covers the whole record rather than its body, and that is deliberate: a host that could flip `status` from active to retracted, move `pinned`, or rewrite `author` on an `attributed` room would rewrite what the room means without touching a byte of ciphertext. The **plaintext is never involved** — on the sealed tiers the host holds ciphertext and commits to exactly what it stores.\n\nThe commitment is over the **whole room**, never over the page being returned. A page-scoped root is one a host satisfies by construction and could never fail."
393
+ "RecordTrace": {
394
+ "title": "RecordTrace",
395
+ "type": "array",
396
+ "maxItems": 64,
397
+ "items": {
398
+ "type": "object",
399
+ "additionalProperties": false,
400
+ "required": [
401
+ "sibling",
402
+ "siblingIsLeft"
403
+ ],
404
+ "properties": {
405
+ "sibling": {
406
+ "$ref": "#/$defs/DigestMultibase",
407
+ "description": "The sibling node's hash — a leaf hash or an internal node hash of this room's record tree, encoded exactly as `DataCommitment` is. A digest over **bytes**, produced by one of the two prefixed constructions in `DataCommitment`, not over a JSON document."
408
+ },
409
+ "siblingIsLeft": {
410
+ "type": "boolean",
411
+ "description": "Whether the sibling is the **left** child of the parent; the node being proved is the other one. Concatenation order is the whole of what a Merkle proof asserts, so this bit is load-bearing — inverting it on a single step yields a different root, and a reader that infers it from the record's position has assumed a tree shape the host never stated."
412
+ }
413
+ }
414
+ },
415
+ "description": "The path from one record's leaf to the room's `DataCommitment` — a Merkle inclusion proof, in the vocabulary this work already uses for it.\n\n**It is not called `proof`** because in this framework that word is taken: `proof` is the document's data-integrity proof (SPEC §7.3), and a payload member of the same name in the same document invites reading one for the other. The two are not interchangeable and the confusion would be silent.\n\n**To verify**, given the `CommittedRecord` reassembled from the same response:\n 1. `h = SHA-256(0x00 || JCS(record))` — the leaf, by `DataCommitment` step 2.\n 2. For each step in order: `h = SHA-256(0x01 || sibling || h)` when `siblingIsLeft` is true, and `SHA-256(0x01 || h || sibling)` when it is false.\n 3. `h` **MUST** equal the `dataCommitment` **carried in the same response**. Not one from an earlier read, and not one from a listing: a room moves, and a trace is only ever a statement about the tree it was cut from. A host **MUST** compute the trace and the commitment from the same snapshot.\n\nAn **empty array is valid** and is not the same as an absent member. It says the room holds exactly one record, whose leaf is the root; absence of `trace` says the host offered no trace at all.\n\nA trace is **not** always `ceil(log2 n)` steps. A level that promotes an odd node unchanged (`DataCommitment` step 4) contributes no step for that node, so a reader must follow the steps it was given rather than count them against a tree size it assumed.\n\n`maxItems` bounds a tree of 2⁶⁴ records. Verification cost is the reader's and the array is the host's, so the ceiling is stated rather than left to whoever writes the loop.\n\n**What a trace does not prove.** It binds a record to a root. It says nothing about whether that root is the room's — only comparing the root against one the host did not choose does that, exactly as `DataCommitment` describes. A reader that verifies a trace against a root received in the same breath has checked the host's arithmetic and nothing else. The two mechanisms answer different questions and neither substitutes for the other."
279
416
  },
280
417
  "DigestMultibase": {
281
418
  "title": "DigestMultibase",
@@ -287,6 +424,11 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
287
424
  "zQmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR"
288
425
  ]
289
426
  },
427
+ "DataCommitment": {
428
+ "title": "DataCommitment",
429
+ "$ref": "#/$defs/DigestMultibase",
430
+ "description": "The root of the room's record tree — a host's commitment to *which records the room holds*, as distinct from what any one of them says.\n\nA room's records are already signed and room-bound, so a host cannot forge, alter or relocate one. What it can do for free is stay silent: a listing that omits a record is indistinguishable from a room that never held it. This value is what makes that omission detectable, so it is only worth anything when the reader can compare it against a copy the host did not choose for them — one it gave another member, one it gave the same member earlier, or the witnessed anchor. A commitment read once, in isolation, proves nothing; a host that shows two members two different roots has been caught.\n\n**The construction is normative**, because two hosts that compute different roots over the same room make every comparison meaningless:\n 1. Take every record the room holds — including tombstones, which are records — and order them by `key` using unsigned byte order.\n 2. Leaf: `SHA-256(0x00 || JCS(record))`, where the record is a `CommittedRecord` — that definition fixes the members exactly, and this step used to name a *projection* instead, which two implementations could read two ways — JCS is its RFC 8785 canonicalization, and `0x00` is RFC 6962's leaf-domain prefix.\n 3. Internal node: `SHA-256(0x01 || left || right)`.\n 4. A level with an odd number of nodes promotes the last one unchanged. It MUST NOT be duplicated: duplicating makes a tree of n leaves collide with one of n+1 whose last is repeated, so two different rooms commit to the same root.\n 5. A room holding no records commits to `SHA-256(\"\")`, a distinguished value rather than zeroes — a root of zeroes is what an uninitialised buffer looks like, and an empty room is a real state a host must be able to commit to honestly.\n\nThe leaf covers the whole record rather than its body, and that is deliberate: a host that could flip `status` from active to retracted, move `pinned`, or rewrite `author` on an `attributed` room would rewrite what the room means without touching a byte of ciphertext. The **plaintext is never involved** — on the sealed tiers the host holds ciphertext and commits to exactly what it stores.\n\nThe commitment is over the **whole room**, never over the page being returned. A page-scoped root is one a host satisfies by construction and could never fail.\n\nProving that a *particular* record sits under this root is a separate question, answered by `RecordTrace` on a single-record read. A commitment catches a host that equivocates; a trace binds one record to what the host committed to. Neither is the other, and a reader wanting completeness needs both plus a root it did not get from the host it is checking."
431
+ },
290
432
  "SealedRecord": {
291
433
  "title": "SealedRecord",
292
434
  "type": "object",
@@ -321,7 +463,7 @@ export const RESPONSE_PAYLOAD_SCHEMA = {
321
463
  "membership",
322
464
  "authority"
323
465
  ],
324
- "description": "What a party presents to act on a room. Carries the whole authority chain: a host MUST NOT dereference an authority credential's `parent` to fetch a link it was not given. Resolving over the network would make verification depend on availability, turn every identifier into a request the host can be induced to make against an address the holder chooses, and signal credential use to whoever hosts the identifier.",
466
+ "description": "What a party presents to act on a room. Carries the whole authority chain: a host MUST NOT dereference an authority credential's `parent` to fetch a link it was not given. Resolving over the network would make verification depend on availability, turn every identifier into a request the host can be induced to make against an address the holder chooses, and signal credential use to whoever hosts the identifier. A host MUST bind the presenter to the chain's leaf. A chain that verifies is evidence that authority was conferred on somebody; it is not evidence that the party presenting it is that somebody. The leaf's subject MUST equal the party the host authenticated for this request — an identity the transport established or a document `proof` proved, never one named in a payload. A host that omits this check authorizes every captured presentation, and the omission is silent, because the chain still verifies.",
325
467
  "properties": {
326
468
  "membership": {
327
469
  "type": "string",