
Six Businesses, One AI Desk: Grok Bot + Kimi K3 Ledger Architecture
A source-checked build guide for six ledger-owning agents, one routing desk, evidence-bound handoffs, and human control over consequential actions.
Read MoreZharfAI Team

A small-business owner receives a credit decision produced with machine-learning assistance. The notice says only that the application did not meet “internal criteria.” A support agent asks a language model for more detail, and it writes a polished paragraph about cash-flow volatility, business age, and sector risk. The paragraph sounds reasonable. Nobody can show that those factors actually caused the decision.
That is not an explanation problem at the copywriting layer. It is an evidence failure in the decision system.
The reader decision is: which explanation must exist before an AI-assisted outcome may stand, and what evidence must prove that explanation is faithful, useful, and open to correction or challenge? The answer depends on the decision, audience, consequence, governing rules, and explanation method. One universal “Why?” button cannot do all of that work.
An explanation is not a story reconstructed from whatever data happens to be available later. It is a decision artifact. The system must preserve the inputs, policy, model, thresholds, intermediate determinations, human actions, and outcome that existed when the decision was made.
This distinction matters when a generative model sits near a predictive model or rules engine. It can turn structured facts into readable language, but it can also build a coherent rationale from correlations, generic policy, or records that differ from the decision-time state. Fluency can hide missing provenance.
The operating rule is simple: no explanation claim without a resolvable decision-time fact; no final decision when the required explanation cannot be produced. If a use case cannot meet that rule, narrow the use, route it to qualified review, choose a more interpretable method, or do not automate the decision.
NISTIR 8312, Four Principles of Explainable Artificial Intelligence, separates four properties: the system supplies an explanation, the explanation is meaningful to its intended audience, it accurately reflects the reason or process that produced the output, and the system recognizes its knowledge limits. Crucially, NIST distinguishes decision accuracy from explanation accuracy. A correct decision can have a false explanation; a wrong decision can have a faithful account of how it went wrong.
The voluntary NIST AI RMF Core asks organizations to explain, validate, and document the model, interpret output in context, document tests, and integrate feedback and appeals into measurement. It is being revised, so treat it as a risk-management reference, not a permanent legal checklist.
The legal duties are narrower and jurisdiction-specific. Since 2 August 2026, Article 86 of the EU AI Act applies within its stated scope: certain affected people subject to decisions based on outputs from listed high-risk systems, with legal or similarly significant adverse effects, have a right to clear and meaningful explanations of the system's role and the main elements of the decision. Exceptions and other Union-law rights matter. This article is general engineering guidance, not legal advice.
In United States credit decisions, the current 12 CFR 1002.9 requires specific principal reasons for adverse action and rejects vague statements about internal standards or a failure to reach a qualifying score. It does not make every AI explanation a credit notice, nor does it define one universal explanation technique.
The UK Information Commissioner's Office and The Alan Turing Institute divide explanations by audience and purpose—rationale, responsibility, data, fairness, safety and performance, and impact—in their guidance on what goes into an explanation. The ICO currently marks this guidance as under review following the Data (Use and Access) Act. Its explanation taxonomy remains useful design input, but teams must verify the current law that applies to their processing.
The architecture and release gate below are ZharfAI analysis derived from these sources.
Start with the recipient's task, not the available visualization.
| Recipient | Practical question | Minimum useful explanation |
|---|---|---|
| Affected person | What happened, which facts mattered, and how can I correct or challenge it? | outcome, actual principal reasons, relevant data, responsible contact, correction and review route |
| Front-line operator | May I rely on this output, and what needs verification? | evidence, limits, confidence or disposition, policy boundary, permitted override |
| Domain reviewer | Is the outcome supportable under the governing rule? | decision-time record, rule or model contribution, conflicting evidence, comparable cases |
| Engineer | Did the system behave as designed? | configuration, feature and retrieval path, transformations, thresholds, logs and reproducible test |
| Auditor or regulator | Was the process controlled, lawful, monitored, and correctable? | ownership, scope, validation, versions, access, notices, overrides, appeals and outcomes |
A useful explanation lets its recipient understand, verify, correct data, contest an outcome, approve an action, debug a failure, or assess a control. More detail is not automatically better: an affected person does not need a tensor dump, and an engineer cannot diagnose a feature pipeline from a friendly paragraph.
A nominal human in the loop does not remove this requirement. If a model shaped the evidence, ranking, recommendation, or options, record that role. Our guide to placing human judgment at the right approval boundary distinguishes meaningful review from ceremonial confirmation.
Teams often compress five different objects into one reason field:
These objects support one another but are not substitutes. “The model passed a fairness test” does not explain one rejection. “Low verified income relative to the requested payment” does not prove the whole system is fair. “Contact support” is not recourse if support cannot access the record or change the outcome.
For systems that should sometimes avoid a decision, connect the explanation contract to an externally enforced abstention policy. A system outside its knowledge or evidence limits should say which requirement failed and what happens next, not fabricate a complete rationale for an outcome it should not issue.
At decision time, write an immutable or append-only receipt. A practical receipt contains four groups:
Do not expose every field to every recipient. The receipt is a protected evidence substrate for authorized views. Apply retention, privacy, security, and legal-hold rules; redact protected data in the explanation without destroying the original basis.
The explanation service should reject unresolved source identifiers, missing policy versions, unknown model routes, stale snapshots, and reason codes that do not map to a tested rule. That turns explainability into an acceptance condition instead of a documentation promise. The same receipt should feed the audit-ready evidence trail, so an explanation and an audit record cannot quietly describe different decisions.
| Method | It can support | It cannot prove by itself |
|---|---|---|
| Interpretable rule or scorecard | exact rules, thresholds, and values used | whether the rule is fair, lawful, causal, or based on correct data |
| Principal reason code | operational factors that controlled a specific outcome | complete model behavior or every contributing correlation |
| Feature attribution | how features contributed to a model output under defined assumptions | causal effect, legal sufficiency, or the organization's final decision reason |
| Counterfactual | what modeled changes would cross an outcome boundary | that a change is feasible, lawful, stable, or causally effective in the real world |
| Evidence trace | which records and passages supported a generated claim | that omitted evidence was irrelevant or the final judgment was correct |
| Process and assurance report | system scope, tests, controls, limits, and ownership | why one individual outcome occurred |
The original SHAP paper defines a family of additive feature-attribution methods and specific desirable properties. It does not turn a feature-importance value into a causal account, a legal notice, or proof that the source data were correct.
Visual plausibility is also a weak test. In Sanity Checks for Saliency Maps, the authors found that some tested saliency methods remained insensitive to the trained model or data-generating process. The durable lesson is not that every saliency method fails; it is that an explanation method needs tests tied to the claim it is supposed to support.
A counterfactual can say that a different input would have crossed the model's boundary. The original counterfactual-explanations paper frames them around understanding a decision, contesting it, and identifying changes associated with another modeled result without exposing the model's full internal logic.
Before showing one, test:
Never recommend changing an immutable fact or manipulating a measurement merely to satisfy the model. If several feasible paths exist, offer diverse options and disclose the decision snapshot and validity period.
A language model can convert approved reason codes and evidence into plain English or Persian, adjust reading level, explain a term, or produce an accessible format. Constrain the generation to the receipt:
Store the rendered explanation and its template, model, prompt, and source receipt. A later correction should create a new version linked to the original; it should not overwrite history. Bilingual editions need fact parity, not sentence-by-sentence translation, and both languages must preserve the same reason, caveat, deadline, and remedy.
Consider a working-capital application. A risk model estimates probability of repayment difficulty. A separate policy engine denies the request because two controlling conditions are true: the latest tax filing is missing, and verified debt-service coverage is below the approved threshold. The model score influenced queue priority but did not control the denial.
A generic explainer reads all available features and names business age, sector volatility, and recent cash flow as the “top reasons.” That is a plausible summary of model contribution—and the wrong explanation of the final decision.
The decision receipt supports a better explanation:
This engineering pattern is not legal advice.
Build an adjudicated test set from real decision classes, languages, recipient needs, edge cases, overrides, missing evidence, policy changes, and successful appeals. Then run six test families:
Version the explanation method like any other measuring instrument. Re-run an overlap set when the model, feature pipeline, reason taxonomy, policy, template, translation system, or review process changes. Our frontier-model evaluation guide explains why a score series becomes misleading when the evaluator changes silently.
When the required evidence is absent, treat the decision as unsupported. Do not solve that condition with more fluent prose.
Track explanation coverage, receipt completeness, source-resolution rate, fidelity-test pass rate, missing-principal-reason defects, counterfactual validity, recipient comprehension, correction submissions, appeal reversals, time to qualified review, explanation complaints, privacy incidents, and parity across language and accessibility modes.
Interpret the metrics together. Few appeals may mean trust or a hidden route; many reversals may expose poor decisions or a healthy correction path. Sample accepted and unchallenged outcomes too.
Set stop conditions. Suspend the consequential use when explanations cannot be reproduced, required reasons disappear, fidelity falls below the approved threshold, a model change breaks counterfactuals, one language loses material detail, or reviewers lack authority to repair an error.
Before an AI-assisted decision can stand, ask:
If the answer to a required item is no, the system is not ready to issue that outcome. The point of an explanation is not to make an automated decision feel inevitable. It is to make the actual decision inspectable—and repairable when the evidence does not hold.

A source-checked build guide for six ledger-owning agents, one routing desk, evidence-bound handoffs, and human control over consequential actions.
Read More
A control architecture for separating proposal, approval, execution, and reconciliation when AI can trigger consequential business actions.
Read More
A field guide to closing intake, authority, dependencies, work, evidence, and data so an AI service can be replaced or retired with a verifiable end state.
Read MoreIf this note maps to a real system in your organisation, start with the services page or a shipped case study.