conformance: the identity presentation verifier enrolled (134 rules of 10 verifiers, 273 vectors); the reference verifier instruction names all five files beside verify-proof.mjs; module READMEs point to aere.network/tools

This commit is contained in:
Aere Network committed 2026-10-05 18:53:32 +03:00
1 parent c9798a0013
commit 5fb38c5d0b
88 files changed
+20246 -179

No files matched your search

+5 -2
View File
@@ -9,11 +9,14 @@
//
// 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, a trust chain no witness fixed in time); 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, a presentation judged without the
// verifier's audience, nonce or trusted issuers, a credential whose status list was not read); 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', 'unwitnessed'];
// 'not-supplied' (2026-10-05): the artifact binds itself to something of the VERIFIER (its audience, its nonce, the issuers it trusts)
// and the verifier did not bring it, so the check was not made.
export const CAUZE_PARTIALE = ['claim-not-checked', 'unmeasurable', 'pending', 'incomplete', 'unwitnessed', 'not-supplied'];
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); };