@openwop/openwop-conformance 2.42.6 → 2.42.7

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 (121) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/README.md +3 -3
  3. package/coverage.md +1 -1
  4. package/dist/lib/soft-skip.js +13 -0
  5. package/dist/spec-artifacts.lock.json +2 -2
  6. package/package.json +2 -2
  7. package/requirements.json +423 -160
  8. package/scenario-majors.json +16 -3
  9. package/schemas/CORPUS-STAMP.json +64 -63
  10. package/src/lib/audit-checkpoint.ts +72 -0
  11. package/src/lib/ext-claims.ts +96 -0
  12. package/src/lib/soft-skip.ts +14 -0
  13. package/src/scenarios/a2a-peer-authority.test.ts +6 -13
  14. package/src/scenarios/a2a-task-roundtrip.test.ts +6 -34
  15. package/src/scenarios/a2a-version-negotiation.test.ts +6 -12
  16. package/src/scenarios/a2ui-surface-delta-transport.test.ts +23 -12
  17. package/src/scenarios/agent-channel-dispatch.test.ts +13 -4
  18. package/src/scenarios/agent-live-invocation-bracket.test.ts +1 -1
  19. package/src/scenarios/agent-manifest-runtime.test.ts +3 -0
  20. package/src/scenarios/aiEnvelope.capBreached.test.ts +2 -2
  21. package/src/scenarios/aiEnvelope.contractRefusal.test.ts +2 -2
  22. package/src/scenarios/aiEnvelope.schemaDrift.test.ts +2 -2
  23. package/src/scenarios/aiEnvelope.universalKinds.test.ts +2 -2
  24. package/src/scenarios/aiproviders-selfhosted-honesty.test.ts +2 -2
  25. package/src/scenarios/append-ordering.test.ts +26 -21
  26. package/src/scenarios/artifact-auth.test.ts +3 -1
  27. package/src/scenarios/artifact-type-registration-source.test.ts +2 -2
  28. package/src/scenarios/audit-checkpoint-signature.test.ts +63 -0
  29. package/src/scenarios/audit-checkpoint-vectors.test.ts +93 -0
  30. package/src/scenarios/auth-mtls.test.ts +7 -6
  31. package/src/scenarios/auth-subject-link-key-class.test.ts +3 -3
  32. package/src/scenarios/auth-subject-link.test.ts +19 -18
  33. package/src/scenarios/blob-presign-expiry.test.ts +2 -2
  34. package/src/scenarios/byok-roundtrip.test.ts +4 -1
  35. package/src/scenarios/compensation-behavior.test.ts +10 -5
  36. package/src/scenarios/conformance-advertised-seam-required.test.ts +6 -0
  37. package/src/scenarios/connection-pack-apihosts.test.ts +2 -2
  38. package/src/scenarios/connection-provider-resolution.test.ts +2 -2
  39. package/src/scenarios/context-budget-transcript-bound.test.ts +7 -3
  40. package/src/scenarios/context-summarization-replay.test.ts +2 -0
  41. package/src/scenarios/cost-attribution.test.ts +3 -1
  42. package/src/scenarios/debugBundle.test.ts +12 -4
  43. package/src/scenarios/discovery.test.ts +6 -2
  44. package/src/scenarios/dispatch-cross-worker-handoff.test.ts +2 -2
  45. package/src/scenarios/dispatch-input-mapping.test.ts +2 -2
  46. package/src/scenarios/dispatch-output-mapping.test.ts +15 -2
  47. package/src/scenarios/distillation-token-budget.test.ts +2 -2
  48. package/src/scenarios/durability-poison-exhaustion.test.ts +2 -2
  49. package/src/scenarios/envelope-nl-to-format-engaged.test.ts +2 -2
  50. package/src/scenarios/envelope-recovery-applied.test.ts +2 -2
  51. package/src/scenarios/envelope-refusal-shape.test.ts +2 -2
  52. package/src/scenarios/envelope-retry-attempted.test.ts +2 -2
  53. package/src/scenarios/envelope-retry-exhausted.test.ts +2 -2
  54. package/src/scenarios/envelope-tier-one-subset-static.test.ts +1 -1
  55. package/src/scenarios/envelope-truncation-cap-exhaustion.test.ts +2 -2
  56. package/src/scenarios/eventOrdering.test.ts +17 -10
  57. package/src/scenarios/form-content-instantiation.test.ts +2 -2
  58. package/src/scenarios/heartbeat-idempotent-no-spam.test.ts +2 -2
  59. package/src/scenarios/highConcurrency.test.ts +9 -9
  60. package/src/scenarios/idempotency-concurrent-claim.test.ts +5 -5
  61. package/src/scenarios/idempotency-key-determinism.test.ts +8 -8
  62. package/src/scenarios/idempotency.test.ts +6 -6
  63. package/src/scenarios/idempotencyRetry.test.ts +16 -11
  64. package/src/scenarios/interrupt-token-matrix.test.ts +24 -11
  65. package/src/scenarios/mcp-cache-tenant-scope.test.ts +3 -3
  66. package/src/scenarios/mcp-current-auth-boundary.test.ts +9 -6
  67. package/src/scenarios/mcp-extension-opacity.test.ts +6 -5
  68. package/src/scenarios/mcp-mrtr-roundtrip.test.ts +9 -8
  69. package/src/scenarios/mcp-version-negotiation.test.ts +5 -10
  70. package/src/scenarios/media-url-inline-cap.test.ts +3 -2
  71. package/src/scenarios/memory-compaction-provenance-tag.test.ts +2 -0
  72. package/src/scenarios/memory-compaction-sr1-carry-forward.test.ts +2 -2
  73. package/src/scenarios/memory-consolidation-idempotent.test.ts +2 -2
  74. package/src/scenarios/memory-injection-budget.test.ts +2 -2
  75. package/src/scenarios/multi-party-conversation-behavioral.test.ts +2 -2
  76. package/src/scenarios/multi-region-idempotency-behavior.test.ts +9 -9
  77. package/src/scenarios/multi-region-idempotency.test.ts +2 -2
  78. package/src/scenarios/pack-registry-isolation.test.ts +13 -12
  79. package/src/scenarios/pack-registry.test.ts +3 -2
  80. package/src/scenarios/pause-resume.test.ts +30 -11
  81. package/src/scenarios/prompt-read-workspace-membership-enforced.test.ts +43 -34
  82. package/src/scenarios/provider-usage.test.ts +2 -2
  83. package/src/scenarios/redaction.test.ts +7 -5
  84. package/src/scenarios/redactionAdversarial.test.ts +5 -4
  85. package/src/scenarios/registry-public.test.ts +5 -1
  86. package/src/scenarios/replay-divergence-at-refusal.test.ts +10 -7
  87. package/src/scenarios/replay-fanout-suppression.test.ts +7 -4
  88. package/src/scenarios/replay-fork-arbitrary.test.ts +2 -2
  89. package/src/scenarios/replay-side-effect-suppression.test.ts +2 -2
  90. package/src/scenarios/replayDeterminism.test.ts +9 -4
  91. package/src/scenarios/runner-ledger.test.ts +4 -0
  92. package/src/scenarios/runtime-capabilities.test.ts +2 -0
  93. package/src/scenarios/speech-synthesis-roundtrip.test.ts +1 -1
  94. package/src/scenarios/streamReconnect.test.ts +2 -2
  95. package/src/scenarios/subrun-approval-gate.test.ts +2 -2
  96. package/src/scenarios/subworkflow-input-mapping.test.ts +2 -2
  97. package/src/scenarios/tool-catalog-projection.test.ts +10 -7
  98. package/src/scenarios/tool-session-lifecycle.test.ts +1 -1
  99. package/src/scenarios/trigger-ingestion.test.ts +2 -2
  100. package/src/scenarios/v2-a2ui-v09-surface.test.ts +15 -0
  101. package/src/scenarios/v2-effect-identity-business-key.test.ts +12 -0
  102. package/src/scenarios/v2-ext-family-claims.test.ts +62 -0
  103. package/src/scenarios/v2-ext-rest-transport.test.ts +151 -0
  104. package/src/scenarios/v2-idempotency-in-flight.test.ts +3 -0
  105. package/src/scenarios/v2-legacy-profiles-absent.test.ts +4 -6
  106. package/src/scenarios/v2-mcp-tasks.test.ts +1 -1
  107. package/src/scenarios/v2-min-client-version.test.ts +2 -0
  108. package/src/scenarios/v2-refresh-sla.test.ts +6 -5
  109. package/src/scenarios/v2-sse-last-event-id-cursor.test.ts +3 -3
  110. package/src/scenarios/v2-sse-last-event-id.test.ts +2 -0
  111. package/src/scenarios/v2-version-header-honored.test.ts +3 -0
  112. package/src/scenarios/v2-webhook-durable-delivery.test.ts +2 -0
  113. package/src/scenarios/v2-webhook-secret-rotation.test.ts +8 -1
  114. package/src/scenarios/verifier-gating.test.ts +2 -2
  115. package/src/scenarios/version-fold.test.ts +2 -2
  116. package/src/scenarios/wasm-pack-invoke-suspended.test.ts +7 -6
  117. package/src/scenarios/webhook-signed-delivery.test.ts +2 -0
  118. package/src/scenarios/workflow-chain-host-expansion.test.ts +10 -1
  119. package/src/scenarios/workflow-variable-format.test.ts +2 -2
  120. package/src/scenarios/workload-identity-chain-bounds.test.ts +6 -3
  121. package/vectors/audit-checkpoint-v1.json +260 -0
