@agent-blueprint-protocol/verifier 0.8.4 → 1.0.0-rc.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 (106) hide show
  1. package/CHANGELOG.md +103 -0
  2. package/LICENSE +1 -1
  3. package/NOTICE +2 -2
  4. package/README.md +164 -255
  5. package/dist/corpus/cases/blueprint-decode.json +1 -1
  6. package/dist/corpus/cases/bounds-new.json +1 -1
  7. package/dist/corpus/cases/bounds_algebra-intersect.json +1 -1
  8. package/dist/corpus/cases/canonicalization-encode.json +1 -1
  9. package/dist/corpus/cases/deployment-decode.json +1 -1
  10. package/dist/corpus/cases/extension-resolve.json +1 -1
  11. package/dist/corpus/cases/federation-decode.json +1 -1
  12. package/dist/corpus/cases/federation-verify_commitment.json +1 -1
  13. package/dist/corpus/cases/json-decode.json +1 -1
  14. package/dist/corpus/cases/negotiation-negotiate.json +1 -1
  15. package/dist/corpus/cases/predicate.json +1 -0
  16. package/dist/corpus/cases/reconcile.json +1 -0
  17. package/dist/corpus/cases/schema-validate_instance.json +1 -1
  18. package/dist/corpus/cases/signature-verify.json +1 -1
  19. package/dist/corpus/index.json +1 -1
  20. package/dist/release-history.json +1 -0
  21. package/dist/release-metadata.json +1 -1
  22. package/dist/spec/FOUNDATION-TRANSITION.md +67 -0
  23. package/dist/spec/IPR.md +27 -0
  24. package/dist/spec/LICENSE +190 -0
  25. package/dist/spec/NOTICE +4 -0
  26. package/dist/spec/README.md +47 -0
  27. package/dist/spec/conformance/base64url-decode.schema.json +176 -0
  28. package/dist/spec/conformance/blueprint-decode.schema.json +280 -0
  29. package/dist/spec/conformance/bounds-new.schema.json +302 -0
  30. package/dist/spec/conformance/bounds_algebra-intersect.schema.json +457 -0
  31. package/dist/spec/conformance/canonicalization-encode.schema.json +280 -0
  32. package/dist/spec/conformance/case-file.schema.json +122 -0
  33. package/dist/spec/conformance/certified-results.json +1 -0
  34. package/dist/spec/conformance/claim.schema.json +52 -0
  35. package/dist/spec/conformance/compatibility-verify.schema.json +262 -0
  36. package/dist/spec/conformance/deployment-decode.schema.json +322 -0
  37. package/dist/spec/conformance/digest-tagged.schema.json +200 -0
  38. package/dist/spec/conformance/evidence.schema.json +249 -0
  39. package/dist/spec/conformance/execution.md +80 -0
  40. package/dist/spec/conformance/extension-resolve.schema.json +264 -0
  41. package/dist/spec/conformance/federation-decode.schema.json +318 -0
  42. package/dist/spec/conformance/federation-verify_commitment.schema.json +342 -0
  43. package/dist/spec/conformance/index.schema.json +102 -0
  44. package/dist/spec/conformance/json-decode.schema.json +287 -0
  45. package/dist/spec/conformance/negotiation-negotiate.schema.json +264 -0
  46. package/dist/spec/conformance/portability-scan.schema.json +188 -0
  47. package/dist/spec/conformance/predicate.schema.json +201 -0
  48. package/dist/spec/conformance/reconcile.schema.json +287 -0
  49. package/dist/spec/conformance/runner.md +182 -0
  50. package/dist/spec/conformance/schema-validate_instance.schema.json +206 -0
  51. package/dist/spec/conformance/signature-verify.schema.json +224 -0
  52. package/dist/spec/conformance/support.schema.json +72 -0
  53. package/dist/spec/errata.md +13 -0
  54. package/dist/spec/grammar/blueprint.cddl +92 -0
  55. package/dist/spec/grammar/deployment.cddl +125 -0
  56. package/dist/spec/grammar/derived/blueprint.schema.json +340 -0
  57. package/dist/spec/grammar/derived/deployment.schema.json +496 -0
  58. package/dist/spec/grammar/derived/taskenvelope.schema.json +244 -0
  59. package/dist/spec/grammar/taskenvelope.cddl +77 -0
  60. package/dist/spec/protocol.md +1238 -0
  61. package/dist/spec/registry/OPERATIONS.md +69 -0
  62. package/dist/spec/registry/registry.json +68 -0
  63. package/dist/verifier/b64url.js +1 -1
  64. package/dist/verifier/blueprint.d.ts +2 -15
  65. package/dist/verifier/blueprint.js +21 -107
  66. package/dist/verifier/bounds_algebra.d.ts +9 -0
  67. package/dist/verifier/bounds_algebra.js +6 -6
  68. package/dist/verifier/cli.js +14 -31
  69. package/dist/verifier/corpus.d.ts +1 -1
  70. package/dist/verifier/corpus.js +5 -1
  71. package/dist/verifier/decode.js +15 -3
  72. package/dist/verifier/deployment.d.ts +8 -0
  73. package/dist/verifier/deployment.js +17 -2
  74. package/dist/verifier/digest.js +1 -1
  75. package/dist/verifier/errors.d.ts +2 -0
  76. package/dist/verifier/errors.js +1 -0
  77. package/dist/verifier/execution.d.ts +13 -0
  78. package/dist/verifier/execution.js +82 -0
  79. package/dist/verifier/facade.d.ts +325 -0
  80. package/dist/verifier/facade.js +78 -0
  81. package/dist/verifier/federation.d.ts +2 -2
  82. package/dist/verifier/federation.js +10 -7
  83. package/dist/verifier/harness.d.ts +16 -0
  84. package/dist/verifier/harness.js +201 -0
  85. package/dist/verifier/index.d.ts +3 -0
  86. package/dist/verifier/index.js +2 -0
  87. package/dist/verifier/mapping.d.ts +139 -0
  88. package/dist/verifier/mapping.js +1 -0
  89. package/dist/verifier/negotiation.d.ts +2 -1
  90. package/dist/verifier/negotiation.js +6 -3
  91. package/dist/verifier/plain.d.ts +4 -0
  92. package/dist/verifier/plain.js +38 -0
  93. package/dist/verifier/predicate.d.ts +7 -0
  94. package/dist/verifier/predicate.js +60 -1
  95. package/dist/verifier/reconcile.d.ts +37 -0
  96. package/dist/verifier/reconcile.js +115 -0
  97. package/dist/verifier/registry.js +10 -1
  98. package/dist/verifier/registry_engine.d.ts +3 -0
  99. package/dist/verifier/registry_engine.js +8 -8
  100. package/dist/verifier/results.d.ts +3 -0
  101. package/dist/verifier/results.js +13 -0
  102. package/dist/verifier/runner.d.ts +2 -0
  103. package/dist/verifier/runner.js +115 -16
  104. package/dist/verifier/signature.d.ts +17 -6
  105. package/dist/verifier/signature.js +41 -25
  106. package/package.json +17 -12
