Data Sense logo
OverviewCase Studies
Platforms
ServicesMethodologyConsultationBlog
Get a Consultation
Data Sense logo

Data Sense transforms complex raw data into automated, actionable insights, turning complexity into clarity for startups and international scale-ups.

Services

Dashboard DevelopmentRegulatory Reporting AutomationFinancial Data GovernanceExcel Process AutomationPower BI ConsultingDecision Intelligence & Advanced Analytics

Navigation

OverviewCase StudiesPlatformsServicesMethodologyConsultationBlogSimBIVaultGraphPower BI MCPLabs

Contact

info@datasenseco.com
Get a Consultation
© 2026 Data Sense. All rights reserved.Raw Data → Real Decisions
Home/Research & Briefings/Validating AI Agent Outputs: Completeness Checks, Versioned Definitions and Runtime Delivery
← All Briefings
AI GovernanceNovember 17, 2026 · 32 min read

Validating AI Agent Outputs: Completeness Checks, Versioned Definitions and Runtime Delivery

Nicholas Lombardi, FRM
Nicholas Lombardi, FRM
Founder & Lead Analyst · MA, International Economics & Finance
LinkedIn ↗Discuss This Topic →
Aerial view of a wave breaking against dark coastal rocks, with the title "Validating AI Agent Outputs: Completeness Checks, Versioned Definitions and Runtime Delivery", labeled Technical Blueprint, Metadata, Part 2 of 2, and the SimBI by Data Sense logo.
Architecting Agent-Ready Metadata, Part 2 of 2

An OWL reasoner catches what is impossible but not what is missing, and in a regulated workflow the missing fact is the more common failure: a risk figure with no owner, no definition version, or a free-text label where a governed concept belongs. This part closes that gap with SHACL validation of what AI agents assert, binds each assertion to a definition version, and delivers both the definition and the check to the agent at runtime.

Position in the Technical Blueprint for SimBI

This is the second part of Section 1 of the Technical Blueprint. Section 1 covers metadata: what a governed concept is, in machine terms, and how far its constraints can be enforced. Section 2 covers the ID Stack: who and what acted on that meaning. Section 3 covers suitability and appropriateness: whether the data is valid for the decision an agent is making.

Part 1 established formal meaning with SKOS, OWL 2 and an extension of FIBO, and showed where OWL reasoning stops [15]. This part completes the metadata layer with closed-world validation, versioning, runtime delivery and a worked example on the trading-book boundary, and closes with design requirements. It uses the same extension, prefixes and example identifiers as Part 1.

Figure 1: The validation pipeline, extended from Part 1

Validation pipeline for an AI agent assertion: JSON payload, JSON Schema, JSON-LD context, SHACL and OWL reasoner, all governed by one definition version, leading to a decision layer with Accepted, INDETERMINATE, DENY and ESCALATE outcomes, an after-the-fact review queue and a PROV-O record.

Executive Summary

Part 1 ended on a limit of OWL reasoning. Because a reasoner works under the open-world assumption, a value-at-risk figure with no confidence level, no owner and no definition version is logically consistent. Nothing in it contradicts the ontology, and the missing facts are treated as unknown rather than absent. A regulated workflow cannot accept a figure on those terms.

The W3C Shapes Constraint Language (SHACL) supplies the closed-world check. A shape states what an assertion must contain, which values are permitted and which properties are allowed at all, and a SHACL processor returns a machine-readable report of every failure [1]. The closest published evidence is the benchmark follow-up cited in Part 1, in which a deterministic ontology-based check on generated queries, with LLM repair, raised question-answering accuracy from 54.2% over the knowledge graph alone to 72.55% [13]. That study checked queries rather than assertions, and no published comparison of closed-world validation on agent outputs in a real-world setting has been found, so the claim made here differs from what was tested and needs a benchmark of its own. Accuracy is not the main argument in any case. A closed-world check states what a valid assertion must contain and reports where an assertion falls short, which gives the check defined bounds that can be reviewed and assessed rather than assumed.

For instance, a validation result only holds for the definition it was checked against. The ontology, the concept schemes and the shapes all change over time, so an assertion that conformed in March may fail in November without anything in the assertion itself having changed. If the result does not record which version of the definition applied, it cannot be reproduced later, and a reviewer cannot tell whether a decision was correct under the rules in force when it was made. OWL gives each version of an ontology its own identifier, the version IRI, so each assertion cites one, and SHACL checks it against the shapes released under that same version. This is harder for definitions the institution does not control. An extension built on FIBO inherits FIBO’s terms, and FIBO cannot be fixed to one release by citing version numbers in the import statement alone [8], so the institution has to hold an approved copy and resolve FIBO from that copy rather than from the public web.

The remaining sections set out how definitions and validation reach an agent through the Model Context Protocol (MCP), why a check the agent can decline to call cannot serve as a control, and how this applies to the trading-book boundary in the Basel Framework, a disjointness rule written by a regulator [11].

1. Closed-World Validation with SHACL

SHACL became a W3C Recommendation in July 2017 [1]. It validates an RDF graph, the data graph, against a set of conditions expressed in a shapes graph. OWL asks whether a statement could be true given everything else that is known; SHACL asks whether the statements actually present meet the stated conditions, so an absent value counts as a failure rather than an unknown. Table 1 places the three checks from Part 1 side by side.

Table 1: What each check can and cannot establish

CheckQuestion it answersWhat it cannot see
JSON Schema at the interfaceIs the payload well-formed: required keys, datatypes, permitted literal values?What the keys mean, or whether a value is a governed concept
SHACL on the expanded graphIs the assertion complete and drawn from governed values?Whether it contradicts the ontology’s axioms
OWL reasonerIs the assertion logically consistent with the ontology?Whether anything is missing

1.1 Governance facts in the extension

The payload in Part 1 carried the meaning of a value-at-risk figure, what it measures, at what confidence level and over what horizon, but it is missing the facts that make the figure governable. This part adds three of them to the extension: the risk type as a governed concept, the accountable owner, and the definition version the figure was produced under.

@prefix sh:   <http://www.w3.org/ns/shacl#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix rdf:  <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

ent:AccountableFunction a owl:Class .
ent:hasOwner a owl:ObjectProperty ;
    rdfs:domain ent:RiskMeasure ; rdfs:range ent:AccountableFunction .