@@ -0,0 +1,260 @@
1
+ {
2
+ "$comment": [
3
+ "RFC 0218 — vectors for the audit checkpoint preimage (spec/v1/auth-profiles.md §\"Audit-log integrity\" 3).",
4
+ "A conforming producer or verifier MUST reproduce every entryHash, merkleRoot and signature here, and MUST refuse every `refusals` case.",
5
+ "The key is RFC 8032 §7.1 TEST 1. It is a published test key: never use it for anything else."
6
+ ],
7
+ "spec": "RFC 0218; RFC 8785; RFC 8032",
8
+ "construction": {
9
+ "entryHash": "lowercase-hex SHA-256 of the entry's RFC 8785 JCS bytes (the value the next entry carries as prevHash)",
10
+ "range": "entries with sequence in (P, atSequence], P = the previous checkpoint's atSequence, or 0 for the first",
11
+ "parent": "lowercase-hex SHA-256 of the ASCII bytes of left ‖ right (each 64 lowercase hex)",
12
+ "odd": "a last odd node is promoted unchanged, never duplicated",
13
+ "signature": "Ed25519 over the 32 bytes merkleRoot hex-decodes to; base64 (RFC 4648 §4, padded)"
14
+ },
15
+ "publicKeySpkiBase64": "MCowBQYDK2VwAyEA11qYAYKxCrfVS/7TyWQHOg7hcvPapiMlrwIaaPcHURo=",
16
+ "entries": [
17
+ {
18
+ "entry": {
19
+ "action": "run.created",
20
+ "actor": "key:vector-1",
21
+ "atSequence": 1,
22
+ "details": {
23
+ "runId": "run-1"
24
+ },
25
+ "occurredAt": "2026-09-27T00:00:01.000Z",
26
+ "prevHash": null,
27
+ "target": "run-1"
28
+ },
29
+ "entryHash": "2bb3eb03f572491c7334c1a5a12a43e5786663fd4df773b0beb9d05a5d1b496e"
30
+ },
31
+ {
32
+ "entry": {
33
+ "action": "run.created",
34
+ "actor": "key:vector-0",
35
+ "atSequence": 2,
36
+ "details": {
37
+ "runId": "run-2"
38
+ },
39
+ "occurredAt": "2026-09-27T00:00:02.000Z",
40
+ "prevHash": "2bb3eb03f572491c7334c1a5a12a43e5786663fd4df773b0beb9d05a5d1b496e",
41
+ "target": "run-2"
42
+ },
43
+ "entryHash": "66892fdd522ad21a99968866d05cb92f4c1db98ddfebf747817891d744060fda"
44
+ },
45
+ {
46
+ "entry": {
47
+ "action": "interrupt.resolved",
48
+ "actor": "key:vector-1",
49
+ "atSequence": 3,
50
+ "details": {
51
+ "runId": "run-3"
52
+ },
53
+ "occurredAt": "2026-09-27T00:00:03.000Z",
54
+ "prevHash": "66892fdd522ad21a99968866d05cb92f4c1db98ddfebf747817891d744060fda",
55
+ "target": "run-3"
56
+ },
57
+ "entryHash": "5873ed119eb591fa8c4af1d7d9d947662c78ca5569c57733ebab3d2b399da6fb"
58
+ },
59
+ {
60
+ "entry": {
61
+ "action": "run.created",
62
+ "actor": "key:vector-0",
63
+ "atSequence": 4,
64
+ "details": {
65
+ "runId": "run-4"
66
+ },
67
+ "occurredAt": "2026-09-27T00:00:04.000Z",
68
+ "prevHash": "5873ed119eb591fa8c4af1d7d9d947662c78ca5569c57733ebab3d2b399da6fb",
69
+ "target": "run-4"
70
+ },
71
+ "entryHash": "4e48e5dd88bf081edfdbb176a89cfb75697fd4adec954272d65f804ce5643518"
72
+ },
73
+ {
74
+ "entry": {
75
+ "action": "run.created",
76
+ "actor": "key:vector-1",
77
+ "atSequence": 5,
78
+ "details": {
79
+ "note": "ünïcode ✓",
80
+ "votes": [
81
+ 1,
82
+ 2
83
+ ]
84
+ },
85
+ "occurredAt": "2026-09-27T00:00:05.000Z",
86
+ "prevHash": "4e48e5dd88bf081edfdbb176a89cfb75697fd4adec954272d65f804ce5643518",
87
+ "target": "run-5"
88
+ },
89
+ "entryHash": "9930634e696476f67dce8ea69bd89e6ef1d77dbe3279ec694e47e7dacda47f8a"
90
+ },
91
+ {
92
+ "entry": {
93
+ "action": "interrupt.resolved",
94
+ "actor": "key:vector-0",
95
+ "atSequence": 6,
96
+ "details": {
97
+ "runId": "run-6"
98
+ },
99
+ "occurredAt": "2026-09-27T00:00:06.000Z",
100
+ "prevHash": "9930634e696476f67dce8ea69bd89e6ef1d77dbe3279ec694e47e7dacda47f8a",
101
+ "target": "run-6"
102
+ },
103
+ "entryHash": "eda0c73fa14541ca52f2fa9446f07f319a3192c54e66a9a23a48fe22f5c5316f"
104
+ },
105
+ {
106
+ "entry": {
107
+ "action": "run.created",
108
+ "actor": "key:vector-1",
109
+ "atSequence": 7,
110
+ "details": {
111
+ "runId": "run-7"
112
+ },
113
+ "occurredAt": "2026-09-27T00:00:07.000Z",
114
+ "prevHash": "eda0c73fa14541ca52f2fa9446f07f319a3192c54e66a9a23a48fe22f5c5316f",
115
+ "target": "run-7"
116
+ },
117
+ "entryHash": "5d2e74535536c835517898427b6e152fcdd5ed79751d165ffe736d66529ea2c0"
118
+ },
119
+ {
120
+ "entry": {
121
+ "action": "run.created",
122
+ "actor": "key:vector-0",
123
+ "atSequence": 8,
124
+ "details": {
125
+ "runId": "run-8"
126
+ },
127
+ "occurredAt": "2026-09-27T00:00:08.000Z",
128
+ "prevHash": "5d2e74535536c835517898427b6e152fcdd5ed79751d165ffe736d66529ea2c0",
129
+ "target": "run-8"
130
+ },
131
+ "entryHash": "ebe7b92183a8fe2712cb524d7b5ebf052ef85b1c0cffd8b9a977a33d80cb8a4c"
132
+ },
133
+ {
134
+ "entry": {
135
+ "action": "interrupt.resolved",
136
+ "actor": "key:vector-1",
137
+ "atSequence": 9,
138
+ "details": {
139
+ "runId": "run-9"
140
+ },
141
+ "occurredAt": "2026-09-27T00:00:09.000Z",
142
+ "prevHash": "ebe7b92183a8fe2712cb524d7b5ebf052ef85b1c0cffd8b9a977a33d80cb8a4c",
143
+ "target": "run-9"
144
+ },
145
+ "entryHash": "6c3648ec20243c855823056e5ae63b52e7d3e570feef5f6d7a182e084bde6c08"
146
+ },
147
+ {
148
+ "entry": {
149
+ "action": "run.created",
150
+ "actor": "key:vector-0",
151
+ "atSequence": 10,
152
+ "details": {
153
+ "runId": "run-10"
154
+ },
155
+ "occurredAt": "2026-09-27T00:00:10.000Z",
156
+ "prevHash": "6c3648ec20243c855823056e5ae63b52e7d3e570feef5f6d7a182e084bde6c08",
157
+ "target": "run-10"
158
+ },
159
+ "entryHash": "740826be7291e62cd84199d8702eb7b32db57f12376a6bc13f680acdaba61bce"
160
+ },
161
+ {
162
+ "entry": {
163
+ "action": "run.created",
164
+ "actor": "key:vector-1",
165
+ "atSequence": 11,
166
+ "details": {
167
+ "runId": "run-11"
168
+ },
169
+ "occurredAt": "2026-09-27T00:00:11.000Z",
170
+ "prevHash": "740826be7291e62cd84199d8702eb7b32db57f12376a6bc13f680acdaba61bce",
171
+ "target": "run-11"
172
+ },
173
+ "entryHash": "31d04cd504983f8c9c740128167063a6c4708139e9a9d1b9891e8933792390e4"
174
+ },
175
+ {
176
+ "entry": {
177
+ "action": "interrupt.resolved",
178
+ "actor": "key:vector-0",
179
+ "atSequence": 12,
180
+ "details": {
181
+ "runId": "run-12"
182
+ },
183
+ "occurredAt": "2026-09-27T00:00:12.000Z",
184
+ "prevHash": "31d04cd504983f8c9c740128167063a6c4708139e9a9d1b9891e8933792390e4",
185
+ "target": "run-12"
186
+ },
187
+ "entryHash": "213f18d0c231ca4206f7aba10ed4b5a11a7b51f71d77dd4c4f04455a24238fe1"
188
+ }
189
+ ],
190
+ "checkpoints": [
191
+ {
192
+ "atSequence": 1,
193
+ "previousAtSequence": 0,
194
+ "leafCount": 1,
195
+ "merkleRoot": "2bb3eb03f572491c7334c1a5a12a43e5786663fd4df773b0beb9d05a5d1b496e",
196
+ "signature": "+O3og3Lozimsu+l0X6NZ3bTpFhvE6bFdVNqOUpAeHGoRSgeAyuufmXPKwoHcnAr4SqxdUtaXhjiyp4jicjYnAg=="
197
+ },
198
+ {
199
+ "atSequence": 3,
200
+ "previousAtSequence": 1,
201
+ "leafCount": 2,
202
+ "merkleRoot": "42750e6edbe7a4e7f10f5af0ebc0a25c45db6f89193dd2688cca5cc405d95b32",
203
+ "signature": "9Yo8N2iXAYLIXIlysqH0OfLkSlgzX4Za4fM/S/1MtIdS1khdBUZ6kTDAYT2Z0XhH0/Qq/KMJA4qjfJekx4oHDg=="
204
+ },
205
+ {
206
+ "atSequence": 7,
207
+ "previousAtSequence": 3,
208
+ "leafCount": 4,
209
+ "merkleRoot": "5e277e32a11f6a3ae377850cdf199e6726daa32e0d83873b698f07aa3096c3e2",
210
+ "signature": "rcjz09tb2ltcoaMYUKjZbp7iY2AHo0WXrJyOPny8T5u/uryyYIgVyzBaEZ3BT3kbAT1y+x7MHtStEt1sIsn2Dw=="
211
+ },
212
+ {
213
+ "atSequence": 12,
214
+ "previousAtSequence": 7,
215
+ "leafCount": 5,
216
+ "merkleRoot": "44a4232543a863aa7fc48477ceb0872e5513dd18db568201990b1b83b4fbbf96",
217
+ "signature": "axFFc3cFhUONP0Y7Is1vWMg12nNvEiT1aZV54XBcj7LN58VbVqGSWQS5jJ5fdzYM0DjfdPJK1x+pKR4KAuCfCg=="
218
+ }
219
+ ],
220
+ "refusals": [
221
+ {
222
+ "id": "interior-nodes-as-leaves",
223
+ "why": "the 4-leaf checkpoint at 7 recomputed from its two level-1 nodes gives the same root; a verifier that does not hold the leaf count to atSequence − P accepts it",
224
+ "checkpointAtSequence": 7,
225
+ "leaves": [
226
+ "62cf43b39d9b7ad76060add3967e09f876aa8d962bafd224e1190c3bb7495f3d",
227
+ "a4c9291d9fa45b513d9f22ad3fb8f3d9716869e747c822e49845d4f164328de9"
228
+ ],
229
+ "expectedLeaves": 4
230
+ },
231
+ {
232
+ "id": "uppercase-leaf",
233
+ "why": "leaves are lowercase hex; an uppercase leaf hashes to a different parent",
234
+ "leaves": [
235
+ "2BB3EB03F572491C7334C1A5A12A43E5786663FD4DF773B0BEB9D05A5D1B496E"
236
+ ],
237
+ "expectedLeaves": 1
238
+ },
239
+ {
240
+ "id": "empty-range",
241
+ "why": "a checkpoint anchors at least one entry",
242
+ "leaves": [],
243
+ "expectedLeaves": 0
244
+ }
245
+ ],
246
+ "signatureRefusals": [
247
+ {
248
+ "id": "signed-canonical-json",
249
+ "why": "a signature over the checkpoint object's canonical JSON instead of the root bytes (the reading the schema description once gave) does not verify",
250
+ "merkleRoot": "42750e6edbe7a4e7f10f5af0ebc0a25c45db6f89193dd2688cca5cc405d95b32",
251
+ "signature": "PNlGy3uTxxx3RXhFHBTV1wCm4XpluOy5QXDR4gWHQjh4tNBEYKN0ur7KJxvNXIHTWdKZSWK2Yk0SB4cJk+ZhBw=="
252
+ },
253
+ {
254
+ "id": "signed-hex-text",
255
+ "why": "a signature over the 64 ASCII hex characters instead of the 32 decoded bytes does not verify",
256
+ "merkleRoot": "42750e6edbe7a4e7f10f5af0ebc0a25c45db6f89193dd2688cca5cc405d95b32",
257
+ "signature": "niqG8/dnZLpwv8WfBW082VDfTi5UCrH7uck+hSh3a6ne3RhO+KWvPbyLK++Fw2vumLqD6P4zfTfEgamjxM4ZDA=="
258
+ }
259
+ ]
260
+ }