DataFocus · Journal
BCBS 239 for AI-generated risk figures: the four records an examiner will ask for
BCBS 239 asks banks to document every aggregation process and reconcile every report. For an AI-generated figure that means four records: the query, the data state, the definition version and the approval. We map them to the paragraphs and give a reconciliation rule.
A bank can let AI generate risk reports under BCBS 239 if, for every figure the AI produces, it can hand an examiner four records: the exact query that ran, the state of the data it ran on, the version of each business definition it used, and the approval that put that version into force. The Principles never mention AI. They ask that aggregation be "largely automated", that every aggregation process be documented and explained, and that reports be reconciled and validated. A language model that writes SQL on request is an aggregation process, and it meets those expectations only when the platform around it writes the records. Below: the four records mapped to the paragraphs that call for them, a decision rule for reconciling two AI answers that disagree, and what DataFocus OT documents about receipts, definitions and approvals.
What the paper asks for, in its own words
The Basel Committee published its Principles for effective risk data aggregation and risk reporting on 9 January 2013, after finding that during the crisis that began in 2007 many banks "were unable to aggregate risk exposures and identify concentrations fully, quickly and accurately." G-SIBs designated in 2011 or 2012 had to comply by January 2016. The full paper has fourteen principles; six passages decide what an AI reporting layer must prove.
Principle 3, Accuracy and Integrity, is the line vendors quote: "Data should be aggregated on a largely automated basis so as to minimise the probability of errors." The paragraphs beneath it set the price. Paragraph 36 says "controls surrounding risk data should be as robust as those applicable to accounting data", that risk data "should be reconciled with bank's sources", and that a bank "should strive towards a single authoritative source for risk data per each type of risk." Paragraph 37 adds a precondition: "a bank should have a 'dictionary' of the concepts used, such that data is defined consistently across an organisation."
Paragraph 38 addresses the human role: there should be "an appropriate balance between automated and manual systems", and "where professional judgements are required, human intervention may be appropriate." Paragraph 39 is the sentence to pin above the desk of anyone deploying AI reporting: "Supervisors expect banks to document and explain all of their risk data aggregation processes whether automated or manual (judgement based or otherwise)." Paragraph 40 adds that banks should "measure and monitor the accuracy of data" and keep escalation channels for poor data quality.
Principle 6, Adaptability, is where AI earns its place: a bank should meet "a broad range of on-demand, ad hoc risk management reporting requests", including supervisory queries. Natural-language access answers it directly, which is why the controls around it must hold.
Principle 7, Accuracy, moves from data to reports: "Reports should be reconciled and validated." Paragraph 53 asks for "defined requirements and processes to reconcile reports to risk data" and "an inventory of the validation rules that are applied to quantitative information." Footnote 17 defines reconciliation as "the process of comparing items or outcomes and explaining the differences." That is the test every AI figure must pass.
Finally, paragraph 25: where expert judgement is applied, "supervisors expect that the process be clearly documented and transparent so as to allow for an independent review." A model choosing how to interpret "exposure" is applying judgement.
Is this still a live supervisory topic?
Yes. The Basel Committee's November 2023 progress report on 31 G-SIBs states that "nearly 10 years after the initial publication of the Principles and seven years after the expected date of compliance, banks are at different stages in terms of alignment," with significant work remaining at most banks. The page gives no count of compliant banks; do not read it as a pass rate.
The ECB's supervisory priorities for 2026-2028 tell banks they "should strengthen their efforts to remedy material weaknesses identified in their risk data aggregation and risk reporting frameworks in an effective and timely manner." An AI layer on top of unresolved weaknesses gives them a new place to surface, in front of a supervisor already looking.
Why AI changes the evidence problem, not the standard
An analyst who builds a risk report leaves a trail without trying: a saved query, a spreadsheet, an email with the file attached. A model that writes SQL on request creates a new process instance for every question and leaves a trail only if the platform records one. Three failure patterns follow, each hypothetical, not an incident at any bank, and each landing on a specific paragraph.
- Unrepeatable answer. Two people ask for the same exposure total on different days and get different numbers. Nobody can say which query produced which, so the difference cannot be explained: a reconciliation failure under Principle 7 and footnote 17.
- Silent redefinition. "Past due" means more than 90 days in the chat session and more than 30 days in the regulatory template, and neither definition is written where the other can see it: the missing dictionary of paragraph 37.
- Unreviewed change. An AI-suggested change to a counterparty mapping goes live without a named approver. When the reconciliation later breaks, there is no owner to ask: a failure of the "as robust as accounting data" control in paragraph 36(a).
None of these is a model-quality problem; a better model fixes none of them. They are record-keeping problems, so the controls are about evidence, not trust in the output.
The four records, mapped to the principles
The table is an interpretation for a compliance review, not Basel text. The third column is what you want from any tool; the fourth is what DataFocus publishes about its product.
| Paragraph | Examiner's question | Record you want | What DataFocus OT documents |
|---|---|---|---|
| 39 (document every process) | What exactly was computed? | The SQL that ran, stored with the figure | Every query returns the SQL that ran |
| 36(c), 53(a) (reconcile to sources) | On what data, and has it changed since? | The tables read and a fingerprint of the data state | Every query returns the tables used and a data fingerprint (the brief's sample-data example shows a receipt field evidenceRowsSha256) |
| 37 (dictionary of concepts) | What did "exposure" mean in this figure? | One governed definition, used by every surface | A business definition is set once and used by search analysis, dashboards, control panels, the ontology agent and external agents, which all get the same figures |
| 36(a), 29(a), 38 (controls, documentation, human intervention) | Who changed the definition or mapping, and who approved it? | Before and after, the diff, the approver, bound to a version | Every change records before and after, the diff and who approved it; approval binds a specific plan and base version and must be confirmed again if either changes |
Two documented points complete the picture. The AI follows the objects and relationships defined in the ontology rather than guessing, which turns paragraph 36(d)'s "single authoritative source" from a policy into a mechanism. And when AI wants to change something it can only submit a draft, which takes effect after a person approves it: paragraph 38's human intervention, placed where judgement enters. Every query has a receipt, every change an approval record, and every agent action is recorded in an audit log.
A worked example: one figure, two days, four records
Consider a hypothetical credit risk officer at a mid-size bank who asks an AI assistant on the first business day of the month: "Total on-balance-sheet exposure to the Northwind counterparty group more than 90 days past due, as at month end." The assistant returns 48.2 million. A colleague repeats the question the next morning and gets 46.9 million. Under footnote 17 the bank must explain the 1.3 million difference.
Each answer carries a receipt: the SQL text, the tables it touched (say a loan positions snapshot, a counterparty hierarchy and a days-past-due table), a data fingerprint, and the version of the "past due" and "counterparty group" definitions in force. The decision rule below is illustrative: an interpretation of how to use such receipts, not product documentation.
| Same SQL? | Same data fingerprint? | Same definition version? | What the difference means |
|---|---|---|---|
| Yes | Yes | Yes | The totals must match. If they do not, escalate as a platform defect under paragraph 40. |
| Yes | No | Yes | The computation is identical; the data moved. Look upstream for late postings or restatements and reconcile to the source under 36(c). |
| No | Yes | Yes | The model generated a different query for the same words. Diff the two SQL texts; the question was ambiguous or a mapping changed. Tighten the definition. |
| Any | Any | No | A definition changed between the runs. Open the approval record, confirm the approver and the effective version, and state which version the regulatory report used. |
In the hypothetical, the SQL texts match and the fingerprints differ: late payments posted overnight moved three facilities out of the over-90-days bucket. The reviewer writes the explanation, cites both receipts and closes the item. Without receipts the same question is a round of interviews, and paragraph 39 documentation becomes reconstruction rather than record.
On the last row: DataFocus's context documentation separates business-effective time from approval time, and says historical answers distinguish what was known then from recomputation with current approved knowledge. A figure filed under definition v1 stays explainable as a v1 figure after v2 is approved.
Definitions: one meaning per regulatory term
Definition drift is the quiet way aggregated risk data goes wrong, and paragraph 37 treats a shared dictionary as a precondition. DataFocus documents that a definition is set once and reused by every surface, including external agents. The compliance review question is concrete: where is each regulatory metric defined, who may edit it, and does the edit require approval? The ontology answers the first; change control answers the rest.
Approvals: bound to a version
DataFocus's permissions guidance describes changes moving through draft, diff, validation, approval, commit and read-back, with approval tied to a specific plan and base version; if either changes, the approval must be confirmed again. That property makes an approval record usable as evidence under paragraph 29(a): the approver signed off on a specific diff against a specific base, not on an idea that later drifted. The same guidance advises checking repeated submissions, version conflicts and recovery before use. Put those three checks in your test plan.
Where the data and the model run
Evidence is only as good as your control over it. DataFocus OT is self-hosted on the customer's own servers; administrators configure the large-language-model service, and if an external model is connected the customer should confirm what is sent to it under its data policy. For a bank that means deciding up front whether prompts, schema names or result rows may leave the boundary, and recording the decision. DataFocus names no bundled model vendor and claims no compliance certification, so your assessment cannot rest on one.
A checklist for AI risk reporting
- For every AI-produced figure in a regulatory or board report, store the SQL, the tables, the data fingerprint and the definition versions next to the figure (paragraph 39).
- Keep one owned definition per regulatory metric and confirm that chat, dashboards and templates read the same one (paragraph 37).
- Require named approval, bound to a version, for any change to a definition, mapping or metric; AI may draft, a person commits (paragraphs 36(a) and 38).
- Rerun a sample of stored receipts monthly, apply the decision rule above and log every explained difference (Principle 7, footnote 17).
- Add the receipt comparison to the inventory of validation rules paragraph 53(b) asks for.
- Decide which model service is permitted and what data it may see; document it under paragraph 25.
- Retain receipts and approval records under your own retention and immutability controls, and map each item to your principle-level self-assessment.
Where receipts stop
Receipts prove how a number was computed from the data as the platform held it at that moment. They do not prove that the source systems feeding that data were complete (Principle 4), nor that the risk data reconciles to the general ledger (paragraph 36(c)). That upstream work is where the 2023 progress report finds banks at different stages, and a reporting layer does not do it for you.
Two narrower limits. To trace agent activity end to end, DataFocus points to tool-access records combined with conversation records from your own client; it does not claim to store client conversations, so the prompt that produced a figure is yours to retain. And because the platform runs on your infrastructure, immutability and retention are your policy to implement, not a property you inherit.
Next step
Read the DataFocus OT product brief for the receipt, definition and approval descriptions, and the permissions documentation for the change-control sequence. Both editions are free to install from the download page. Then run the checklist against a small, non-production risk dataset and try to break the decision rule before an examiner does.