# Points at an ontology version IRI; an annotation, so it stays out of the logic
ent:definitionVersion a owl:AnnotationProperty .

# Governed reference data
ent:MarketRiskFunction a ent:AccountableFunction .

Adding terms changes the definition, so the extension moves from version 2026-10 to 2026-11, with consequences discussed in Section 2.

1.2 A shape for value-at-risk

The shape below states what a value-at-risk assertion must contain before anything downstream evaluates it.

ent:ValueAtRiskShape a sh:NodeShape ;
    sh:targetClass ent:ValueAtRisk ;
    sh:closed true ;
    sh:ignoredProperties ( rdf:type ) ;
    sh:property [ sh:path ent:measures ;
        sh:minCount 1 ; sh:maxCount 1 ; sh:nodeKind sh:IRI ] ;
    sh:property [ sh:path cmns-qtu:hasNumericValue ;
        sh:minCount 1 ; sh:maxCount 1 ; sh:datatype xsd:decimal ] ;
    sh:property [ sh:path cmns-qtu:hasMeasurementUnit ;
        sh:minCount 1 ; sh:maxCount 1 ; sh:nodeKind sh:IRI ] ;
    sh:property [ sh:path rdfs:label ; sh:maxCount 1 ] ;
    sh:property [ sh:path ent:confidenceLevel ;
        sh:minCount 1 ; sh:maxCount 1 ; sh:datatype xsd:decimal ;
        sh:minExclusive 0.0 ; sh:maxExclusive 1.0 ] ;
    sh:property [ sh:path ent:horizonDays ;
        sh:minCount 1 ; sh:maxCount 1 ; sh:datatype xsd:positiveInteger ] ;
    sh:property [ sh:path ent:riskType ;
        sh:minCount 1 ; sh:maxCount 1 ; sh:nodeKind sh:IRI ;
        sh:node ent:GovernedRiskConceptShape ] ;
    sh:property [ sh:path ent:hasOwner ;
        sh:minCount 1 ; sh:maxCount 1 ; sh:class ent:AccountableFunction ] ;
    sh:property [ sh:path ent:definitionVersion ;
        sh:minCount 1 ; sh:maxCount 1 ; sh:nodeKind sh:IRI ] .

# A risk type must be a concept in the enterprise scheme from Part 1
ent:GovernedRiskConceptShape a sh:NodeShape ;
    sh:property [ sh:path skos:inScheme ; sh:hasValue ent:RiskTaxonomy ] .

Each constraint addresses a gap that Part 1 left open. Cardinality is the most basic, since sh:minCount 1 turns “must have an owner” into a check that fails when the owner is absent [1, §4.2], which OWL cannot express because under the open world a missing owner is only unknown. The risk type must be an IRI belonging to the enterprise concept scheme, so a free-text “Market risk” fails, and so does treasury:MarketRisk, the treasury concept from Part 1, which is a close match to the enterprise concept rather than the same one. The figure itself is a quantity value and has to state both its number and its unit, using the two properties the OMG Commons ontology already defines for that purpose.

sh:closed true rejects any property the shape does not declare [1, §4.8.1], which stops an agent attaching an attribute of its own invention to a governed figure. A closed shape does not make every property mandatory; the label is declared and optional. The portfolio is required only to be an IRI, and whether it exists is resolved against the systems of record further down the pipeline, as set out in Part 1.

The data graph the shape validates is the payload, expanded through its pinned JSON-LD context, together with the governed reference data: the concept schemes and the list of accountable functions. The complete payload now reads:

{
  "@context": "https://example.com/ontology/risk/2026-11/context.jsonld",
  "@id": "ent:VaR-20261027-TB-EQ-01",
  "@type": "ent:ValueAtRisk",
  "measures": "ent:Portfolio-TB-EQ-01",
  "numericValue": "1250000.00",
  "unit": "ent:USD",
  "confidenceLevel": "0.99",
  "horizonDays": "1",
  "riskType": "ent:MarketRisk",
  "owner": "ent:MarketRiskFunction",
  "definitionVersion": "https://example.com/ontology/risk/2026-11/"
}

1.3 The validation report

Consider a second figure in which the agent supplied the risk type as a label and omitted the definition version:

ent:VaR-20261027-TB-EQ-02 a ent:ValueAtRisk ;
    ent:measures ent:Portfolio-TB-EQ-01 ;
    cmns-qtu:hasNumericValue 1250000.00 ;
    cmns-qtu:hasMeasurementUnit ent:USD ;
    ent:confidenceLevel 0.99 ;
    ent:horizonDays "1"^^xsd:positiveInteger ;
    ent:riskType "Market risk" ;
    ent:hasOwner ent:MarketRiskFunction .

An OWL reasoner accepts this figure because it contradicts nothing. The SHACL processor returns a report, itself an RDF graph [1, §3.6], shown here abbreviated to the two results that matter:

[ a sh:ValidationReport ;
  sh:conforms false ;
  sh:result [ 
      a sh:ValidationResult ;
      sh:resultSeverity sh:Violation ;
      sh:focusNode ent:VaR-20261027-TB-EQ-02 ;
      sh:resultPath ent:riskType ;
      sh:value "Market risk" ;
      sh:sourceConstraintComponent sh:NodeKindConstraintComponent 
    ] ,
    [ 
      a sh:ValidationResult ;
      sh:resultSeverity sh:Violation ;
      sh:focusNode ent:VaR-20261027-TB-EQ-02 ;
      sh:resultPath ent:definitionVersion ;
      sh:sourceConstraintComponent sh:MinCountConstraintComponent 
    ] 
] .

The report identifies the node that failed, the property, the offending value and the constraint that caught it, which makes it useful in two directions. Returned to the agent, it states what has to be corrected; stored, it is evidence of what was checked, against which shapes and with what result.

1.4 Severity tiers

Every shape can declare a severity of sh:Violation (the default), sh:Warning or sh:Info [1, §2.1.4]. One detail matters for anyone wiring this into a control. The specification states that sh:conforms is true “if and only if the validation did not produce any validation results” [1, §3.6.1.1], so a report containing only warnings still reports conforms false, and a consumer reading the boolean alone cannot tell a blocking failure from an advisory one. It has to read the severity of each result.

