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

+2 -2
View File
@@ -9,11 +9,11 @@
//
// A level nobody judged is NOT_MEASURED and says why (`cause`). The verdict is INVALID when a level FAILED; PARTIAL when nothing
// failed but something the artifact CLAIMS was not measured (a notarization claim not checked offline, a signature scheme the
// verifier cannot check, a timeline that is not terminal); VALID otherwise, and only with integrity PASSED. `failed` is the sorted
// verifier cannot check, a timeline that is not terminal, a trust chain no witness fixed in time); VALID otherwise, and only with integrity PASSED. `failed` is the sorted
// list of the rule ids that refused: the suite compares it as an exact set.
export const LEVELS = ['integrity', 'authenticity', 'anchoring', 'finality'];
/** Causes that leave a claim of the artifact unmeasured: nothing failed, and the verdict still cannot be VALID. */
export const CAUZE_PARTIALE = ['claim-not-checked', 'unmeasurable', 'pending', 'incomplete'];
export const CAUZE_PARTIALE = ['claim-not-checked', 'unmeasurable', 'pending', 'incomplete', 'unwitnessed'];
export function acumulator() { return Object.fromEntries(LEVELS.map((l) => [l, { failed: [], motive: [], passed: [], nm: [] }])); }
export const pica = (acc, level, rule, motiv) => { acc[level].failed.push(rule); if (motiv) acc[level].motive.push(motiv); };