Each report the Dossier reads passes the same five controls. Present means a readable report from a named tool. Sealed means the content hash written in the report matches a hash recomputed from its content. Signed means the public test set the report cites carries the tool's signature. Fresh means the report was measured within the declared validity period. Past that, it is marked due, and past two validity periods it is marked stale. Consistent means the report names one dataset and one content hash. If the tool version is unknown, the Dossier writes unknown. It does not guess a version.
The Dossier builds its list of controls from the code that declares them, so a missing control is computed. No hand-written list is recited.
Each answer carries its reason in words. A report that cannot state its measurement day is not called stale. The Dossier marks it unjudgeable and prints that, which is a different and worse fact.
Verify the controlsThe test suite checks each control on a report it should accept and on one it should refuse.
run it yourself
npm testthe five controls and their refusals, with the rest of the suite
Where it livessrc/controles/index.ts:15 · src/controles/index.ts:24 · src/controles/fresh.ts:5