audit_the_audits
Probe your store's audit checks by corrupting a temporary copy and report whether each check notices, misses, hides detail, or fails control. Verifies checks can actually fail before you rely on them.
Instructions
CAN THIS LIBRARY'S OWN CHECKS ACTUALLY FAIL -- on THIS store?
Every verify_*/check_*/*_audit tool here answers a question about your data. None answers the one above it: would this check have noticed if the thing it guards against had happened? A check that cannot fail on your store is not protecting you, it is producing a reassuring string.
Corrupts a temporary COPY (never your store) in ways each surface claims to detect, and reports NOTICED / MISSED / SUMMARY_HIDES_DETAIL / CONTROL_FAILED per probe. Read the third and fourth: SUMMARY_HIDES_DETAIL means the boolean stayed clean while the report said otherwise, and monitoring reads booleans; CONTROL_FAILED means the surface was ALREADY unhappy before the corruption, which is a finding about your store rather than about the check.
On its first run against our own 450-record decision store it returned three CONTROL_FAILEDs and the reason was worth having: receipts enabled, chain empty, nothing covered by a write receipt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||