All field notes

Engineering · 8 min read

A tamper-evident audit log for clinical AI.

Written by
Healytix Engineering
Read time
8 min
A tamper-evident audit log for clinical AI.

Why every inference, override and sign-off should be recorded in a hash-chained log, and how write-once storage stops even an administrator rewriting history unnoticed.

Why an ordinary log is not enough

When software influences a clinical decision, someone will later ask what it saw, which model version ran and who approved the result. A normal database table can be edited, including by an administrator. For clinical AI that is not good enough, because the value of the record depends on nobody being able to change it quietly.

How a hash chain works

Each audit entry includes a cryptographic hash of the entry before it. Changing or deleting an old entry changes every hash after it, so tampering becomes visible when the chain is verified. The log records inferences, overrides, sign-offs and state changes, and each result links to its model version, input hash, threshold and the user action taken.

Anchoring the chain outside the database

A chain stored only in the database it protects can still be rewritten by someone who controls that database. So the current head of each tenant's chain is periodically written to write-once object storage. Anyone who later rewrites history would have to produce a chain that matches an anchor they cannot edit.

What auditors can do with it

Auditors can search the log and verify recorded actions. Because overrides and rejections are recorded alongside acceptances, a hospital can see how a model behaves in practice over time, not just on a test set. That is the basis for post-go-live monitoring and for investigating incidents.

The same idea across the platform

The principle is shared across Healytix: AI answers and actions should leave an evidence record with their sources, policy and approver. In Lumen the record covers findings and sign-offs, and in the wider platform it covers answers and agent actions. Traceability is a design requirement, not a reporting feature added later.

Key takeaways

  • 01Hash-chaining makes tampering with a clinical audit log detectable.
  • 02Anchoring chain heads in write-once storage protects against a rewritten database.
  • 03Recording overrides as well as acceptances shows how a model behaves in practice.

Where this lives in the platform

Share this note