Verifiable constitutions for LLM-agent systems in regulated domains: binding each principle to an executable check
Systems that embed large language model (LLM) agents are entering regulated domains, and their governance can be written as a "constitution", a principles document that guides specification and review, as in spec-driven development kits. Such documents are reviewed but not executed, so a principle can be declared complied with although nothing checks it. This paper proposes the verifiable constitution: each principle carries "Prohibits:" clauses, each clause is bound to an executable verification (test, static guard, database constraint or trigger, continuous integration gate), and each detector is itself exercised by a planted violation. It defines a per-clause coverage measure (full, partial, none) with a second dimension, reach, which separates checks that catch new cases (general) from checks that cover only the existing path (instance), and offers a domain-neutral ten-principle template. In a preliminary case, a medical imaging platform under development by the author, 6 of the 10 principles that an earlier status report declared complied with had no automatic verification. After fixes driven by planted violations, two separate LLM-agent assessments found 5 and 3 fully covered principles; only one rested entirely on general checks in both. A new evaluation turned a weakness recorded by the first measurement into a failing scenario, showing that injected text would reach the human approver, and one fix violated another, unverified principle. With the same coverage definition, the assessors disagreed on 4 of 14 principles with unchanged behaviour (linear weighted kappa 0.61), and the later one found a real gap.
Authors
- Diêgo Azevedo (ORCID: https://orcid.org/0009-0009-1839-7476)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-22
- DOI
- https://doi.org/10.5281/zenodo.24442874
- Primary Topic
- Ethics and Social Impacts of AI
- Type
- preprint