conformance: 97 rules of 9 verifiers, 206 vectors; verify-layer and agents refuse a classical key under an ML-DSA-65 name; market-settlement reads the notarization time from the certified read; proof-of-ai README in English

This commit is contained in:
Aere Network committed 2026-10-05 17:17:59 +03:00
1 parent c9f2932e04
commit c9798a0013
111 files changed
+15871 -292

No files matched your search

+17 -11
View File
@@ -1,18 +1,24 @@
# AERE Proof of AI (roadmap B2 / #38)
# AERE Proof of AI
Un plic AERE Proof Protocol (AIP-23) care dovedeste provenienta unei actiuni de agent AI - ce model, ce versiune, ce prompt, ce
unelte, ce iesire, ce agent, cine a cerut - verificat de ACELASI verificator ca orice alt proof AERE, fara niciun cod nou de
verificare. Notarizarea si finalitatea post-cuantica vin din AIP-23 (statementHash notarizat pe AereNotary, acoperit de o ancora PQ).
An AERE Proof Protocol (AIP-23) envelope that proves the provenance of an AI agent's action: which model, which version, which
prompt, which tools, which output, which agent and who asked. It is verified by the SAME verifier as every other AERE proof, with
no new verification code. Notarization and the post-quantum certified point come from AIP-23: the statement hash is notarized on
AereNotary and covered by a post-quantum anchor.
```
import { buildProofOfAi } from './proof-of-ai.mjs';
const plic = buildProofOfAi({ model:{name,version,weightsSha256}, prompt, input, output, tools:[...], agentId, requester, createdAt });
// -> plic AIP-23; se verifica cu tools/aere-proof-protocol/verify.mjs
const envelope = buildProofOfAi({ model:{name,version,weightsSha256}, prompt, input, output, tools:[...], agentId, requester, createdAt });
// -> an AIP-23 envelope; verify it with the AIP-23 reference verifier (verify-proof.mjs, published at aere.network/tools)
```
Plicul tine numai DIGESTURI (promptul, intrarea, iesirea, cine a cerut se stocheaza ca SHA-256, nu brut). Se aliniaza cu contractul
de pe lant `contracts/contracts/compliance/AereAIProof.sol` (modelId, inputHash, outputHash, requesterHash), dar e PORTABIL: exista
fara lant, il cere doar pentru finalitate.
The envelope holds DIGESTS only: the prompt, the input, the output and the requester are stored as SHA-256, never raw. It lines up
with the on-chain contract `AereAIProof` (modelId, inputHash, outputHash, requesterHash), but it is PORTABLE: it exists without the
chain and needs the chain only for the certified point.
Proba: `node proba-proof-of-ai.mjs` (6/6, cu control negativ: iesire schimbata dupa hash -> INVALID). Teza demonstrata: un standard,
multe feluri de dovada - acelasi verificator, un fel de proof nou, zero cod nou.
Test: `node proba-proof-of-ai.mjs` (6/6, with a negative control: an output changed after hashing is INVALID). What it shows: one
standard, many kinds of proof. The same verifier, a new kind of proof, no new code.
What it is not: no third party has reviewed this component, and a proof of provenance says what was recorded, not that the model's
output is correct.
(Until 2026-10-05 this README was written in Romanian.)