The Epistemic Harness

Regulated financial systems demand deterministic behavior -- auditability, repeatability, and strict policy enforcement. AI systems are probabilistic. Introducing AI into these environments without principled constraints creates compliance risk and institutional liability. This paper formalizes the Epistemic Harness, an architectural pattern for governing AI in regulated financial systems. The pattern positions LLMs as grammar-derivation engines: given a formal specification, the model produces a scoped intermediate representation that downstream deterministic systems can consume and enforce. The harness wraps and constrains AI behavior. It does not replace existing processes. The core argument is that existing engineering infrastructure -- version-controlled specifications, CI/CD pipelines, and human review gates -- is sufficient to govern AI in high-compliance environments. No new platforms or governance tooling are required. The pattern enables non-disruptive AI retrofit into legacy systems and positions organizations for migration readiness as requirements evolve. A reference implementation applying this pattern to NACHA/ACH payment file validation is available at github.com/torjoshi/nacha_parser.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-05-12
DOI
https://doi.org/10.5281/zenodo.20151262
Primary Topic
Ethics and Social Impacts of AI
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
preprint

The Epistemic Harness

Rajesh Joshi
Zenodo (CERN European Organization for Nuclear Research)
Ethics and Social Impacts of AI
preprint

The Epistemic Harness

Rajesh Joshi
preprint en

Abstract

Regulated financial systems demand deterministic behavior -- auditability, repeatability, and strict policy enforcement. AI systems are probabilistic. Introducing AI into these environments without principled constraints creates compliance risk and institutional liability. This paper formalizes the Epistemic Harness, an architectural pattern for governing AI in regulated financial systems. The pattern positions LLMs as grammar-derivation engines: given a formal specification, the model produces a scoped intermediate representation that downstream deterministic systems can consume and enforce. The harness wraps and constrains AI behavior. It does not replace existing processes. The core argument is that existing engineering infrastructure -- version-controlled specifications, CI/CD pipelines, and human review gates -- is sufficient to govern AI in high-compliance environments. No new platforms or governance tooling are required. The pattern enables non-disruptive AI retrofit into legacy systems and positions organizations for migration readiness as requirements evolve. A reference implementation applying this pattern to NACHA/ACH payment file validation is available at github.com/torjoshi/nacha_parser.

Zenodo (CERN European Organization for Nuclear Research)
Ethics and Social Impacts of AI
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.