04Verifiable Guidance Layer (POC)
- 01What I was trying to learn
Whether an AI answer about rules can show which version of the rules it relied on. Guidance changes in editions, and an answer can cite a real passage and still apply it to the wrong date or the wrong place. I wanted to see what it takes to make the date, the place and the version explicit, check each claim against them, and still trace an answer after the guidance changes again.
- 02What I built
A local app over a small, fictional rulebook: two editions of an investment-performance standard, two jurisdictions that adopt the newer edition a year apart, a guidance statement, a practitioner note, a later ruling and an amendment.
- Ask: a question, a date and a jurisdiction. Language models frame the question, select entry points in the knowledge model and draft structured claims, each citing a specific version.
- Resolve: PostgreSQL holds every version with its effective dates and the typed links between concepts, and selects the evidence in force for that date and place in the current release.
- Check: Python code checks every claim. A supporting claim that cites nothing, cites outside the retrieved evidence, cites a superseded version or rests only on a practitioner note is removed and flagged. A conclusion that fails, or a ruling the knowledge model refers to but doesn't hold, sends the answer to review.
- Change: a proposed change is previewed against the test cases before an editor approves it into a new release. A register of answers already issued shows which ones an amendment will expire, and from what date.
Thirteen cases I wrote set the expected outcome, citations and flags for each question. All thirteen meet them. A baseline given only the question, on the same documents, went wrong on three. This public edition replays recorded model responses, so it runs in Docker with no API keys. The video and the walkthrough show those recorded results.
- 03What it taught me about the real job
A citation can be correct and the answer still wrong. Most of the work is deciding what a citation has to prove.
- Applicability: the failures this prototype targets are the right passage applied to the wrong date, the wrong place or the wrong release. Those are problems of knowledge structure, so the fix lives in the data model and the code that checks it, not in the prompt. Reasoning errors can still get through.
- Change: the expensive question isn't what the rule says now. It's which answers already issued are now wrong. An amended definition can expire an answer that cites a provision whose words never changed.
- Limits: the checks are structural. They show that a claim cites a version that was in force and available, not that the reading is right. The free-text summary skips the claim-level checks, so the interface collapses it by default. Thirteen out of thirteen on cases I wrote tests the cases, not the method, and the baseline never got the date or the place. A baseline with the same inputs, on questions I didn't write, is the next experiment.
In a regulated business the value isn't an assistant that answers faster. It's one that shows a reviewer what each answer rests on, and points to the earlier answers a change has made wrong.
The video is narrated, with captions. It follows the recorded walkthrough, which you can step through yourself, or read as a four-page PDF. The standard, the jurisdictions, the firms and the cases are all invented.
I get AI out of the pilot.
(It's less glamorous than it sounds and more valuable than it looks.)
Reads only the essays, case studies and prototypes published on this site, and names the piece it drew on. Nothing typed here is stored.
© 2026 Eric Ediger.