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:
1 parent
c9f2932e04
commit
c9798a0013
111 files changed
+15871
-292
No files matched your search
+6
-1
@@ -99,6 +99,11 @@ key's account) unless `AERE_CONFIRM_MAINNET=yes`.
|
||||
ledger cannot continue it without looking like a branch: keep the ledger durable, or start under a new policy.
|
||||
- **Revocation time** is the owner's statement, as the agent's entry times are the agent's.
|
||||
- Nothing here proves that the actions happened in the world, only what the agent recorded and whether the policy allowed it.
|
||||
- **Corrected on 2026-10-03: the agent key must be an ML-DSA-65 key.** Until then `verifyLedger` did not require it: the agent id
|
||||
is derived from any key and the signature check accepts whatever key it is given, so a ledger written and signed with an Ed25519
|
||||
key verified as the ledger of a post-quantum identity, and `openLedger` opened one for such a key. Found while this verifier was
|
||||
enrolled in the conformance suite (`conformance/`), where it is now a vector. Both now refuse by name. Every refusal of
|
||||
`verifyLedger` also carries a rule id from a declared list (`REGULI`, the field `rule`).
|
||||
|
||||
## Tests
|
||||
|
||||
@@ -107,7 +112,7 @@ Measured on 2026-09-29 (Node.js 24.14.1, Windows):
|
||||
| test | result |
|
||||
|---|---|
|
||||
| `node proba-agent-policy.mjs` | 27/27 with the AIP-23 reference verifier (`AERE_VERIFY_PROOF=<verify-proof.mjs from aere-node>`); without it 25 run, 2 are reported as skipped and the exit code is 2 |
|
||||
| `node proba-agent-ledger.mjs` | 51/51: limits over the ledger, identity, tampering, a re-signed false decision, a looser policy under the real hash, backdating (refused when written; caught with anchors or `notBefore`), a branch, equivocation proofs, resuming |
|
||||
| `node proba-agent-ledger.mjs` | 54/54 (measured 2026-10-05): a ledger written and signed with a classical key refused by name, by the verifier and by the writer; limits over the ledger, identity, tampering, a re-signed false decision, a looser policy under the real hash, backdating (refused when written; caught with anchors or `notBefore`), a branch, equivocation proofs, resuming |
|
||||
| `node proba-agent-aprobare.mjs` | 39/39: threshold, unnamed or repeated approvers, classical keys, another action or other tool arguments, reused nonces (also after a restart), expiry, approvals across branches, revocation, an omitted revocation |
|
||||
| `node proba-agent-cli.mjs` | 23/23 on Windows, through files and processes only; on Linux and macOS one more test checks the 0600 mode of the key (not measured here) |
|
||||
| `node proba-agent-ancora.mjs` | 26/26 without a network (the AIP-23 verifier's answer in its own form): the head, the time read from the finality level (pending, failed, a mismatched or unknown form: no anchor), an envelope that claims another time, backdating caught with the anchor and not without it, another branch, the refusals before any transaction (a modified head, chain 2800 without confirmation, no contract at the notary) |
|
||||
|
||||
Reference in new issue
Block a user