SHACL assigns no behavior to the tiers; the institution declares the mapping and the decision layer applies it. We discuss the decision layer in our article on AI policy engines. Table 2 gives one workable mapping onto the outcomes introduced in Part 1.

Table 2: An illustrative mapping from validation severity to decision outcome

SeverityMeaning in this layerExampleOutcome
sh:ViolationA mandatory fact is missing or cannot be interpretedNo definition version; risk type given as a labelCannot be evaluated (INDETERMINATE)
sh:WarningComplete and interpretable, but a person must approve before anything executesBook reassignment with approvals outstanding (Section 4.3)Escalated for approval (ESCALATE)
sh:InfoComplete; a fact worth recordingOptional scope note absentRecorded, evaluation proceeds

A warning is declared on the constraint itself with sh:severity sh:Warning, and Section 4.3 shows two examples. An assertion that cites an out-of-date definition is a separate case, covered in Section 2.5.

1.5 Validate what the agent asserted

SHACL does not require inferencing, although a shapes graph can request it with sh:entailment [1, §1.5], so the institution decides whether the shapes run before or after the reasoner. If they run after, the reasoner can supply the facts the shapes were meant to test.

Part 1 showed that domain and range axioms produce inferences rather than errors. Because ent:hasOwner has the range ent:AccountableFunction, a reasoner that sees any owner at all will infer that it is an accountable function. If SHACL then validates the inferred graph, the sh:class check passes for an owner the institution has never heard of, because the reasoner has supplied the very fact the shape was meant to test. The shapes should therefore run on the asserted graph plus governed reference data, before inference, so that validation judges what the agent actually said and reasoning then tests whether it is consistent with everything else.

1.6 SHACL 1.2

A revision is under way. SHACL 1.2 Core is a W3C Working Draft, most recently dated 10 November 2026, and is not yet a Recommendation [2]. Two groups of proposed changes bear on this article.

The first alters the conformance rule described in Section 1.4. The draft introduces a conformance-disallow set, the severities that make a report non-conforming, recorded on the report as sh:conformanceDisallows. Its default is sh:Violation, sh:Warning and sh:Info, so warnings still fail by default, but an engine may allow the set to be customized [2, §6.9.1.2]. The draft also adds two severities below sh:Info, sh:Trace and sh:Debug, which do not count as constraint violations [2].

Under 1.2, the same report could therefore conform on one engine and fail on another, depending on how each is configured. A control that acts on sh:conforms alone would let a book reassignment with approvals outstanding (Section 4.3) pass on an engine set to ignore warnings, when it should have been escalated. Reading the severity of each result avoids this, and the disallow set recorded on the report shows which configuration produced it.

The second group is addressed to agents, sh:intent records why a shape exists, and sh:agentInstruction carries “textual instructions that can be sent to a software agent that understands natural language” [2, §6.11.3]. Neither validates anything, but together they would let a shape explain itself to the agent it constrains.

The examples in this article use only SHACL 1.0, because 1.2 can still change before it becomes a Recommendation, but the design is meant to absorb 1.2 without being reworked. Three changes would follow once it is final.

  1. The control point would define its disallow set explicitly to sh:Violation and sh:Warning and record it on every report. Table 2 would then be stated on the report itself, and an sh:Info result would no longer make a report non-conforming, which under 1.0 it does.
  2. The reason for a constraint and how to satisfy it would travel in the shapes graph as sh:intent and sh:agentInstruction, so the agent reads them from the same artifact, under the same definition version, as the check applied to its output. The instruction would remain guidance and the constraint would still decide the outcome, the same separation of hard and soft constraints described in Section 3.2.
  3. sh:Trace and sh:Debug results, which do not affect conformance, could carry the diagnostic detail the after-the-fact review in Section 2.5 depends on, such as which shapes version was applied and why a revalidation failed, without changing the outcome of the check.

2. Versioning of Meaning

A validation result is a statement about an assertion and a definition. If the definition can change without the result recording which version applied, the result cannot be accurately reproduced, and a decision that relied on it cannot be accurately reconstructed.

2.1 Ontology and version IRIs

OWL 2 separates the two identities. An ontology IRI identifies an ontology series, and a version IRI identifies one version within it. By convention the current version is retrievable at the ontology IRI, and each version, including earlier ones, remains retrievable at its own version IRI [3, §3.1, §3.3]. An agent that resolves the ontology IRI therefore receives whatever is current on the day it asks, while one that resolves a version IRI receives the same definition every time, with the latter supporting an audit. The extension at its new version reads:

ent: a owl:Ontology ;
    owl:versionIRI   <https://example.com/ontology/risk/2026-11/> ;
    owl:priorVersion <https://example.com/ontology/risk/2026-10/> .

2.2 Pinning FIBO

Part 1 imported three FIBO modules by ontology IRI and noted that this loads whichever release is current. Pinning them is less straightforward than substituting a release number. Part 1 cited the production release by its version IRI, 20261001, which identifies the release as a whole; in the FIBO source each module also carries its own version IRI, with the date placed after the domain segment, and the module dates differ both from the release date and from one another [8]:

ent: owl:imports
    <https://spec.edmcouncil.org/fibo/ontology/FBC/20260701/ProductsAndServices/FinancialProductsAndServices/> ,
    <https://spec.edmcouncil.org/fibo/ontology/FND/20260701/Accounting/CurrencyAmount/> ,
    <https://spec.edmcouncil.org/fibo/ontology/FND/20260901/OwnershipAndControl/Ownership/> .

Even versioned direct imports are not a complete pin, because FIBO modules import one another by unversioned ontology IRI. The Financial Products and Services module, for example, imports Currency Amount at https://spec.edmcouncil.org/fibo/ontology/FND/Accounting/CurrencyAmount/ [8], so everything beyond the first level of the import closure still resolves to the current release.

A dependable pin therefore requires a snapshot. The institution records the FIBO release and repository commit it has approved, holds a copy, and resolves every FIBO IRI from that copy rather than from the public web at runtime. The version IRIs in the import statement then document the pin, and the snapshot enforces it.

2.3 One governed definition, several derived artifacts