@@ -0,0 +1,67 @@
1
+ # Foundation transition — asset inventory
2
+
3
+ What a future transfer of this protocol to a foundation or standards
4
+ venue covers, and what the steward can and cannot
5
+ transfer. This document is an inventory, not an offer.
6
+
7
+ ## Transferable as-is
8
+
9
+ - **The specification tree** (`spec/`): the normative document, the
10
+ machine-readable grammars (CDDL and the derived JSON Schemas), the
11
+ governance-canonical registry document, this governance pack, and
12
+ the license copies. Extractable by a tested git filter (the
13
+ extraction is a build-gated proof in the reference repository).
14
+ - **The conformance corpus** (`priv/conformance/`): 604 digest-bound
15
+ cases with the applicability floor, golden artifacts, and vectors.
16
+ - **The reference implementation and the verifier** (Apache-2.0): the
17
+ Elixir package and the second-language TypeScript verifier.
18
+ - **The gate battery and its recorded red proofs** (the requirement
19
+ map): reproducible evidence infrastructure.
20
+
21
+ ## Requires the steward's principals
22
+
23
+ - **Copyright and patent grants**: contributions are DCO-signed and
24
+ Apache-2.0 licensed; a receiving entity takes the grant as-is. BaseLabs Holdings and contributors retain their copyrights, licensing
25
+ perpetually under Apache-2.0.
26
+ - **Registry decision rights**: the registry process (see
27
+ registry/OPERATIONS.md) names the steward; a transfer re-points the
28
+ process owner, which is a policy amendment, not a data change.
29
+
30
+ ## Not transferable
31
+
32
+ - **The steward's unpublished product identities.** Registered example
33
+ namespaces are RFC 2606 example-class by design; real product
34
+ registrations happen when those products are public, under their own
35
+ ownership.
36
+
37
+ ## Triggers
38
+
39
+ A transfer conversation opens when a venue or foundation terms
40
+ discussion begins (the recorded trigger in the campaign's decision
41
+ records). The extraction job keeps submission mechanical in the
42
+ meantime.
43
+
44
+ ## The deferred-work registry
45
+
46
+ Work deliberately not done at this release, each with the trigger that
47
+ reopens it — vision accounting, not silent deferral. This registry is
48
+ the durable, shipped record; nothing on it is dropped.
49
+
50
+ | Deferred work | Reopens when |
51
+ |---|---|
52
+ | Repository extraction to its own repo | a standards-body submission opens (the extraction job keeps it a filter away) |
53
+ | Foundation donation execution | a terms discussion begins (this document is the inventory) |
54
+ | Third implementation (Rust or Go) | an external conforming implementation merges |
55
+ | Registry codegen from the canonical json | a third implementation, or an unported registry change surviving a cycle |
56
+ | CDDL validator automation | a maintained RFC 8610 validator passes the derivation gate |
57
+ | npm kit distribution — DELIVERED with the installable-verifier release (`@agent-blueprint-protocol/verifier`; the agreement gate proves the kit against the escript every build) | retired — reopened only if distribution requirements change |
58
+ | Registry public registrants (real product identities) | the portfolio products go public |
59
+ | Benchmark program | the first host-integration performance question |
60
+ | Federation completion (native wire fields revisit) | the MCP tasks extension leaves Beta |
61
+ | Attestation-kind registry activation | a second attestation consumer exists |
62
+ | Subset profiles (decode+verify only) — the card projection and single-artifact verify shipped with the installable-verifier release; the NORMATIVE subset profile remains open | an adopter needs the formal profile |
63
+ | Deterministic fixture signing keypair — DELIVERED; new fixtures use a fixed, explicitly test-only Ed25519 seed and existing signatures remain byte-identical | retired — reopened only if fixture derivation changes |
64
+
65
+ Each trigger is checkable; none is a date. When one fires, the work
66
+ re-enters the queue with the same discipline as everything in the
67
+ requirement map.
@@ -0,0 +1,27 @@
1
+ # Intellectual property and licensing — specification tree
2
+
3
+ This specification tree (`spec/`) is licensed Apache License 2.0 (the
4
+ LICENSE copy beside this document; the same terms as the reference
5
+ implementation).
6
+
7
+ - **Patent posture.** Contributors license essential claims covering
8
+ their contributions under Apache-2.0's patent grant (Section 3). The
9
+ steward's intent is a donation-ready posture: no CLA is required,
10
+ and no additional patent covenant is asserted beyond Apache-2.0. A
11
+ future standards venue's IPR process (W3C-mode essential-claims
12
+ disclosure, or a foundation's inbound license) can be satisfied from
13
+ this basis without re-licensing.
14
+ - **Sign-off.** Contributions are accepted under the Developer
15
+ Certificate of Origin (DCO): `git commit -s`. The sign-off records
16
+ that the contributor wrote or has the right to submit the work.
17
+ - **Copyright.** Copyright is retained by contributors, licensed under
18
+ Apache-2.0; the NOTICE file beside this tree names the steward.
19
+ - **Trademark.** The project name carries no registered trademark
20
+ claim by the steward at this time; a receiving foundation may adopt
21
+ one as part of a transfer.
22
+
23
+ ## Steward
24
+
25
+ The Agent Blueprint Protocol is stewarded by BaseLabs Holdings with Russ Palermo as the named maintainer. Decision
26
+ rights, the registry process, and the transfer inventory are recorded
27
+ in this tree (see FOUNDATION-TRANSITION.md and registry/OPERATIONS.md).
@@ -0,0 +1,190 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all other
162
+ commercial damages or losses), even if such Contributor has been
163
+ advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ Copyright 2026 BaseLabs Holdings
179
+
180
+ Licensed under the Apache License, Version 2.0 (the "License");
181
+ you may not use this file except in compliance with the License.
182
+ You may obtain a copy of the License at
183
+
184
+ http://www.apache.org/licenses/LICENSE-2.0
185
+
186
+ Unless required by applicable law or agreed to in writing, software
187
+ distributed under the License is distributed on an "AS IS" BASIS,
188
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
189
+ See the License for the specific language governing permissions and
190
+ limitations under the License.
@@ -0,0 +1,4 @@
1
+ agent_blueprint_protocol
2
+ Copyright 2026 BaseLabs Holdings
3
+
4
+ This product includes software developed by BaseLabs Holdings.
@@ -0,0 +1,47 @@
1
+ # Agent Blueprint Protocol — specification directory
2
+
3
+ This directory holds the normative specification of the Agent Blueprint
4
+ Protocol (`protocol.md`), kept deliberately self-contained: no build
5
+ tool, package manager, or repository context is needed to read it. The
6
+ license terms for this tree ship beside it (`LICENSE`, `NOTICE`).
7
+
8
+ ## Extraction
9
+
10
+ The specification is extraction-ready. The two paths that constitute a
11
+ standalone specification tree are this directory and the conformance
12
+ corpus:
13
+
14
+ ```bash
15
+ git filter-repo --path spec/ --path priv/conformance
16
+ ```
17
+
18
+ The result renders with no dangling references: the document cites the
19
+ conformance corpus and the extension registry **by digest** (the pinned
20
+ values inside `priv/conformance/index.json`, which extracts beside this
21
+ tree), never by a repository-relative path that would dangle once
22
+ extracted. The repository's own build asserts this on every run, and
23
+ its continuous-integration workflow re-proves the extraction against
24
+ the filter command above.
25
+
26
+ ## Release identity chain
27
+
28
+ Every release pins the specification and its evidence together:
29
+
30
+ | Field | Meaning |
31
+ |---|---|
32
+ | specification digest | SHA-256 over the framed, path-sorted files of this directory |
33
+ | package version | the reference-implementation release this specification certifies |
34
+ | corpus digest · registry digest | the conformance corpus and compiled registry this release ships |
35
+ | corpus index hash | SHA-256 of the corpus index bytes |
36
+ | manifest version | the SHAPE version of the release-identity manifest (additive-only within a version) |
37
+ | verification semantics version | the release's computational meaning for previously-certified inputs — the semantics/census split's axis (the specification's Evolution clause) |
38
+ | digest identity | the closed digest scheme (canonical bytes, hash, domain separation, wire form), stable across every release |
39
+ | compatibility matrix | the certified verdict per prior census digest, replay-certified by the reference implementation's gate |
40
+ | verifier kit identity | the npm kit's name and version, bound to the Hex line |
41
+
42
+ These values are pinned per release in the reference implementation's
43
+ release metadata and asserted from live state by its release-candidate
44
+ check; a disagreement anywhere in the chain blocks the release. The
45
+ companion release history (one append-only row per release, the
46
+ manifest era onward) is verified against each release tag's actual
47
+ tree by the compatibility gate.
@@ -0,0 +1,176 @@
1
+ {
2
+ "type": "object",
3
+ "properties": {
4
+ "surface": {
5
+ "const": "base64url.decode"
6
+ },
7
+ "input": {
8
+ "type": "object",
9
+ "properties": {
10
+ "base64url": {
11
+ "type": "string"
12
+ }
13
+ },
14
+ "required": [],
15
+ "additionalProperties": false
16
+ },
17
+ "expected": {
18
+ "oneOf": [
19
+ {
20
+ "type": "object",
21
+ "properties": {
22
+ "verdict": {
23
+ "const": "valid"
24
+ },
25
+ "decoded": {
26
+ "type": "string"
27
+ }
28
+ },
29
+ "required": [
30
+ "verdict"
31
+ ],
32
+ "additionalProperties": false
33
+ },
34
+ {
35
+ "type": "object",
36
+ "properties": {
37
+ "verdict": {
38
+ "const": "invalid"
39
+ },
40
+ "code": {
41
+ "enum": [
42
+ "attestation_malformed",
43
+ "audience_mismatch",
44
+ "base64url_invalid",
45
+ "base64url_padded",
46
+ "binding_attestation_stale",
47
+ "binding_descriptor_mismatch",
48
+ "binding_incomplete",
49
+ "bound_source_missing",
50
+ "bound_unit_mismatch",
51
+ "bound_unknown",
52
+ "bound_value_invalid",
53
+ "ceiling:bytes",
54
+ "ceiling:depth",
55
+ "ceiling:items",
56
+ "ceiling:key",
57
+ "ceiling:members",
58
+ "ceiling:nodes",
59
+ "ceiling:number_lexeme",
60
+ "ceiling:string",
61
+ "compatibility_duplicate_entry",
62
+ "compatibility_entry_missing",
63
+ "compatibility_identity_inexact",
64
+ "corpus_applicability_incomplete",
65
+ "corpus_case_id_duplicate",
66
+ "corpus_case_invalid",
67
+ "corpus_count_mismatch",
68
+ "corpus_empty",
69
+ "corpus_file_set_mismatch",
70
+ "corpus_hash_mismatch",
71
+ "corpus_index_invalid",
72
+ "deployment_digest_mismatch",
73
+ "digest_algorithm_unsupported",
74
+ "digest_encoding_invalid",
75
+ "digest_mismatch",
76
+ "duplicate_member",
77
+ "extension_criticality_conflict",
78
+ "extension_duplicate",
79
+ "extension_namespace_invalid",
80
+ "extension_payload_forbidden",
81
+ "extension_retired",
82
+ "extension_schema_digest_mismatch",
83
+ "extension_schema_unavailable",
84
+ "extension_unknown_critical",
85
+ "federation_mapping_conflict",
86
+ "federation_state_unmappable",
87
+ "federation_terminal_conflict",
88
+ "forbidden_portable_value",
89
+ "integer_magnitude",
90
+ "invalid_cardinality",
91
+ "invalid_constraint",
92
+ "invalid_encoding",
93
+ "invalid_number",
94
+ "invalid_syntax",
95
+ "invalid_type",
96
+ "lifecycle_state_invalid",
97
+ "missing_ceiling",
98
+ "missing_required_field",
99
+ "no_authoritative_recovery",
100
+ "non_canonical_bytes",
101
+ "nonportable_content",
102
+ "number_not_double_expressible",
103
+ "predicate_nodes_exceeded",
104
+ "predicate_op_unknown",
105
+ "predicate_path_unresolved",
106
+ "protected_bound_clamp_denied",
107
+ "protocol_revision_unsupported",
108
+ "required_core_field_not_digest_covered",
109
+ "required_core_field_unsupported",
110
+ "schema_complexity_exceeded",
111
+ "schema_dialect_unknown",
112
+ "schema_invalid_shape",
113
+ "schema_keyword_not_allowed",
114
+ "schema_keyword_value_invalid",
115
+ "schema_ref_cycle",
116
+ "schema_ref_unresolvable",
117
+ "signature_algorithm_unsupported",
118
+ "signature_key_unsupported",
119
+ "signature_malformed",
120
+ "signature_not_verified",
121
+ "trailing_bytes",
122
+ "unknown_bound",
123
+ "unknown_member"
124
+ ]
125
+ }
126
+ },
127
+ "required": [
128
+ "verdict",
129
+ "code"
130
+ ],
131
+ "additionalProperties": false
132
+ }
133
+ ]
134
+ },
135
+ "class": {
136
+ "enum": [
137
+ "valid",
138
+ "boundary_near",
139
+ "exact_bound",
140
+ "maximum_plus_one",
141
+ "invalid_encoding",
142
+ "invalid_duplicate",
143
+ "invalid_type",
144
+ "invalid_constraint",
145
+ "invalid_cardinality",
146
+ "unknown_member",
147
+ "tamper_meaningful_byte",
148
+ "digest_mismatch",
149
+ "signature_invalid",
150
+ "revision_above_max",
151
+ "revision_below_min",
152
+ "required_field_unsupported",
153
+ "required_field_not_covered",
154
+ "extension_unknown_critical",
155
+ "extension_unknown_optional_roundtrip",
156
+ "extension_criticality_conflict",
157
+ "extension_schema_unavailable",
158
+ "extension_deprecated_retained",
159
+ "bound_widening_operational",
160
+ "bound_widening_protected",
161
+ "forbidden_portable_value",
162
+ "compatibility_range_rejected",
163
+ "binding_stale",
164
+ "federation_state_unmappable",
165
+ "federation_terminal_conflict",
166
+ "audience_mismatch",
167
+ "terminal_equivocation"
168
+ ]
169
+ }
170
+ },
171
+ "required": [
172
+ "surface",
173
+ "input",
174
+ "expected"
175
+ ]
176
+ }