urn:hex65:schema:selftest:v1. Every field below comes from the schema; the schema decides.
hex65.selftest/v1 (plan 9.7, F-CON-01 AC-4, WP-148): what the command line’s self-test prints with --json, one JSON document: whether the product measured known truths correctly on this machine. Each check runs its real case and a control (a known-bad input sent through the same code, which must fail): a check passes only when its real case passed, its control failed, and it did at least the work it needs (work, never zero for a pass). control is pass when the control failed as it must, fail when it did not (the check could not have failed), n/a for a skipped check or one without a control (its detail says why). A skipped check names its reason from a closed list. ok is true exactly when no check failed. root_removed says whether the folder the self-test wrote everything in was removed; root is that folder, present only when the run was asked to keep it. Strings are short (a reader may refuse a report over 1 MiB). The report holds no secret, path of the user’s (other than root), recording content or account data.
Fields
CheckResult
SkipReason
Why a check did not run:driver, no enforced containment driver works here; platform, not on this operating system; full_only, in --full“ only; log_store, the machine’s log store did not deliver a denial in time (macOS); source, no embedded assets (running from source, development only). A failed check may name one too: it skipped where the run said it may not (SELFTEST_NO_SKIP), so it failed.
A value of type one of "driver", "platform", "full_only", "log_store", "source".