Part 1 required the JSON Schema and the SHACL shapes to be derived from the same governed definition and versioned with it. Four artifacts are involved, each carrying the version in its own identifier.

Table 3: Versioned artifacts of one governed definition

ArtifactIdentified byWhat it fixes
Ontology and concept schemesowl:versionIRIClasses, axioms and governed concepts
JSON-LD contextVersioned context IRI in @contextWhat each payload key means
JSON Schema [14]Versioned $idPayload structure at the interface
SHACL shapes graphVersioned graph IRICompleteness and governed values

Because the four are released together or not at all, an assertion needs to carry only one fact, ent:definitionVersion, for a reviewer to recover the exact context, schema, shapes and axioms it was checked against.

2.4 Maturity and change

Where the version identifies which definition applies, maturity determines whether an agent may rely on it. Part 1 limited agent assertions to FIBO Release classes and approved extension classes [9], and the same rule applies inside the institution, where a term still under development can be offered to an agent as context, but shapes should target approved terms only.

At the level of a single concept, SKOS provides skos:changeNote and skos:historyNote to record what changed and why [5, §7]. These are documentation rather than controls, but they are the part of the record a person reads when asking why a March figure and a November figure with the same label differ.

2.5 When the cited version is stale

Agents will sometimes submit an assertion citing a superseded definition version, either because the definition was cached or because the agent was mid-task when a new version was approved. Asking a person to wave the old version through would be a weak control, so the response has two stages.

The control point first revalidates the assertion against the current version. If it passes, evaluation continues and the record shows both the version cited and the version applied. If it cannot be revalidated, the outcome is INDETERMINATE and nothing executes, since a stale definition is a mandatory input the layer cannot rely on.

The case then goes to human review after the fact. It is held in a review queue with the assertion, the version it cited, the version in force and the validation report, so that a reviewer can see why it was marked and whether the cause lies in a single agent’s cache or in a release that was never propagated. The review is diagnostic, which distinguishes it from ESCALATE. Under ESCALATE a decision waits for approval before it can execute, whereas here the decision has already been made and the review explains it.

2.6 When a definition changes after use

Section 2.5 deals with an assertion that arrives citing an old version. The opposite case is a definition that changes after assertions have already been accepted under it, either because the institution approves a new FIBO snapshot or because a rule change alters its own extension. Pinning keeps those earlier results reproducible, but we still need to know which are affected.

A resolution check can be implemented here. Each release of the extension publishes the terms, axioms and shapes that changed from its prior version, and because every outcome records the definition version it used (Section 4.4), the check can find the accepted assertions that relied on a changed term. Those are revalidated under the new version, and any that now fail go to the review queue described in Section 2.5.

The check identifies and revalidates, it does not move the pin. Adopting a new FIBO release or a revised rule remains an approved change to the snapshot, because an automatic update would let an external publisher change the institution’s controls. A rule change also usually has an effective date, and a figure produced before that date was correct under the version then in force. The check therefore applies the new version only to results still relied on after the change takes effect, and the record keeps both.

3. Runtime Delivery

A definition held in a repository has no effect on an agent unless the agent receives it at the moment of use, and the check then has to run on what the agent produces. MCP, an open protocol, provides for both. The examples below follow specification version 2026-07-28 [10].

3.1 Definitions as resources

An MCP resource is a piece of context identified by a URI [10], and a governed definition maps onto it directly, with one resource per term per version.

{
  "uri": "ontology://example.com/risk/2026-11/ValueAtRisk",
  "name": "ValueAtRisk",
  "title": "Value at Risk (definition, version 2026-11)",
  "mimeType": "text/turtle",
  "annotations": {
    "audience": ["assistant"],
    "priority": 1.0,
    "lastModified": "2026-11-02T09:00:00Z"
  }
}

The resource URI is the address under which the MCP server serves the definition. It maps one-to-one onto the term’s IRI within the ontology version, https://example.com/ontology/risk/2026-11/, and the Turtle the resource returns states that version IRI, so the definition’s identity does not depend on the server that delivered it. Because the version is part of the URI, there is deliberately no resource for “the current definition of value-at-risk”, for the reasons given in Section 2.1.

3.2 Validation as a tool

An MCP tool is a function the model can call. A tool declares an inputSchema and may declare an outputSchema, and where it does, the specification requires that servers “MUST provide structured results that conform to this schema” [10]. That requirement suits a validation tool, whose report is already structured. The tool below declares both schemas:

{
  "name": "validate_assertion",
  "title": "Validate an assertion against governed definitions",
  "description": "Checks a JSON-LD assertion for completeness (SHACL) and consistency (OWL) at a stated definition version.",
  "inputSchema": {
    "type": "object",
    "properties": {
      "assertion": { "type": "object" },
      "definitionVersion": { "type": "string", "format": "uri" }
    },
    "required": ["assertion", "definitionVersion"]
  },
  "outputSchema": {
    "type": "object",
    "properties": {
      "conforms": { "type": "boolean" },
      "consistent": { "type": "boolean" },
      "definitionVersion": { "type": "string" },
      "results": {
        "type": "array",
        "items": {
          "type": "object",
          "properties": {
            "severity": { "enum": ["Violation", "Warning", "Info"] },
            "focusNode": { "type": "string" },
            "path": { "type": "string" },
            "message": { "type": "string" }
          },
          "required": ["severity", "focusNode"]
        }
      }
    },
    "required": ["conforms", "consistent", "definitionVersion", "results"]
  }
}

A failed validation is still a successful tool call, because the tool returned conforms: false as designed, and the protocol’s error flag is reserved for the case where the check could not run at all.

We chose to use MCP tools over instructions packaged as an agent skill, a Markdown file (SKILL.md) the agent loads into its context. Skills can carry the same guidance about what a valid assertion contains, and the specification notes that “the agent will load this entire file once it’s decided to activate a skill” [24]. However, the agent decides when to load it, applies the guidance itself and reports its own result. A tool hands the check to the validator and returns its report in a declared structure, which is what the control point can record and compare against its own run.

