AIP-23: a sixteenth proof kind, agent-decision (an AI agent's action judged against a policy named by its hash, allowed or refused and why), with its conformance envelope; its actionHash is the SHA-256 of the canonical JSON of the action, so anyone can recompute it. Produced by the agents component published in aere-quantum the same day. All sixteen envelopes VALID with verify-proof.mjs offline.

This commit is contained in:
Aere Network committed 2026-09-29 22:01:33 +03:00
1 parent a464214626
commit 3117a33107
4 files changed
+57

No files matched your search

+36
View File
@@ -515,6 +515,42 @@
],
"attests": "an AI action: which model and version, which prompt, input and output (digests), which tools, which agent, who asked",
"vector": "ai.json"
},
{
"kind": "agent-decision",
"statementKind": "aere-proof-of-agent-decision",
"envelopeKind": "aere-proof-of-agent-decision-attestation",
"fields": [
{
"name": "policyHash",
"type": "hash",
"note": "the hash of the agent policy in its normal form (0x + 64 hex)"
},
{
"name": "actionHash",
"type": "digest",
"note": "SHA-256 of the canonical JSON of the action (keys sorted at every level), 0x + 64 hex"
},
{
"name": "allowed",
"type": "plain",
"note": "boolean"
},
{
"name": "reason",
"type": "plain",
"note": "why the policy allowed or refused it, in English"
}
],
"required": [
"policyHash",
"action",
"decision",
"createdAt"
],
"attests": "an AI agent action was judged against a policy (by its hash): allowed or refused, and why; the action by the digest of its canonical JSON",
"added": "2026-09-29",
"vector": "agent-decision.json"
}
]
}
+1
View File
@@ -41,6 +41,7 @@ ABSENT). Change one field of a statement and it is INVALID at the integrity leve
| settlement (added 2026-09-28) | `aere-proof-of-settlement` | `chainId`, `txHash`, `blockHash`, `amount`, `asset`, `createdAt` | a settlement on a chain: its transaction and block (32-byte hashes carried as they are, never re-hashed), amount and asset |
| provenance (added 2026-09-28) | `aere-proof-of-provenance` | `subjectHash`, `parents`, `createdAt` | an artifact (digest) was produced from a non-empty list of parents (digests), by a process (digest), by an actor |
| ai | `aere-proof-of-ai` | `model.name`, `createdAt` | an AI action: which model and version, which prompt, input and output (digests), which tools, which agent, who asked |
| agent-decision (added 2026-09-29) | `aere-proof-of-agent-decision` | `policyHash`, `action`, `decision`, `createdAt` | an AI agent action was judged against a policy (by its hash): allowed or refused, and why; the action by the digest of its canonical JSON |
Field types in `KINDS.json`: `digest` is the SHA-256 of some content (0x + 64 hex), so nothing sensitive enters the statement in
the clear; `hash` is a value that is already a 32-byte hash (a transaction or block hash) and is refused if it has another form;
+14
View File
@@ -0,0 +1,14 @@
{
"v": 1,
"kind": "aere-proof-of-agent-decision-attestation",
"statement": {
"v": 1,
"kind": "aere-proof-of-agent-decision",
"policyHash": "0xc7d983a9886a0899bd6f3f09fde526514b0075f8f6abe77a1886405d86048c27",
"actionHash": "0x4ed27941710465e1431097592d2426f029306343d7e1172aa581b56b2fcf7cd4",
"allowed": true,
"reason": "under the limit",
"createdAt": "2026-09-26T00:00:00Z"
},
"statementHash": "0x80e2d43344c4b23aea1700f9230d5162a7a8768036e5ed4cd5303856fcd5632a"
}