Step-by-step answer
Core 60–90 min7 stepsBuild a hash-chained audit log and a supervision sampler
An append-only SQLite audit table with one SHA-256 chain per matter, a verifier that names the first broken record, and a stratified supervision sampler. On 50 synthetic matters with 20 planted draft errors, a sample of 149 draft steps caught at least one error in 96.5% of 1,000 trials, against the 95% the formula predicts.
Back to the exercise