A stricter design than a tool called after the fact is to compile the ontology itself into the tools an agent must use to create or change anything, so that an invalid instance cannot be constructed in the first place. Zhou et al. take this approach [21], and three features of their work carry over to this layer.

  1. The first is a separation between hard and soft constraints. Formal axioms such as the class hierarchy, domain and range, datatypes and modeled cardinalities become run-time checks that refuse an invalid call, while natural-language annotations in the ontology are passed to the agent as guidance and never override the axioms, the same division that separates a SHACL constraint from the proposed sh:agentInstruction.
  2. The second is that every call returns a check report, so a violating call returns an error with an explanation, which the agent uses to correct its next step, much as the validation tool above returns its report as structured output.
  3. The third is evidence that the feedback matters. With constraint feedback switched off, accuracy on the most affected category in their benchmark fell from an F1 of 0.843 to 0.572, almost entirely through lost recall [21].

The benchmark consists of 30 chemistry papers, so only the direction of the effect carries across to finance. The design also depends on the compiled tools being the only route by which data is written. Where an institution can guarantee that, constraints embedded in the tools are the stronger design. Agents in a bank reach systems of record by many routes, so the next section assumes no such guarantee.

3.3 Where the check has to run

The protocol is explicit about who controls each primitive. Resources are “application-driven”, meaning the host application decides which context to load, while tools are “model-controlled”, meaning the model decides whether to call them [10]. The specification also directs clients to treat a tool’s self-described annotations as untrusted unless the server is trusted [10]. Runtime delivery therefore improves the agent’s chance of being right and leaves the choice to use it with the agent, which may skip the resource, skip the tool, or call it, receive a violation and proceed regardless.

Products already on the market reflect this. Collate, the company behind the OpenMetadata catalog, exposes a SHACL validation tool to agents over MCP, and its documentation describes the tool as “Read-only; never blocks writes” [16], an accurate account of what a model-controlled tool can offer.

The same shapes and axioms therefore have to run a second time, at a point the agent does not control, on the assertion it actually submits. The tool lets an agent check its work before proposing anything; the control point checks regardless, and its report is the one that is recorded. Because both runs use the same definition version, they cannot disagree about what the rule was.

Recent research has begun to measure the difference between a rule the model is asked to follow and one enforced outside it. In a study from Santander’s AI Lab on synthetic banking cases, moving governance from a written policy in the prompt to mechanical enforcement outside the model raised decision accuracy from a Matthews correlation of 0.43 to 0.88, and under the written policy alone 27% of the model’s deferrals to a human carried no decision-relevant information [17]. On an airline customer-service benchmark, NOMOS, a deterministic gate compiled from the written policy, cut policy violations among state-changing tool calls from 66.3% to 2.6% [18], and AgentSpec, a rule language enforced at runtime, prevented unsafe executions in over 90% of code-agent cases [19].

These results have limits. The banking study uses synthetic cases and a single model, and its authors attribute the gain to hard rules deciding about a third of cases outright rather than to the model writing better rationales. The other two studies are not financial workloads, and none of the three tests SHACL or a reasoner. They support placing the check outside the model. The choice of standards rests on the arguments in Sections 1 and 2.

4. Worked Example: The Trading-Book Boundary

The Basel Framework divides a bank’s instruments between two regulatory books. The trading book consists of instruments that meet the trading-book specifications, and all other instruments must be included in the banking book [11, RBC25.1]. Because capital is calculated differently in each, the boundary is closely policed, and Part 1 already declared it as a disjointness rule, with ent:TradingBookPosition and ent:BankingBookPosition as disjoint subclasses of the FIBO Position class. The example that follows is a simplification that encodes a handful of the conditions in RBC25.

4.1 Evidence for the initial designation

An instrument held for short-term resale, for profit from short-term price movements, to lock in arbitrage profits, or to hedge risks arising from such instruments must be designated to the trading book when it is first recorded [11, RBC25.5], and may be included only where there is no legal impediment against selling or fully hedging it [11, RBC25.3].

A classification agent proposes that the position arising from the swap in Part 1, ent:Txn-A001, belongs in the trading book. A shape can require the evidence for that proposal:

ent:TradingBookPositionShape a sh:NodeShape ;
    sh:targetClass ent:TradingBookPosition ;
    sh:property [ sh:path ent:arisesFrom ;
        sh:minCount 1 ; sh:maxCount 1 ; sh:nodeKind sh:IRI ] ;
    sh:property [ sh:path ent:designationPurpose ;
        sh:minCount 1 ;
        sh:in ( ent:ShortTermResale ent:ShortTermPriceMovement
                ent:ArbitrageProfit ent:HedgeOfTradingRisk ) ;
        sh:message "RBC25.5: a trading-book designation needs a stated purpose."@en ] ;
    sh:property [ sh:path ent:designatedOn ;
        sh:minCount 1 ; sh:maxCount 1 ; sh:datatype xsd:date ] ;
    sh:property [ sh:path ent:freeOfLegalImpediment ;
        sh:minCount 1 ; sh:maxCount 1 ; sh:hasValue true ;
        sh:message "RBC25.3: no legal impediment to sale or full hedge."@en ] ;
    sh:property [ sh:path ent:definitionVersion ;
        sh:minCount 1 ; sh:maxCount 1 ; sh:nodeKind sh:IRI ] .

A proposal that names its transaction and states a purpose from the governed list, a designation date, the attestation and its definition version passes. One that says only “this is a trading-book position” is complete as far as OWL is concerned but fails here on every required property, with the outcome INDETERMINATE, since the claim cannot be evaluated until the evidence is supplied.

4.2 Contradictions caught by the reasoner

Two later assertions show where the reasoner contributes. In the first, a different agent working on a banking-book report types the same position as banking book:

ent:Pos-0427 a ent:TradingBookPosition ;      # the governed record
    ent:arisesFrom ent:Txn-A001 .

ent:Pos-0427 a ent:BankingBookPosition .      # proposed by a second agent

Since the classes are disjoint, the graph is inconsistent and the assertion is rejected.

The second case is less direct. Rather than retype the existing position, an agent books a new banking-book position against the same transaction:

ent:Pos-0911 a ent:BankingBookPosition ;      # proposed
    ent:arisesFrom ent:Txn-A001 .

Part 1 declared ent:arisesFrom inverse functional, meaning each transaction gives rise to at most one booked position, so two positions arising from ent:Txn-A001 are inferred to be the same position. That position would then be in both the trading book and the banking book, which the disjointness forbids, and the reasoner rejects this second route to the same result. Both outcomes are DENY.

