conformance: a conformance suite for the AIP-23 proof kinds (one verdict form over the published verifiers, 35 rules derived from code, 122 vectors, a runner for any implementation, a second verifier in Python); four defects it found in the published verifiers are fixed here: the market judge accepted a timeline with its submission event withheld, and three verifiers threw on malformed input instead of refusing by name

This commit is contained in:
Aere Network committed 2026-10-03 13:26:03 +03:00
1 parent 2c000478dc
commit c9f2932e04
145 files changed
+17395 -104

No files matched your search

@@ -0,0 +1,51 @@
{
"v": 1,
"kind": "aere-conformance-vector",
"id": "envelope/agent-decision.integrity",
"artifact": "envelope",
"title": "agent-decision: statement.policyHash changed after hashing",
"source": "derived from envelope/agent-decision.valid",
"requires": [],
"exercises": [
"envelope.form",
"envelope.integrity"
],
"base": "envelope/agent-decision.valid",
"mutation": {
"op": "set",
"path": [
"envelope",
"statement",
"policyHash"
],
"value": "0xc7d983a9886a0899bd6f3f09fde526514b0075f8f6abe77a1886405d86048c270"
},
"input": {
"envelope": {
"v": 1,
"kind": "aere-proof-of-agent-decision-attestation",
"statement": {
"v": 1,
"kind": "aere-proof-of-agent-decision",
"policyHash": "0xc7d983a9886a0899bd6f3f09fde526514b0075f8f6abe77a1886405d86048c270",
"actionHash": "0x4ed27941710465e1431097592d2426f029306343d7e1172aa581b56b2fcf7cd4",
"allowed": true,
"reason": "under the limit",
"createdAt": "2026-09-26T00:00:00Z"
},
"statementHash": "0x80e2d43344c4b23aea1700f9230d5162a7a8768036e5ed4cd5303856fcd5632a"
}
},
"expected": {
"verdict": "INVALID",
"failed": [
"envelope.integrity"
],
"levels": {
"integrity": "FAILED",
"authenticity": "NOT_MEASURED",
"anchoring": "NOT_MEASURED",
"finality": "NOT_MEASURED"
}
}
}