xoonya 2.5.0 → 2.6.0
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.
- package/README.md +119 -7
- package/RELEASE_NOTES.md +18 -7
- package/SERVICE_CONTRACT.md +22 -0
- package/START_HERE.md +12 -0
- package/XOONYA_NATIVE_ATOM_SPEC.md +184 -0
- package/XOONYA_NATIVE_PROOF_FORMAT.md +502 -0
- package/XOONYA_NATIVE_STANDARD_GOVERNANCE.md +116 -0
- package/bin/xoonya-first-run.js +184 -0
- package/bin/xoonya.js +31 -5
- package/lib/release_history.js +16 -0
- package/package.json +10 -15
- package/proof_sdk.js +2391 -44
- package/server.js +125 -2
- package/vectors/adversarial-vectors.json +373 -2
- package/vectors/conformance-vectors.json +342 -1
- package/vectors/native-atom-vectors.json +101 -0
- package/vectors/native-payload-profile-vectors.json +50 -0
- package/OPERATIONS_RUNBOOK.md +0 -50
- package/OPERATOR_START_HERE.md +0 -67
- package/PROGRAM_COMPLETE_RELEASE.md +0 -52
- package/PROGRAM_STATUS.md +0 -57
- package/PUBLISH_PLAN.md +0 -14
- package/RELEASE_CHECKLIST.md +0 -16
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"domain_id": "vectors.demo",
|
|
34
34
|
"sequence": "42",
|
|
35
35
|
"event_commitment": "b4b46b678b96cba7bdfd1a51776c6b5e343eefd6fc84ec2825e86a57d4f59c7c",
|
|
36
|
-
"algorithm": "
|
|
36
|
+
"algorithm": "detached-assertion-v1",
|
|
37
37
|
"signature": "sig-demo-001"
|
|
38
38
|
},
|
|
39
39
|
"proof_bundle_version": "proof-bundle/v1"
|
|
@@ -42,6 +42,347 @@
|
|
|
42
42
|
"agent_identity": "agent-demo-signing",
|
|
43
43
|
"signature": "sig-demo-001"
|
|
44
44
|
}
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"id": "native-method-basic",
|
|
48
|
+
"event": {
|
|
49
|
+
"version": "canonical-event-bundle/v1",
|
|
50
|
+
"domain_id": "vectors.native",
|
|
51
|
+
"sequence": "7",
|
|
52
|
+
"actor_id": "agent-native",
|
|
53
|
+
"adapter_source": "vector-suite",
|
|
54
|
+
"event_type": "native.event",
|
|
55
|
+
"event_hash": "3434343434343434343434343434343434343434343434343434343434343434"
|
|
56
|
+
},
|
|
57
|
+
"expected": {
|
|
58
|
+
"event_commitment": "7361278f20b4d6c6f305ebfb490989b0faa3928823954d1852a7d7e78d92d8cd",
|
|
59
|
+
"receipt": {
|
|
60
|
+
"version": "receipt/v1",
|
|
61
|
+
"receipt_id": "7c4930d56110f0b9623f79025c7be4789e0c0a6155b2645b243ce4c126f53e96",
|
|
62
|
+
"agent_identity": "agent-native-signing",
|
|
63
|
+
"domain_id": "vectors.native",
|
|
64
|
+
"sequence": "7",
|
|
65
|
+
"event_commitment": "7361278f20b4d6c6f305ebfb490989b0faa3928823954d1852a7d7e78d92d8cd",
|
|
66
|
+
"algorithm": "xoonya-native-sha256-v1",
|
|
67
|
+
"signature": "xoonya-native-sha256-v1:572af7d74cd00b96e54352b113036b9b4473bcef799bd69606ecf40eee86f165"
|
|
68
|
+
},
|
|
69
|
+
"proof_bundle_version": "proof-bundle/v1"
|
|
70
|
+
},
|
|
71
|
+
"receipt_options": {
|
|
72
|
+
"agent_identity": "agent-native-signing"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"id": "native-signed-method-ed25519",
|
|
77
|
+
"event": {
|
|
78
|
+
"version": "canonical-event-bundle/v1",
|
|
79
|
+
"domain_id": "vectors.native.signed",
|
|
80
|
+
"sequence": "9",
|
|
81
|
+
"actor_id": "agent-native-signed",
|
|
82
|
+
"adapter_source": "vector-suite",
|
|
83
|
+
"event_type": "native.signed.event",
|
|
84
|
+
"event_hash": "4545454545454545454545454545454545454545454545454545454545454545"
|
|
85
|
+
},
|
|
86
|
+
"expected": {
|
|
87
|
+
"event_commitment": "3218fa3b29f4e4927b275c99d831d1ce472bc5d40e255ce93076eb551725ecd8",
|
|
88
|
+
"receipt": {
|
|
89
|
+
"version": "receipt/v1",
|
|
90
|
+
"receipt_id": "18e77f9ba51b74da7e1fab9a25c35f560e2e9441d54c9d47b0b2f18a366c5e38",
|
|
91
|
+
"agent_identity": "agent-native-signed-key",
|
|
92
|
+
"domain_id": "vectors.native.signed",
|
|
93
|
+
"sequence": "9",
|
|
94
|
+
"event_commitment": "3218fa3b29f4e4927b275c99d831d1ce472bc5d40e255ce93076eb551725ecd8",
|
|
95
|
+
"algorithm": "xoonya-native-signed-v1",
|
|
96
|
+
"native_proof": {
|
|
97
|
+
"method": "xoonya-native-signed-v1",
|
|
98
|
+
"signature_suite": "ed25519",
|
|
99
|
+
"identity_ref": "did:xoonya:agent-native-signed-key",
|
|
100
|
+
"public_key_ref": "ed25519-spki-sha256:e5b324c6836ecf00f1b9b322055e5044d2ddeac857b15f7039cdd69a14025197",
|
|
101
|
+
"public_key_material": {
|
|
102
|
+
"format": "spki-pem",
|
|
103
|
+
"value": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEArnC5ARNJQFbPtc6pMrFUz2p043Nbds48Dz66+i1R5gk=\n-----END PUBLIC KEY-----\n"
|
|
104
|
+
},
|
|
105
|
+
"proof_material": {
|
|
106
|
+
"signing_material_sha256": "71476b0e9a1e77ddc592d0035f735bfaa74bd253ad985ed95f5038e023de6b99",
|
|
107
|
+
"signature": "0n_CkDbWKlVSgwh8XMJn7yHG6U35jIfYViHa43BJ-KV_IvfJGDQkDOkJ0bqJVxliw_d1WqraOHwSIDGrUtdMCA"
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
"signature": "xoonya-native-signed-v1:ed25519:0n_CkDbWKlVSgwh8XMJn7yHG6U35jIfYViHa43BJ-KV_IvfJGDQkDOkJ0bqJVxliw_d1WqraOHwSIDGrUtdMCA"
|
|
111
|
+
},
|
|
112
|
+
"proof_bundle_version": "proof-bundle/v1"
|
|
113
|
+
},
|
|
114
|
+
"receipt_options": {
|
|
115
|
+
"agent_identity": "agent-native-signed-key",
|
|
116
|
+
"algorithm": "xoonya-native-signed-v1",
|
|
117
|
+
"identity_ref": "did:xoonya:agent-native-signed-key",
|
|
118
|
+
"signature_suite": "ed25519",
|
|
119
|
+
"private_key_pem": "-----BEGIN PRIVATE KEY-----\nMC4CAQAwBQYDK2VwBCIEIOPZUHPWLt9QpTQ3ub3+RyJXNZrJYHxfDJEcUZhrXIz7\n-----END PRIVATE KEY-----\n",
|
|
120
|
+
"public_key_pem": "-----BEGIN PUBLIC KEY-----\nMCowBQYDK2VwAyEArnC5ARNJQFbPtc6pMrFUz2p043Nbds48Dz66+i1R5gk=\n-----END PUBLIC KEY-----\n"
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"id": "native-anchored-method-finality-ref",
|
|
125
|
+
"event": {
|
|
126
|
+
"version": "canonical-event-bundle/v1",
|
|
127
|
+
"domain_id": "vectors.native.anchored",
|
|
128
|
+
"sequence": "10",
|
|
129
|
+
"actor_id": "agent-native-anchored",
|
|
130
|
+
"adapter_source": "vector-suite",
|
|
131
|
+
"event_type": "native.anchored.event",
|
|
132
|
+
"event_hash": "6767676767676767676767676767676767676767676767676767676767676767"
|
|
133
|
+
},
|
|
134
|
+
"anchors": [
|
|
135
|
+
{
|
|
136
|
+
"anchor_id": "anchor-bsv-finality-demo",
|
|
137
|
+
"anchor_kind": "finality_ref",
|
|
138
|
+
"anchor_ref": "bsv:mainnet:tx/9cd77fd24b884b281c819b3e48f6b15ed328b116939b082580924cabb4518d28",
|
|
139
|
+
"anchor_hash_sha256": "153ae82600b8eb1d14ca0a9b7bfac3e14f2237e734ec804628c1bf0e832e3a3f",
|
|
140
|
+
"network": "bsv-mainnet",
|
|
141
|
+
"finality_state": "finalized",
|
|
142
|
+
"provider_ref": "operator-finality-material"
|
|
143
|
+
}
|
|
144
|
+
],
|
|
145
|
+
"expected": {
|
|
146
|
+
"event_commitment": "0371a4395e6635f600506dd045a91c3597561d8511a1690d304009358447ec9f",
|
|
147
|
+
"receipt": {
|
|
148
|
+
"version": "receipt/v1",
|
|
149
|
+
"receipt_id": "443b44df7814707f1fc4a910dbb33b93c7d15423308130b0ca42d5bdc093371b",
|
|
150
|
+
"agent_identity": "agent-native-anchored-signing",
|
|
151
|
+
"domain_id": "vectors.native.anchored",
|
|
152
|
+
"sequence": "10",
|
|
153
|
+
"event_commitment": "0371a4395e6635f600506dd045a91c3597561d8511a1690d304009358447ec9f",
|
|
154
|
+
"algorithm": "xoonya-native-anchored-v1",
|
|
155
|
+
"native_proof": {
|
|
156
|
+
"method": "xoonya-native-anchored-v1",
|
|
157
|
+
"base_method": "xoonya-native-sha256-v1",
|
|
158
|
+
"anchor_refs": [
|
|
159
|
+
{
|
|
160
|
+
"anchor_id": "anchor-bsv-finality-demo",
|
|
161
|
+
"anchor_kind": "finality_ref",
|
|
162
|
+
"anchor_ref": "bsv:mainnet:tx/9cd77fd24b884b281c819b3e48f6b15ed328b116939b082580924cabb4518d28",
|
|
163
|
+
"anchor_hash_sha256": "153ae82600b8eb1d14ca0a9b7bfac3e14f2237e734ec804628c1bf0e832e3a3f",
|
|
164
|
+
"network": "bsv-mainnet",
|
|
165
|
+
"finality_state": "finalized",
|
|
166
|
+
"provider_ref": "operator-finality-material"
|
|
167
|
+
}
|
|
168
|
+
],
|
|
169
|
+
"proof_material": {
|
|
170
|
+
"anchor_root_sha256": "fccb0a98893181411c65f8b8176a169b188c06704fb0846ba43b88a5e2548e11",
|
|
171
|
+
"binding_material_sha256": "50ce853e5d2429cdf53d720df889349c398a4d4bffa71f7a0a74727ba802fd91"
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"signature": "xoonya-native-anchored-v1:50ce853e5d2429cdf53d720df889349c398a4d4bffa71f7a0a74727ba802fd91"
|
|
175
|
+
},
|
|
176
|
+
"proof_bundle_version": "proof-bundle/v1"
|
|
177
|
+
},
|
|
178
|
+
"receipt_options": {
|
|
179
|
+
"agent_identity": "agent-native-anchored-signing",
|
|
180
|
+
"algorithm": "xoonya-native-anchored-v1",
|
|
181
|
+
"anchors": [
|
|
182
|
+
{
|
|
183
|
+
"anchor_id": "anchor-bsv-finality-demo",
|
|
184
|
+
"anchor_kind": "finality_ref",
|
|
185
|
+
"anchor_ref": "bsv:mainnet:tx/9cd77fd24b884b281c819b3e48f6b15ed328b116939b082580924cabb4518d28",
|
|
186
|
+
"anchor_hash_sha256": "153ae82600b8eb1d14ca0a9b7bfac3e14f2237e734ec804628c1bf0e832e3a3f",
|
|
187
|
+
"network": "bsv-mainnet",
|
|
188
|
+
"finality_state": "finalized",
|
|
189
|
+
"provider_ref": "operator-finality-material"
|
|
190
|
+
}
|
|
191
|
+
]
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"id": "legacy-opreturn-method-basic",
|
|
196
|
+
"event": {
|
|
197
|
+
"version": "canonical-event-bundle/v1",
|
|
198
|
+
"domain_id": "vectors.legacy",
|
|
199
|
+
"sequence": "3",
|
|
200
|
+
"actor_id": "agent-legacy",
|
|
201
|
+
"adapter_source": "vector-suite",
|
|
202
|
+
"event_type": "legacy.event",
|
|
203
|
+
"event_hash": "5656565656565656565656565656565656565656565656565656565656565656"
|
|
204
|
+
},
|
|
205
|
+
"expected": {
|
|
206
|
+
"event_commitment": "1eaa27845d24ba996b8b218d4ee9ace5309f9e13307c15e21b73c76ef8ec9d89",
|
|
207
|
+
"receipt": {
|
|
208
|
+
"version": "receipt/v1",
|
|
209
|
+
"receipt_id": "e077af67796e4e3a198d282b3d88432a18cae9a71b70bd406a162dbba0c547e7",
|
|
210
|
+
"agent_identity": "agent-legacy-signing",
|
|
211
|
+
"domain_id": "vectors.legacy",
|
|
212
|
+
"sequence": "3",
|
|
213
|
+
"event_commitment": "1eaa27845d24ba996b8b218d4ee9ace5309f9e13307c15e21b73c76ef8ec9d89",
|
|
214
|
+
"algorithm": "legacy-opreturn-v1",
|
|
215
|
+
"compatibility": {
|
|
216
|
+
"legacy_receipt": {
|
|
217
|
+
"agent_id": "4b6b2e5444c2639cc0fb7bcea5afba3f3cdce239",
|
|
218
|
+
"opreturn_hex": "5052465401014b6b2e5444c2639cc0fb7bcea5afba3f3cdce2391eaa27845d24ba996b8b218d4ee9ace5309f9e13307c15e21b73c76ef8ec9d89",
|
|
219
|
+
"payload_hash": "1eaa27845d24ba996b8b218d4ee9ace5309f9e13307c15e21b73c76ef8ec9d89",
|
|
220
|
+
"spec_version": "v1"
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
"signature": "5052465401014b6b2e5444c2639cc0fb7bcea5afba3f3cdce2391eaa27845d24ba996b8b218d4ee9ace5309f9e13307c15e21b73c76ef8ec9d89"
|
|
224
|
+
},
|
|
225
|
+
"proof_bundle_version": "proof-bundle/v1"
|
|
226
|
+
},
|
|
227
|
+
"receipt_options": {
|
|
228
|
+
"agent_identity": "agent-legacy-signing",
|
|
229
|
+
"legacy_identity_material_hex": "0101010101010101010101010101010101010101010101010101010101010101"
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"id": "jwt-assertion-method-basic",
|
|
234
|
+
"event": {
|
|
235
|
+
"version": "canonical-event-bundle/v1",
|
|
236
|
+
"domain_id": "vectors.jwt",
|
|
237
|
+
"sequence": "20",
|
|
238
|
+
"actor_id": "agent-jwt",
|
|
239
|
+
"adapter_source": "vector-suite",
|
|
240
|
+
"event_type": "jwt-assertion-v1.event",
|
|
241
|
+
"event_hash": "7878787878787878787878787878787878787878787878787878787878787878"
|
|
242
|
+
},
|
|
243
|
+
"expected": {
|
|
244
|
+
"event_commitment": "ccfb7afa762eb90166895714f4a0d442e66451d8b2c0bf99df56bf834553756a",
|
|
245
|
+
"receipt": {
|
|
246
|
+
"version": "receipt/v1",
|
|
247
|
+
"receipt_id": "7c824b24f9359e03b64a7e098b6014324db288b1c95934af63bfae531ee639a9",
|
|
248
|
+
"agent_identity": "agent-jwt-signing",
|
|
249
|
+
"domain_id": "vectors.jwt",
|
|
250
|
+
"sequence": "20",
|
|
251
|
+
"event_commitment": "ccfb7afa762eb90166895714f4a0d442e66451d8b2c0bf99df56bf834553756a",
|
|
252
|
+
"algorithm": "jwt-assertion-v1",
|
|
253
|
+
"signature": "sig.jwt.compact.demo"
|
|
254
|
+
},
|
|
255
|
+
"proof_bundle_version": "proof-bundle/v1"
|
|
256
|
+
},
|
|
257
|
+
"receipt_options": {
|
|
258
|
+
"agent_identity": "agent-jwt-signing",
|
|
259
|
+
"algorithm": "jwt-assertion-v1",
|
|
260
|
+
"signature": "sig.jwt.compact.demo"
|
|
261
|
+
}
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
"id": "did-vc-method-basic",
|
|
265
|
+
"event": {
|
|
266
|
+
"version": "canonical-event-bundle/v1",
|
|
267
|
+
"domain_id": "vectors.didvc",
|
|
268
|
+
"sequence": "21",
|
|
269
|
+
"actor_id": "agent-didvc",
|
|
270
|
+
"adapter_source": "vector-suite",
|
|
271
|
+
"event_type": "did-vc-v1.event",
|
|
272
|
+
"event_hash": "9a9a9a9a9a9a9a9a9a9a9a9a9a9a9a9a9a9a9a9a9a9a9a9a9a9a9a9a9a9a9a9a"
|
|
273
|
+
},
|
|
274
|
+
"expected": {
|
|
275
|
+
"event_commitment": "7b50cb36eacb470194f95c70b0a1631a402e160b999bf4aefa0e152f97d1df0c",
|
|
276
|
+
"receipt": {
|
|
277
|
+
"version": "receipt/v1",
|
|
278
|
+
"receipt_id": "ca9a21895544295eb17c55355b997303e8c0e589d5f50938cffe66a50ab534c4",
|
|
279
|
+
"agent_identity": "agent-didvc-signing",
|
|
280
|
+
"domain_id": "vectors.didvc",
|
|
281
|
+
"sequence": "21",
|
|
282
|
+
"event_commitment": "7b50cb36eacb470194f95c70b0a1631a402e160b999bf4aefa0e152f97d1df0c",
|
|
283
|
+
"algorithm": "did-vc-v1",
|
|
284
|
+
"signature": "did:example:issuer#key-1.vc-proof"
|
|
285
|
+
},
|
|
286
|
+
"proof_bundle_version": "proof-bundle/v1"
|
|
287
|
+
},
|
|
288
|
+
"receipt_options": {
|
|
289
|
+
"agent_identity": "agent-didvc-signing",
|
|
290
|
+
"algorithm": "did-vc-v1",
|
|
291
|
+
"signature": "did:example:issuer#key-1.vc-proof"
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"id": "sd-jwt-vc-method-basic",
|
|
296
|
+
"event": {
|
|
297
|
+
"version": "canonical-event-bundle/v1",
|
|
298
|
+
"domain_id": "vectors.sdjwtvc",
|
|
299
|
+
"sequence": "22",
|
|
300
|
+
"actor_id": "agent-sdjwtvc",
|
|
301
|
+
"adapter_source": "vector-suite",
|
|
302
|
+
"event_type": "sd-jwt-vc-v1.event",
|
|
303
|
+
"event_hash": "bcbcbcbcbcbcbcbcbcbcbcbcbcbcbcbcbcbcbcbcbcbcbcbcbcbcbcbcbcbcbcbc"
|
|
304
|
+
},
|
|
305
|
+
"expected": {
|
|
306
|
+
"event_commitment": "fc37ecb40ad166075b154375c4a05df1d5dbe2d3339b95bc31ff7086f707d058",
|
|
307
|
+
"receipt": {
|
|
308
|
+
"version": "receipt/v1",
|
|
309
|
+
"receipt_id": "1eaa55e76849bd15d402c2a4d1a610fc81bd206c8ea980892133e55e79c50068",
|
|
310
|
+
"agent_identity": "agent-sdjwtvc-signing",
|
|
311
|
+
"domain_id": "vectors.sdjwtvc",
|
|
312
|
+
"sequence": "22",
|
|
313
|
+
"event_commitment": "fc37ecb40ad166075b154375c4a05df1d5dbe2d3339b95bc31ff7086f707d058",
|
|
314
|
+
"algorithm": "sd-jwt-vc-v1",
|
|
315
|
+
"signature": "sd-jwt-vc~disclosure~holder-proof"
|
|
316
|
+
},
|
|
317
|
+
"proof_bundle_version": "proof-bundle/v1"
|
|
318
|
+
},
|
|
319
|
+
"receipt_options": {
|
|
320
|
+
"agent_identity": "agent-sdjwtvc-signing",
|
|
321
|
+
"algorithm": "sd-jwt-vc-v1",
|
|
322
|
+
"signature": "sd-jwt-vc~disclosure~holder-proof"
|
|
323
|
+
}
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"id": "signed-envelope-method-basic",
|
|
327
|
+
"event": {
|
|
328
|
+
"version": "canonical-event-bundle/v1",
|
|
329
|
+
"domain_id": "vectors.envelope",
|
|
330
|
+
"sequence": "23",
|
|
331
|
+
"actor_id": "agent-envelope",
|
|
332
|
+
"adapter_source": "vector-suite",
|
|
333
|
+
"event_type": "signed-envelope-v1.event",
|
|
334
|
+
"event_hash": "dededededededededededededededededededededededededededededededede"
|
|
335
|
+
},
|
|
336
|
+
"expected": {
|
|
337
|
+
"event_commitment": "9465ae4e260b776901176b2be865ca5cebbcd74026259480c4844820ab198108",
|
|
338
|
+
"receipt": {
|
|
339
|
+
"version": "receipt/v1",
|
|
340
|
+
"receipt_id": "530f6acd161cda23d3c19982180badbb70ac566f7f72f3530a14e59bdcefaef3",
|
|
341
|
+
"agent_identity": "agent-envelope-signing",
|
|
342
|
+
"domain_id": "vectors.envelope",
|
|
343
|
+
"sequence": "23",
|
|
344
|
+
"event_commitment": "9465ae4e260b776901176b2be865ca5cebbcd74026259480c4844820ab198108",
|
|
345
|
+
"algorithm": "signed-envelope-v1",
|
|
346
|
+
"signature": "signed-envelope:proof-demo"
|
|
347
|
+
},
|
|
348
|
+
"proof_bundle_version": "proof-bundle/v1"
|
|
349
|
+
},
|
|
350
|
+
"receipt_options": {
|
|
351
|
+
"agent_identity": "agent-envelope-signing",
|
|
352
|
+
"algorithm": "signed-envelope-v1",
|
|
353
|
+
"signature": "signed-envelope:proof-demo"
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
{
|
|
357
|
+
"id": "partner-proof-envelope-method-basic",
|
|
358
|
+
"event": {
|
|
359
|
+
"version": "canonical-event-bundle/v1",
|
|
360
|
+
"domain_id": "vectors.partner",
|
|
361
|
+
"sequence": "24",
|
|
362
|
+
"actor_id": "agent-partner",
|
|
363
|
+
"adapter_source": "vector-suite",
|
|
364
|
+
"event_type": "partner-proof-envelope-v1.event",
|
|
365
|
+
"event_hash": "f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1f1"
|
|
366
|
+
},
|
|
367
|
+
"expected": {
|
|
368
|
+
"event_commitment": "b2dd7caf4f61f524e19d266e755b95b60b12050044243446e58f665f517195fc",
|
|
369
|
+
"receipt": {
|
|
370
|
+
"version": "receipt/v1",
|
|
371
|
+
"receipt_id": "5e46466fbfaa67d703fba02c1d5281698d601cd0ffa924483a7c4b7710bdfcd5",
|
|
372
|
+
"agent_identity": "agent-partner-signing",
|
|
373
|
+
"domain_id": "vectors.partner",
|
|
374
|
+
"sequence": "24",
|
|
375
|
+
"event_commitment": "b2dd7caf4f61f524e19d266e755b95b60b12050044243446e58f665f517195fc",
|
|
376
|
+
"algorithm": "partner-proof-envelope-v1",
|
|
377
|
+
"signature": "partner-envelope:proof-demo"
|
|
378
|
+
},
|
|
379
|
+
"proof_bundle_version": "proof-bundle/v1"
|
|
380
|
+
},
|
|
381
|
+
"receipt_options": {
|
|
382
|
+
"agent_identity": "agent-partner-signing",
|
|
383
|
+
"algorithm": "partner-proof-envelope-v1",
|
|
384
|
+
"signature": "partner-envelope:proof-demo"
|
|
385
|
+
}
|
|
45
386
|
}
|
|
46
387
|
]
|
|
47
388
|
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "xoonya-native-atom-vectors-v1",
|
|
3
|
+
"identity_material_hex": "0102000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
|
|
4
|
+
"payload_ascii": "example payload bytes",
|
|
5
|
+
"vectors": [
|
|
6
|
+
{
|
|
7
|
+
"id": "xnya-v1-with-payload",
|
|
8
|
+
"atom_version": "xoonya-native-atom/v1",
|
|
9
|
+
"byte_length": 58,
|
|
10
|
+
"atom_hex": "584e59410101c88aa17753c173551a00bdd83c24fa2bfc85a87252062d4569aac18ef572cbd7aa15f09827a68d652ce3e9391eca4c8faa26c4b2",
|
|
11
|
+
"agent_id": "c88aa17753c173551a00bdd83c24fa2bfc85a872",
|
|
12
|
+
"payload_hash_sha256": "52062d4569aac18ef572cbd7aa15f09827a68d652ce3e9391eca4c8faa26c4b2",
|
|
13
|
+
"atom_hash_sha256": "1c5e465357fc419429a739cf3c6c66b3e1c574b724b2562d617c783810f49ffc"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"id": "xnya-v1-absent-payload",
|
|
17
|
+
"atom_version": "xoonya-native-atom/v1",
|
|
18
|
+
"byte_length": 58,
|
|
19
|
+
"atom_hex": "584e59410101c88aa17753c173551a00bdd83c24fa2bfc85a8720000000000000000000000000000000000000000000000000000000000000000",
|
|
20
|
+
"agent_id": "c88aa17753c173551a00bdd83c24fa2bfc85a872",
|
|
21
|
+
"payload_hash_sha256": "0000000000000000000000000000000000000000000000000000000000000000"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"id": "xnya-v2-with-payload",
|
|
25
|
+
"atom_version": "xoonya-native-atom/v2",
|
|
26
|
+
"byte_length": 70,
|
|
27
|
+
"atom_hex": "584e59410201294b048a200e01ee68fecdbc336b2245bb06766204742a242d8e3a963119796e84751f99990ca64cac49fbdc407ce966092c502ed5258b3541613a0012bafdf2",
|
|
28
|
+
"agent_id": "294b048a200e01ee68fecdbc336b2245bb06766204742a242d8e3a963119796e",
|
|
29
|
+
"payload_hash_sha256": "84751f99990ca64cac49fbdc407ce966092c502ed5258b3541613a0012bafdf2",
|
|
30
|
+
"atom_hash_sha256": "cd0ea8df992e149d63f8dcf4dad21fde6bbeaaabf61fc2caf1b171c8bf5329b8"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"id": "xnya-v2-absent-payload",
|
|
34
|
+
"atom_version": "xoonya-native-atom/v2",
|
|
35
|
+
"byte_length": 70,
|
|
36
|
+
"atom_hex": "584e59410201294b048a200e01ee68fecdbc336b2245bb06766204742a242d8e3a963119796e0000000000000000000000000000000000000000000000000000000000000000",
|
|
37
|
+
"agent_id": "294b048a200e01ee68fecdbc336b2245bb06766204742a242d8e3a963119796e",
|
|
38
|
+
"payload_hash_sha256": "0000000000000000000000000000000000000000000000000000000000000000"
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"adversarial": [
|
|
42
|
+
{
|
|
43
|
+
"id": "reject-non-hex-input",
|
|
44
|
+
"atom_hex": "xnya",
|
|
45
|
+
"expected_reason": "atomHex must be hex",
|
|
46
|
+
"expected_error_code": "atom_hex_not_hex"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"id": "reject-bad-length",
|
|
50
|
+
"atom_hex": "584e59410101",
|
|
51
|
+
"expected_reason": "atomHex must be a supported Xoonya native atom",
|
|
52
|
+
"expected_error_code": "atom_unsupported_length"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"id": "reject-bad-magic",
|
|
56
|
+
"atom_hex": "000000000101c88aa17753c173551a00bdd83c24fa2bfc85a87252062d4569aac18ef572cbd7aa15f09827a68d652ce3e9391eca4c8faa26c4b2",
|
|
57
|
+
"expected_reason": "atomHex has bad Xoonya native atom magic",
|
|
58
|
+
"expected_error_code": "atom_bad_magic"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"id": "reject-unsupported-record-type",
|
|
62
|
+
"atom_hex": "584e59410104c88aa17753c173551a00bdd83c24fa2bfc85a87252062d4569aac18ef572cbd7aa15f09827a68d652ce3e9391eca4c8faa26c4b2",
|
|
63
|
+
"expected_reason": "atomHex has unsupported record type",
|
|
64
|
+
"expected_error_code": "atom_unsupported_record_type"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"id": "reject-version-length-mismatch",
|
|
68
|
+
"atom_hex": "584e59410101294b048a200e01ee68fecdbc336b2245bb06766204742a242d8e3a963119796e84751f99990ca64cac49fbdc407ce966092c502ed5258b3541613a0012bafdf2",
|
|
69
|
+
"expected_reason": "atomHex/version length mismatch",
|
|
70
|
+
"expected_error_code": "atom_version_length_mismatch"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"id": "reject-v1-payload-mismatch",
|
|
74
|
+
"atom_hex": "584e59410101c88aa17753c173551a00bdd83c24fa2bfc85a87252062d4569aac18ef572cbd7aa15f09827a68d652ce3e9391eca4c8faa26c4b2",
|
|
75
|
+
"payload_ascii": "tampered payload bytes",
|
|
76
|
+
"expected_reason": "payload_hash_mismatch",
|
|
77
|
+
"expected_error_code": "payload_hash_mismatch"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"id": "reject-v2-agent-mismatch",
|
|
81
|
+
"atom_hex": "584e59410201294b048a200e01ee68fecdbc336b2245bb06766204742a242d8e3a963119796e84751f99990ca64cac49fbdc407ce966092c502ed5258b3541613a0012bafdf2",
|
|
82
|
+
"identity_material_hex": "02000102030405060708",
|
|
83
|
+
"expected_reason": "agent_id_mismatch",
|
|
84
|
+
"expected_error_code": "agent_id_mismatch"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"id": "reject-unsupported-identity-prefix",
|
|
88
|
+
"atom_hex": "584e59410101c88aa17753c173551a00bdd83c24fa2bfc85a87252062d4569aac18ef572cbd7aa15f09827a68d652ce3e9391eca4c8faa26c4b2",
|
|
89
|
+
"identity_material_hex": "ff000102030405",
|
|
90
|
+
"expected_reason": "identityMaterialHex has unsupported identity type prefix",
|
|
91
|
+
"expected_error_code": "identity_unsupported_type_prefix"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"id": "reject-identity-missing-raw-bytes",
|
|
95
|
+
"atom_hex": "584e59410101c88aa17753c173551a00bdd83c24fa2bfc85a87252062d4569aac18ef572cbd7aa15f09827a68d652ce3e9391eca4c8faa26c4b2",
|
|
96
|
+
"identity_material_hex": "01",
|
|
97
|
+
"expected_reason": "identityMaterialHex must include raw identity bytes",
|
|
98
|
+
"expected_error_code": "identity_missing_raw_bytes"
|
|
99
|
+
}
|
|
100
|
+
]
|
|
101
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "xoonya-native-payload-profile-vectors-v1",
|
|
3
|
+
"profile_vector": {
|
|
4
|
+
"id": "xnyp-v1-four-field-canonical",
|
|
5
|
+
"input": {
|
|
6
|
+
"schema_ref": "xoonya.payload.test.v1",
|
|
7
|
+
"fields": [
|
|
8
|
+
{
|
|
9
|
+
"field_id": 3,
|
|
10
|
+
"field_type": "utf8",
|
|
11
|
+
"value": "hello"
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"field_id": 1,
|
|
15
|
+
"field_type": "bytes32",
|
|
16
|
+
"value_hex": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"field_id": 4,
|
|
20
|
+
"field_type": "bool",
|
|
21
|
+
"value": true
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"field_id": 2,
|
|
25
|
+
"field_type": "uint64",
|
|
26
|
+
"value": "42"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
"expected": {
|
|
31
|
+
"canonical_bytes_hex": "584e595001d1e61b32fae144e036633235ba013e1e4902a19ce34f26ec82b07701926596dd040001010020aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa0002030008000000000000002a000304000568656c6c6f000405000101",
|
|
32
|
+
"payload_hash_sha256": "0953e5f152c227780d19209ea9305e2422017ee5df614e118785fb37b6e1a659",
|
|
33
|
+
"schema_hash_sha256": "d1e61b32fae144e036633235ba013e1e4902a19ce34f26ec82b07701926596dd",
|
|
34
|
+
"field_order": [
|
|
35
|
+
1,
|
|
36
|
+
2,
|
|
37
|
+
3,
|
|
38
|
+
4
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"line_rate_frame_vector": {
|
|
43
|
+
"id": "xnya-frame-v1-for-xnyp-payload",
|
|
44
|
+
"identity_material_hex": "01111111111111111111111111111111111111111111111111111111111111111111",
|
|
45
|
+
"atom_hex": "584e59410101338cf3a435c41537e9d2279a8bb3891b3856657ef668dd4f76393d2293d8722d2765b23a444fd018808486db207a86456320dce9",
|
|
46
|
+
"frame_hex": "584e59410101338cf3a435c41537e9d2279a8bb3891b3856657ef668dd4f76393d2293d8722d2765b23a444fd018808486db207a86456320dce93480",
|
|
47
|
+
"checksum_hex": "3480",
|
|
48
|
+
"frame_byte_length": 60
|
|
49
|
+
}
|
|
50
|
+
}
|
package/OPERATIONS_RUNBOOK.md
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
# xoonya Operations Runbook
|
|
2
|
-
|
|
3
|
-
Use this runbook for the normal post-program proof-side operating posture.
|
|
4
|
-
|
|
5
|
-
## Daily checks
|
|
6
|
-
|
|
7
|
-
Run:
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
xoonya-release --center --summary
|
|
11
|
-
xoonya-release --candidate --summary
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
Inspect:
|
|
15
|
-
|
|
16
|
-
- `/v1/release-center/summary`
|
|
17
|
-
- `/v1/release-candidate/summary`
|
|
18
|
-
- `/v1/proof-center/summary`
|
|
19
|
-
|
|
20
|
-
## Proof-side confidence checks
|
|
21
|
-
|
|
22
|
-
Run:
|
|
23
|
-
|
|
24
|
-
```bash
|
|
25
|
-
npm run verify:examples
|
|
26
|
-
npm run verify:release-candidate
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
## Handoff review checks
|
|
30
|
-
|
|
31
|
-
Keep these ready:
|
|
32
|
-
|
|
33
|
-
- `/v1/proof-center/result-package-handoff/review/summary`
|
|
34
|
-
- `CARRIED_HANDOFF_DEMO.md`
|
|
35
|
-
- `PARTNER_READY_PATH.md`
|
|
36
|
-
- `PUBLIC_DEMO_SCRIPT.md`
|
|
37
|
-
|
|
38
|
-
## If an outside team asks “what belongs here?”
|
|
39
|
-
|
|
40
|
-
Point them to:
|
|
41
|
-
|
|
42
|
-
1. `START_HERE.md`
|
|
43
|
-
2. `PARTNER_READY_PATH.md`
|
|
44
|
-
3. `integrations/PROOF_INTEGRATION_PROCESS.md`
|
|
45
|
-
|
|
46
|
-
## Boundary rule
|
|
47
|
-
|
|
48
|
-
If a question depends on payment, funding, settlement, or workflow orchestration, move it back to `xytara`.
|
|
49
|
-
|
|
50
|
-
If it depends on reviewable proof carry and deterministic proof emission, it can stay in `xoonya`.
|
package/OPERATOR_START_HERE.md
DELETED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
# xoonya Operator Start Here
|
|
2
|
-
|
|
3
|
-
This is the shortest path for an operator who needs to evaluate `xoonya` after the 10-phase program has already closed.
|
|
4
|
-
|
|
5
|
-
## 1. Confirm Terminal Program State
|
|
6
|
-
|
|
7
|
-
Run:
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
xoonya-release --phases --summary
|
|
11
|
-
xoonya-release --phase-10 --summary
|
|
12
|
-
```
|
|
13
|
-
|
|
14
|
-
Or inspect:
|
|
15
|
-
|
|
16
|
-
- `GET /v1/phases/summary`
|
|
17
|
-
- `GET /v1/phases/phase-10/gate/summary`
|
|
18
|
-
- `GET /v1/phases/phase-10/completion/summary`
|
|
19
|
-
|
|
20
|
-
## 2. Confirm Release Posture
|
|
21
|
-
|
|
22
|
-
Run:
|
|
23
|
-
|
|
24
|
-
```bash
|
|
25
|
-
xoonya-release --center --summary
|
|
26
|
-
xoonya-release --candidate --summary
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
These are the fastest checks for "is the proof package live, coherent, and publish-shaped?"
|
|
30
|
-
|
|
31
|
-
## 3. Exercise The Proof Path
|
|
32
|
-
|
|
33
|
-
Run:
|
|
34
|
-
|
|
35
|
-
```bash
|
|
36
|
-
node examples/package_quickstart.js
|
|
37
|
-
```
|
|
38
|
-
|
|
39
|
-
For direct handoff review, also run:
|
|
40
|
-
|
|
41
|
-
```bash
|
|
42
|
-
xoonya-review --file ./handoff.json --summary
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
## 4. Verify Confidence
|
|
46
|
-
|
|
47
|
-
Run:
|
|
48
|
-
|
|
49
|
-
```bash
|
|
50
|
-
npm run verify:all
|
|
51
|
-
npm run verify:release-candidate
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
For the compact day-two operator path, also read:
|
|
55
|
-
|
|
56
|
-
- `OPERATIONS_RUNBOOK.md`
|
|
57
|
-
|
|
58
|
-
## 5. Choose The Next Workstream
|
|
59
|
-
|
|
60
|
-
After the program is closed, the next useful work is one of:
|
|
61
|
-
|
|
62
|
-
- productization
|
|
63
|
-
- real carried-handoff integration
|
|
64
|
-
- operational hardening
|
|
65
|
-
- launch and release packaging
|
|
66
|
-
|
|
67
|
-
If you only pick one, pick a real integration and keep the docs/productization work close behind it.
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
# xoonya Program-Complete Release
|
|
2
|
-
|
|
3
|
-
`xoonya` is no longer an in-flight proof milestone. The public 10-phase program is complete, and this repository now represents a release-shaped proof system.
|
|
4
|
-
|
|
5
|
-
## What is complete
|
|
6
|
-
|
|
7
|
-
- the full phase program is closed
|
|
8
|
-
- the canonical proof model is stable
|
|
9
|
-
- runtime-to-proof followthrough is documented and runnable
|
|
10
|
-
- proof-center, bridge, and governance surfaces are present
|
|
11
|
-
- operator and partner-facing docs now exist alongside the package
|
|
12
|
-
- proof-side integration posture is explicit and narrow
|
|
13
|
-
|
|
14
|
-
## What this release means
|
|
15
|
-
|
|
16
|
-
This release is the point where `xoonya` should be evaluated as a public proof system, not as an unfinished internal proof kernel.
|
|
17
|
-
|
|
18
|
-
The recommended evaluation path is now:
|
|
19
|
-
|
|
20
|
-
1. read `START_HERE.md`
|
|
21
|
-
2. run `node examples/package_quickstart.js`
|
|
22
|
-
3. run `node examples/partner_proof_walkthrough.js`
|
|
23
|
-
4. inspect `CARRIED_HANDOFF_DEMO.md`
|
|
24
|
-
5. inspect `PARTNER_READY_PATH.md`
|
|
25
|
-
|
|
26
|
-
## Public outcome
|
|
27
|
-
|
|
28
|
-
An external builder should now be able to:
|
|
29
|
-
|
|
30
|
-
- understand the proof-side role quickly
|
|
31
|
-
- review one carried runtime handoff
|
|
32
|
-
- emit and verify proof-native completion
|
|
33
|
-
- understand the narrow proof-integration boundary without private guidance
|
|
34
|
-
|
|
35
|
-
## Recommended live checks
|
|
36
|
-
|
|
37
|
-
- `/v1/release-center/summary`
|
|
38
|
-
- `/v1/proof-center/summary`
|
|
39
|
-
- `/v1/proof-center/result-package-handoff/review/summary`
|
|
40
|
-
- `/v1/integrations/promotion-readiness`
|
|
41
|
-
|
|
42
|
-
## Release rule
|
|
43
|
-
|
|
44
|
-
Do not describe this repository as “proof support that still needs the rest of the roadmap.”
|
|
45
|
-
|
|
46
|
-
The correct external posture is:
|
|
47
|
-
|
|
48
|
-
- program complete
|
|
49
|
-
- proof public
|
|
50
|
-
- handoff-ready
|
|
51
|
-
- narrow by design
|
|
52
|
-
- reviewable by default
|