4.3 Reclassification and change control

Once an instrument has been designated, a bank’s ability to move it between books is strictly limited. Switching for regulatory arbitrage is prohibited, and a change of trading intent alone is not a valid reason [11, RBC25.14]. A reassignment must be approved by senior management, documented, approved in advance by the supervisor and publicly disclosed, and is in general irrevocable [11, RBC25.16].

Reclassification sits at the edge of what a metadata layer can decide. A reasoner sees one graph at one moment. It can establish that a position cannot be in both books. A move from one book to the other happens over time, and whether the circumstances justify it is a judgment, so both fall to the change-control process. The design consequence is that an agent never asserts a new book for an existing position. It can only propose a reassignment, which is a governed object with a shape of its own:

ent:BookReassignmentShape a sh:NodeShape ;
    sh:targetClass ent:BookReassignment ;
    sh:property [ sh:path ent:reassigns ;
        sh:minCount 1 ; sh:maxCount 1 ; sh:nodeKind sh:IRI ] ;
    sh:property [ sh:path ent:rationale ;
        sh:minCount 1 ; sh:maxCount 1 ; sh:nodeKind sh:IRI ] ;
    sh:property [ sh:path ent:definitionVersion ;
        sh:minCount 1 ; sh:maxCount 1 ; sh:nodeKind sh:IRI ] ;
    sh:property [ sh:path ent:seniorManagementApproval ;
        sh:minCount 1 ; sh:class ent:ApprovalRecord ;
        sh:severity sh:Warning ;
        sh:message "RBC25.16: senior management approval not yet recorded."@en ] ;
    sh:property [ sh:path ent:supervisorApproval ;
        sh:minCount 1 ; sh:class ent:ApprovalRecord ;
        sh:severity sh:Warning ;
        sh:message "RBC25.16: prior supervisory approval not yet recorded."@en ] .

An approval the agent supplies about its own proposal carries no weight, for the same reason as the owner in Section 1.5. The shape therefore requires each approval to be an ent:ApprovalRecord, and approval records are governed reference data, issued by the review process, held by the control point and kept apart from the submitted assertion, so nothing in an agent’s payload can create or type one, and a proposal that points at an approval the review process never issued still fails. NOMOS applies the same rule to its own gate, where claims made by the agent never enter the store of facts the gate evaluates [18].

A proposal with no rationale is a violation and cannot be evaluated. A well-formed proposal without approvals produces two warnings, which Table 2 maps to ESCALATE, leaving the decision with senior management and the supervisor. Only when both approval records exist does the request conform, and at that point the system of record changes the position’s book.

RBC25.16 also requires the bank to disclose the reassignment publicly, and that requirement works differently from the approvals. The control point checks a proposal before the system of record changes anything, so it can only test facts that already exist at that moment, such as an approval record. Disclosure happens after the reassignment has taken effect. If the shape required evidence of disclosure, every reassignment would fail the check, because the disclosure cannot exist until the change it discloses has been made. A recent theoretical paper on runtime enforcement for agents states the general limit. A check that runs before an action can enforce rules about what has already happened, and has no way to enforce a duty that falls due afterwards [20].

The disclosure requirement therefore moves from the check to the record. When the system of record applies the reassignment, it opens an obligation to disclose, linked to the reassignment, with an owner and a due date. The obligation stays open until a disclosure record closes it, and one still open past its due date goes to the review queue described in Section 2.5.

Table 4: Scenarios on the trading-book boundary

ScenarioCheck that catches itExpected outcome
Trading-book designation with purpose, date and attestation, at a pinned definition versionPasses every layerAccepted for evaluation
Trading-book designation with no stated purposeSHACL (cardinality)Cannot be evaluated (INDETERMINATE)
Existing trading-book position asserted as banking bookOWL reasoner (disjointness)Rejected (DENY)
New banking-book position booked against an already-booked transactionOWL reasoner (inverse functional property, then disjointness)Rejected (DENY)
Reassignment proposed with rationale, approvals outstandingSHACL (warning severity)Escalated for approval (ESCALATE)
Reassignment with both approvals recordedPasses every layerAccepted; system of record applies the change
Reassignment applied, public disclosure past its due date
Open obligation on the recordSent to the review queue

4.4 The record

Each step leaves the same three facts, the definition version, the validation report and the outcome. PROV-O, the W3C provenance ontology, has the terms to connect them [7]:

ent:Designation-0427 a prov:Activity ;
    prov:used <https://example.com/ontology/risk/2026-11/> ,
              ent:ValidationReport-0427 .

ent:Pos-0427 prov:wasGeneratedBy ent:Designation-0427 .

A record of this kind is also what European law expects of the AI systems it classes as high-risk. Article 12 of the EU AI Act requires that such systems “technically allow for the automatic recording of events (logs) over the lifetime of the system”, at a level of traceability appropriate to their intended purpose [23, Art. 12(1)-(2)]. Whether a given agent falls in a high-risk category is a legal question outside the scope of this article, but where one does, the definition version and validation report are events that belong in that log.

One fact is still missing from the record, which is who made the designation. PROV-O has a term for it, prov:wasAssociatedWith, which links an activity to the agent responsible for it. Filled in from the agent’s own payload, it records only the name the agent gave itself, and an agent can give any name. The link has to come from an identity the agent cannot assert for itself, which is the subject of Section 2 of the blueprint, the ID Stack.

5. Design Requirements

Taken together, Parts 1 and 2 of Section 1 set out eleven requirements for the metadata layer.

Table 5: Design requirements for agent-ready metadata

