@agent-blueprint-protocol/verifier 0.8.3 → 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.
- package/CHANGELOG.md +137 -0
- package/LICENSE +1 -1
- package/NOTICE +2 -2
- package/README.md +164 -255
- package/dist/corpus/cases/blueprint-decode.json +1 -1
- package/dist/corpus/cases/bounds-new.json +1 -1
- package/dist/corpus/cases/bounds_algebra-intersect.json +1 -1
- package/dist/corpus/cases/canonicalization-encode.json +1 -1
- package/dist/corpus/cases/deployment-decode.json +1 -1
- package/dist/corpus/cases/extension-resolve.json +1 -1
- package/dist/corpus/cases/federation-decode.json +1 -1
- package/dist/corpus/cases/federation-verify_commitment.json +1 -1
- package/dist/corpus/cases/json-decode.json +1 -1
- package/dist/corpus/cases/negotiation-negotiate.json +1 -1
- package/dist/corpus/cases/predicate.json +1 -0
- package/dist/corpus/cases/reconcile.json +1 -0
- package/dist/corpus/cases/schema-validate_instance.json +1 -1
- package/dist/corpus/cases/signature-verify.json +1 -1
- package/dist/corpus/index.json +1 -1
- package/dist/kit/cli.mjs +1 -4
- package/dist/release-history.json +1 -0
- package/dist/release-metadata.json +1 -1
- package/dist/spec/FOUNDATION-TRANSITION.md +67 -0
- package/dist/spec/IPR.md +27 -0
- package/dist/spec/LICENSE +190 -0
- package/dist/spec/NOTICE +4 -0
- package/dist/spec/README.md +47 -0
- package/dist/spec/conformance/base64url-decode.schema.json +176 -0
- package/dist/spec/conformance/blueprint-decode.schema.json +280 -0
- package/dist/spec/conformance/bounds-new.schema.json +302 -0
- package/dist/spec/conformance/bounds_algebra-intersect.schema.json +457 -0
- package/dist/spec/conformance/canonicalization-encode.schema.json +280 -0
- package/dist/spec/conformance/case-file.schema.json +122 -0
- package/dist/spec/conformance/certified-results.json +1 -0
- package/dist/spec/conformance/claim.schema.json +52 -0
- package/dist/spec/conformance/compatibility-verify.schema.json +262 -0
- package/dist/spec/conformance/deployment-decode.schema.json +322 -0
- package/dist/spec/conformance/digest-tagged.schema.json +200 -0
- package/dist/spec/conformance/evidence.schema.json +249 -0
- package/dist/spec/conformance/execution.md +80 -0
- package/dist/spec/conformance/extension-resolve.schema.json +264 -0
- package/dist/spec/conformance/federation-decode.schema.json +318 -0
- package/dist/spec/conformance/federation-verify_commitment.schema.json +342 -0
- package/dist/spec/conformance/index.schema.json +102 -0
- package/dist/spec/conformance/json-decode.schema.json +287 -0
- package/dist/spec/conformance/negotiation-negotiate.schema.json +264 -0
- package/dist/spec/conformance/portability-scan.schema.json +188 -0
- package/dist/spec/conformance/predicate.schema.json +201 -0
- package/dist/spec/conformance/reconcile.schema.json +287 -0
- package/dist/spec/conformance/runner.md +182 -0
- package/dist/spec/conformance/schema-validate_instance.schema.json +206 -0
- package/dist/spec/conformance/signature-verify.schema.json +224 -0
- package/dist/spec/conformance/support.schema.json +72 -0
- package/dist/spec/errata.md +13 -0
- package/dist/spec/grammar/blueprint.cddl +92 -0
- package/dist/spec/grammar/deployment.cddl +125 -0
- package/dist/spec/grammar/derived/blueprint.schema.json +340 -0
- package/dist/spec/grammar/derived/deployment.schema.json +496 -0
- package/dist/spec/grammar/derived/taskenvelope.schema.json +244 -0
- package/dist/spec/grammar/taskenvelope.cddl +77 -0
- package/dist/spec/protocol.md +1238 -0
- package/dist/spec/registry/OPERATIONS.md +69 -0
- package/dist/spec/registry/registry.json +68 -0
- package/dist/verifier/b64url.d.ts +6 -2
- package/dist/verifier/b64url.js +7 -1
- package/dist/verifier/blueprint.d.ts +12 -16
- package/dist/verifier/blueprint.js +40 -112
- package/dist/verifier/bounds.d.ts +1 -1
- package/dist/verifier/bounds.js +2 -2
- package/dist/verifier/bounds_algebra.d.ts +9 -0
- package/dist/verifier/bounds_algebra.js +10 -7
- package/dist/verifier/canonical.d.ts +1 -1
- package/dist/verifier/canonical.js +41 -8
- package/dist/verifier/cli.js +97 -45
- package/dist/verifier/compatibility.js +5 -7
- package/dist/verifier/corpus.d.ts +1 -1
- package/dist/verifier/corpus.js +10 -2
- package/dist/verifier/decode.js +24 -6
- package/dist/verifier/deployment.d.ts +20 -3
- package/dist/verifier/deployment.js +48 -10
- package/dist/verifier/digest.d.ts +12 -0
- package/dist/verifier/digest.js +17 -3
- package/dist/verifier/errors.d.ts +2 -0
- package/dist/verifier/errors.js +1 -0
- package/dist/verifier/execution.d.ts +13 -0
- package/dist/verifier/execution.js +82 -0
- package/dist/verifier/extension.js +4 -4
- package/dist/verifier/facade.d.ts +325 -0
- package/dist/verifier/facade.js +78 -0
- package/dist/verifier/federation.d.ts +2 -2
- package/dist/verifier/federation.js +26 -79
- package/dist/verifier/harness.d.ts +16 -0
- package/dist/verifier/harness.js +201 -0
- package/dist/verifier/index.d.ts +3 -0
- package/dist/verifier/index.js +2 -0
- package/dist/verifier/mapping.d.ts +139 -0
- package/dist/verifier/mapping.js +1 -0
- package/dist/verifier/negotiation.d.ts +2 -1
- package/dist/verifier/negotiation.js +12 -3
- package/dist/verifier/plain.d.ts +4 -0
- package/dist/verifier/plain.js +38 -0
- package/dist/verifier/portability.d.ts +1 -1
- package/dist/verifier/portability.js +19 -6
- package/dist/verifier/predicate.d.ts +7 -0
- package/dist/verifier/predicate.js +63 -7
- package/dist/verifier/reconcile.d.ts +37 -0
- package/dist/verifier/reconcile.js +115 -0
- package/dist/verifier/registry.js +10 -1
- package/dist/verifier/registry_engine.d.ts +3 -0
- package/dist/verifier/registry_engine.js +37 -20
- package/dist/verifier/report.d.ts +8 -0
- package/dist/verifier/report.js +9 -2
- package/dist/verifier/results.d.ts +3 -0
- package/dist/verifier/results.js +13 -0
- package/dist/verifier/run_corpus.js +4 -80
- package/dist/verifier/runner.d.ts +6 -0
- package/dist/verifier/runner.js +123 -17
- package/dist/verifier/schema.js +14 -55
- package/dist/verifier/signature.d.ts +19 -8
- package/dist/verifier/signature.js +51 -29
- package/dist/verifier/value.d.ts +9 -2
- package/dist/verifier/value.js +81 -11
- package/package.json +17 -12
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Errata — specification corrections
|
|
2
|
+
|
|
3
|
+
Corrections to the specification name the affected section of
|
|
4
|
+
`protocol.md`, the releases affected, and the re-certification: the
|
|
5
|
+
conformance corpus, the gates, and the mutation evidence must hold over
|
|
6
|
+
the corrected text (a correction that breaks the chain is a revision,
|
|
7
|
+
not an erratum). Errata are append-only.
|
|
8
|
+
|
|
9
|
+
| Date | Section | Releases | Correction |
|
|
10
|
+
|---|---|---|---|
|
|
11
|
+
| 2026-10-13 | `protocol.md` §6, signing input | every release published before 2026-10-13 that ships this specification | The text named the signature domain separator, a zero byte, and JCS(signed_attributes) as the signing input. Every release signs and verifies the RFC 7797 §3 input `BASE64URL(JCS(protected)) \|\| "." \|\| JCS(signed_attributes)`; the text now states that input, and the `protocol.md` §5 separator row is marked reserved. No verdict changes; the corpus's honest `signature.verify` cases certify the input in both verifiers. |
|
|
12
|
+
| 2026-10-13 | `protocol.md` §6 and `protocol.md` §12, unusable key | every release published before 2026-10-13 that ships this specification | The text required a small-order public key to deny `:signature_key_unsupported`. Every release denies a matched key that is not usable Ed25519 (small-order, non-canonical, or off the curve) with `:signature_algorithm_unsupported`, keeping `:signature_key_unsupported` for a `key_id` with no supplied key; the text now says so and states the order of the checks. No verdict changes; the corpus's eight small-order-key cases, the y = p and off-curve key cases, the zero-key all-zero-signature case, and the unmatched-key case certify it in both verifiers. |
|
|
13
|
+
| 2026-10-13 | `protocol.md` §5, separator table | every release published before 2026-10-13 that ships this specification | The table listed six domain separators, but the digest module's separator table has carried two more at every release: `agent-blueprint-protocol/extension-registry`, which computes the registry digest the corpus index pins, and `agent-blueprint-protocol/extension-schema`, which computes the schema-document digests negotiation checks. The table now lists all eight. No digest changes; the registry digest, pinned by the corpus index and compared by the registry-equality gate across both verifiers, certifies the extension-registry separator. |
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
; Agent Blueprint Protocol — Blueprint Core grammar (normative)
|
|
2
|
+
; RFC 8610 CDDL. This grammar's root member set and required flags are
|
|
3
|
+
; cross-read against the compiled registry table by the derivation
|
|
4
|
+
; gate; sub-object closure remains the reference implementation's; the corpus goldens validate under the derived
|
|
5
|
+
; JSON Schema. By-key uniqueness (operation_family, logical_operation,
|
|
6
|
+
; name, value) is enforced by the reference implementation and is not
|
|
7
|
+
; expressible in JSON Schema; the members are marked unique in comments.
|
|
8
|
+
|
|
9
|
+
blueprint = {
|
|
10
|
+
blueprint_id: producer-qualified
|
|
11
|
+
protocol_revision: positive-integer
|
|
12
|
+
release_number: positive-integer
|
|
13
|
+
producer: producer-object
|
|
14
|
+
capability_requirements: [0*64 capability-element]
|
|
15
|
+
input_ports: [0*64 port-element]
|
|
16
|
+
output_ports: [0*64 port-element]
|
|
17
|
+
output_contract: output-contract-object
|
|
18
|
+
triggers: [1* trigger-kind]
|
|
19
|
+
ceilings: ceilings-object
|
|
20
|
+
classification_ceiling: classification
|
|
21
|
+
effect_intents: [0*64 effect-element]
|
|
22
|
+
evaluation_assertions: [0*128 any]
|
|
23
|
+
extensions: extensions-object
|
|
24
|
+
required_core_fields: [0* tstr]
|
|
25
|
+
? signatures: [0*16 any]
|
|
26
|
+
? attestations: [0*16 any]
|
|
27
|
+
content_digest: tagged-digest
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
producer-object = {
|
|
31
|
+
identity: tstr
|
|
32
|
+
created_at: tstr ; RFC 3339 Z-form
|
|
33
|
+
toolchain: tstr
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
capability-element = {
|
|
37
|
+
operation_family: tstr
|
|
38
|
+
argument_schema: any ; bounded schema document
|
|
39
|
+
result_schema: any ; bounded schema document
|
|
40
|
+
operation_kind: operation-kind
|
|
41
|
+
impact_class: impact-class
|
|
42
|
+
classification_ceiling: classification
|
|
43
|
+
approval_trait: approval-trait
|
|
44
|
+
authority_trait: authority-trait
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
port-element = {
|
|
48
|
+
name: tstr
|
|
49
|
+
schema: any ; bounded schema document
|
|
50
|
+
classification_ceiling: classification
|
|
51
|
+
required: bool
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
output-contract-object = {
|
|
55
|
+
port: tstr
|
|
56
|
+
classification_ceiling: classification
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
effect-element = {
|
|
60
|
+
logical_operation: tstr
|
|
61
|
+
operation_kind: operation-kind
|
|
62
|
+
impact_class: impact-class
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
ceilings-object = {
|
|
66
|
+
max_attempts: positive-integer
|
|
67
|
+
max_concurrency: positive-integer
|
|
68
|
+
max_depth: positive-integer
|
|
69
|
+
max_descendants: positive-integer
|
|
70
|
+
max_elapsed_ms: positive-integer
|
|
71
|
+
max_fan_out: positive-integer
|
|
72
|
+
max_tokens: positive-integer
|
|
73
|
+
max_cost: cost-object
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
cost-object = {
|
|
77
|
+
amount: positive-integer
|
|
78
|
+
currency: tstr
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
trigger-kind = "condition" / "delegated" / "evaluation" / "manual" / "schedule"
|
|
82
|
+
classification = "public" / "internal" / "restricted" / "confidential"
|
|
83
|
+
operation-kind = "read" / "computation" / "mutation"
|
|
84
|
+
impact-class = "ordinary" / "money" / "authority" / "secret"
|
|
85
|
+
approval-trait = "none" / "human_required" / "separated_human_required"
|
|
86
|
+
authority-trait = "none" / "local_policy" / "external_authority_required"
|
|
87
|
+
|
|
88
|
+
; value-form types (checked constraints, not JSON-Schema shapes):
|
|
89
|
+
producer-qualified = tstr
|
|
90
|
+
positive-integer = integer .gt 0
|
|
91
|
+
tagged-digest = tstr
|
|
92
|
+
extensions-object = any
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
; Agent Blueprint Protocol — Deployment Manifest grammar (normative)
|
|
2
|
+
; RFC 8610 CDDL. Bound to the compiled registry table by the derivation gate
|
|
3
|
+
; (root member set + required flags cross-read); corpus goldens validate under the derived JSON Schema. By-key
|
|
4
|
+
; uniqueness (name, logical_operation, logical_dataset, value) and the
|
|
5
|
+
; cross-field hooks are reference-implementation-enforced.
|
|
6
|
+
|
|
7
|
+
deployment = {
|
|
8
|
+
protocol_revision: positive-integer
|
|
9
|
+
blueprint_release: blueprint-release-object
|
|
10
|
+
scope_projection: { adapter_identity: identity-string }
|
|
11
|
+
tool_bindings: [0*128 tool-binding-element]
|
|
12
|
+
data_bindings: [0*64 data-binding-element]
|
|
13
|
+
authority_requirement: {
|
|
14
|
+
adapter_identity: identity-string,
|
|
15
|
+
profile_identity: identity-string
|
|
16
|
+
}
|
|
17
|
+
effect_owner: effect-owner-object
|
|
18
|
+
signer_custody: signer-custody
|
|
19
|
+
eligibility: eligibility-object
|
|
20
|
+
model_policy: model-policy-object
|
|
21
|
+
host_bounds: host-bounds-object
|
|
22
|
+
lifecycle: lifecycle-object
|
|
23
|
+
build_identities: [1*128 build-identity-element]
|
|
24
|
+
evaluation_binding: evaluation-binding-object
|
|
25
|
+
extensions: extensions-object
|
|
26
|
+
required_core_fields: [0* tstr]
|
|
27
|
+
? signatures: [0*16 any]
|
|
28
|
+
? attestations: [0*16 any]
|
|
29
|
+
deployment_digest: tagged-digest
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
blueprint-release-object = {
|
|
33
|
+
blueprint_id: producer-qualified
|
|
34
|
+
release_number: positive-integer
|
|
35
|
+
content_digest: tagged-digest
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
tool-binding-element = {
|
|
39
|
+
logical_operation: identity-string
|
|
40
|
+
adapter_identity: identity-string
|
|
41
|
+
descriptor_digest: tagged-digest
|
|
42
|
+
schema_digest: tagged-digest
|
|
43
|
+
attested_at: tstr ; RFC 3339 Z-form
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
data-binding-element = {
|
|
47
|
+
logical_dataset: identity-string
|
|
48
|
+
classification_ceiling: classification
|
|
49
|
+
as_of: { mode: as-of-mode, max_age_ms: integer .gt 0 }
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
effect-owner-object = {
|
|
53
|
+
adapter_identity: identity-string
|
|
54
|
+
idempotency: idempotency-object
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
idempotency-object = {
|
|
58
|
+
key_derivation: "host"
|
|
59
|
+
recovery: "none" / "authoritative"
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
eligibility-object = {
|
|
63
|
+
owner: any ; bounded predicate expression
|
|
64
|
+
beneficiary: any
|
|
65
|
+
runtime_principal: any
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
model-policy-object = {
|
|
69
|
+
allowed_model_roles: [0* tstr]
|
|
70
|
+
max_tokens: positive-integer
|
|
71
|
+
max_cost: cost-object
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
host-bounds-object = {
|
|
75
|
+
classification_ceiling: classification
|
|
76
|
+
disclosure_ceiling: disclosure
|
|
77
|
+
effect_impact_ceiling: impact-class
|
|
78
|
+
authority_trait: authority-trait
|
|
79
|
+
approval_trait: approval-trait
|
|
80
|
+
max_attempts: positive-integer
|
|
81
|
+
max_concurrency: positive-integer
|
|
82
|
+
max_depth: positive-integer
|
|
83
|
+
max_descendants: positive-integer
|
|
84
|
+
max_elapsed_ms: positive-integer
|
|
85
|
+
max_fan_out: positive-integer
|
|
86
|
+
max_tokens: positive-integer
|
|
87
|
+
max_cost: cost-object
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
lifecycle-object = {
|
|
91
|
+
state: "draft" / "active" / "retired"
|
|
92
|
+
? activated_at: tstr
|
|
93
|
+
? retired_at: tstr
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
build-identity-element = {
|
|
97
|
+
kind: "package" / "build" / "adapter" / "extension"
|
|
98
|
+
name: identity-string
|
|
99
|
+
version: tstr ; exact version string
|
|
100
|
+
digest: tagged-digest
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
evaluation-binding-object = {
|
|
104
|
+
adapter_identity: identity-string
|
|
105
|
+
corpus: { name: identity-string, digest: tagged-digest }
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
signer-custody = "host_managed" / "external_kms" / "holder_edge"
|
|
109
|
+
as-of-mode = "none" / "required"
|
|
110
|
+
disclosure = "none" / "summary" / "detail" / "full"
|
|
111
|
+
|
|
112
|
+
; shared value-form types (kept identical across the grammar files):
|
|
113
|
+
producer-qualified = tstr
|
|
114
|
+
positive-integer = integer .gt 0
|
|
115
|
+
tagged-digest = tstr
|
|
116
|
+
identity-string = tstr
|
|
117
|
+
extensions-object = any
|
|
118
|
+
classification = "public" / "internal" / "restricted" / "confidential"
|
|
119
|
+
impact-class = "ordinary" / "money" / "authority" / "secret"
|
|
120
|
+
approval-trait = "none" / "human_required" / "separated_human_required"
|
|
121
|
+
authority-trait = "none" / "local_policy" / "external_authority_required"
|
|
122
|
+
cost-object = {
|
|
123
|
+
amount: positive-integer
|
|
124
|
+
currency: tstr
|
|
125
|
+
}
|
|
@@ -0,0 +1,340 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$defs": {
|
|
3
|
+
"approval-trait": {
|
|
4
|
+
"enum": [
|
|
5
|
+
"human_required",
|
|
6
|
+
"none",
|
|
7
|
+
"separated_human_required"
|
|
8
|
+
]
|
|
9
|
+
},
|
|
10
|
+
"authority-trait": {
|
|
11
|
+
"enum": [
|
|
12
|
+
"external_authority_required",
|
|
13
|
+
"local_policy",
|
|
14
|
+
"none"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
"blueprint": {
|
|
18
|
+
"additionalProperties": false,
|
|
19
|
+
"properties": {
|
|
20
|
+
"attestations": {
|
|
21
|
+
"items": {},
|
|
22
|
+
"maxItems": 16,
|
|
23
|
+
"minItems": 0,
|
|
24
|
+
"type": "array"
|
|
25
|
+
},
|
|
26
|
+
"blueprint_id": {
|
|
27
|
+
"$ref": "#/$defs/producer-qualified"
|
|
28
|
+
},
|
|
29
|
+
"capability_requirements": {
|
|
30
|
+
"items": {
|
|
31
|
+
"$ref": "#/$defs/capability-element"
|
|
32
|
+
},
|
|
33
|
+
"maxItems": 64,
|
|
34
|
+
"minItems": 0,
|
|
35
|
+
"type": "array"
|
|
36
|
+
},
|
|
37
|
+
"ceilings": {
|
|
38
|
+
"$ref": "#/$defs/ceilings-object"
|
|
39
|
+
},
|
|
40
|
+
"classification_ceiling": {
|
|
41
|
+
"$ref": "#/$defs/classification"
|
|
42
|
+
},
|
|
43
|
+
"content_digest": {
|
|
44
|
+
"$ref": "#/$defs/tagged-digest"
|
|
45
|
+
},
|
|
46
|
+
"effect_intents": {
|
|
47
|
+
"items": {
|
|
48
|
+
"$ref": "#/$defs/effect-element"
|
|
49
|
+
},
|
|
50
|
+
"maxItems": 64,
|
|
51
|
+
"minItems": 0,
|
|
52
|
+
"type": "array"
|
|
53
|
+
},
|
|
54
|
+
"evaluation_assertions": {
|
|
55
|
+
"items": {},
|
|
56
|
+
"maxItems": 128,
|
|
57
|
+
"minItems": 0,
|
|
58
|
+
"type": "array"
|
|
59
|
+
},
|
|
60
|
+
"extensions": {
|
|
61
|
+
"$ref": "#/$defs/extensions-object"
|
|
62
|
+
},
|
|
63
|
+
"input_ports": {
|
|
64
|
+
"items": {
|
|
65
|
+
"$ref": "#/$defs/port-element"
|
|
66
|
+
},
|
|
67
|
+
"maxItems": 64,
|
|
68
|
+
"minItems": 0,
|
|
69
|
+
"type": "array"
|
|
70
|
+
},
|
|
71
|
+
"output_contract": {
|
|
72
|
+
"$ref": "#/$defs/output-contract-object"
|
|
73
|
+
},
|
|
74
|
+
"output_ports": {
|
|
75
|
+
"items": {
|
|
76
|
+
"$ref": "#/$defs/port-element"
|
|
77
|
+
},
|
|
78
|
+
"maxItems": 64,
|
|
79
|
+
"minItems": 0,
|
|
80
|
+
"type": "array"
|
|
81
|
+
},
|
|
82
|
+
"producer": {
|
|
83
|
+
"$ref": "#/$defs/producer-object"
|
|
84
|
+
},
|
|
85
|
+
"protocol_revision": {
|
|
86
|
+
"$ref": "#/$defs/positive-integer"
|
|
87
|
+
},
|
|
88
|
+
"release_number": {
|
|
89
|
+
"$ref": "#/$defs/positive-integer"
|
|
90
|
+
},
|
|
91
|
+
"required_core_fields": {
|
|
92
|
+
"items": {
|
|
93
|
+
"type": "string"
|
|
94
|
+
},
|
|
95
|
+
"minItems": 0,
|
|
96
|
+
"type": "array"
|
|
97
|
+
},
|
|
98
|
+
"signatures": {
|
|
99
|
+
"items": {},
|
|
100
|
+
"maxItems": 16,
|
|
101
|
+
"minItems": 0,
|
|
102
|
+
"type": "array"
|
|
103
|
+
},
|
|
104
|
+
"triggers": {
|
|
105
|
+
"items": {
|
|
106
|
+
"$ref": "#/$defs/trigger-kind"
|
|
107
|
+
},
|
|
108
|
+
"minItems": 1,
|
|
109
|
+
"type": "array"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"required": [
|
|
113
|
+
"blueprint_id",
|
|
114
|
+
"capability_requirements",
|
|
115
|
+
"ceilings",
|
|
116
|
+
"classification_ceiling",
|
|
117
|
+
"content_digest",
|
|
118
|
+
"effect_intents",
|
|
119
|
+
"evaluation_assertions",
|
|
120
|
+
"extensions",
|
|
121
|
+
"input_ports",
|
|
122
|
+
"output_contract",
|
|
123
|
+
"output_ports",
|
|
124
|
+
"producer",
|
|
125
|
+
"protocol_revision",
|
|
126
|
+
"release_number",
|
|
127
|
+
"required_core_fields",
|
|
128
|
+
"triggers"
|
|
129
|
+
],
|
|
130
|
+
"type": "object"
|
|
131
|
+
},
|
|
132
|
+
"capability-element": {
|
|
133
|
+
"properties": {
|
|
134
|
+
"approval_trait": {
|
|
135
|
+
"$ref": "#/$defs/approval-trait"
|
|
136
|
+
},
|
|
137
|
+
"argument_schema": {},
|
|
138
|
+
"authority_trait": {
|
|
139
|
+
"$ref": "#/$defs/authority-trait"
|
|
140
|
+
},
|
|
141
|
+
"classification_ceiling": {
|
|
142
|
+
"$ref": "#/$defs/classification"
|
|
143
|
+
},
|
|
144
|
+
"impact_class": {
|
|
145
|
+
"$ref": "#/$defs/impact-class"
|
|
146
|
+
},
|
|
147
|
+
"operation_family": {
|
|
148
|
+
"type": "string"
|
|
149
|
+
},
|
|
150
|
+
"operation_kind": {
|
|
151
|
+
"$ref": "#/$defs/operation-kind"
|
|
152
|
+
},
|
|
153
|
+
"result_schema": {}
|
|
154
|
+
},
|
|
155
|
+
"required": [
|
|
156
|
+
"approval_trait",
|
|
157
|
+
"argument_schema",
|
|
158
|
+
"authority_trait",
|
|
159
|
+
"classification_ceiling",
|
|
160
|
+
"impact_class",
|
|
161
|
+
"operation_family",
|
|
162
|
+
"operation_kind",
|
|
163
|
+
"result_schema"
|
|
164
|
+
],
|
|
165
|
+
"type": "object"
|
|
166
|
+
},
|
|
167
|
+
"ceilings-object": {
|
|
168
|
+
"properties": {
|
|
169
|
+
"max_attempts": {
|
|
170
|
+
"$ref": "#/$defs/positive-integer"
|
|
171
|
+
},
|
|
172
|
+
"max_concurrency": {
|
|
173
|
+
"$ref": "#/$defs/positive-integer"
|
|
174
|
+
},
|
|
175
|
+
"max_cost": {
|
|
176
|
+
"$ref": "#/$defs/cost-object"
|
|
177
|
+
},
|
|
178
|
+
"max_depth": {
|
|
179
|
+
"$ref": "#/$defs/positive-integer"
|
|
180
|
+
},
|
|
181
|
+
"max_descendants": {
|
|
182
|
+
"$ref": "#/$defs/positive-integer"
|
|
183
|
+
},
|
|
184
|
+
"max_elapsed_ms": {
|
|
185
|
+
"$ref": "#/$defs/positive-integer"
|
|
186
|
+
},
|
|
187
|
+
"max_fan_out": {
|
|
188
|
+
"$ref": "#/$defs/positive-integer"
|
|
189
|
+
},
|
|
190
|
+
"max_tokens": {
|
|
191
|
+
"$ref": "#/$defs/positive-integer"
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
"required": [
|
|
195
|
+
"max_attempts",
|
|
196
|
+
"max_concurrency",
|
|
197
|
+
"max_cost",
|
|
198
|
+
"max_depth",
|
|
199
|
+
"max_descendants",
|
|
200
|
+
"max_elapsed_ms",
|
|
201
|
+
"max_fan_out",
|
|
202
|
+
"max_tokens"
|
|
203
|
+
],
|
|
204
|
+
"type": "object"
|
|
205
|
+
},
|
|
206
|
+
"classification": {
|
|
207
|
+
"enum": [
|
|
208
|
+
"confidential",
|
|
209
|
+
"internal",
|
|
210
|
+
"public",
|
|
211
|
+
"restricted"
|
|
212
|
+
]
|
|
213
|
+
},
|
|
214
|
+
"cost-object": {
|
|
215
|
+
"properties": {
|
|
216
|
+
"amount": {
|
|
217
|
+
"$ref": "#/$defs/positive-integer"
|
|
218
|
+
},
|
|
219
|
+
"currency": {
|
|
220
|
+
"type": "string"
|
|
221
|
+
}
|
|
222
|
+
},
|
|
223
|
+
"required": [
|
|
224
|
+
"amount",
|
|
225
|
+
"currency"
|
|
226
|
+
],
|
|
227
|
+
"type": "object"
|
|
228
|
+
},
|
|
229
|
+
"effect-element": {
|
|
230
|
+
"properties": {
|
|
231
|
+
"impact_class": {
|
|
232
|
+
"$ref": "#/$defs/impact-class"
|
|
233
|
+
},
|
|
234
|
+
"logical_operation": {
|
|
235
|
+
"type": "string"
|
|
236
|
+
},
|
|
237
|
+
"operation_kind": {
|
|
238
|
+
"$ref": "#/$defs/operation-kind"
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
"required": [
|
|
242
|
+
"impact_class",
|
|
243
|
+
"logical_operation",
|
|
244
|
+
"operation_kind"
|
|
245
|
+
],
|
|
246
|
+
"type": "object"
|
|
247
|
+
},
|
|
248
|
+
"extensions-object": {},
|
|
249
|
+
"impact-class": {
|
|
250
|
+
"enum": [
|
|
251
|
+
"authority",
|
|
252
|
+
"money",
|
|
253
|
+
"ordinary",
|
|
254
|
+
"secret"
|
|
255
|
+
]
|
|
256
|
+
},
|
|
257
|
+
"operation-kind": {
|
|
258
|
+
"enum": [
|
|
259
|
+
"computation",
|
|
260
|
+
"mutation",
|
|
261
|
+
"read"
|
|
262
|
+
]
|
|
263
|
+
},
|
|
264
|
+
"output-contract-object": {
|
|
265
|
+
"properties": {
|
|
266
|
+
"classification_ceiling": {
|
|
267
|
+
"$ref": "#/$defs/classification"
|
|
268
|
+
},
|
|
269
|
+
"port": {
|
|
270
|
+
"type": "string"
|
|
271
|
+
}
|
|
272
|
+
},
|
|
273
|
+
"required": [
|
|
274
|
+
"classification_ceiling",
|
|
275
|
+
"port"
|
|
276
|
+
],
|
|
277
|
+
"type": "object"
|
|
278
|
+
},
|
|
279
|
+
"port-element": {
|
|
280
|
+
"properties": {
|
|
281
|
+
"classification_ceiling": {
|
|
282
|
+
"$ref": "#/$defs/classification"
|
|
283
|
+
},
|
|
284
|
+
"name": {
|
|
285
|
+
"type": "string"
|
|
286
|
+
},
|
|
287
|
+
"required": {
|
|
288
|
+
"type": "boolean"
|
|
289
|
+
},
|
|
290
|
+
"schema": {}
|
|
291
|
+
},
|
|
292
|
+
"required": [
|
|
293
|
+
"classification_ceiling",
|
|
294
|
+
"name",
|
|
295
|
+
"required",
|
|
296
|
+
"schema"
|
|
297
|
+
],
|
|
298
|
+
"type": "object"
|
|
299
|
+
},
|
|
300
|
+
"positive-integer": {
|
|
301
|
+
"minimum": 1,
|
|
302
|
+
"type": "integer"
|
|
303
|
+
},
|
|
304
|
+
"producer-object": {
|
|
305
|
+
"properties": {
|
|
306
|
+
"created_at": {
|
|
307
|
+
"type": "string"
|
|
308
|
+
},
|
|
309
|
+
"identity": {
|
|
310
|
+
"type": "string"
|
|
311
|
+
},
|
|
312
|
+
"toolchain": {
|
|
313
|
+
"type": "string"
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
"required": [
|
|
317
|
+
"created_at",
|
|
318
|
+
"identity",
|
|
319
|
+
"toolchain"
|
|
320
|
+
],
|
|
321
|
+
"type": "object"
|
|
322
|
+
},
|
|
323
|
+
"producer-qualified": {
|
|
324
|
+
"type": "string"
|
|
325
|
+
},
|
|
326
|
+
"tagged-digest": {
|
|
327
|
+
"type": "string"
|
|
328
|
+
},
|
|
329
|
+
"trigger-kind": {
|
|
330
|
+
"enum": [
|
|
331
|
+
"condition",
|
|
332
|
+
"delegated",
|
|
333
|
+
"evaluation",
|
|
334
|
+
"manual",
|
|
335
|
+
"schedule"
|
|
336
|
+
]
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
"$ref": "#/$defs/blueprint"
|
|
340
|
+
}
|