#RequirementBasis
1Every governed concept and entity has a stable, resolvable identifierBCBS 239 ¶33 [12]; OWL 2 §3.1 [3]
2Mutually exclusive categories are declared disjoint; nothing is left for the agent to assumeOWL 2 Primer §4.3 [4]; RBC25.1 [11]
3Legitimate divergence between business units is mapped explicitly, not forced into one modelSKOS §10 [5]; BCBS 239 ¶33, fn 16 [12]
4Every agent assertion is validated closed-world for completeness and governed values before it is evaluatedSHACL §3.6, §4 [1]
5Shapes validate what the agent asserted, before inference; reasoning followsSHACL §1.5 [1]
6Every assertion cites a definition version, and the ontology, context, schema and shapes are released under that one versionOWL 2 §3.3 [3]; JSON-LD 1.1 [6]
7External ontologies are resolved from an approved snapshot, never from “latest”FIBO source [8]
8Changes between approved versions are published, and accepted results that relied on a changed term are revalidated from the change’s effective dateOWL 2 §3.3 [3]; SKOS §7 [5]
9Agents assert only against approved terms; content under development is context onlyFIBO maturity levels [9]
10Definitions and validation are delivered through a standard interface, and the same check runs again at a control point the agent does not controlMCP 2026-07-28 [10]
11Changing a governed classification is a proposal that requires approval, never a new assertion; every outcome records the definition version and validation reportRBC25.14 to 25.16 [11]; PROV-O [7]

Ownership falls under requirement 4. BCBS 239 expects roles and responsibilities to be established for the ownership and quality of risk data [12, ¶34], and the shape in Section 1.2 turns that expectation into a condition an assertion cannot pass without.

In the United States, these requirements fall to the institution. SR 26-2, the revised guidance issued in April 2026, states that “Generative AI and agentic AI models are novel and rapidly evolving. As such, they are not within the scope of this guidance”, leaving a banking organization’s own risk management and governance practices to determine the controls [22, fn 3].

6. What Follows

Section 1 of the blueprint is now complete. A governed concept has a formal definition, and assertions about it are checked for structure, completeness and consistency against a known version of that definition, producing a report that can be stored.

The record described in 4.4 shows what was asserted and which definition governed it. It still needs to show who asserted it. As mentioned, an agent that names itself in a provenance record has proven nothing, and a validation report is only as trustworthy as the binding between the report and the actor behind the assertion.

Section 2 of the blueprint, the ID Stack, sets out one framework that can be applied here. Many approaches to agent identity are being developed, and the ID Stack is offered as one of them. Section 2 outlines which invocation, which agent, acting under whose authority, relied on which dataset and which definition version. Part 1 used the UTI and LEI to identify the trade and the counterparty, and the ID Stack extends the same discipline to the agent itself.

Section 2 of the blueprint covers the technical implementation of the ID Stack. Until it is published, our earlier article on Identity for AI Systems sets out the concepts it builds on.

References

  • [1] W3C, Shapes Constraint Language (SHACL), Recommendation, 20 July 2017, https://www.w3.org/TR/shacl/
  • [2] W3C, SHACL 1.2 Core, Working Draft, 10 November 2026, https://www.w3.org/TR/shacl12-core/
  • [3] W3C, OWL 2 Web Ontology Language Structural Specification and Functional-Style Syntax (Second Edition), Recommendation, 11 December 2012, https://www.w3.org/TR/owl2-syntax/
  • [4] W3C, OWL 2 Web Ontology Language Primer (Second Edition), Recommendation, 11 December 2012, https://www.w3.org/TR/owl2-primer/
  • [5] W3C, SKOS Simple Knowledge Organization System Reference, Recommendation, 18 August 2009, https://www.w3.org/TR/skos-reference/
  • [6] W3C, JSON-LD 1.1: A JSON-based Serialization for Linked Data, Recommendation, 16 July 2020, https://www.w3.org/TR/json-ld11/
  • [7] W3C, PROV-O: The PROV Ontology, Recommendation, 30 April 2013, https://www.w3.org/TR/prov-o/
  • [8] EDM Council, FIBO ontology source, master branch at repository commit 33a92cd (27 October 2026), module version IRIs and import statements, https://github.com/edmcouncil/fibo
  • [9] EDM Council, FIBO specification and development process, https://spec.edmcouncil.org/fibo/
  • [10] Model Context Protocol, Specification version 2026-07-28, Resources and Tools, https://modelcontextprotocol.io/specification/2026-07-28/server/resources; https://modelcontextprotocol.io/specification/2026-07-28/server/tools
  • [11] BCBS, Basel Framework RBC25, Boundary between the banking book and the trading book, https://www.bis.org/committees/bcbs/basel-framework/standard/rbc/25/inforce/2023-01-01/published/2020-03-27
  • [12] BCBS, Principles for effective risk data aggregation and risk reporting (BCBS 239), January 2013, https://www.bis.org/publ/bcbs239.pdf
  • [13] Allemang, D. and Sequeda, J., “Increasing the LLM Accuracy for Question Answering: Ontologies to the Rescue!”, 2024, arXiv:2405.11706, https://arxiv.org/abs/2405.11706
  • [14] JSON Schema, Draft 2020-12, https://json-schema.org/draft/2020-12
  • [15] Data Sense, “Architecting Agent-Ready Metadata for Autonomous Systems” (Part 1 of 2), 28 October 2026, https://datasenseco.com/blog/architecting-agent-ready-metadata-for-autonomous-systems
  • [16] Collate, “Ontology & Knowledge Graph for AI Agents”, product documentation, https://docs.getcollate.io/ai-2-0/how-to-guides/ontology/ai-agents (accessed 12 November 2026)
  • [17] de la Chica Rodríguez, J. M. and Martí-González, C. (Santander AI Lab), “Mechanical Enforcement for LLM Governance: Evidence of Governance-Task Decoupling in Financial Decision Systems”, 2026, arXiv:2605.14744, https://arxiv.org/abs/2605.14744
  • [18] Yu, M.-Y., Kim, T. and Choi, J. W., “NOMOS: Compiling Written Policies into Statically Verified Tool-Call Gates for LLM Agents”, 2026, arXiv:2610.11030, https://arxiv.org/abs/2610.11030
  • [19] Wang, H., Poskitt, C. M. and Sun, J., “AgentSpec: Customizable Runtime Enforcement for Safe and Reliable LLM Agents”, ICSE 2026, arXiv:2503.18666, https://arxiv.org/abs/2503.18666
  • [20] Ray, S., “What Can Be Enforced? A Theory of Certified Runtime Safety for Tool-Using Agents”, 2026, arXiv:2607.22868, https://arxiv.org/abs/2607.22868
  • [21] Zhou, X. et al., “Ontology-to-tools compilation for executable semantic constraint enforcement in LLM agents”, 2026, arXiv:2602.03439, https://arxiv.org/abs/2602.03439
  • [22] Board of Governors of the Federal Reserve System, FDIC and OCC, SR 26-2, Revised Guidance on Model Risk Management, 17 April 2026, attachment, footnote 3, https://www.federalreserve.gov/supervisionreg/srletters/SR2602a1.pdf
  • [23] Regulation (EU) 2024/1689 (Artificial Intelligence Act), Article 12, Official Journal of the European Union, L series, 12 July 2024, https://eur-lex.europa.eu/eli/reg/2024/1689/oj
  • [24] Agent Skills, “Specification”, https://agentskills.io/specification (accessed 13 November 2026)

Series: The Architecture of Governed AI Systems

  1. Governance is the Precondition for Scalable AI Agents
  2. Metadata for AI Agents vs Human Metadata
  3. Identity for AI Systems: The Missing Layer of AI Governance
  4. Data Lineage as the Trust Backbone of AI Systems
  5. Semantic Layers: The Hidden Infrastructure Behind Scalable AI
  6. AI Gateways: The Control Plane for Model Access
  7. How to Evaluate AI Agents: Building a Governance Framework
  8. AI Policy Engines: How to Operationalize AI Governance for Financial Institutions
  9. Institutional Traceability: The Operating System of AI Governance

Follow the Series

We are continuing to explore the architecture required for governed AI systems. Upcoming articles will cover identity infrastructure, policy engines, and AI control planes.

Subscribe to the Data Sense newsletter to receive updates when the next article is published.

Newsletter

Subscribe to Data Sense

Sign up to stay in the loop. You'll get an email when a new article is published.

I won't send you spam. Unsubscribe at any time. Your email is stored with our email provider, Resend, and used only to send new articles.

Continue Series · Part 1 →
Why Governance is the Precondition for Scalable AI Agents
Share Research Briefing
SharePost
RUNTIME CONTROL · SIMBI ADI

Never Let AI Agents Self-Authorize in Production

SimBI governs the boundary between an agent's proposed operation and live execution with verifiable delegation chains, policy evaluation, and execution receipts.

Explore SimBI Architecture →Financial Data Governance Practice →Schedule a Consultation →
RUNTIME CONTROL · SIMBI ADI

Never Let AI Agents Self-Authorize in Production

SimBI governs the boundary between an agent's proposed operation and live execution with verifiable delegation chains, policy evaluation, and execution receipts.

Explore SimBI Architecture →Financial Data Governance Practice →
AI GOVERNANCE ARCHITECTURE SERIES

9-part institutional blueprint for governed AI in finance

  1. 01
    Governance as Precondition
    Control Foundation
  2. 02
    Agent-Ready Metadata
    Machine Context
  3. 03
    Identity for AI Systems
    Verifiable Actors
  4. 04
    Data Lineage & Provenance
    Trust Graph
  5. 05
    Semantic Layers
    Shared Meaning
  6. 06
    AI Gateways
    Access Control Plane
  7. 07
    Agent Evaluation Systems
    Continuous Assurance
  8. 08
    AI Policy Engines
    Runtime Enforcement
  9. 09
    Institutional Traceability
    System of Record
IN THIS BRIEFING
  • Position in the Technical Blueprint for SimBI
  • Executive Summary
  • 1. Closed-World Validation with SHACL
  • 2. Versioning of Meaning
  • 3. Runtime Delivery
  • 4. Worked Example: The Trading-Book Boundary
  • 5. Design Requirements
  • 6. What Follows
  • References
ABOUT THE AUTHOR
Nicholas Lombardi, FRM
Nicholas Lombardi, FRM
MA, International Economics & Finance

Nicholas holds the FRM certification and an MA in International Economics and Finance, with over 15 years in data analytics across startups and domestic and international financial regulators. He specialises in turning complex regulatory and financial data into transparent, reproducible, and actionable intelligence.

View Production Case Studies→
CORE TECHNICAL SERVICES
  • Dashboard Development→
  • Reporting Automation→
  • Power BI, Fabric & MCP→
  • Financial Data Governance & AI Lineage→
  • Excel Process Automation→
  • Decision Intelligence & Analytics→
CONTINUE READING

Related Research & Architecture Briefings

View All Publications →
Featured image for Data Sense post on governance as a precondition for scalable AI agents.
AI Governance

Why Governance is the Precondition for Scalable AI Agents

Scalable AI agents are quickly moving from experimental tools to embedded components of enterprise infrastructure. In financial services, manufacturing, retail, and other regulated sectors, autonomous systems are beginning to interface directly with ledgers, operational databases, and reporting pipelines. As these systems evolve from conversational assistants into operational actors capable of invoking tools, modifying records, and influencing downstream decisions, their risk profile changes materially. As explored in our article on AI agents in data analytics, these systems can automate everything from data ingestion to predictive insights. Why Traceability Becomes a Governance Requirement At this stage, AI agent performance alone is no longer the central concern. The more consequential question is whether the institution can maintain traceability across the full lifecycle of agent activity. Each invocation, data transformation, and system update must be attributable in order to preserve accuracy and accountability. When orchestration cannot be reconstructed, oversight becomes speculative and auditability weakens in regulated environments.

Read Briefing→
AI Agent Evaluation Featured Image
AI Governance

How to Evaluate AI Agents: Building a Governance Framework

AI gateways control whether a model call is allowed to happen. Evaluation systems determine whether autonomous behavior remains acceptable after that access has been granted. In financial institutions, that means measuring performance continuously, defining thresholds explicitly, and inserting human review or restrictions before failure becomes systemic.

Read Briefing→
Aerial view of a turquoise ocean wave crashing into a narrow gap between dark rock cliffs. Overlaid text reads "Architecting Agent-Ready Metadata for Autonomous Systems: From Semantic Discovery to Schema-Level Enforcement," labelled Technical Blueprint, Metadata, Part 1 of 2, with the SimBI by Data Sense logo.
AI Governance

Architecting Agent-Ready Metadata for Autonomous Systems

AI agents act on definitions immediately. In regulated financial workflows, metadata that only describes meaning is no longer sufficient. Meaning must be encoded formally, so that contradictions are caught by a reasoner before an agent acts, not by an auditor after it has.

Read Briefing→