Function reference
What every function of the platform does and why it exists, in one place. Use it to learn the idea behind a screen, to find the owner of a rule, or to check what the platform does and does not do.
How to use this volume
Volumes 0 to 6 teach you how to do a task on a screen. This volume tells you what a function is for. Every function has the same four parts.
- The information line says where the function lives (screens, service), who may use it, which part of the Speed of Trust manuscript explains the idea, and which chapter of this manual shows the screens.
- What it does states the behaviour in plain words.
- Context: why it exists gives the problem behind it, as the manuscript describes it.
- How it works here gives the real mechanism, with its limits. Where the platform does less than the manuscript describes, or differs on purpose, the section says so.
The manuscript is a confidential review copy. The sections paraphrase it for internal use. Do not quote this volume in outside work.
Coverage audit: what volumes 0 to 6 already covered
Before this volume, the screen volumes were checked against 69 platform functions. 30 were explained well, 35 only in passing, and 4 not at all. Every one now has a section below.
| Function | Covered in volumes 0 to 6 | Verdict then | Gap |
|---|---|---|---|
| Plain-language clarity scoring, jargon baseline, contract consistency | V3 ch.5 (#fields); V3 ch.9 (#contracts); V1 ch.8 (#glossary) | Thin | Clarity column and failures are shown; a reader cannot learn the 70 pass line, the scoring rules or the consistency check |
| Glossary, acronym whitelist and semantic layer | V1 ch.8 (#glossary) | Thin | Search and the acronym scanner are explained; approval/certification steps, writing terms and the metric registry are absent |
| TDK score and its six pillars | V0 ch.7 (#badges); V1 ch.5 (#trust); V4 ch.4 (#tdk) | Covered | Levels, pillars and radar explained; exact pillar weights and inputs sit on the trust-policy page |
| TDK weights governance, calibration and input sources | V4 ch.9 (#policy) | Covered | Proposal, Board decision, versions, input sources and calibration all explained; why governed is brief |
| Impact Class A-D and impact-tiered thresholds | V2 ch.4 (#impact-class); V6 ch.6 (#trust); V5 ch.7 (#soi) | Covered | Table, undeclared=D and signed lowering explained; Class C tier variation and Class D 90-95 behaviour are not |
| Blast Radius (DDS) tiers | V4 ch.4 (#tdk); V3 ch.9 (#contracts) | Thin | Mentioned only; a reader cannot learn the formula, tier cutoffs, consumer weights or Data Class floor |
| HITL Floor and sustained-recovery hold timer | V4 ch.5 (#hitl); V4 ch.9 (#policy); V6 ch.6 (#trust) | Covered | Floor, fail-closed, incidents and 24h hold explained; contract-raise and stale window only in passing |
| Human in the loop: Value Guardian, Context Authority, Policy Enforcer, SME paradox | V0 ch.5 (#roles); V2 ch.1 (#role); V2 ch.10 (#sme) | Thin | Role tasks are covered; the manuscript role concepts, the SME paradox and the editor model are not explained |
| Maturity model and Translation Tax baseline | V0 ch.6 (#dashboard) | Missing | Executive Dashboard is mentioned; no volume explains the maturity levels, the Translation Tax or the jargon baseline |
| Data catalog, Universal Service Catalog and product metadata | V0 ch.8 (#data-products); V1 ch.2-3 (#find, #product-window); V3 ch.2, 4 (#register, #edit) | Covered | Find, read, register and edit are explained; the registry rationale is light but present in V0. |
| Three definitions per field and precision-critical execution test | V1 ch.4 (#fields); V3 ch.5 (#fields); V2 ch.10 (#sme) | Covered | What, who and the CERTIFIED effect are all explained across three volumes. |
| Ownership, delegation and ghost owners | V2 ch.2 (#ownership); V3 ch.4 (#edit) | Covered | Delegate-activity view and the 10-approvals risk rule are only named, not explained. |
| Data profiling and import of schemas (Import Schema, vault, profile) | V3 ch.3 (#import); V5 ch.4 (#credentials); V1 ch.3 (#product-window) | Thin | Import and vault are covered; a reader is never told how to run a profile (Profile button on the products table), what it measures, or that it is masked by role. |
| Statement of Intent: lifecycle, templates, inheritance, no-syntax, agent-submitted | V5 ch.7 (#soi); V6 ch.7 (#soi); V2 ch.4 (#impact-class); V1 ch.6-7 | Thin | No-syntax rule, Impact Class and agent drafting covered; lifecycle states, pre-approved templates with risk tiers, break-glass and the lack of SoI inheritance are absent. |
| Data contracts as policy-as-code: ODCS, anatomy, data class, materiality, step floors, override rules | V3 ch.9 (#contracts); V1 ch.9 (#contracts) | Thin | Creating and reading contracts is covered; data class, materiality and override rules are not explained, and why a contract exists is only implied. |
| Parent and child contracts, pair and derived products with owner consent | V3 ch.10 (#child); V2 ch.5 (#derived) | Covered | Wizards, tighten-only and owner consent are explained for both the author and the consenting owner. |
| Contract lifecycle: change classes, versions, sunset, migration, schema evolution protection | V3 ch.9 (#contracts); V3 ch.11 (#sunset) | Covered | Classes, countdown and migration are explained; the impact endpoint and why it exists are only brief. |
| Contract summary card and clarity score on contracts | V1 ch.9 (#contracts); V3 ch.9 (#contracts) | Thin | One bullet and one paragraph; a reader would not learn when the card refreshes or how clarity gates the badge and agents. |
| SLAs: freshness, availability, volume and completeness, accuracy | V3 ch.9 (#contracts) one row; V1 ch.9; V5 ch.8 (schedule) | Thin | A reader cannot learn which SLA metrics exist, how a breach is measured, or what breach_action revoke does. |
| Data models (canvas, relationships) | V1 ch.11 (#data-model); V3 ch.8 (#models) | Covered | Screens and steps are clear; the propagation map and why relationships matter are not. |
| DQ hooks and recommendations (avoiding DQ overload, global vs tactical tiering) | V3 ch.9 (#contracts) one line; V5 ch.8 (15-minute scan) | Thin | Recommendations are mentioned and wrongly called AI; de-duplicated rule runs, the weakest-rule floor and tiering through child contracts are not explained. |
| ODCS import, export and validation | V3 ch.9 (#contracts); V1 ch.9 (#contracts) | Thin | Download and schema-checked import are mentioned; validate-only, odcs_extras, round trip and what is not carried are not. |
| Contract policy blocks: masking by column, record age, service tier, owner threshold, schema evolution | V3 ch.9 (#contracts) contract form only | Thin | Added after the first audit. The contract form is explained; the blocks that live in the ODCS content, which ones are read at run time and which are only validated, are not. |
| Entry gate and admission checks | V3 ch.7 (#steps); V0 ch.6; V1 ch.5 | Thin | Lists the checks and the Run Gate Check button; does not explain why each exists, the order, the QUARANTINE path or the two extra steps (freshness, Blast Radius). |
| Override protocol | V2 ch.7 (#overrides); V4 ch.7 (#exploration) | Covered | Rules, form, signing, budget and reviews explained; V2/V4 say a review may 'retire' the rule but the code decisions are CHANGE_CONTRACT or KEEP_CONTROL. |
| Break-Glass and Incident Verification Gate | V5 ch.8 (#monitor) names the expiry job only | Missing | A reader could not learn that Break-Glass exists, how to request it (REST only, no screen), the incident checks or the manual fallback. |
| Security profiling, PII detection, classification, quarantine | V3 ch.12 (#security); V4 ch.8; V0 ch.10 | Thin | Explains the screen and the mismatch outcome; not the ladder rules, which PII types map to which level, or the scan sample. |
| Classification disputes and derived-data classification | V4 ch.8 (#disputes); V2 ch.5 | Covered | Dispute flow, roles and derived rules are explained with the reason. |
| Obfuscation by default and masking | V3 ch.5 (#fields) adopt recommendation; V3 ch.12; V6 ch.6 (#trust) masking and joins | Thin | Screens and agent view covered; no explanation of who sees real values, the mandate or the publish Fail-Close. |
| Data sovereignty, residency and EU_ONLY | V3 ch.7 (#steps) passport; V3 ch.12; V4 ch.10; V1 ch.3 | Thin | Passport forms and EU_ONLY detection mentioned; the two enforcement layers and the EU_DATA_ACCESS role are not explained. |
| Data Passport, Compliance Pulse, EU AI Act mapping | V4 ch.10 (#passports); V3 ch.7 | Thin | Pulse named in one paragraph; no evidence hooks, failed-check codes, AI Act mapping or the bias-drift limit. |
| Ethical use and consent verification | V7 (this section) | Thin | Per-product flag, receipts, revoke, Agent enforcement and recall trigger explained; no screen, so the manual cannot show one. Per-record consent and a consent-platform handshake are not built. |
| Freshness, content-change monitoring, profiling hooks, anomaly checks | V3 ch.7 (#steps) gate failure on freshness; V1 ch.5; V0 ch.6 (breaches tile) | Thin | Mentions freshness failures and the run-monitor step; the signals (2-sigma, 3-sigma, velocity), connectors and cadence are not explained. |
| Drift: three signals, circuit breaker, quarantine | V2 ch.6 (#recertify); V6 ch.9 (#errors) | Covered | Table of the three kinds with owner and response is clear; detectors and thresholds are only in the reference. |
| Recertification and automatic degradation | V2 ch.6 (#recertify); V4 ch.7 | Covered | Attest steps, due rules, 14-day overdue cap and refusal case explained. |
| Trust badges and what decides them | V0 ch.7 (#badges); V1 ch.5 (#trust) | Thin | Levels and pillars explained; V1 says a fixed line at 80 and V0 says PENDING is not scored yet, but the lines vary by Blast Radius tier and PENDING also covers scores under 60. |
| The Query Interceptor: four-stage pipeline, Fail-Close and Fail-Open | V6 ch.6 (#trust) pipeline in one paragraph; V1 ch.7 (#validator); V4 ch.13 (#ledger) breach closes the gate | Thin | The pipeline is named, but a reader could not learn which failures refuse a query and which let it through (Fail-Close vs Fail-Open, UNCERTIFIED_FAILOPEN). |
| Intent alignment check of a query against its Statement of Intent | V1 ch.7 (#validator) three answers; V4 ch.3 (#escalations); V6 ch.4 (#tools) | Thin | Screens and answers covered; the LLM judge, the 0.6 confidence rule and the refusal when the check is unavailable are not explained. |
| Escalation queue, approvals tied to the asset state, and signed approvals for Class C/D | V4 ch.3 (#escalations) | Covered | Review and Ed25519 signing explained; the voiding rules (TDK drop of 5, version changes) are only mentioned briefly. |
| Agent HITL queue and incidents | V4 ch.5 (#hitl); V6 ch.6 (#trust) | Covered | Floor, grouping, recovery hold and alert-once all explained. |
| Write autonomy by Impact Class and tier, write holds | V6 ch.6 (#trust); V4 ch.6 (#agents); V2 ch.4 (#impact-class) | Covered | Class table and low-water hold covered; tier values for Class C 96/98 only partly stated. |
| Action-aware step floors and chain/session controls (freeze, unfreeze) | V6 ch.6 (#trust); V4 ch.6 (#agents) | Covered | Outcomes, limits and unfreeze covered; the per-class default limit numbers are not listed. |
| Agent-to-agent transfer | V4 ch.6 (#agents); V6 ch.4 (#tools) | Covered | ALLOWED/STAGED/BLOCKED and conditions explained. |
| Controlled exploratory mode | V2 ch.8 (#explore); V4 ch.7 (#exploration) | Covered | Rules by Impact Class explained; relation to the manuscript's break-glass flow not drawn. |
| Agent registry: identity, keys, freeze, recall webhook | V5 ch.3 (#agents); V6 ch.2-3 | Covered | Register, key, freeze and webhook all explained on screen. |
| mcp-gateway and pg-gateway as agent front doors, and the Storefront Discovery API for agents | V6 ch.3 (#connect); V6 ch.4 (#tools); V6 ch.7 (#soi) | Covered | Connection settings and every tool covered in the agent-builder volume. |
| Recall Notice Protocol: kill-switch, Safety Mode, Recall Token push, history | V6 ch.8 (#recall); V4 ch.4 (#tdk); V1 ch.5 | Covered | Token push, pull, verify and the kill switch explained; Safety Mode restrictions only briefly. |
| Recall post-mortem report | V1 ch.10 (#reports) one table row; V4 ch.4 (#tdk) one sentence | Thin | A reader learns the report exists but not its contents, audiences (internal/consumer) or why public is refused. |
| Data lineage and chain of custody (lineage-engine, AGENT_HANDOFF edges) | V1 ch.3 (#product-window) tab name only; V6 ch.4 (#tools) get_lineage; V4 ch.10 Usage Map | Thin | The Lineage tab is named, never explained: no edge types, no way to read the graph, no AGENT_HANDOFF. |
| Forensic Ledger: hash chain, attestation, Sentinel, anchoring, tiered verification | V4 ch.13 (#ledger); V5 ch.5 (#admin) weekly verification | Covered | Chain, anchors, tiered runs and write failures explained; producer attestation and clearing a BREACH only implied. |
| Audit log and audit envelope | V4 ch.12 (#audit) | Covered | Screen, filters and ISO fields covered; the fixed envelope and signed export are not described. |
| Notification policy and alert routing (notification-service) | V0 ch.9 (#notifications) the bell; V0 ch.3 | Thin | A reader can open and acknowledge a notice but cannot learn who gets which alert, how repeats are merged, or what is not alerted. |
| Remediation tasks: who fixes what, and by when | V4 ch.4 (#tdk); V3 ch.7 (#steps) | Thin | Added after the first audit. Tasks are listed and closed in volumes 3 and 4; what opens one, who owns it by failing pillar and what closes it are not explained. |
| The Build Engine and the data product build cycle | V3 ch.7 (#steps) | Thin | Trigger Build and history are described; a reader cannot learn the stages, the Blast Radius and kill-switch rejections, or the optional processors and obfuscation Fail-Close. |
| Harmonization, survivorship and the SME Tie-Breaker | V2 ch.10 (#sme, Conflict review subsection) | Thin | Resolving a conflict is covered; a reader cannot learn the source tiers, how a winner is chosen, or how to declare sources (no screen). |
| Data product lifecycle and Marketplace entry criteria | V3 ch.7 (#steps); V1 ch.6 (#access) | Thin | Steps and the CERTIFIED-only access rule are covered; the five phases, the entry checklist (14 days, summary, owner acceptance), retention and erasure requests are not. |
| Marketplace Storefront: discovery, tiers, Consumption Warning, access requests, feedback | V1 ch.6 (#access); V1 ch.12 (#feedback); V0 ch.7 (#badges); V2 ch.3 (#access) | Thin | Requesting, reviewing and the warning are covered; the Certified/Managed/Discovery tiers and listing rules are not explained. |
| Data Token economics: budgets, chargeback, revenue allocation, escrow | V5 ch.9 (#consoles, one table row) | Thin | Only a one-line description of the console; a reader cannot learn the formula, the 70/20/10 split, the balance gate or the escrow refund. |
| Data incidents and what they cost | V2 ch.9 (#incidents) | Covered | Steps, roles and the no-estimates rule are explained with screens. |
| Executive Dashboard and adoption signals | V0 ch.6 (#dashboard); V1 ch.10 (#reports) | Thin | Measures and MEASURED/PROXY labels are named; the five adoption signals and their flag lines are not. |
| Predefined reports (passport, inventories, trends) | V1 ch.10 (#reports) | Covered | Report list, purpose and role limits are explained; the recall audiences are covered in V4. |
| Usage Map | V4 ch.10 (#passports); V5 ch.6 (#reference) | Thin | One paragraph and a figure; no explanation of how departments are attributed or why it may be empty beyond a short note. |
| LLM-driven governance: drafts of SoIs and descriptions, SME-as-editor, model configuration per capability | V4 ch.11 (#ai) | Covered | Drafting, candidates, retained share and model configuration are explained; the dual-control rule for query-intent alignment is not. |
| Users, roles, consumer roles, MFA and Ed25519 digital signatures | V5 ch.2 (#users); V0 ch.2 (#sign-in); V0 ch.5 (#roles); V4 ch.3 (#escalations) | Thin | Accounts, roles and MFA sign-in are covered; consumer roles, how a signing key is created (no screen) and which acts need a signature are only partly covered. |
| API gateway: JWT, routing, rate limiting | none | Missing | A reader could not learn what the gateway checks, its routes, the 100 per minute limit or the 401/503 errors. |
| Admin MCP servers and the admin-ui (catalog-mcp, identity-mcp, governance-mcp) | V5 ch.9 (#consoles, admin-ui row) | Thin | Admin UI is named; the three MCP servers, their tool scope and the role-check-in-REST rule are not. |
| Departments, domains and regulatory tags (reference data) | V5 ch.6 (#reference) | Covered | Screens, fields and purpose are explained. |
| Platform Monitor, validator report and scenario-lab | V5 ch.8 (#monitor); V5 ch.10 (#validator); V5 ch.9 (#consoles) | Covered | Monitor and validator layers are explained; scenario-lab has only a one-row description (reader cannot run a scenario). |
| Implementation roadmap (phased adoption) mapped to platform capabilities | none | Missing | A reader could not learn the three phases, the pilot guidance, the day 30/60/90 checkpoints or which platform capability serves each. |
Part: Trust foundations
These nine functions are the ideas the rest of the platform stands on: how clear a description must be, what a term means, how trust becomes a number, and how much of it a decision needs. They also say who is accountable once the machine has done its checking.
Scores in this part use the platform scale of 0 to 100. The manuscript writes the same scores on a scale of 0 to 10, so its 9.5 is 95 here.
Plain-language clarity scoring, the jargon baseline and contract-description consistency
What it does
It scores a description from 0 to 100 for readability. The pass line is 70 (CLARITY_PASS_THRESHOLD). For a contract it also checks that the text is true to the contract. A description that fails cannot earn a Certified badge, and agents do not see it.
Context: why it exists
The manuscript calls this the first-reading principle: a reader must find, understand and use a definition without specialist help. Dense, passive prose hides who did what, and an AI agent that reads it will guess. The book turns "clear" into an engineering rule by combining two standards. ISO 24495 sets sentence structure and acronym handling. CEFR level B1, an everyday-vocabulary level, sets the word ceiling. It also says that precise regulated terms may stay precise if you define them in the text.
How it works here
- Readability starts at 100. It subtracts up to 25 for the share of sentences that break the sentence rule (over 25 words, or more than one independent clause), up to 25 for the share in passive voice, 10 for each acronym that neither the text defines at first use nor the glossary defines, up to 20 for the share of words above B1 (checked against a B1 word list), and 5 for each low-substance word such as robust, holistic or seamless (up to 15).
- Consistency applies to contracts (ADR 0026). It penalises schema columns with no glossary technical mapping, snake_case names in the text that are not columns of the contract, a stated freshness time that differs from the freshness SLA, and a calculation in the contract's lineage logic (a sum, average, count, minimum or maximum) that the text never mentions in plain words (10 each, up to 30).
- The contract score is readability times consistency, divided by 100. It is stored on the contract and emits
clarity.passedorclarity.failed. - Entry-gate's
PLAIN_LANGUAGE_PASSfails if either the product or the active contract description fails. mcp-gateway withholds a failing description from agents and keeps the schema and rules. - Regulated terms (
shared/policy/regulated_terms.py): a glossary term whose domain is inREGULATED_TERM_DOMAINS(default Regulatory, Compliance, Legal) that the text uses without an inline definition costs 5 points each, up to 15, in the consistency score. The terms are listed asundefined_regulated_terms, andget_data_product_metadatareturns their glossary definitions to agents. An inline definition is a bracket, "means", "is" or a dash within a short span. - Three hooks. The
/scoreanswer also reports sentence complexity, voice integrity and lexical boundary apart, each withpassedandfindings. The clarity score still decides the gate; the hooks say which kind of fault to fix. Metric updates re-run the same gates. - Element descriptions:
POST /score/fieldsscores the description of every data element of a product (EMPTY, TOO_SHORT under three words, UNCLEAR under the pass line). It writes no event. On a Class C or D product the gate failsPLAIN_LANGUAGE_PASSif any element fails, or if the Statement of Intent's own purpose and use case score under the pass line. - The contract's own descriptions. At activation, contract-engine scores every schema property and SLA description through
/score/fields. WithCONTRACT_TEXT_GATEat its defaultc_d, activation is refused (422contract-text-unclear) when the strictest declared Impact Class is C or D;alwaysandneverare the other settings, and an unreachable audit service refuses nothing.GET /contracts/{id}/text-checkpreviews it. - Jargon baseline:
POST /baseline/jargonscores up to 50 descriptions and returns the jargon share. It stores nothing. - A failed gate step drafts a fix. When
PLAIN_LANGUAGE_PASSfails, llm-governance can draft a plain description for an SME to approve (AUTO_DRAFT_ON_GATE_FAIL,shadowby default; see LLM-driven governance).
Glossary, acronym whitelist and the semantic layer
What it does
The glossary holds the approved meaning of each business term. It is also the list of acronyms the platform accepts. Each term can point to the technical columns that hold it. A separate metric registry stores named business metrics with one verified formula.
Context: why it exists
The manuscript argues that governed data is still a pile of parts if people and agents read the same word differently. It describes a semantic layer that separates business meaning from the physical tables underneath. Meaning is written once and read everywhere, so "Gross Margin" means one thing in a dashboard and in a procurement agent. It also says the clarity standards must sit under this layer, or the layer only copies existing confusion into a new tool.
How it works here
- A term moves from DRAFT to APPROVED (an SME signs) and then certified (a Business Owner signs). Both steps record who acted.
- The Undefined Acronym Scanner, used by the clarity check, lists acronyms in a text that the glossary does not define.
- A term carries a simple clarity score (length and sentence length). A technical mapping links a term to a table, column and system.
- Metrics (
POST /metrics) holdsql_definition, a description,acronym_mappingsandinline_definitions. A metric is refused if its description fails clarity or holds undefined acronyms. - Metrics are versioned.
PUT /metrics/{pk}re-runs the registration gates (clarity, undefined acronyms) on the new text, keeps the replaced version insot.semantic_metric_versionsand emits oneglossary.metric_changed(who, which fields, the new version).GET /metrics/by-metric-id/{metric_id}returns the live definition by its business id, and.../versionsthe history. notification-service tells stewards and governance of a change. Agents read a metric with the mcp-gateway toolget_metric_definition. A dashboard outside the platform must still call the registry to use the same definition. Events:glossary.metric_registered,glossary.metric_changed,glossary.metric_deactivated. - Regulated terms. A term whose domain is listed in
REGULATED_TERM_DOMAINSis checked against contract descriptions (see clarity scoring). - The Schema Registry stores versioned schemas and validates data against them. A new version is proposed and then approved (
SCHEMA_APPROVAL_MODEisshadowby default;enforce,off):POST /schemas/{name}/versions/{v}/approveor/reject(GOVERNANCE_LEAD or SUPER_ADMINISTRATOR, never the proposer). Inenforcea proposed version stays inactive and does not replace the live one until approved. Versions carry optionalchange_notes. GET /schemas/standard-typespublishes the enterprise standard types: ISO 8601 date and timestamp, ISO 4217 currency, ISO 3166-1 country. Contract activation checks fields against them (see Contract policy blocks).
The Trusted Data KPI (TDK) score and its six pillars
What it does
The TDK gives every data product one score from 0 to 100. It combines six pillars, each also 0 to 100. The score travels with its breakdown, so you see which pillar is low. It is recomputed about every ten minutes.
Context: why it exists
The book turns trust into a number a system can act on. It lets leaders stop arguing about whose report to believe and talk about a shared figure. It also acts as a pre-flight check for agents: low trust keeps data away from autonomous use. The book insists the score must resist gaming. Nobody types in an accuracy figure, the checks run on real data, and the components stay visible so that filler values in a column pull the total down.
How it works here
| Pillar | Default weight | What feeds it |
|---|---|---|
| dataContract | 0.20 | State of the product's contracts |
| clarity | 0.16 | Share of fields with a real description, capped by the contract clarity score |
| security | 0.20 | Sensitivity, field classifications, retention |
| freshness | 0.12 | Scan age, SLA, drift and anomaly signals |
| governance | 0.12 | Named, active owner and steward; tags, domain, purpose, SLA |
| dataQuality | 0.20 | Measured pass rate of live contract rules, scaled by the Blast Radius tier |
The score sets the badge: a Warning line at 60 and a Trusted line of 80, 85 or 90 depending on Blast Radius tier. Certified also needs the other conditions in Volume 0. The book's "above 9.0 held for 14 days" is applied at the Storefront tier, not to the badge (ADR 0036, row S3-21).
- Trust level names.
GET /tdk/policypublishestrust_levels: Ambiguous, Developing, Managed and Industrialized, the book's names for the score bands. They change no threshold. The product's TDK tab shows the name beside the score, and query-interceptor puts it intrust_context.trust_level. - The reason travels with the number. Each score carries
tdkDrivers: one sentence per pillar saying why it scored what it did. It appears in the catalog and in the agent metadata (trust.drivers). - The inputs are in the ledger.
tdk.assessedcarries each pillar's inputs, the raw TDK, the tier multiplier, the Blast Radius tier and any pillar leftunmeasured, so an auditor can rebuild a score. A pillar nobody measured (data quality with no assessment, freshness with no scan or tolerance) caps the badge at WARNING.
TDK weights governance, calibration and input sources
What it does
It controls who may change the pillar weights, records disagreement with a score, and shows which inputs a person declared and which the platform measured.
Context: why it exists
Once a score controls access, the score itself needs governing, because people optimise what is measured. The book asks for one owner of the formula, a Platform Governance Board that approves every change, a ledger entry for each change, and a version stamp on every score. It also asks for a calibration loop: when an expert and the score disagree, the human decision stands at runtime, and the disagreement is logged so the formula owner can review the weights. A disagreement is how the model improves.
How it works here
- Weights are append-only versions (ADR 0016). A change is a proposal with a written reason. One proposal may be pending. Each pillar needs at least 0.05.
- The Board approves or rejects. The proposer cannot decide their own proposal, and a rejection needs a reason. Approval creates the next version in one step.
- Every score carries its
weights_version, and the six pillar scores travel with it astdk_components. POST /tdk/calibrationrecords what the expert saw and expected. It changes no score.GET /tdk/input-sourcesmarks each input HUMAN_DECLARED, SYSTEM_MEASURED or MIXED, with the share of the composite each kind carries.- The evidence is kept. The inputs and calculation of each score ride on
tdk.assessed, so a gamed score can be shown in an audit.
Impact Class A-D and impact-tiered trust thresholds
What it does
Each Statement of Intent (SoI) carries a class from A to D. The class sets how much trust a consumer needs before an agent may act on its own. Same data, different decision, different line.
Context: why it exists
A score of 85 is plenty for an agent that drafts research notes. It is not enough for one that approves a loan. One global threshold fails both ways: too low and a costly decision runs on weak data, too high and experts drown in approvals for harmless work, which is the SME Paradox again. The owner picks the class by asking three questions: can the decision be undone, how much money or how many people one error touches, and does a regulator treat the use as high-risk. The highest answer wins.
How it works here
| Class | Meaning | Executes alone at | Person approves from |
|---|---|---|---|
| A | Exploratory | 70 | 60 |
| B | Operational | 80 | 70 |
| C | Financial or customer-facing | 95, 96 or 98 by Blast Radius tier | 80, 85 or 90 |
| D | Regulated, safety-critical, irreversible | never | 95; Fail-Close below 90 |
- Only Class C moves with the tier. The manuscript states tier columns for C alone, so A, B and D read one line at every tier (ADR 0015).
- An SoI with no declared class is treated as D. Declaring or raising is immediate. Lowering needs the owner's Ed25519 signature, made within 15 minutes, and is ledgered as
soi.impact_class_changed. - The lines apply to writes. Reads are not gated by class.
- Tightening a line. A contract may carry a
thresholdOverridesblock (per Blast Radius tier, tighten only). It is validated at activation (CONTRACT_BLOCKS_CHECK,shadowby default), but the autonomy bands do not read it yet. The owner's own TDK line,utilityThreshold, does take effect: it raises the HITL Floor like a contracthitl_floor. See Contract policy blocks. Loosening a Tier 1 threshold with a second SME's sign-off is not built. - Quarterly review of the lines.
/reports/class-lines(JSON) counts held reads and writes that people approved or rejected, and approvals by Impact Class, from the ledger. Rejections do not record the class, so the rejected share cannot be split by class.
Blast Radius (Downstream Dependency Score) tiers
What it does
It measures how far a failure in one data product would spread downstream and puts the product in Tier 1, 2 or 3. The tier decides how strict the trust lines are and how fast a failure lowers the score.
Context: why it exists
The book says the severity of an incident depends on how far its effects travel, not on where the error started. Judging that by feel produces arguments and uneven responses. A formula over the lineage graph removes the guesswork, so the same failure gets the same response whoever is on call. A sandbox and a payment engine should not share one alarm level.
How it works here
- The score is the sum, over each distinct downstream consumer, of its weight times 0.8 raised to the shortest hop count (ADR 0012). It reproduces the manuscript example of 10.56.
- Consumer weights: 10.0 for operational agents, regulatory reporting and production APIs; 5.0 for analytical consumers and dashboards; 1.0 for sandboxes. The platform derives them from the roles on the consumer's SoI. An unweighted edge counts 5.0.
- Tier 1 starts at a score of 50. Tier 2 runs from 10 to below 50. Tier 3 is below 10.
- The effective tier is the strictest of the score tier and the Data Class floor (Regulated Tier 1, Operational Tier 2, Exploratory Tier 3). A consumer of weight 10.0 within two hops keeps it at Tier 2 or stricter.
- The tier sets the Trusted, autonomy and recall lines (see Impact Class) and a penalty multiplier of 5, 2 or 1.
- The penalty. While any pillar scores under 70, the score is not the plain weighted sum. It is the baseline (the last validated score before the incident) minus the points the failing pillars lost, weighted, times the multiplier. It never goes below 0 or above the plain sum. The same freshness failure that costs a Tier 3 product 8 points costs a Tier 1 product 40.
- The release. The penalty holds at its worst point. A Tier 2 or 3 product is released by itself after three clean heartbeats in a row. A Tier 1 product stays penalised until a person recertifies it (
POST /tdk/penalties/{product_id}/release): its named Business Owner, an SME, or a governance lead. On the product's TDK tab a banner shows the penalty, the baseline and the deficit, and the Recertify button appears once nothing is failing. That is refused while a pillar still fails. The start and the release are each onetdk.penalty_changedevent.
Who is told. blast_radius.assessed routes a SYSTEMIC (Tier 1) result to operations and governance and a DEGRADED result to owners and stewards. A Tier 1 product also fails the Entry Gate and blocks a build.
run-now/{id} refreshes the lineage lookup, so a product never assessed that way is Tier 3 unless its Data Class says otherwise.The HITL Floor and the sustained-recovery hold timer
What it does
The HITL Floor is the platform-wide score below which an agent decides nothing. Every request goes to a human queue instead. After a recovery, the data must stay healthy for a set time before the agent gets its freedom back.
Context: why it exists
Without a floor, an agent could keep doing read-only research on data scoring 20. The manuscript sets one line that does not move with tier or domain. Below it a named person sees the request, with the score and the weak pillar. It also says recovery must be earned. A score that bounces around a line must not hand control back and forth, and a quick patch that passes once and breaks again earns nothing. A pause that looks like a broken process is the difference between a blip and a recovery.
How it works here
- Default 60. The effective floor is the platform floor or the highest
hitl_flooron any active contract of the product. Contracts can only raise it. - A missing or stale score counts as below the floor (fail-closed). If the floor cannot be read, the last known value is used. The check runs before any branch that could skip it.
- Requests group into one incident per product and SoI, with one alert. A joining request is silent.
- Recovery (ADR 0017): when the score is back over the floor, the incident starts
recovering_sinceand requests still go to a human with reasonRECOVERING. It closes afterRECOVERY_HOLD_HOURS, default 24. A dip restarts the clock. - Write autonomy is held the same way, using the stricter of the live band and the lowest score over the hold.
- A contract's
utilityThreshold(the owner's own TDK line) raises the floor in the same way ashitl_floor; it never lowers it. - An escalation that opens an incident also leaves a remediation task for the owner of the weakest pillar (see Remediation tasks). A request that joins an open incident leaves none.
Human in the loop: who vouches (Value Guardian, Context Authority, Policy Enforcer, and the SME paradox)
What it does
Automation checks, and a named person vouches. The platform puts a human signature at the end of each gate that matters, so a score always has someone answering for it.
Context: why it exists
The manuscript gives three roles. The Business Owner is the Value Guardian: they certify the meaning of the data, define risk, and answer for outcomes. The SME is the Context Authority: they edit machine drafts instead of writing from scratch. The Data Governance Lead is the Policy Enforcer: they build the guardrails so governance does not rely on one gatekeeper. It warns that a score cannot be held accountable and that rules only catch what you wrote rules for. The SME Paradox is that the people who know the data best have no time to document it. The answer is the editor model, with the SME as editor-in-chief, not scribe. It also warns that an SME who approves fifty drafts unread is a rubber stamp.
How it works here
- Business Owner: certifies a SoI, declares and lowers the Impact Class (signed), approves access, consents to derived products, recertifies, and certifies glossary terms.
- SME: approves LLM drafts and glossary terms, and signs execution tests for precision-critical fields.
- Governance Lead: owns the HITL Floor and policy, reviews escalations and overrides.
- Approving an escalation on an asset whose strictest SoI is Class C or D needs the approver's own signature (ADR 0032).
- llm-governance drafts several candidates; approving stores the share of the draft that survived (
retained_pct), reported against the manuscript's 80%. - Approvals are signed and measured. An LLM approval may carry the approver's Ed25519 signature over the draft, the choice, the four criteria checked (readable, accurate, right sensitivity, no personal data) and the time.
llm.approvedrecords the signature, the approver's competency level (0 to 3), review seconds, batch size and oversight flags (under 20 seconds, five approvals in ten minutes), so an approval without reading is visible.LLM_APPROVAL_CHECKisshadowby default; the Draft Review screen cannot sign yet, so stay onshadow. An EU AI Act contract also needs a competent person's signature on its version (see Data contracts). - The scorecard.
/reports/scorecard(JSON) shows, for each person named on a product, the products, the mean TDK and their remediation tasks (open, overdue, closed on time or late). It puts the product's score beside the person; it is not a judgement of them. Incident costs land on the owner (Data incidents and what they cost), and/reports/incident-overrideslinks incidents to the overrides in force and their signers. - An owner who goes quiet. An owner who ignores alerts is escalated (see Notification policy), and a Business Owner who leaves alerts unread, or a vacant owner, is flagged (see Ownership). Nothing is quarantined for silence.
Maturity model and Translation Tax baseline
What it does
It helps you find where you stand and what manual effort the missing trust costs. Part of that is measured by the platform. Part is a method you run by hand.
Context: why it exists
The Translation Tax is the time experts and engineers spend explaining, reconciling and cleaning data that should have been clear. The book says to measure your own, because published bands are typical, not guaranteed. Its test asks the same business questions of an agent twice, once with current descriptions and once with plain-language ones. You then compare tokens, wrong answers and the hours spent finding the cause. Take the baseline on day one and compare at day 90. The Maturity Model gives five levels, 0 to 4, anchored to the score band (whole number, rounded down). It says to find your worst offenders, not to grade the company with one number.
How it works here
- Built: step one of the baseline, the jargon share of a 50-description sample. The Executive Dashboard shows expert touches (hours only if
SME_MINUTES_PER_TOUCHis set), jargon share and the other outcome and adoption signals. Each figure is MEASURED, a labelled PROXY, or NOT_MEASURED (ADR 0030). - Maturity ladder.
/reports/certification-flow(JSON) places each product and domain on the five-level ladder L0 to L4 by a score held for 14 days, with a distribution per domain. It also gives the time from the Entry Gate to Certified (median and p90, with stuck products) and the enterprise TDK average over products certified today. The average is live only; no baseline is stored there. - Baselines.
/tdk/baselinesin health-monitor stores append-only snapshots: MEASURES registers the estate's figures (the pilot's day 0; GOVERNANCE_LEAD, OPS_ADMINISTRATOR, SUPER_ADMINISTRATOR) and PROFILE registers a product's column profile (DATA_STEWARD too).GET /tdk/baselines/{id}/compareshows the change since a measures snapshot, or the flagged columns of a profile. The time-to-data comparison against a baseline in the Executive Dashboard is not built. - Measured costs. Tokens per query are measured (see Predefined reports, Value metric). The other cost signals stay NOT_MEASURED with the basis stated. Return on Intelligence per product is not built; the value metric is by product and department.
- Not built: the other baseline steps (rebuild descriptions, ask the same 50 questions twice, compare) and a measured drop in questions after the first descriptions ship. The batch draft endpoint (see LLM-driven governance) produces the first descriptions for the products most in need.
- Out of scope: the weekly "Translation Tax" worksheet is a paper exercise for the organisation (ADR 0036).
/reports/band-hours) is the one exception, labelled ILLUSTRATIVE: its hours are placeholders until you pass your own four band figures.Part: Catalog, ownership, intent and contracts
These fourteen functions are the paperwork of trust. The catalog says what a product is and who answers for it. The Statement of Intent says why someone may use it. The contract says on what terms it is delivered.
Read them in order. Each later function depends on the one before it: a contract needs a product, an owner and an intent, and a score needs all three.
Data catalog, the Universal Service Catalog and data product metadata
What it does
The catalog is the system of record for every data product. It holds the name, domain, description, purpose, owners, sensitivity, version, retention, the field list, intended uses, the product-to-product relationships and the Trust Badge history. Anyone can search it. Writers change it.
Context: why it exists
The manuscript calls the registry the search engine of the data estate. Without it, people find data by asking colleagues, and teams spend much of their time hunting and cleaning instead of building. Duplicate datasets then give conflicting versions of the truth. The book sets a standard: every production asset is registered with a verified owner, a current score and a machine-readable intent. It also defines a data product as four things together: the rows, the contract, the plain-language context and a live score.
How it works here
- A new product starts with a PENDING badge until a score is computed. Saving a change triggers a new TDK score.
- A product can name a parent product, which models the tactical-overlay idea at product level.
- Deleting a product is blocked (409) while other products, contracts or relationships depend on it.
- A daily retention check runs; an Ops Administrator can reschedule it or run it now.
- Every product carries a computed
consumptionWarningwhen its score is under the Managed line of 70 or it was never scored. - Each score carries
tdkDrivers(one sentence per pillar) and the catalog exposestdkAssessedAt, the time the TDK was last computed, which the HITL Floor uses to spot a stale score. - Lineage Proof (
shared/policy/lineage_proof.py).PUT /products/{id}/lineage-attestation(the named Business Owner by user id, or GOVERNANCE_LEAD or SUPER_ADMINISTRATOR) signs that the product's direct upstream edges (lineage-engine, depth 1) are right. The append-onlysot.lineage_attestationskeeps a hash of the edge set, so the attestation goes STALE when the lineage changes.GET /products/{id}/lineage-attestationreads it;GET /products/lineage-attestationsis the bulk read the Storefront uses. Event:catalog.lineage_attested. If the lineage cannot be read the request is refused (503). - Field classification.
NEW_FIELD_CLASSIFICATION(default INTERNAL) sets what a new field is classified as when nobody says. The value UNCLASSIFIED leaves new fields with no class; the interceptor then masks them in full, and theFIELDS_CLASSIFIEDgate step reports them (see Entry gate). - A product also names an engineering owner (
engineering_owner_id), set with the other people-roles (see Ownership).
Three definitions per field and the precision-critical execution test
What it does
Each field holds three definitions of one meaning. Layer 1 is plain language. Layer 2 is the technical definition plus the calculation logic. Layer 3 is the regulatory annex: framework, citation, jurisdiction and formal text. For terms that carry legal, financial or scientific weight, a named expert also signs an execution test.
Context: why it exists
Plain language is what people and agents read, but some words cannot be simplified without changing what they mean. The manuscript's answer is not to simplify them. It keeps the plain version, the technical version and the legal version in one record, so they cannot drift apart. For the critical terms, a person with the right expertise asks one question: would anyone act differently after reading the plain text than after the technical and legal text?
How it works here
- Layer 3 never reaches an agent.
shared/policy/field_layers.agent_field_viewbuilds the agent payload key by key; the "What an agent sees" viewport shows it. - The test records the signer, time, a statement and a hash of Layers 1, 2 and 3. Changing any covered text makes it STALE. It needs the flag set and all three layers present.
- trust-badge-engine holds a product at WARNING while a precision-critical field has no current test, or a regulated field has no annex. Events:
catalog.field_definition_changed,catalog.execution_test_signed. PUT /fieldskeeps layers a caller leaves out, so a schema re-import does not wipe them.
Ownership, delegation and ghost owners
What it does
Every product names its people by account: business owner, product manager, steward and executive sponsor, plus at most one delegate. The owner can accept ownership. Products whose owner has left are listed as orphaned, and a daily check flags a delegate whose approvals add up to risk.
Context: why it exists
The manuscript says the business owner, not IT, defines what good looks like, and that an ownerless dataset decays. But a senior owner who signs everything becomes a queue, and a queue becomes a rubber stamp. So the book lets the owner delegate the work to one named person, never a chain, while the ledger keeps the owner informed. A name typed into a form is not a person who can answer, so the platform uses real accounts.
How it works here
- Owners are user ids. Each must be an active user (422 otherwise). Every change is ledgered with the full before and after (
catalog.owner_assignments_changed). - One delegate column, and a database check keeps the owner from being their own delegate. A delegate cannot name another. Events:
catalog.delegate_changed. - When
user.deprovisionedarrives, held roles are announced ascatalog.owner_orphaned. The governance pillar credits a steward or owner only while the account is active. - The owner reads what the delegate did at
GET /products/{id}/delegate-activity. The risk job raisesdelegate.risk_flaggedat 10 approvals in 7 days, or any high-impact approval. - A fifth role, the engineering owner (
engineering_owner_id), is set throughPUT /products/{id}/ownerswith the other four, and orphan detection covers it. Remediation tasks for a freshness breach go to them, and the product's operations tasks go to them when one is named. - A new owner re-certifies. When the Business Owner changes, a recertification with reason
OWNER_CHANGEDis due (OWNER_CHANGE_RECERTisshadowby default; see Recertification). - A silent or missing owner is flagged. A daily sweep flags an owner who has left
OWNER_MIN_UNANSWEREDalerts about their own product unread forOWNER_UNANSWERED_DAYS, and a published product with no owner, ascatalog.owner_orphanedwith reason UNRESPONSIVE or VACANT.OWNER_RESPONSIVENESS_CHECKisshadowby default (logs;enforce,off);POST /products/owner-responsiveness-check/runruns it now. An orphaned-owner alert also reaches the product's executive sponsor.
Data profiling and import of schemas (Import Schema, credentials vault, data profile)
What it does
Import Schema reads a file or a live database and creates products and fields for you. A connection credential, stored in the vault, gives the platform a way to read the real data. A profile measures that data: row counts, empty values, distinct values, ranges and top values.
Context: why it exists
The manuscript wants the machine to do the janitor work and the expert to do the smart work. Typing hundreds of columns by hand, or guessing what the data holds, is janitor work. A profile also grounds the accuracy hook: a distribution baseline is how you notice that a country field starts receiving unknown codes.
How it works here
- Import formats: JSON Schema, OpenAPI, Avro, Croissant, SQL DDL, XSD, CSV, Excel, Frictionless. A live database is browsed through
POST /explore/connect, which the API guide describes for Postgres. - The vault keeps only a reference in the platform database. The secret goes to HashiCorp Vault, AWS Secrets Manager or an encrypted local store. Tiers are Read and Admin; Admin is used for short-lived roles at the just-in-time gate, never for reads.
POST /profiles/{id}runs a fresh profile and emitsprofiling.completed. Sample rows and lookups are masked by the caller's roles. The profile feeds Assess All, DQ recommendations and the passport drift check.- Importing again updates and raises the patch version; it keeps layers you already wrote.
Statement of Intent: lifecycle, templates, inheritance, the no-syntax rule, agent-submitted requests
What it does
A Statement of Intent (SoI) is the signed reason someone may use a product. It names the purpose, the consumer roles, an expiry and optionally a jurisdiction and an Impact Class. Queries are checked against it. No active SoI, no access.
Context: why it exists
The manuscript turns a bureaucratic form into a reusable asset: a repository of approved patterns that people pick from instead of writing prose each time. Free text produces vague "investigation" requests; a menu produces consistent, auditable ones, and makes a manual entry stand out as an outlier. It also warns that an SoI becomes too narrow when it says how to query rather than why. The SoI owns the purpose; the contract owns the technical guardrails.
How it works here
- Statuses: DRAFT, SUBMITTED, SIGNED, ACTIVE, EXPIRED, REVOKED, DELETED. A token is minted on ACTIVE. A daily sweep expires; every transition is in
GET /soi/{id}/history. - No syntax: a purpose or use case with SQL, field or table names or comparison logic is refused with 422
intent-has-syntax(shared/policy/intent.py, deterministic). Templates, break-glass and accepted intended uses are exempt. - Templates (
POST /soi/from-template): risk 1 to 2 is granted at once; risk 3 is granted and a manager is told through an event; risk 4 to 5 stays a DRAFT for a second sign-off. - Templates are managed.
POST /soi/templatesandPUT /soi/templates/{id}(GOVERNANCE_LEAD, BUSINESS_OWNER, SUPER_ADMINISTRATOR) create and change them. The wording is held to the no-syntax rule,sme_owner_idnames the expert who answers for it, and each change is onesoi.template_changedevent naming what changed; governance is alerted.GET /soi/templates/statscounts Statements of Intent per template against custom ones. - Specific and time-limited. A vague intent or one with no expiry is flagged:
INTENT_VAGUENESS_CHECKisshadowby default (logs),enforcerefuses with 422intent-too-vague,offskips it. - Break-glass checks the incident in Jira or ServiceNow when configured; unclear answers go to manual SME sign-off, never an automatic grant. See Break-Glass.
- Agents call
POST /soi/agent-submit: a DRAFT scoped to their own roles for 1 to 3 days. The token goes only to that Agent, only once ACTIVE. - Coverage check.
GET /soi/coverage?data_product_id=says whether an ACTIVE master contract already covers the product and suggests a child contract instead of a new start. - Intent tag.
PUT /soi/admin/{id}/intent-tag(BUSINESS_OWNER, GOVERNANCE_LEAD, OPS_ADMINISTRATOR, SUPER_ADMINISTRATOR) sets ANALYTICS, SUPPORT, FRAUD_REVIEW, MODEL_TRAINING or OTHER. It only decides how far a contract'sdynamic_maskingfields loosen (see Obfuscation). Declaring or raising needs no approval; lowering needs the Business Owner's signature (under 15 minutes old). A null tag means undeclared.
Sign-off. The Entry Gate admits a product only when a named Business Owner has signed the Statement of Intent. The SoI Sign-off screen (/soi/sign-off) lists the active statements for the products you own, with the purpose in full; Sign off this purpose records who you are and when (PUT /soi/admin/{id}/sign-off). A governance lead sees every statement and may sign for an owner who has left.
Data contracts as policy-as-code: ODCS, anatomy, data class, materiality, step floors, override rules
What it does
A contract is the machine-readable terms a product is delivered under. It holds the schema, quality rules, SLAs, row filters, join keys, write scope, upstream lineage, producer and consumer, regulatory tags and the Statement of Intent it serves. It moves DRAFT, ACTIVE, DEPRECATED, RETIRED.
Context: why it exists
The manuscript calls a contract a technical handshake that turns policy into code, so bad data is rejected before it reaches a model. Because it is a versioned, platform-neutral specification, governance stays constant when the infrastructure or the model changes. Two ideas make it scale: a parent defines the quality floor for the domain, and small children tighten it for one purpose.
How it works here
- Activation needs at least one quality rule and one SLA (422 otherwise). A DRAFT may exist without them.
- Data class (REGULATED, OPERATIONAL, EXPLORATORY) sets the minimum Blast Radius tier: Tier 1, 2, 3. health-monitor reads it.
- Step floors (recommend, draft, approve, execute, transfer) can raise, never lower, the platform's floors; query-interceptor reads them. A riskier step never needs less trust.
- Materiality holds a minimum TDK per Impact Class. entry-gate reads it: an exception below the line needs at least the Business Owner.
- Override rules (24-hour cap, escalation chain) are stored and exported.
- A named Business Owner is required. A contract's product must name a Business Owner by user id:
CONTRACT_OWNER_CHECKisshadowby default;enforcerefuses activation with 422contract-owner-missing;offskips it. - Declarations before activation (
GET /contracts/{id}/declarationsreports them).CONTRACT_GLOSSARY_CHECK: on a REGULATED contract, every field must resolve to an approved, active glossary term, by a glossary reference, a technical mapping or its name (422contract-glossary-unmappedinenforce; an unreadable glossary refuses nothing).CONTRACT_STANDARD_TYPES: a field named like a date, time, currency or country must declare the matching standard type or format (422contract-standard-type-missing).CONTRACT_SCHEMA_CONFORMANCE: a new contract whose schema differs from the registered schema of its name is logged, or inenforcerefused with 409schema-differs-from-approved, until a new version is proposed and approved in the glossary-registry. All three areshadowby default. - The EU AI Act oversight signature. An
EU_AI_ACTcontract carries a competent person's signature on its current version (POST /contracts/{id}/oversight-signoff; DATA_STEWARD, GOVERNANCE_LEAD, SECURITY_TEAM, SUPER_ADMINISTRATOR). It is an Ed25519 signature overCONTRACT_OVERSIGHT|<id>|<version>|<utc time>, checked through user-management, under 15 minutes old, from a person at or aboveCONTRACT_OVERSIGHT_MIN_COMPETENCY.GET .../oversightreads it; eventcontract.oversight_signed.CONTRACT_OVERSIGHT_CHECKisshadowby default;enforcerefuses activation with 409oversight-not-signed. - Plain language in the contract itself. Schema and SLA descriptions are scored at activation (
CONTRACT_TEXT_GATE, defaultc_d; see clarity scoring). - Token terms.
dataTokenBudgetin the contract (enabled,escrowPercent) is read by the ledger and the cost estimate (see Data Token economics). - Computed values are never authored. The contract document may show the platform's current TDK, badge, Blast Radius and passport hash. Import ignores authored values for those with a warning. Exporting the computed values is not added.
- A freshness tier is derived.
freshness_tier(T1 up to 1 hour, T2 up to a day, T3 longer) is derived from the strictest freshness SLA and reported on the declarations check. It drives nothing yet. The same check listsroles: roles the contract document names against the roles active Statements of Intent grant (information only; the contract's role block does not drive who may read). - A failing contract is suspended, not lost. See SLAs.
override_rules. drift_tolerance_pct in materiality is stored, not enforced. The contract's masking, record age, service tier, utility threshold, schema evolution and similar blocks are in their own section. What the book places in the producer's own pipeline (rejecting a whole bad batch, fail-fast checks against the schema) is documented, not built (ADR 0036).Parent and child contracts, pair and derived products with owner consent
What it does
A child contract inherits schema, rules, filters, keys, tags and write scope from one active master and may only tighten SLAs, the HITL floor and step floors. A derived product combines two or more masters into a new product with its own owner. It goes live only after each master's owner consents.
Context: why it exists
The "noodle" problem is a mesh of one-off pipelines, each with its own rules. The book's remedy is inheritance: one comprehensive parent as the platform standard, and light overlays for each use. A child is a tactical overlay, often tied to one project, with least-privilege columns and stricter freshness. A combination of two owners' data is different. It is something neither owner defined, so the book's accountability logic requires both to say yes.
How it works here
- One level only: a child cannot have children.
?preview=trueanswers allowed, refusals, warnings and effective terms, creating nothing. - A loosening is refused with 422
tighten-only, every reason listed. - Pair: a UI wizard that makes two child contracts under one purpose. No new dataset.
- Derived (ADR 0034): controls take the strictest of the inputs (tag union, every row filter, highest floors, highest sensitivity, one level up when linked); SLAs take the worst. A refusal needs 20+ characters and stops the proposal until the draft is edited and resubmitted. Activation before full consent returns 409
derivation-not-consented. Events:derivation.proposed,derivation.consent_decided,derivation.completed. - A governance lead may decide only for an owner who has left; a delegate cannot consent.
- Before you start a child.
GET /soi/coverage?data_product_id=tells you whether an ACTIVE master already covers the product, so you can start from a child contract.
Contract lifecycle: change classes, versions, sunset countdown, migration, schema evolution protection
What it does
Every change to a live contract is classified by consequence: PATCH, MINOR or MAJOR. A MAJOR change never overwrites the live version. It forks a DRAFT, and the old version keeps serving through a countdown while children migrate.
Context: why it exists
Silent breaking is the failure: someone deletes a "redundant" column and a shipping estimator starts quoting zero. The book asks for three habits. Version by consequence. Check the blast radius before the merge. Run two versions side by side. It adds that a change which alters how people work is change management, so it carries a human-impact tag.
How it works here
- MAJOR: dropped or renamed column, changed type, a column made required, changed key, calculation or row filters, withdrawn write, removed rule or SLA. MINOR: additions. PATCH: the rest.
- PATCH and MINOR update in place, bump the version and reach every live child in one transaction; a child keeps a tighter SLA and takes the parent's where it was looser.
- On activation of the new major version the old one gets
sunset_dateat 30, 45, 60 or 90 days by the strictest Impact Class (A to D; undeclared counts as D) andcontract.sunset_started. - A daily sweep retires a version when its last child moves or the date passes; stragglers are reported as
contract.migration_overdue. After 90 days, identical child workloads are flagged ascontract.duplicate_children. - Human impact is NONE, LOW or HIGH; a declared tag can raise the level, never lower it.
- Schema evolution rule. A contract may say which change classes it allows on a live version (
schemaEvolution.allowed: PATCH, MINOR).CONTRACT_SCHEMA_EVOLUTIONisshadowby default and logs a change outside it;enforcerefuses it with 409schema-evolution-disallowed. A breaking change always takes the owner-acknowledgement path below. - Consumers are warned. A breaking contract version sends a CONTRACT_CHANGE advisory notice to the Agents whose Statements of Intent name the product (see Recall Notice Protocol). The notice carries no migration steps. The sunset countdown and
POST /contracts/{child}/migrateare the migration path.
POST /contracts/{child}/migrate); the sunsets screen counts children but has no migrate button. The platform will not hold back a retirement for unready children. The owner's scorecard does not yet read a missed deadline.Owner acknowledgement of a breaking change
A breaking (MAJOR) version cannot go live until every affected Business Owner has acknowledged it. The affected owners are the named owners of the products whose child contracts extend the version being replaced, and of the Statements of Intent that serve them. Each owner opens the contract: a panel lists who is affected and who has acknowledged, and an affected owner acknowledges with a written note (POST /contracts/{id}/acknowledge); GET /contracts/{id}/acknowledgements lists who is still missing. Activating before that is refused with HTTP 409. A governance lead may acknowledge for an owner who cannot, and that is recorded as on behalf. Acknowledging is not agreeing: the change still happens, but nobody is surprised by it. If nobody is affected there is nothing to wait for.
Contract summary card and clarity score on contracts
What it does
Each contract carries a six-field card: purpose, accountability, risk (Impact Class and blast radius), trust floor and SLAs, consumers and exceptions. It also carries a clarity score for its plain-language description.
Context: why it exists
A contract that is technically perfect but invisible to the accountable person helps nobody. The book rejects a separate Word summary because it drifts. The card must be generated from the contract, every time the contract changes, so the person who signs reads the same facts the machine enforces. The clarity rule adds that a description must also be true.
How it works here
- The card is rebuilt on create, update, activate and migrate.
?refresh=trueforces it. The refresh is best effort: a slow neighbour never undoes a contract change. - Clarity = readability x consistency / 100 (ADR 0026). Consistency penalises schema columns with no glossary technical mapping, names in the text that are not columns, and a stated time that differs from the freshness SLA. Pass threshold is configurable (default 70).
- entry-gate's
PLAIN_LANGUAGE_PASSalso fails a product whose active contract description fails. health-monitor caps the clarity pillar at the contract's score. mcp-gateway withholds a failing description from agents but still returns the schema, rules and SLAs. - Events:
clarity.passed,clarity.failed.
SLAs: freshness, availability, volume and completeness, accuracy
What it does
An SLA is a measurable promise in the contract: a metric, a threshold and an action on breach. The platform compares each active contract's SLAs with real measurements every 15 minutes, or on demand, and reports breaches.
Context: why it exists
The book separates monitoring, which tells you a pipeline failed, from an SLA, which says what the consumer is entitled to receive. It names four vital signs: freshness, availability, volume and completeness, and accuracy and validity. A load of zero records is a failure, and a breach should cost the owner something, not just send an email. Owners set the SLAs, so they accept the accountability.
How it works here
- An SLA is
{metric, threshold, breach_action}withalert,revokeorquarantine. Freshness metrics (names containing "hour" or "freshness") breach when above the threshold; percentage metrics breach when below. - Freshness reads the age of the latest data-product-monitor snapshot. A percentage such as
completeness_pctis matched to the rule type of the same name in the latest quality assessment. A metric with no matching rule (such asaccuracy_pct) falls back to the overall quality floor. - A breach is reported through
POST /contracts/sla-breachand alerts. Withrevoke, the sweep also revokes the active consumer SoIs of the product. - entry-gate's freshness step uses the same SLA at admission.
- Volume Expectation: an SLA with metric
volume_variance_pctnames a source table in itselementand the largest allowed gap in percent as its threshold. The sweep counts rows in the product and in the source (through the product's own credentials, so both must be in the same PostgreSQL database) and breaches when they differ by more than the threshold, with the SLA'sbreach_action. A source it cannot count is skipped, not breached. - Conditional completeness: a
completenessquality rule may carrywhen({field, op: equals|in|not_null, value}) so it only checks the rows that match, for example State must be present when Country is US. It applies to record validation and to the table assessment; other rule types refuse awhen. - Volume against history. An SLA with metric
volume_history_pctbreaches when the row count differs by more than the threshold percent from the median of the last 30 snapshots (shared/policy/volume.py). Zero rows against a healthy history reads as a 100% gap. With fewer than 5 snapshots it is skipped. This is the partial-load and "empty tank" catch; there is no per-refresh minimum or maximum row count. - Availability. An SLA with metric
availability_pctis the share of governed reads of the product that the platform answered over 30 days (shared/policy/availability.py). A read that failed because a service was unreachable, a credential was missing or a check was unavailable is downtime; a policy refusal, an escalation or a token refusal is not. query-interceptor counts reads in memory and writessot.read_availabilityevery minute. Under 20 reads it says nothing. - Arrival. An SLA
arrival_minutes(the most minutes allowed between deliveries) or an ODCSheartbeatIntervalcustom property (shared/policy/arrival.py) promises deliveries. Producers callPOST /monitor/{id}/heartbeaton data-product-monitor (DATA_STEWARD, OPS, SUPER_ADMINISTRATOR or GOVERNANCE_LEAD identity), and health-monitor raiseshealth.freshness_breachwith reasonMISSED_HEARTBEATonce per missed delivery. Nothing is late before the first heartbeat. - Validity, population and tolerance.
validity_pctis the data-quality floor: the pass rate of the weakest verifiable rule. Acompletenessrule may carrymin_population_pct, the owner's line (the rule's rate is populated share divided by the line, at most 1). Atolerancerule (reference_field,tolerance_pct) checks that a value is within a percentage of another column. Ano_placeholderrule rejects test data that completeness passes (999-99-9999,test@email.com,n/a; plus the rule's owndenied_values). Entry-gate'sDQ_FLOOR_PASSstep reads the latest assessment against these lines. - SQL rules. A quality rule
sqlis one read-only SELECT returning one number, withoperator(mustBe, mustBeGreaterOrEqualTo, mustBeLessOrEqualTo),expected,severity(warn or error) andbusiness_impact. It is checked with sqlglot when written (single SELECT, no writes or locks, nopg_*,lo_*,dblink,set_configornextval, 2000 characters) and again by data-product-monitor, which runs it in a read-only transaction with a 5 second timeout and a 10,000 row cap under the product's own credentials. Only DATA_STEWARD, GOVERNANCE_LEAD or SUPER_ADMINISTRATOR may set one (403 otherwise). Awarnresult is reported and does not lower the data-quality floor. Native ODCSsqlchecks are not mapped on import. - Coverage.
GET /contracts/{id}/sla-coveragelists the missing freshness, volume and validity SLAs; activation logs a warning for them. - Suspended contracts. A
revokeorquarantinebreach makes the 15-minute sweep suspend the contract and every ACTIVE child, and resume what the platform suspended once its SLAs hold. A retired version with children still on it also suspends, and so does a person (POST /contracts/{id}/suspendand/resume; GOVERNANCE_LEAD, OPS_ADMINISTRATOR, SUPER_ADMINISTRATOR; a written reason). A parent's failure takes its children with it (a domain shutdown). A child that fails suspends only itself, and only its own Statement of Intent loses access; a child suspended by its parent resumes only with its parent.GET /contracts/product/{id}/suspendedlists them. query-interceptor never falls back to the parent for a suspended child and refuses a product with nothing ACTIVE and something suspended withCONTRACT_SUSPENDEDand the reason. Entry-gate'sCONTRACT_ACTIVEstep names the suspension. - Pause windows.
POST /contracts/{id}/sla-suspensions(GOVERNANCE_LEAD, OPS_ADMINISTRATOR, SUPER_ADMINISTRATOR) pauses a contract's SLAs for planned MAINTENANCE or a BREAK_GLASS incident: a reason of 10+ characters and at most 24 hours (a database CHECK holds the cap). The 15-minute sweep reports nothing for the contract while the window is open. It is ledgered assla.suspended; governance, stewards and owners are alerted.GET /contracts/{id}/sla-suspensionslists every pause with its minutes and the minutes by month, the reliability record. - Repeated breach. The same SLA breached 3 times in 30 days (
SLA_BREACH_REVOKE_COUNT,SLA_BREACH_WINDOW_DAYS) recalls the badge whenSLA_BREACH_REVOKEisenforce; the default isshadow(logs). The breach that reaches the line recalls once.
trust_context.high_volatility flags a score in the provisional band (60 up to the lowest Trusted line, 80). Freshness tier (T1 to T3) is derived and reported but drives nothing. The sweep itself acts only through the SLA's breach_action; a zero-row load on a Class C or D product also shows up as a drift finding (see Drift).Data models (canvas, relationships)
What it does
A data model is a saved diagram of how products relate. You declare a relationship between a field in one product and a field in another, and arrange the products on a canvas. The platform keeps the relationships and the layout.
Context: why it exists
The manuscript wants meaning to be one verified thing, not a local guess in every pipeline. Join keys that are declared once, with an owner, are the opposite of the fragile point-to-point joins it calls noodles. A declared relationship is also how the platform reasons about linked data: whether two products share an identifier, and where a person's identifier travels.
How it works here
POST /relationshipstakes source and target product and field plus an optional join condition. Cardinality is derived from the primary-key metadata.GET /relationships/propagation/{product_id}walks declared relationships to build the Identifier Propagation Map used to locate a data subject for the right to be forgotten.- Models save the products with their canvas position and the relationship label offsets. Layout is cosmetic; the relationships are the data.
- The wizards for combined and derived products only offer join keys that two masters declare with the same identity class.
- A contract may carry an
entityIdMappingblock (the field that links to the golden record). It is validated against the schema when the contract is activated and is not enforced for personal-data contracts (see Contract policy blocks).
DQ hooks and recommendations (avoiding DQ overload, global vs tactical tiering)
What it does
Quality rules in a contract are checked against the live data every 15 minutes. The weakest rule sets the quality floor. DQ Recommendations proposes rules from a profile of the real columns.
Context: why it exists
The book warns that one new check per analyst floods the quality platform with overlapping alerts. Its rule is to govern the contract, not the table. Run global checks once (schema, nulls in keys, freshness) as the floor. Add tactical checks only where a contract needs them. The manuscript also describes three hooks: accuracy (distribution profiling), timeliness (heartbeats) and completeness (volume and nulls), each feeding the TDK.
How it works here
- Identical validations are run once per scan: the same field, rule type and parameters, across every contract, count as one (
_rule_key). A different threshold or pattern is a different check. - The floor is the minimum pass rate across verifiable rules, not an average, so one failing rule cannot hide behind passing ones.
- Rule types in the model: completeness (with
min_population_pctand a conditionalwhen), accuracy, range, regex, in_list, tolerance, no_placeholder and sql. See SLAs for the newer types. Recommendations use completeness, range, regex and in_list, built from null share, distinct count, min and max, and observed values. They mark rules already present. - ODCS library checks
missingValuesandinvalidValuesthat must be 0 import as runnable rules. - Tiering is done by child contracts that tighten the master's rules for one SoI. A contract may also name a service tier (see Contract policy blocks).
- When the interceptor finds the product's live TDK too low for what an Agent needs, no new check is created. The held Agent leaves a remediation task for the owner of the weakest pillar, so the fix is made once for everyone (see Remediation tasks).
dq-recommendation-engine.ts). They are not AI-generated, although Volume 3 calls them AI suggestions. They need a profile first. The "Move logic to the interceptor" idea is not built, and "SoI inheritance" is only the coverage check described under Statement of Intent. The book's Remediation Guide, a mapping from a failing pillar to a fix with steps, is not built either; the task by pillar is the nearest. The book itself notes it does not cover contracts that check different dimensions of one table.ODCS import, export and validation
What it does
Contracts can leave and enter FiduLock as Open Data Contract Standard (ODCS) v3.2.0 documents. Export gives you a valid document. Validate checks any document without storing it. Import creates a DRAFT contract.
Context: why it exists
The manuscript says there is no universal standard yet. It compares ODCS, DataContract.com and the PayPal template, and recommends ODCS for mixed estates that need a vendor-neutral format to last a decade. A contract in an open format is also how governance stays independent of one tool: other systems can read it, and FiduLock can read theirs.
How it works here
- The official ODCS v3.2.0 JSON Schema is vendored in
shared/odcs, so validation needs no network. An export that would not validate is refused with a 500 rather than served. - FiduLock fields map to native ODCS fields or to
customProperties(data class, step floors, row filters). Content FiduLock does not model (servers, roles, team, tags, support, extra checks) is kept verbatim inodcs_extrasand written back. - The round trip is a tested property. Import resets the status to draft and warns where it had to infer a value, such as producer and consumer from
team. - An imported draft may have no runnable rules but cannot be activated without them. Non-FiduLock quality checks are kept and exported but not run.
- ODCS library checks
missingValuesandinvalidValuesthat must be 0 import as runnable rules. - Authored
tdk,trustBadge,blastRadiusandpassportHashvalues are ignored on import with a warning, because the platform computes them. Trusted Data KPI weights in the document are also ignored with a warning (ADR 0036). - The platform's own policy blocks (
columnMasking,maxRecordAge,serviceTierand the rest) live inodcs_extrasor an ODCS custom property of the same name, so they round-trip (see Contract policy blocks).
supersedes, parentContract and deprecatedAt are ignored with a warning; an import starts a new history. The three-layer field definitions are not part of the export yet. The manuscript's extends key for child contracts is represented by the platform's own parent link, not an ODCS field. ODCS dynamicPolicies are not imported (use columnMasking), and native ODCS sql checks are not mapped.Contract policy blocks: masking by column, record age, service tier, owner threshold, schema evolution and the rest
What it does
A contract can carry named policy blocks that go beyond schema, rules and SLAs. Each is a small piece of policy-as-code: mask this column, hide records older than this, keep this service tier's promises, set the owner's own trust line. Most are read at run time by the Query Interceptor or the Entry Gate.
Context: why it exists
The manuscript's sample contract shows policy written once in the contract and enforced everywhere, not rebuilt in each pipeline: row filters and masks with exception roles, record lifespans, a failure posture per domain, a different strictness for development and production. A rule that lives in the contract can be read, signed and versioned. A rule in someone's script cannot.
How it works here
The blocks live in odcs_extras as a key, or as an ODCS custom property of the same name, so a contract round-trips through export and import with no migration (shared/policy/contract_blocks.py). CONTRACT_BLOCKS_CHECK is shadow by default: it logs a problem; enforce refuses activation with 422 contract-blocks-invalid; off skips it. GET /contracts/{id}/declarations lists the problems.
| Block | What it says | Read at run time? |
|---|---|---|
columnMasking | Extra masking per column, with exceptionRoles and unmaskForIntents. Modes: PARTIAL, FULL, HASH, LAST4, NOISE:<scale> (Laplace noise), GENERALIZE_YEAR, GENERALIZE_MONTH, BUCKET:<width>, PLACEHOLDER. | Yes, by query-interceptor. The stronger masking wins. A caller holding an entry's exception role, or whose Statement of Intent has a listed intent tag, is not masked by that entry. Nothing the data catalog masks is lifted. |
maxRecordAge | {field, hours}: the lifespan of a record. | Yes. query-interceptor adds field >= now() - interval to every single-product and join read. The Build Engine does not purge anything. |
serviceTier | PLATINUM, GOLD, SILVER, BRONZE or SANDBOX (shared/policy/service_tiers.py). | At activation: the contract must keep what the tier promises of its SLAs and HITL floor. A template cannot select a tier yet. |
utilityThreshold | The Business Owner's own TDK line. | Yes. It raises the HITL Floor like a contract hitl_floor; it never lowers it. |
thresholdOverrides | Per Blast Radius tier, tighter trust lines than the platform's. | No. Validated as tighten-only; the autonomy bands do not read it yet. |
schemaEvolution | allowed: PATCH, MINOR. | Yes, by contract-engine on a live change (CONTRACT_SCHEMA_EVOLUTION, shadow by default; enforce refuses with 409 schema-evolution-disallowed). |
entityIdMapping | The field that links to the golden (master data) record. | No. Validated against the schema; not enforced for personal-data contracts. |
failurePosture | Fail-close or fail-open for the contract. Regulated or confidential data cannot declare fail-open. | No. Validated; the interceptor does not read it at run time. |
relaxedGates | Gates loosened for a NON_PRODUCTION contract. Never a security step. | No. Validated; entry-gate does not read it yet. |
consentFilter | {column, permittedValues}: an Agent reads only rows whose column holds a permitted value; a missing flag is withheld. | Yes. query-interceptor adds it as a row filter for Agents on single reads, and for every caller on joins. |
destinationZone | The security zone the data is headed for. | Yes, by entry-gate's ZONE_CLEARANCE step (see Entry gate). |
- Environment-aware masking.
NON_PROD_MASKINGon query-interceptor isshadowby default; inenforcea NON_PRODUCTION contract serves no unmasked confidential or restricted column, whatever the exceptions say. - Dynamic policy. Row filters and masking with exception roles, as the book's sample shows, are done by
columnMaskingand the contract's row filters. ODCSdynamicPoliciesare not imported. - The Ephemeral View option (a database view that exists for one session) is not built.
thresholdOverrides, entityIdMapping, failurePosture and relaxedGates. Do not rely on them to change behaviour.Part: Gates, security, privacy and health
These thirteen functions are the checkpoints and watchers that decide whether data may enter the platform, who may see it, and whether it still deserves trust. They map to Pillars 3, 4 and 5 of Book 1 in the manuscript, plus the emergency-access and compliance chapters of Book 2.
Read them in order: the gate and its exceptions first, then security and privacy, then the continuous health checks that keep a badge honest.
Entry gate: "No verified context, no ingestion" and the admission checks
What it does
The entry gate checks a data product before it may go further. It runs its checks, the independent ones at the same time, and the reason names every step that failed. Every run is recorded as PASS, FAIL or QUARANTINE, with the reason, and published as a gate.* event.
Context: why it exists
The manuscript calls data without a description, a classification and an owner "dark data". It piles up in the lake, hides privacy risk and adds cost with no value. Its answer is a hard stop at the door: nothing enters production without a verified description, a security classification and a named Business Owner. Catching the gap later never works, because nobody goes back to tag it. The gate moves that effort to the start of the life of the data.
How it works here
The gate runs fifteen steps, one of them only when the contract asks for it (the service notes count fourteen and leave that one out). The first ten, in this order, are the original set. Six match the manuscript's core: a Statement of Intent exists and is ACTIVE (SOI_PRESENT); an ACTIVE contract exists (CONTRACT_ACTIVE); the owner has signed (BUSINESS_OWNER_SIGNOFF); the description passes the plain-language score (PLAIN_LANGUAGE_PASS); the security classification exists and is not in quarantine (SECURITY_CLASSIFIED); and acronyms are defined in the glossary (GLOSSARY_ALIGNED). Four more are added: FRESHNESS_SLA (only when the contract declares a freshness promise, and then a measured snapshot must exist) PEDIGREE_MAPPED (a Class C or D Statement of Intent needs a Source System of Record on the product or an upstream contract on its contract; an override can waive it), REGULATORY_COMPLIANCE_PRESENT (a contract tagged EU_AI_ACT must carry a complete regulatory_compliance block with the bias impact field and a compliance passport hash id; checked for presence, not truth; never waived) and BLAST_RADIUS_CLEARED (a Tier 1 Systemic footprint fails the gate).
Five more steps have been added. Where a step has a setting (named below), it is shadow by default (the gate logs the gap and fails nothing), enforce or off:
FIELDS_CLASSIFIED: no field of the product may be left UNCLASSIFIED (GATE_FIELD_CLASSIFICATION). Never overridable. This is the manuscript's "classification first" rule: an untagged field is never defaulted to public. The platform does not compare the contract's classes with the catalog's.DQ_FLOOR_PASS: the latest quality assessment is above the line the owner drew, zero tolerance ormin_population_pct. Overridable. An assessment that has not run closes nothing. Fragmented data therefore does not reach the Storefront.SOURCE_SYSTEM_DECLARED: the product has a description, a source system and a Business Owner by id (GATE_DECLARATIONS_CHECK). Overridable. This is the manuscript's "no verified context, no ingestion". There is no guard on the Build button itself.RESIDENCY_DECLARED: a CONFIDENTIAL or RESTRICTED product's Data Passport lists its origin jurisdictions (GATE_RESIDENCY_DECLARED).ZONE_CLEARANCE: only when the contract names adestinationZone. The product's sensitivity must fit that zone'smax_classification, taken fromSECURITY_ZONES(GATE_ZONE_CLEARANCE); an unregistered zone refuses. Never overridable. There is no zone registry screen or service; zones are configuration.
The security step also re-scans a product whose classification is missing or older than its data, through security-profiling POST /scan/product/{id} (GATE_SECURITY_RESCAN, shadow by default). The scan is of samples, not the stream.
- An unreachable neighbour service fails the gate, because there is nothing to admit against.
- Class C and D are held harder. For a product serving a Class C or D statement, the plain-language step also fails on any data element whose description is missing, under three words or unclear, and on an unreadable statement purpose; the glossary step also fails on any element with no approved glossary term. Both can still be overridden. Class A, B and undeclared are not asked.
- A QUARANTINE outcome comes only from the security step, when the scan found data more sensitive than declared.
- The manuscript describes an "Ingest" button and a consent check at the gate. FiduLock has the gate as a check, not as a button inside an ingestion tool.
RESIDENCY_DECLARED is described as overridable in the service notes, but it is not on the list of waivable steps the override service checks, so a request to waive it is refused.Override protocol: approvers, 24-hour cap, impact hash, exception budgets, policy reviews
What it does
An override lets a failing gate step stay open for a short, recorded time. One named person signs it. It never changes the score. The product is marked as running under an exception, and consumers and agents still see the real number.
Context: why it exists
The manuscript prefers a hard stop but accepts that revenue, a deadline or a customer promise will sometimes demand an exception. It argues that the danger is not the override but the silent one. So an override must carry a named person, awareness of the impact, a reason, a time limit, a notification, a visible score and a record. It then makes overrides costly on purpose: a hard cap, more friction on repeat use, a visible pattern, and the cost landing on the approver.
How it works here
- Waivable steps:
FRESHNESS_SLA,BUSINESS_OWNER_SIGNOFF,PLAIN_LANGUAGE_PASS,GLOSSARY_ALIGNED,PEDIGREE_MAPPED,DQ_FLOOR_PASSandSOURCE_SYSTEM_DECLARED. Security classification, regulatory compliance, field classification, zone clearance and Blast Radius can never be overridden, and a missing Statement of Intent or contract cannot be waived either. - Approver: the steward for the first override on a product in 7 days, the Business Owner for the second, the executive sponsor for the third. A material exception needs at least the Business Owner. A delegate or the requester cannot sign. The signature is the verified caller identity, not a cryptographic signature.
- Impact hash: the signer sends back the hash of the impact they read. If the score or consumers moved, the sign fails with 409.
- 24-hour cap: enforced by the API and by a database CHECK. A sweeper ends it.
- Budget: per department in a rolling 30 days: Class A 10, B 6, C 3, D 1. Past it, the executive sponsor must sign and a policy review opens.
- Policy review: opens after three grants of one rule in 30 days, a back-to-back renewal, or a budget breach. It ends in a ledgered decision,
CHANGE_CONTRACTorKEEP_CONTROL.
Seven override.* events are ledgered. Overrides are REST and UI only; there is no MCP tool. If a model or report fails on data released under an override, /reports/incident-overrides?days= (JSON) links the incident to the overrides in force at the time and to the people who signed them, so the cost can be attributed to the signer.
Break-Glass emergency access and the Incident Verification Gate
What it does
Break-Glass gives an engineer read-only access during a live incident, without a full Statement of Intent. The platform checks the incident ticket first. If it is real, open and severe, access is activated at once and ends by itself.
Context: why it exists
Root-cause work during an outage is the hardest test of a "no contract, no access" policy. Governance must not slow a production fix, and "investigative curiosity" must not become a permanent back door. The manuscript's answer is a short-lived tactical contract tied to a ticket, with access that expires and findings that go back to the ticket. It also warns that typing an incident number proves nothing, so the system must verify the ticket.
How it works here
The request names an incident id, a data product and the consumer roles. Verification asks the incident system whether the incident exists, is in an open state (Open, In Progress, Active) and is P1 or Major.
- Verified: an ACTIVE read-only SoI, expiring after 8 hours (
BREAK_GLASS_ACCESS_HOURS). A setting above 24 hours is refused when access starts. An hourly sweep expires it, and also revokes access whose incident is no longer open at the incident system. Entry-gate files it as an override of kind BREAK_GLASS, which counts toward repeat-use and recurrence. - Closing needs findings. To end emergency access by hand, the requester or governance calls
POST /soi/break-glass/{id}/closewith written findings of 30 or more characters. The findings become the revocation reason and stay on the Statement of Intent.GET /soi/break-glass/outstandinglists access that ended with none. - Planned downtime. A BREAK_GLASS pause window can suspend the affected contract's SLAs (see SLAs).
- Not found, not open, or too low: refused, and the person is told to file a normal Statement of Intent.
- Incident system unreachable, or no provider set: a DRAFT waits for manual SME sign-off. It is never granted on ambiguity.
INCIDENT_PROVIDER) were built from public documentation and tested only with mocks. The default is none, so every request goes to manual sign-off. Test against a sandbox before relying on it. The manuscript's Clean Room (sandbox mirror) isolation belongs to the customer's own systems and is documented, not built (ADR 0036).Security profiling, PII detection and classification (Presidio) with quarantine
What it does
The service samples a product's real rows (up to 100, fetched from data-product-monitor) and looks for personal data with Presidio. It derives a detected sensitivity, compares it with the declared one, and either classifies the product or quarantines it.
Context: why it exists
The manuscript treats classification as a passport that travels with the data. Relying on people to declare it fails twice: through honest error, and through "corporate armor", where data is described as harmless to avoid oversight. An automated scan is the X-ray machine at the gate. When it finds more than was declared, the data goes to a restricted route and a human reviews it.
How it works here
The sensitivity ladder is ordered: PUBLIC < INTERNAL < CONFIDENTIAL < RESTRICTED.
- RESTRICTED: US_SSN, CREDIT_CARD, IBAN_CODE or MEDICAL_LICENSE found.
- CONFIDENTIAL: PERSON, EMAIL_ADDRESS or PHONE_NUMBER.
- INTERNAL: IP_ADDRESS. Otherwise PUBLIC.
- Mismatch means detected is higher than declared. A mismatch gives action QUARANTINE and a
security.quarantinedevent; otherwise CLASSIFY andsecurity.classified. Each field also gets a privacy label (NON-PII, PII, SENSITIVE-PII). - Custom recognizers (
/recognizers; SECURITY_TEAM, GOVERNANCE_LEAD, SUPER_ADMINISTRATOR). A name, an entity type, a regex of at most 300 characters with no repeated groups, a confidence and the sensitivity a hit gives. They join Presidio's findings in every scan. A recognizer is switched off, never edited; it is stored insot.pii_recognizers, not ledgered, and raises no event. There are no PHI or PCI entity sets beyond what Presidio finds. - The scan can run at the gate. The Entry Gate re-scans a product whose classification is missing or stale (
GATE_SECURITY_RESCAN,shadowby default).POST /scan/product/{id}scans one product now. - History cannot be rewritten.
sot.security_classificationsis append-only: a database trigger refuses UPDATE and DELETE. A declared sensitivity can still be changed by its owner. - Review queue.
GET /classifications/review-queuelists flagged fields one by one for the Security Team. Masking was already adopted per field. Diverting a row or a file to an isolated vault is not built. - What each class brings.
GET /classifications/controlspublishes the controls per classification: encryption at rest, a second factor, masking for the unentitled, and retention (shared/policy/controls.py). The interceptor enforces only the masking. The rest is for the customer's stores and identity provider. - Protected before read.
/reports/protected-before-read(a labelled PROXY) gives the share of read products that were classified before their first granted read. It does not see storage.
A quarantine opens a classification dispute (next section). The entry gate then returns QUARANTINE for the product. The scan is a sample, so a rare value outside the first 100 rows can be missed. The manuscript's "move to a vault" is represented by the quarantine state and the gate stop, not by physically relocating the data; diversion to a vault belongs to the customer's own systems (ADR 0036).
Classification disputes (Security Team final say) and derived-data classification
What it does
When a scan finds data more sensitive than declared, one dispute opens per product. The higher label applies to the product at once. The Security Team then decides the final label. A separate tool works out the classification of a product built from others.
Context: why it exists
An AI scan, a security officer and a business owner will sometimes disagree. The manuscript settles it: the Security Team has the final say, the AI only recommends, and the owner may object and accept the risk in writing. A derived product raises its own question, because two harmless sets can identify a person once joined. Classification therefore depends on the combination, not only on the field.
How it works here
- Dispute: status OPEN;
classification.disputedis ledgered. The owner may object (/objection) and then file a risk acceptance (/risk-acceptance). A risk acceptance records the decision and reason and does not change the label. - Decision:
POST /disputes/{id}/decidesets any level, higher or lower than the AI, with a written justification of 20+ characters. It is ledgered asclassification.decidedwith the AI recommendation and the objection. A decided dispute is final; a later mismatch opens a new one. - Derived: inherit the highest parent level; raise one level when a join on a field shared by two parents combines them; lower only by SECURITY_TEAM or governance, with the removed link recorded. The reason is always stored (
classification.derived). - Joins: an Agent or an unprivileged person joining a CONFIDENTIAL-or-higher product gets the linking field hashed in the output.
- Classification follows the lineage. A daily check (
LINEAGE_CLASSIFICATION_CHECK,shadowby default;enforce;off;POST /classifications/lineage-check/runruns it now) finds a product fed by another (FEEDS) that sits below the most sensitive product feeding it. Inenforceit opens the ordinary dispute, and the higher level applies at once. A recorded stripping decision is left alone.
Obfuscation by default and masking
What it does
Sensitive fields are masked unless the reader has a reason to see them. The masking runs inside the database query, so the raw value never leaves it for a reader who is not entitled.
Context: why it exists
The manuscript says privacy is not about hiding data. It is about showing a sensitive value only when it is needed. A model can learn patterns without seeing identities, and handing it raw feeds invites attacks that rebuild the training data. So the mandate is a policy-driven layer that masks, hashes or anonymizes according to classification.
How it works here
- Mandate:
obfuscation_requiredis true whenever sensitivity is CONFIDENTIAL or RESTRICTED, withobfuscation_fieldsfilled in. - Recommendation: RESTRICTED or SENSITIVE-PII gives HASH (SHA-256); CONFIDENTIAL or PII gives PARTIAL (first and last character kept); otherwise NONE. FULL is never recommended automatically. A stricter policy is never downgraded.
- Enforcement: query-interceptor rewrites the SELECT. Roles OPS_ADMINISTRATOR, GOVERNANCE_LEAD and DATA_STEWARD see real values. Others see real values only with an ACTIVE Statement of Intent on the contract; a contract with no SoI bound fails closed to masked.
- Publish check: build-engine's
obfuscatestep refuses to publish a CONFIDENTIAL or RESTRICTED product whose obfuscation cannot be verified (Fail-Close). - Unclassified fields. A field left UNCLASSIFIED (see Entry gate,
FIELDS_CLASSIFIED) is masked in full by the interceptor until someone classifies it.
Hashing keeps equal values equal, so a recipient can still tell which rows share a key.
More masking modes, chosen by the contract. A contract's columnMasking block (see Contract policy blocks) adds, per column, the modes the book calls dynamic anonymization and differential noise. The modes are PARTIAL, FULL, HASH, LAST4 (last four characters kept), NOISE:<scale> (Laplace noise), GENERALIZE_YEAR and GENERALIZE_MONTH (a date shown as its year or month), BUCKET:<width> (a number shown as a range) and PLACEHOLDER (a fixed stand-in value). Each entry can name exceptionRoles, whose holders see the real value of that column from that entry, and unmaskForIntents, the intent tags that lift it. The stronger masking wins, and nothing the data catalog masks is ever lifted. shared.policy.obfuscation.effective_contract_masking merges them. The choice follows the caller's role and the Statement of Intent, at one central enforcement point. The Ephemeral View option is not built. With NON_PROD_MASKING at enforce (default shadow), a NON_PRODUCTION contract serves no unmasked confidential or restricted column.
Stated by the contract. A property classified confidential or restricted must declare an obfuscationMethod (one_way_hash, partial_redact or dynamic_masking). A contract with such a gap cannot be activated (HTTP 422). At run time the interceptor also applies the contract's method to a column the catalog leaves unmasked; it never loosens what the catalog masks. dynamic_masking masks fully unless the caller's SoI states an intent that the property lists in maskingByIntent (for example {FRAUD_REVIEW: PARTIAL}). A person sets the SoI's intent (ANALYTICS, SUPPORT, FRAUD_REVIEW, MODEL_TRAINING or OTHER) with PUT /soi/admin/{id}/intent-tag. Intent can only loosen a dynamic_masking field, never below PARTIAL, never a catalog mask or one_way_hash; an unknown intent or a map on another method blocks activation. The intent used is recorded on the access.granted entry.
Data sovereignty, residency and EU_ONLY rules
What it does
The platform records where data may live and who may reach it by jurisdiction, and refuses queries that break those rules. Two layers exist: a basic EU rule, and the Data Passport that supersedes it.
Context: why it exists
Data is subject to the law of the place it sits. The manuscript warns of "jurisdictional contamination": a cost-driven move to another region that triggers regulatory stop-work orders and fines of up to 4% of global turnover under GDPR. Its answer is machine-checked residency tags, geo-fencing at the data contract and automated sovereignty audits, rather than trusting architects to pick the right region.
How it works here
- Detection: a scan adds
EU_ONLYtoresidency_ruleswhen it sees a+3xphone prefix or an IBAN with an EU country code. - Basic rule: for an EU_ONLY product, the Statement of Intent must carry the role
EU_DATA_ACCESSor the query is refused. This check skips (fails open) if security-profiling is unreachable. - Passport: an ACTIVE passport lists allowed and forbidden jurisdictions. A consumer outside them is refused with
SOVEREIGNTY_RESTRICTED. If the passport service is unreachable, enforcement falls back to the basic rule. - Handshake: the caller's region comes from its signed identity (the Keycloak
regionclaim through api-gateway, or the Agent's registry region through mcp-gateway;PUT /agents/{id}/region), not from the SoI. On a passport that restricts jurisdictions, a missing region is refused asCALLER_REGION_UNKNOWN, a region that differs from the SoI's declaration asREGION_MISMATCH, and a region outside the lists asSOVEREIGNTY_RESTRICTED("EU" covers the member states).RESIDENCY_HANDSHAKE_MODEon query-interceptor isshadowby default: it logs what it would refuse and refuses nothing. Setenforceonce every caller carries a region;offskips it. - Audit: the Compliance Pulse flags
RESIDENCY_DRIFTwhen EU_ONLY is detected but the passport does not declare EU origin. - Origin declared at the gate. The Entry Gate step
RESIDENCY_DECLARED(GATE_RESIDENCY_DECLARED,shadowby default) asks a CONFIDENTIAL or RESTRICTED product to list its origin jurisdictions on the Data Passport. The pattern table for EU detection is not configurable. - Transfer mechanisms.
PUT /passports/{id}/transfer-mechanismsrecords the legal basis for sending data to a jurisdiction: SCC, BCR, ADEQUACY, CERTIFICATE or OTHER, with a reference and an expiry (passport.transfer_recorded, append-only; the newest per jurisdiction counts). The Compliance Pulse fails withTRANSFER_MECHANISM_MISSINGwhen the passport's allowed access reaches a jurisdiction outside its origin with no current mechanism (TRANSFER_MECHANISM_CHECK,shadowby default). Governance and security roles record them; signing by a named legal role is not modelled. - Listings follow the region. mcp-gateway's
list_data_productshides a product whose passport excludes the caller's signed region (REGION_FILTER_LISTINGS,shadowby default; an unknown region sees everything). The data-catalog search is not filtered. - Security zones. A contract may name a
destinationZone, and the Entry Gate'sZONE_CLEARANCEstep checks the product's sensitivity against the zone's maximum classification. Zones come from configuration (SECURITY_ZONES); there is no zone registry screen. - Erasure requests. See Ethical use and consent.
Data Passport and Compliance Passport, Compliance Pulse, EU AI Act mapping
What it does
A passport is a certified record of a product's origin, allowed and forbidden jurisdictions and legal basis. Behind it sits append-only evidence. A scheduled Compliance Pulse re-checks every ACTIVE passport and raises one alert per failing passport.
Context: why it exists
The EU AI Act asks for proof that a system stayed compliant over its whole life, not a one-off audit. The manuscript turns this into a "Compliance Passport": a stream of signals (integrity hash, bias drift, oversight log, residency anchor) mapped to Articles 10, 11, 12 and 14. It is generated at three hooks (ingestion, mutation, access), and monitored by a Pulse that degrades the passport and stops downstream use if a signal fails.
How it works here
- Evidence: data-passport consumes
gate.*/build.published(Ingestion),contract.*/catalog.*(Mutation) andaccess.*(Access) intodata_passport_evidence. - Pulse checks: ledger correlation, integrity hash match, chain breach, ledger unreachable (fail-closed), residency drift, expiry, evidence staleness, and optional distribution drift. It emits
passport.pulse_failed. An integrity-class failure withdraws the contract's integrity hash and trips its 409 Fail-Close. - Transfer mechanism and shape checks. The Pulse also fails with
TRANSFER_MECHANISM_MISSING(see Data sovereignty). It reportsshape_changes: a column's dominant value shape (digits, hex, letters, alphanumeric or mixed, and its length) taken from the profile's five commonest values and compared between snapshots, so a hash string that turns into nine-digit numbers shows up as a likely newly exposed value. WithSHAPE_DRIFT_CHECKatenforceit fails withSHAPE_DRIFT. This is not entropy over the whole column. - Passport states: DRAFT, ACTIVE, REJECTED, SUPERSEDED. Only ACTIVE is enforced.
EU_AI_ACT contract must carry a complete regulatory_compliance block with the bias impact field and a compliance passport hash id; the Entry Gate and activation check that it is declared, not that it is true. Article 14 oversight is evidenced by the competent person's signature on the contract version (contract.oversight_signed, see Data contracts) and by signed approvals elsewhere.Ethical use and consent verification
What it does
A person records what the people in a data product agreed to. The platform keeps that as a flag and refuses an AI Agent that has no consent to read the data. Withdrawing consent stops Agents at once and can recall the product.
Context: why it exists
The manuscript says that holding data does not give the right to use it for AI. Each record should carry a machine-readable consent flag, and a revoked consent should ripple to every model and cache. Without that, data is "laundered" through transformations until consent is lost, and a regulator can force the deletion of a whole model built on non-consensual data.
How it works here
- The flag, per data product:
PERMITTED_FOR_AI,ANALYTICS_ONLY,NOT_PERMITTEDorUNDECLARED(nothing recorded).PUT /consents/{id}records one with its basis and an optional source reference. - Receipts: every change is an append-only receipt (who, when, the basis, the flag before). The current flag is the newest receipt.
GET /consents/{id}/receiptslists them. - Withdrawing:
POST /consents/{id}/revokewith a reason writes a REVOKE receipt and the flag becomes NOT_PERMITTED. Recording NOT_PERMITTED directly is refused: a withdrawal is its own act. - Enforcement: query-interceptor checks the flag for every Agent read or write, before the HITL Floor. Only
PERMITTED_FOR_AIpasses.ANALYTICS_ONLYandNOT_PERMITTEDare refused (CONSENT_ANALYTICS_ONLY,CONSENT_NOT_PERMITTED). People reading through the Query Validator are not held to it. An unreadable registry refuses on a fail-closed (sensitive) product and lets a lower one through. - Undeclared data: still readable by default. Set
CONSENT_UNDECLARED_BLOCKS_FROMon query-interceptor to a sensitivity (for exampleCONFIDENTIAL) to refuse undeclared data from that level up. - Recall: a withdrawal raises
consent.revoked. trust-badge-engine reads the contract'srecallNotice: a contract that listsconsent_revokedwithpause_downstream_consumptionrecalls the product; one that says nothing puts it in Safety Mode; one that lists other triggers only is left alone. Stewards, governance leads and the Security Team are told. - Purge request: separate and older: it tracks a data-subject erasure request through lineage and tells the people who can act (
purge.requested,purge.closed). - Per-record consent as policy. A contract's
consentFilterblock ({column, permittedValues}) makes an Agent read only rows whose consent column holds a permitted value; a missing flag is withheld. query-interceptor adds it as a row filter for Agents on single reads and for every caller on joins. FiduLock still stores no consent per person. - Erasure and its deadline.
POST /erasuresin data-passport records a person's deletion request against a product. The subject reference is hashed on arrival and never kept. The deadline is 72 hours by default and 720 at most (consent.erasure_requested). The owner of the store confirms withPOST /erasures/{id}/completeand a reference (consent.erasure_completed, withon_time).GET /erasuresshows OPEN rows past the deadline asoverdue;/erasures/summarycounts them. notification-service tells the stewards, and governance only of a late confirmation. The deletion itself is the customer's: there is no connector to the stores.
Freshness and content-change monitoring, profiling hooks, anomaly checks
What it does
Data-product-monitor fingerprints the source of each product and keeps a snapshot history, profiles columns, and assesses the contract's quality rules. Health-monitor turns those inputs into the freshness and quality pillars of the TDK score and raises health events.
Context: why it exists
Accurate data that arrives late is still dangerous, and "no news is good news" fails when a pipeline stalls. The manuscript wants a heartbeat for every stream and a sanity check for impossible values, such as a price that jumps a hundredfold for an hour. It also wants quality checks wired into pipelines as three hooks (accuracy, timeliness, completeness) that feed the score, rather than a separate scanning tool.
How it works here
- Sources: database, file formats (Parquet, CSV, JSON, Avro, ORC and others), Iceberg, Kafka and REST API connectors, with credentials from a vault.
- Freshness: age against the contract's SLA hours or update frequency. Over tolerance emits
health.freshness_breach. - Statistics on the row-count history, with at least 5 points: 2-sigma gives
health.drift_alert; 3-sigma giveshealth.anomaly; throughput under the velocity ratio giveshealth.velocity_drop(VELOCITY_DROP_RATIO, configurable). The baseline is robust (shared/policy/baseline.py): the median and the median absolute deviation (MAD) from 14 points, with past outliers left out and the same weekday compared once there are four weeks. A flat history still catches a real change, and zero rows against a healthy history is an anomaly. A holiday spike is therefore told apart from the same spike on a Tuesday. - Column monitor. The means of columns the contract marks
criticalDataElementare held to the same kind of baseline (column_health.py), from the profiled mean. It raises the existinghealth.drift_alertandhealth.anomalywith the column asfield_name. It works on the profile per run, not on individual incoming values and not in real time. - Heartbeats. A contract's arrival SLA or heartbeat interval makes a missed delivery raise
health.freshness_breachwith reasonMISSED_HEARTBEAT(see SLAs). A missing signal counts as a failure. - Baselines you register. A PROFILE baseline (
/tdk/baselines) is a product's column profile saved on purpose;GET /tdk/baselines/{id}/comparelists the flagged columns (mean shift in baseline deviations, top-value distance). FiduLock holds no training set or labels, so it compares data with data, not with a model's training set. - Quality: contract rules are assessed on the real data; the weakest rule sets the floor.
- Cadence: scores refresh every ten minutes.
Drift: three signals, circuit breaker, quarantine
What it does
The platform tracks three kinds of drift separately, each with its own detector, owner and response. A sweep every 15 minutes reconciles one open signal per kind per product.
Context: why it exists
One health number hides what went wrong. A broken connector, a column that no longer means what the contract says, and a seasonal market shift need different people and different responses. Nobody should be woken at 2 AM for a seasonal shift, and no expert should debug a pipeline fault. So automation halts only on the mechanical and meaning breaches, and sends the business shift to a review.
How it works here
| Kind | Detector | Class C/D response | Class A/B, undeclared |
|---|---|---|---|
| Technical | Contract column missing or retyped against the last profile; late load | HALTED: reads refused with DRIFT_CIRCUIT_OPEN | Logged, owner told |
| Semantic | Data-quality pillar under 70 | QUARANTINED: Safety Mode path, obfuscated, row-capped, read-only | Logged, owner told |
| Business context | health.drift_alert (row-count baseline) | Logged, recertification requested | Same |
Anomalies. A statistically impossible row count (health.anomaly) opens a semantic signal on Class C and D, so the product stays quarantined until a person closes it. Closing it needs a disposition: TECHNICAL_ERROR (a bad load or glitch: the point is left out of the baseline from the next score) or BUSINESS_SHIFT (a real change: the point stays and the baseline learns from it). The disposition is on the drift.cleared entry.
Declaring Class C or D is what switches the breaker on; the platform does not halt a product nobody has classified. Events: drift.detected, drift.cleared. A halt stops every consumer, including people in the Query Validator, until the cause clears.
What else opens a signal.
- A profile with zero rows, or a required critical column holding nulls, is a technical finding. A zero-row load against a healthy history is an anomaly and quarantines a Class C or D product.
- A slow feed:
health.velocity_dropholds the product like an anomaly (a semantic signal, findings prefixedvelocity:;VELOCITY_QUARANTINEisshadowby default). Freshness breaches still do not quarantine. - A definition that no longer fits the values: llm-governance's
SEMANTIC_DRIFT_CHECKreads each PUBLIC or INTERNAL column's description beside its five commonest values (never the values of anything more sensitive). Inonit opens or joins the semantic signal throughPOST /drift/definition-signal(findings prefixeddefinition:); the defaultshadowonly records. A person closes it; the sweep never does. - Registered PROFILE baselines (see Freshness and content-change monitoring) compare columns one by one.
Downstream notice. A halted or quarantined product sends a DRIFT advisory notice to the Agents that rely on it (see Recall Notice Protocol).
Recertification and automatic degradation
What it does
A recertification asks a named person to confirm that a product still deserves trust. If they do not, the product cannot hold a CERTIFIED badge.
Context: why it exists
The manuscript names "perpetual trust" as a failure: data certified once and never looked at as definitions change, until the lake is a swamp. The remedy is a certified heartbeat. Frequency follows risk, not the calendar: a quarterly attestation for financial, regulated and customer-facing data, and review on a drift alert for the rest. A calendar review of every dataset is theater.
How it works here
- Due: Class C/D with a declared class are due when never attested, then 90 days after each attestation, and after a MAJOR schema change. Any drift alert asks for one on any class. Class A/B and undeclared have no calendar.
- Overdue: 14 days after the due date. An overdue recertification caps the badge at WARNING, even if the score would certify.
- Attest:
POST /recertifications/{id}/attest. Class C/D need the business assumption (10+ characters) and whether the rule is still legitimate; a "no" needs a reason (20+ characters) and setspolicy_review_requested. - Blocked: a product with technical or semantic drift open cannot be attested.
- Other reasons. A recertification is also asked for when the Business Owner changes (
OWNER_CHANGED;OWNER_CHANGE_RECERTisshadowby default), when a product many people read has not been reviewed inUNREVIEWED_DAYS(HIGH_USAGE_UNREVIEWED, afterUSAGE_RECERT_ACCESSESaccesses on the Usage Map), when a breaking upstream change feeds it (UPSTREAM_CHANGED;USAGE_RECERT_CHECKisshadowby default; Class C and D stay on the calendar), and when enough consumers report drift or semantic errors (FEEDBACK_THRESHOLD, any Impact Class;FEEDBACK_RECERTisshadowby default; see Marketplace Storefront). - One click, with the facts. The Attest box on
/badges/driftshows the product's TDK and six pillars, open drift signals and the last attestation, and prefills the previous business assumption. - A lapse is announced. A badge that falls from CERTIFIED to WARNING sends a RECERT_LAPSED advisory notice to the Agents that rely on the product.
- Events:
recertification.due,.attested,.overdue.
Trust badges: CERTIFIED / WARNING / REVOKED / PENDING and what decides them
What it does
The badge is the one-word answer to "can I rely on this?". Trust-badge-engine reads the TDK score from health-monitor and sets the level, then publishes badge.* events.
Context: why it exists
A score alone is easy to ignore. The manuscript gives data a visible status that moves with evidence: certified, throttled (warning) when trust slips, and back to recertification when it lapses. A revoked badge acts as a recall that reaches everything that relied on the data.
How it works here
The lines depend on the Blast Radius tier of the product (Tier 3, 2, 1):
| Level | Rule |
|---|---|
| REVOKED | Score below the recall floor (40 / 50 / 65 by tier) or the security component under 30 |
| CERTIFIED | Score at or above the trusted line (80 / 85 / 90) and security component 60 or more |
| WARNING | Score 60 or more but not certified |
| PENDING | Not yet assessed, or between the recall floor and 60 |
A CERTIFIED result is capped to WARNING when a recertification is overdue, when a precision-critical field has no current signed execution test or a field lacks its regulatory annex, or while a pillar nobody measured is listed in metadata.unmeasured. A governance (Accountability) pillar of zero caps the badge at REVOKED whatever the total says (GOVERNANCE_FLOOR_MODE, shadow by default, logs; enforce; off). The same SLA breached three times in 30 days recalls the badge when SLA_BREACH_REVOKE is enforce (see SLAs). A broken integrity hash or withdrawn consent is a recall trigger (see Recall Notice Protocol). A previously CERTIFIED badge that is pulled counts as a recall. A manual override sits above the score. The lines live in shared/policy/thresholds.py and are published at GET /tdk/policy.
docs/platform-reference.md still says Certified at 80+, Warning 60-79, Revoked under 60. The code uses the tier-adjusted lines above.Part: Runtime control, agents and evidence
This part covers what happens at the moment someone or something asks for data: the Query Interceptor, the rules for agents, the recall protocol and the records that prove what happened. Each section says what the function does, why the manuscript asks for it, and how FiduLock builds it today, including where the platform differs.
The Query Interceptor: four-stage pipeline, Fail-Close and Fail-Open
What it does
Every query on governed data goes through one inline checkpoint. The Interceptor parses the SQL, checks who is asking and why, rewrites the query with the contract's guardrails, and then runs it with a short-lived database credential. If it cannot be sure, it holds or refuses the query.
Context: why it exists
The manuscript says passive monitoring finds toxic data after it has already reached a model. Governance therefore has to sit in the data path, as the enforcement arm of the Data Contract. It calls the Interceptor a "traffic cop" that decides before a single row is read. It also asks for two failure postures: strict for critical data, forgiving for exploratory data, so that governance never becomes a general outage.
How it works here
- Stage 1, parsing. The SQL is parsed into tables and columns. Only plain columns and the aggregates COUNT, SUM, AVG, MIN and MAX are supported in the select list.
- Stage 2, triage. Identity (a Statement of Intent token, or a signed user identity), the ledger status, the HITL Floor, the step floor, the active contract and its column list. A column outside the contract is refused. Intent alignment follows (see the next function).
- Stage 3, rewriting. Row filters and masking from the contract are applied for the caller.
- Stage 4, JIT credential. A temporary database role is minted for this query and revoked after (default life 300 seconds; a reaper also revokes stragglers every 5 minutes).
Fail-Close. The query is refused when the Statement of Intent service or the catalog cannot be reached, when the intent check cannot run, when the drift circuit breaker is open (DRIFT_CIRCUIT_OPEN), when a recall is in force (HTTP 503), and on every query while the Forensic Ledger status is BREACH. Fail-Open. If only the contract service is unreachable and the product is below CONFIDENTIAL, the query runs unmodified, unmasked and unfiltered, and is marked UNCERTIFIED_FAILOPEN. At CONFIDENTIAL or above it is refused. A ledger outage does not stop queries.
More that the pipeline does.
- Contract guardrails in the rewrite. Besides row filters and masking, the rewrite adds a contract's
maxRecordAgeas a filter (field >= now() - interval), itscolumnMaskingwith exception roles and intent lifts, and itsconsentFilterfor Agents (see Contract policy blocks). - Suspended contracts. A suspended child never falls back to its parent. A product with nothing ACTIVE and something suspended is refused with
CONTRACT_SUSPENDEDand the reason (read 20 seconds at a time). - Estimated cost before the read. A single-product read runs
EXPLAIN (FORMAT JSON)under the ephemeral credential (no data is read), prices the row estimate through marketplace-api and refuses withINSUFFICIENT_TOKEN_BALANCEwhen the department cannot cover it. A join is not priced per product. - Stale Data watermark. A successful read whose product is older than its contract's freshness SLA carries
stale,data_age_hoursandfreshness_sla_hoursper product,trust_context.stale_dataand anX-Stale-Data: trueheader. No SLA or no snapshot is not stale. - What the Agent learns about trust.
trust_contextcarriestrust_level(the band's name) andhigh_volatility(the score sits between the HITL Floor's default 60 and the lowest Trusted line, 80: provisional). The read-side autonomy band per Impact Class is not returned, and there is no "Last Known Good" cache. - Scope violations tell the owner. A refusal for a table or column outside the Statement of Intent is an
access.deniedevent that alerts the Business Owner who signed the Statement, with roles as a fallback. - Linking fields in sensitive joins are hashed where shown, and the answer lists
masked_links(ADR 0024; see Classification disputes).
GovernanceGateException. Minting the ephemeral credential through an enterprise secrets provider, and measuring the Interceptor's cost under heavy rewrite load with caching, belong to the customer's own systems and are documented, not built (ADR 0036).Intent alignment check of a query against its Statement of Intent
What it does
After the deterministic checks pass, a language model judges whether the shape of the query fits the purpose in the Statement of Intent. It returns a verdict, a confidence between 0 and 1, and a short reason. A mismatch, or an unsure match, becomes a held request for a person.
Context: why it exists
A column check cannot tell a weekly summary from a raw dump of the same columns. The manuscript's answer is policy-as-code: turn the human intent into a machine-readable scope, and check every request against it. Its addendum shows a gatekeeper that compares requested columns with the approved set. FiduLock keeps that check, then adds a judgment of purpose, because an approved set of columns can still be used for the wrong job.
How it works here
- The model sees the SQL, the table and columns, and the intent's purpose and use case. It is told to treat all of that text as untrusted input, not as instructions.
- Outcomes:
ALLOWED;ESCALATED_MISALIGNED(the model says no);ESCALATED_LOW_CONFIDENCE(the model says yes below confidence 0.6, the defaultALIGNMENT_CONFIDENCE_THRESHOLD);ALLOWED_EXPLORATORY(see the exploration function). - A query joining several products is judged as a whole against every Statement of Intent involved.
- An identical query already approved by a person (same statement, contract and SQL hash) skips the model.
- If the model cannot be reached or gives no usable answer, the query is refused (
ALIGNMENT_CHECK_UNAVAILABLE). It is never waved through unjudged. - Every verdict, including the allow path, is ledgered as
query.alignment_checkedwith the reasoning. A held query also emitsquery.escalated.
Escalation queue, approvals tied to the asset state, and signed approvals for Class C/D
What it does
A held query waits here for a person. The reviewer reads the SQL, the intent, the reason it was held and the ledger trail, then approves or rejects with a written reason. An approval lets that exact query run once.
Context: why it exists
The manuscript wants machines to act inside limits and people to decide the doubtful cases. A review is only worth something if it stays true. If the data changes after the reviewer looked, the reviewer approved a situation that no longer exists. For the costliest decisions the manuscript wants a named person, not a click, to take the responsibility.
How it works here
- Endpoints:
GET /escalations,GET /escalations/{id},POST /escalations/{id}/approveand/reject. - Tied to the asset. The approval stores the state the reviewer saw (ADR 0020). When the request is resubmitted, the approval is voided (
query.approval_voided) and the request returns to the queue if the TDK fell 5 points, the score went under the floor, the autonomy band tightened, or the weight set, Blast Radius tier, contract or product version changed. If that state cannot be read, no approval is given (HTTP 503). - Signed for Class C and D. If the strictest declared Impact Class of the asset's active Statements of Intent is C or D, the approver signs with their own Ed25519 key over
ESCALATION_APPROVAL|<escalation_id>|<sql_hash>|<signed_at>, made within 15 minutes and checked through user-management. Missing or invalid is 403, stale 422, unverifiable 503, and nothing is approved. An undeclared class is not asked to sign. query.approvedrecords whether it was signed, when, and the class.
Agent HITL queue and incidents
What it does
When the data's trust score is below the floor, missing or stale, an agent decides nothing. Its request goes to a person. Requests on the same cause are grouped into one incident per data product and Statement of Intent.
Context: why it exists
The manuscript says an agent cannot judge truth on its own, so trust has to be a hard limit, not a hint. Below the platform HITL Floor the agent makes no decisions at all. A reviewer sees the score, the weakest pillar and the lineage. The rule is "no score, no trust": a missing or stale score counts as below the floor.
How it works here
- Effective floor = the larger of the platform floor and the
hitl_floorof every applicable ACTIVE contract. Contracts can only raise it. The platform floor defaults to 60 on the 0 to 100 scale (the manuscript's 6.0). - Stale means older than the configured stale-after limit (default 45 minutes). If the floor cannot be read, the last known value is used, never a lower default.
- The check runs in triage right after identity, before the contract fetch and before the fail-open branch. A person calling through the Query Validator is not an agent for this rule; a caller on the Statement-of-Intent token path, or with the signed agent-caller role, is.
- One request produces at most one
query.hitl_escalatedevent. A request joining an open incident is silent for alerts. - Closing. An incident closes only after a sustained recovery: the score back over the floor for the hold (24 hours by default). A dip restarts the clock. A sweeper checks every 60 seconds.
- A task, not only a queue item. When an escalation opens an incident, notification-service leaves a
BELOW_TRUST_FLOORtask for the owner of the weakest pillar (see Remediation tasks). A request that joins the open incident leaves none.hitl.incident_closedcloses the task.
Write autonomy by Impact Class and tier, write holds
What it does
How freely an agent may change data depends on the Impact Class of its Statement of Intent and on the live trust of the product. A write can execute, wait for a person, or be refused.
Context: why it exists
The manuscript ties autonomy to the cost of being wrong. Full autonomy, supervised action and observation only are three bands. When trust falls, the agent steps down one band at a time instead of stopping dead. Class D, the costliest, pauses instead (Fail-Close).
How it works here
| Class | Executes alone at | Held for a person at |
|---|---|---|
| A | 70 or more | 60 to below 70 |
| B | 80 or more | 70 to below 80 |
| C | 95 (Tier 3), 96 (Tier 2), 98 (Tier 1) | 80, 85, 90 up to the line |
| D, or undeclared | never | 95 or more; below 90 the workflow stops (Fail-Close) |
- Supervised writes sit in the Write Hold Queue until a reviewer approves or rejects (
POST /writes/{id}/approve,/reject). Below the supervised line a write is refused. - The tier is the stricter of the Downstream Dependency tier and the Data Class tier. Only Class C moves with the tier.
- Held over time. The band is the stricter of the live score and the product's lowest score over the recovery hold. If the history cannot be read, a write is capped at supervised.
- The platform HITL Floor is checked first. Safety Mode blocks all writes.
GET /tdk/policy. Owners declare the Impact Class; they do not edit the lines. A contract's thresholdOverrides block (tighten only) is validated but the bands do not read it yet. A contract's utilityThreshold does raise the HITL Floor. See Contract policy blocks.Action-aware step floors and chain/session controls (freeze, unfreeze)
What it does
An agent can declare a session, a step number and an action: recommend, draft, approve, execute or transfer. The platform holds each step to its own trust floor and watches the whole chain of steps against limits.
Context: why it exists
The manuscript warns that an agent can pass every single check and still reach a bad result by chaining valid steps. Reading a customer table to build a model is low risk; reading it to run a refund batch is not. So the Interceptor must see the action, the sensitivity and where the session stands. The same agent should not draft, approve and execute in one unbroken chain.
How it works here
- Step floors. Recommend needs the Fail-Close line (or none), draft the supervised line, approve and execute the full-autonomy line, transfer the full line plus 2. A contract's
step_floorscan raise, never lower. Class D never approves, executes or transfers alone. - Outcomes. If trust supports a lower step, the agent is stepped down and told (
stepin the response; a write becomes a held draft). If it supports none, the request goes to the HITL queue (reasonSTEP_FLOOR). Event:query.step_evaluated. - Chain limits by class (steps, records changed, declared value, steps per minute): A 40, 5000, 100,000, 60; B 25, 1000, 50,000, 60; C 15, 200, 10,000, 30; D 8, 25, 1,000, 10.
SESSION_LIMITSoverrides them. - After the fifth step every floor rises 0.5 points per step, up to 10. An unbroken draft, approve, execute run waits for a person.
- Past a limit the step waits (
SESSION_LIMIT). A second hit freezes the session and the agent's key. A transfer is checkpointed in the ledger first.
Agent-to-agent transfer
What it does
When one agent passes data to another, the platform decides the handoff. The answer is ALLOWED, STAGED (a person decides) or BLOCKED. The platform records the sender's hash of the data and never carries or sees the data.
Context: why it exists
The manuscript treats every handoff as a new disclosure. Agent A may be read-only while Agent B can write to production, so the same payload becomes more dangerous. Purpose can leak along the chain, and a poisoned payload can travel through a whole network of agents. The handoff must therefore pass the same gate as any other request.
How it works here
- The receiver must be an active, unfrozen agent with its own active Statement of Intent on that product. Purpose does not travel.
- The data's live TDK must clear the receiver's floor for what it will do, plus a transfer margin of 2. A receiver whose contract lets it write is held to the execute floor.
- The sender's chain must be within its limits.
- STAGED records wait for review (
POST /transfers/{id}/approveor/reject). Approving needs the asset unchanged since staging. - Every answer is
transfer.decided; a person's decision istransfer.reviewed. Only a STAGED transfer raises an alert. - An ALLOWED or released transfer adds an
AGENT_HANDOFFedge to the lineage graph between the two agents' Statements of Intent.
Controlled exploratory mode
What it does
A person opens a time-boxed window on one Statement of Intent. While it is open, a query the intent check judges not aligned runs instead of waiting in the review queue. It is read-only and row-capped.
Context: why it exists
The manuscript calls emergency root-cause analysis the stress test for "No Contract, No Access". Governance must not block a production fix, and curiosity must not become a permanent back door. Its answer is a short-lived, audited exception tied to a reason, which expires by itself.
How it works here
- Maximum 8 hours (a database CHECK holds it). Row cap default 1000, maximum 10000. A written reason of at least 20 characters is required.
- Class A and B: a steward, the Business Owner or a governance lead. Class C: only the statement's Business Owner or a governance lead. Class D and undeclared: never.
- Only a clear "not aligned" verdict goes through the window. A low-confidence verdict still goes to a person.
- Contract columns, row filters, masking, the HITL Floor and the step floors still apply. The ledger entry carries
ALLOWED_EXPLORATORYand the window id. - Events:
exploration.opened(alerts the Business Owner and governance) andexploration.closed. A window can be closed early (POST /explorations/{id}/close).
soi-repository: it verifies a real incident in Jira or ServiceNow, and falls back to manual SME sign-off if the incident system is unclear or unreachable. An exploration window is not a break-glass grant; it widens what an existing statement may do, for no more than 8 hours.Agent registry: identity, keys, freeze, recall webhook
What it does
FiduLock's data consumers are agents, not human users. The registry gives each agent a name, an accountable owner, roles and an API key. It can deactivate or freeze an agent and holds the address where recalls are pushed.
Context: why it exists
The manuscript's agents act without a person present. For "No Contract, No Access" to mean anything, each must be a known identity with someone answerable, so that a Statement of Intent can name it and its key can be cut off. A frozen agent is the platform's emergency brake on one workflow.
How it works here
- Roles an agent can hold: Consumer, Service account, Security analyst, Data scientist, Auditor. A Statement of Intent names roles, so roles decide which statements an agent can use.
- Key.
POST /agents/{id}/credentialsissues the key once. A new key revokes the old one at once. mcp-gateway checks every call withPOST /agents/verify-credential. - Frozen or deactivated agents no longer verify, so the gateway refuses them before any tool runs. Freeze and unfreeze are
POST /agents/{id}/freezeand/unfreeze. - Recall webhook.
PUT /agents/{id}/recall-webhook: https only, no credentials in the address, never a private, loopback or metadata address. - Events:
agent.registered,agent.updated,agent.deactivated.
mcp-gateway and pg-gateway as agent front doors, and the Storefront Discovery API for agents
What it does
Two doors lead into the same Interceptor pipeline. The mcp-gateway serves MCP-native agents with tools. The pg-gateway lets any Postgres client (psql, JDBC, ODBC) work against governed data, with the Statement of Intent token as the password.
Context: why it exists
The manuscript says an agent has no intuition, so it must read machine-readable context first. A Discovery API lets it submit its own Statement of Intent, trace lineage, and read the contract before it queries. It also keeps SQL tooling usable: pg-gateway means existing tools need no rewrite to be governed.
How it works here
- Discover:
list_data_products(hides a product whose Data Passport excludes the caller's signed region;REGION_FILTER_LISTINGSisshadowby default and an unknown region sees everything),get_data_product_metadata(live trust, six pillars, drift, the Consumption Warning, field meanings and ranges, jurisdiction,regulated_termswith their glossary definitions,trust.driverssaying why each pillar scored what it did,trust.volatilitywith recalls and the score's lowest, highest and swing over 90 days and days below Certified, andsurvivorship),get_data_contract,get_contract_yaml,get_lineage,get_recall_notices,get_metric_definition(a registered business metric: live version, description, acronyms, owner). - Ask:
submit_statement_of_intent(a DRAFT scoped to the agent's roles, 1 to 3 days, no SQL in the text),list_my_access_requests,get_temporary_access_token. - Consume:
validate_query,describe_query,execute_query,execute_write,transfer_data.execute_querywithinclude_definitions=truealso returns, for each returned column, the glossary term that speaks for it and its definition (null if the glossary cannot be read). Metric rules are not inlined into the payload. - Every tool forwards to a REST endpoint that is independently callable and role-guarded. The gateway adds no decision of its own. It marks calls to the Interceptor with the agent-caller role, so the HITL Floor applies.
- Both doors enforce the same rules. mcp-gateway is the intended long-term primary surface; pg-gateway is not deprecated.
catalog-mcp, identity-mcp and governance-mcp, which are admin front doors for people.Recall Notice Protocol: kill-switch, Safety Mode, Recall Token push, history
What it does
When a product's trust collapses, the platform withdraws it and tells the agents that relied on it. A recall revokes the badge and refuses further queries. Safety Mode is the softer step: the product stays readable but restricted.
Context: why it exists
The manuscript replaces the old email to a distribution list, which arrives after bad decisions were made, with active interdiction. Data is a liability until proven otherwise. Its four steps are an immediate kill-switch, a token to downstream consumers, an expert restoration with a root-cause package, and a post-mortem. The aim is to break the loop in which an agent hallucinates on bad pedigree.
How it works here
- Trigger. The score falls below the recall safety floor of the product's tier (40, 50 or 65 for Tiers 3, 2 and 1), or a person recalls. A recall is sticky until the product's named Business Owner (or a governance lead, for an owner who has left) clears it, and only once the live score would no longer revoke it. A steward or administrator who raised the recall cannot clear it.
- Cascade. After the recall is committed, every data product that lineage lists downstream is put into Safety Mode and one
recall.cascadedevent records it. A lineage outage never fails the recall. - A broken integrity hash. When the Compliance Pulse can no longer prove a passport's ingestion-time hash, the product goes into Safety Mode by default. A contract can say otherwise in its
recallNoticeblock: listintegrity_hash_invalidatedwith the actionpause_downstream_consumptionto recall instead, or list other triggers only to leave it alone. An unreachable ledger is an outage, not a broken hash. Withdrawn consent follows the same rule: a listedconsent_revokedwithpause_downstream_consumptionrecalls, no block puts the product in Safety Mode, and a block that does not list it leaves it alone. The block's other triggers (quality floor breach, SLA breach) are not read yet. - Other triggers. The same SLA breached three times in 30 days recalls the badge (
SLA_BREACH_REVOKE,shadowby default). A zero-row load against a healthy history is an anomaly that quarantines a Class C or D product, and a profile with zero rows is a technical finding (see Drift). - Kill-switch. Consumers' Statements of Intent are revoked and queries return an HTTP 503 denial.
- Safety Mode. Non-public fields are masked, results are capped at 100 rows, and there are no writes and no export.
- Token push. A Recall Token is made for each active agent whose roles the affected statements name. It is signed with trust-badge-engine's Ed25519 key (
GET /recalls/public-key). Agents with a webhook receive it every 30 seconds with retry (1 to 32 minutes, six attempts, then FAILED). Others are recorded NO_CHANNEL and read the same tokens byGET /recalls/noticesorget_recall_notices. - Advisory notices. Besides a recall, a signed token can carry the kind DRIFT (a halted or quarantined product), RECERT_LAPSED (a badge fell from CERTIFIED to WARNING), FRESHNESS (a late load or a missed heartbeat on a Class C or D product) or CONTRACT_CHANGE (a breaking contract version, without migration steps). They go to the Agents whose Statements of Intent name the product, at most once a day per product and kind, are kept in
sot.recall_historyas<KIND>_NOTICEand are served byget_recall_noticesfor 7 days withadvisory: true. A notice never hides a recall in effect. - Restoration. A recalled product reads as DRAFT_RECERT in the lifecycle view until it is recertified; the Storefront shows no "Under restoration" label and the alert carries no link to the RCA package. Lifting a recall is described above: only the Business Owner or a governance lead, and only once the live score would no longer revoke it.
- History.
GET /recalls/historyand/deliverieskeep every recall, clearing and mode change, with who and why. Events:badge.recall,badge.recall_cleared,badge.safety_mode_entered,badge.safety_mode_exited,recall.token_delivered.
Recall post-mortem report
What it does
After a recall, the report tells the story of one data product: the timeline, the cause, who was affected and how it was put right. It comes as a self-contained web page or as JSON.
Context: why it exists
The manuscript ends a recall with a transparency report once the product is restored. The history of the event stays visible, so agents and owners can factor that volatility into later confidence. A clean ending also lets leaders see whether the protocol worked.
How it works here
- The report is read-only and stateless. It calls trust-badge-engine's RCA package, the recall history and delivery counts, and lineage-engine's downstream graph. It forwards the caller's identity and adds no privilege.
- It shows the full history: every recall, clearing and Safety Mode change. The internal audience sees who and why; the counts of agents told, and how delivery went, are included.
- Audience.
audience=internalorconsumer. The consumer version keeps counts and kinds and loses the people and reasons.publicis deliberately rejected with 422, because public distribution was never specified. - It is one of the predefined reports declared in the report registry.
trust.volatility in the metadata an agent reads shows recalls, the lowest, highest and swing of the score over 90 days, and days below Certified.Data lineage and chain of custody (lineage-engine, AGENT_HANDOFF edges)
What it does
The lineage engine builds a graph of governed movements: which contract governs a product, what was admitted or refused, who was authorized, who accessed what and when, and which agent handed data to which. You can ask what sits upstream or downstream of any node.
Context: why it exists
The manuscript calls lineage the transparency layer for the trust score. It traces a bad record to its source, proves data came from an authorized parent, shows which downstream statements a failing source puts at risk, and names the owner at each stage. For agents it supplies the pedigree behind a decision.
How it works here
- The engine listens to events and writes edges:
GOVERNS(contract to product),ADMITTED,REJECTEDandQUARANTINED(gate results),AUTHORIZES(a Statement of Intent to a product),ACCESSED_BY(with the TDK score and badge at that moment) andAGENT_HANDOFF(an allowed or released transfer, with the data hash). When a contract goes live, the lineage it declares is written once:FEEDS(the upstream product to this product, with the author's logic) andEXTENDS(the parent contract to the child contract). That is how a child is shown to come from a verified parent, and how a Lineage Proof has direct upstream edges to sign (see Data catalog). - Depth defaults to 10 levels (maximum 50).
- The Usage Map (
GET /usage-map) counts access per department and product over 90 days, rebuilt daily (POST /usage-map/recompute).
Forensic Ledger: hash chain, attestation, Sentinel, anchoring, tiered verification
What it does
Every governance decision becomes a ledger entry that is bound to the one before it, signed, and never changed. A background Sentinel re-checks the chain. If anyone edits the past, the check shows it and the platform stops serving queries.
Context: why it exists
The manuscript says a ledger nobody verifies is a diary, and one that shuts the gate when wrong is a control. It lets an auditor replay a decision from a request id and settles responsibility with evidence. Because people know the record cannot be edited, they stop editing the story.
How it works here
- One writer. Services publish a signed event to Kafka (the commit point). Only forensic-ledger consumes every topic and appends to immudb, with the head stored in immudb. Duplicate event ids are stored once (ADR 0010).
- Attestation. Each producer signs its message with its own Ed25519 key. The ledger records VERIFIED, MISSING, INVALID, UNKNOWN_SIGNER or SERVICE_MISMATCH. The chain signature is the ledger's.
- Sentinel checks hash, event body, ledger signature, sequence links, attestation, envelope and immudb copy. BREACH is sticky and stops all queries until a governance or ops role clears it with a written justification (
POST /integrity/clear). An outage does not stop queries. - Tiered runs. Class D products every 15 minutes (2000 entries), Class C every 6 hours (500), everything weekly.
- Anchoring (ADR 0032): hourly, when the head moved, to an RFC 3161 time-stamp authority, an external witness and write-once storage, each optional. A rewritten entry that was anchored is a BREACH.
- Failed commits are kept (
GET /integrity/write-failures) and retried. - Inclusion proofs. Each integrity run reads the newest entries through immudb's own verified get against saved state (
INCLUSION_PROOF_MODE,shadowby default;INCLUSION_PROOF_SAMPLE;IMMUDB_STATE_FILE). A failed proof is reported asinclusion_proofsin the run result inshadowand is a BREACH inenforce. An unreachable immudb is skipped. The state file is in/tmpby default and resets with the container. - Write-once segments. On a schedule (
SEGMENT_EXPORT_CRON), sealed stretches of the chain are copied as JSON-lines objects to S3 Object Lock (S3_LOCK_BUCKETand the otherS3_LOCK_*settings; mode COMPLIANCE by default, or GOVERNANCE). The bucket must be created with Object Lock. It is off until a bucket and credentials are set, and a failure is recorded and retried, never blocking.sot.ledger_segments,GET /segments,/segments/status,POST /segments/run-now. It has not been exercised against a real bucket. - Contract id on every entry. The audit envelope carries an optional
contract_idbeside the asset. The Sentinel compares only the envelope keys an entry stored, so entries written before a field existed are never a breach. - Production profile. The validator's
REQUIRE_LEDGER_ANCHORmakes a missing anchor sink a failure instead of a skip.
openssl ts -verify on the stored reply); write-once storage is real only if the volume enforces it; there is no key history for rotated ledger keys. The book's "constant background validation" instead of a weekly run is not adopted: verification is tiered by Impact Class plus the weekly full run (ADR 0036).Audit log and audit envelope
What it does
The Audit Log is the readable face of the Forensic Ledger. You can search and filter events, follow one subject or one request, and export a signed file. Each entry carries the same fixed envelope: when, which asset, who acted, which Statement of Intent, the TDK score and the override reason.
Context: why it exists
The manuscript maps centralized, tamper-proof logging to ISO/IEC 27001 (A.8.15 and A.8.16 for logging and monitoring, A.5.24 and A.5.25 for incident handling). Auditors then query a live, authenticated record instead of asking for screenshots. Every entry should link an access event back to the intent that allowed it.
How it works here
- Envelope (ADR 0011):
timestamp, asset id and type, actor id and type (USER, AGENT or SERVICE),soi_id,tdk_score,override_reason. It is projected from the event body byshared/events/envelope.py, stored with the entry and re-checked by the Sentinel. A test fails when a new event type has no asset field. - Entries written before the envelope existed have none; the Sentinel skips them.
- Request id. One id pulls up everything a request touched, including a human decision made later.
- Export. The export is signed. Auditors verify it against
GET /audit/public-key, which needs no credentials. - Credential events record that a credential changed and which fields, never the values.
contract_id beside the asset. Entries written before that field existed have none, and the Sentinel tolerates them.Notification policy and alert routing (notification-service)
What it does
The service listens to governance events and turns the alert-worthy ones into in-app notices for the right roles. You see them under the bell and acknowledge them to clear them.
Context: why it exists
The manuscript says alerts are triggers for action, not noise. To avoid alert fatigue, each failure type goes to the role that can fix it: engineers for system faults, experts for drift, security for unauthorized access, with governance as the second line. It adds timed escalation: a channel alert first, a ticket after 2 hours, a hard gate after 6, and an incident closes only when the signal returns to baseline.
How it works here
- A routing table maps each event type to roles, for example
badge.recalltoDATA_STEWARDandGOVERNANCE_LEAD,session.frozentoBUSINESS_OWNERandGOVERNANCE_LEAD, andtdk.weights_proposedtoPLATFORM_GOVERNANCE_BOARD. Roles are resolved to real users. - Dedupe. The same alert on the same product inside 15 minutes (
DEDUP_WINDOW_MINUTES) is one notice. Platform-wide operational alerts, such as ledger write failures, share one key. - Quiet by design. A HITL escalation alerts once per incident. Only a stopped agent step, a STAGED transfer and a failed token delivery alert. Closing an incident is not an alert.
- You can read only your own notices; another user's id answers 404.
Escalation
An alert of a chosen type (recall, revocation, quarantine, frozen session, ledger breach) that nobody acknowledges moves up on a timer. After 2 hours the next roles are told; after 6 hours operations and governance are told again. One acknowledgement by anyone answers the alert. Each step copies the notification, calls an optional outside webhook (a chat or paging tool's incoming webhook, set by the operator) and writes one alert.escalated event to the ledger. The times, roles and event types are settings.
More alert types and rules. An SLA pause window alerts governance, stewards and owners. A changed SoI template alerts governance. An erasure request alerts stewards, owners and governance, and a late confirmation alerts governance. A scope violation in access.denied goes to the Business Owner who signed the Statement of Intent. A freshness breach, drift or anomaly also reaches the Business Owners of the Statements of Intent that read the product, directly or through what was built on it (three steps). catalog.owner_orphaned also reaches the product's sponsor. Remediation tasks are described in their own section.
Hard Gate shadow list. HARD_GATE_MODE is shadow by default (or off): an alert that reaches the last escalation tier unanswered is listed in GET /notifications/escalations/status as hard_gate_would_apply. Nothing is suspended. An owner who ignores alerts is escalated and listed, not quarantined.
Remediation tasks: who fixes what, and by when
What it does
When something fails, the platform leaves a task with a named person and a due date, and closes it when the failure is fixed. An alert tells people; a task makes someone answer for the fix.
Context: why it exists
The manuscript says a breach should create a remediation task for the steward and a notice to the producer, with a path back to the source of the error. It also says a low score should send the right fix to the right owner, which depends on the weakest pillar. Without a task, an alert is read once and forgotten.
How it works here
- What opens a task.
gate.fail,contract.breached,badge.recallandbadge.revokedeach leave one task per product and trigger, for the steward, or for the Business Owner on a recall or revocation. Each has a due date. Event:remediation.task_opened(viadual_write). - What closes it.
gate.pass,badge.certifiedandbadge.recall_clearedclose the matching task as SUPERSEDED. The assignee or governance closes it with an outcome and a note (remediation.task_closed). - By failing pillar (
shared/policy/remediation.PILLAR_OWNER). An HITL escalation that opens an incident leaves aBELOW_TRUST_FLOORtask for the owner of the weakest pillar: quality, clarity and contract to the steward, freshness to operations, security to the Security Team, governance to the Business Owner. A request that joins an open incident leaves none, andhitl.incident_closedcloses the task. A freshness breach leaves a task for operations and an anomaly one for the steward. Operations tasks go to the product's engineering owner when one is named. - Who else is told.
catalog.owner_orphanedalso reaches the product's sponsor. - Seeing them.
/reports/scorecardcounts, per person named on a product, the open, overdue, and closed-on-time or late tasks beside the product's mean TDK.
Part: Delivery, economics and platform operations
This part covers how a data product is built and published, what consuming it costs, how the organisation sees the results, and the platform services that keep all of it running. Read the sections in order for the delivery story, or jump to the one you need.
The Build Engine and the data product build cycle
What it does
A build takes one data product through every governance check, refreshes its trust score and asks trust-badge-engine for a badge. If the badge is CERTIFIED and the last check passes, the product is PUBLISHED. Every run is a build job with a history and a result.
Context: why it exists
Book 3 calls the Build Engine the mechanical heart of the data factory. Hand-built pipelines break when a source changes, and a person has to repair them. The book wants an engine that reads the data contract and enforces it, so that trust is produced by the process, not argued about afterwards. The result is a product that arrives with its meaning, its score and its rules attached.
How it works here
- Entry Gate runs its admission steps (fifteen in the code, one of them conditional; see Entry gate). A fail gives status REJECTED, a quarantine gives QUARANTINED.
- Triage fetches one sample of the live data. An unreachable source is recorded, not fatal.
- The Blast Radius check blocks a Tier 1 Systemic build. Harmonization runs next if the product declares sources or a parent (see the next section).
- The sample is checked against the active contract. A violation is recorded and does not block. A malformed row filter does block (QUARANTINED).
- Optional processors run before certification (
profile,classifyanddraft, all off by default). Thedraftprocessor (PROCESSOR_DRAFT_ENABLED) asks llm-governance for a description draft when a product has none; it is advisory, and an unreachable llm-governance is recorded on the trace and never fails the build. The TDK score is refreshed and the badge evaluated; anything but CERTIFIED ends as NOT_CERTIFIED. - The
obfuscateprocessor (on by default) runs last. A CONFIDENTIAL or RESTRICTED product whose obfuscation cannot be verified is never published. Only then isbuild.publishedwritten.
POST /build/{id}, GET /build/{id}/history, GET /build/processors. Reading the contract to generate target tables and validation, configuring the Interceptor from it, and purging expired records are not done here. They belong to the customer's own systems and are documented, not built (ADR 0036); the contract's maxRecordAge is applied by the Interceptor as a row filter instead.Harmonization, survivorship and the SME Tie-Breaker
What it does
When two systems give different values for the same field, the build picks a winner by rules and sends only the undecidable cases to a person. That person chooses the winning value and writes a reason. The decision is ledgered.
Context: why it exists
The book calls this the Paradox of Choice. Senior experts get pulled in to break ties over low-value differences. The answer is to write the tie-break rules once, so a machine settles the predictable 99 per cent and the expert sees only the rare, high-entropy remainder. Experts move from doing the work to supervising it.
How it works here
A steward declares each source with POST /harmonization-sources/product/{id}: the source system, its Context Authority tier (RECORD, ENGAGEMENT or REFERENCE) and any field mappings. I found no screen for this step.
- Engine A maps each source record onto the contract's schema.
- Engine B compares values after ignoring case and punctuation. The highest tier that has a usable value wins: a null, a blank or a value that fails the source product's own Quality Floor (it violates that product's contract) falls through to the next tier. A field the contract marks
volatility: high(flat or in the ODCS sidecar) takes the most recent observation whatever its tier. Ties go to the most recent observation, then to the source with the higher live TDK (data-catalogtdkScore, supplied by the build), using each source'slast_modified_atfrom data-product-monitor. - If both are tied or missing, nothing is guessed. One Observation per candidate lands in the conflict queue.
- Engine C adds derived fields (sum, product, concat, coalesce only) and overlays the parent product's values.
- Engine D re-validates the harmonized output against the contract. A failure rejects the build and the previous published version stays.
Resolving one candidate closes its siblings and writes harmonization.conflict_resolved. The Conflict Resolution Trend report shows backlog and which sources win.
- Closing the loop: every resolved conflict gets an open follow-up: change the source's tier or the contract so it does not recur. A person marks it
DONEorDISMISSEDwith a note (PUT /observations/{id}/followup). It is a to-do, not a governed decision, so it writes no event. - Lineage of Truth:
GET /build/{id}/lineage-of-truthand the Agent toolget_data_product_metadata(survivorship) say, for each field of the latest published build, whether the engine or a person decided, which source won and why. Never the values. - The publish gate: a build whose live sample fails its contract is rejected (previous version retained) when the product's strictest declared Impact Class is C or D, or cannot be read.
BLOCK_PUBLISH_ON_INVALID_SAMPLEon build-engine isc_dby default;alwaysblocks every product;neveronly records it. Lower and undeclared classes publish with the violation on the trace.
Data product lifecycle and Marketplace entry criteria
What it does
A product moves through five phases: intent, contract, build, validation and publication. A product is listed in the Marketplace only when it meets the entry criteria. After publication, retention, recertification and erasure requests keep it honest.
Context: why it exists
Book 3 defines a data product as the data, its contract, its plain-language context and its live score, kept together under a named owner. A project ends at launch. A product has an owner whose success is its sustained health. The entry checklist stops half-governed data from reaching the shelf, so consumers never need to ask whether it is any good.
How it works here
The manuscript's gates map to checks the platform makes:
| Book 3 criterion | In FiduLock |
|---|---|
| Active parent contract; Statement of Intent | Entry Gate steps SOI_PRESENT and CONTRACT_ACTIVE |
| Plain-language descriptions | PLAIN_LANGUAGE_PASS and GLOSSARY_ALIGNED |
| Owner accepts accountability; 3-sentence summary | Listing needs ownership_accepted_by and a storefront_summary |
| 14 stable days above the line | Certified tier: CERTIFIED badge, history 14 days back, no score under 90 in the window |
| Lineage signed off | The Lineage Proof: the Business Owner signs the product's direct upstream edges, and it goes stale when the lineage changes. The listing gate needs a current one (see Marketplace Storefront). |
| Listing blockers (no active contract, gate not passed, no signed SoI) | listing_blockers on each listing; STOREFRONT_LISTING_GATE is shadow by default. No summary-length or alerting checks. |
The book's score of 9.0 is 90 here, because the platform scores from 0 to 100. A daily retention sweep flags products past their retention date for a human decision. Build-engine files data-subject erasure requests (/purge-requests; GOVERNANCE_LEAD, OPS_ADMINISTRATOR, SUPER_ADMINISTRATOR); data-passport also tracks an erasure's deadline (see Ethical use and consent).
The stage is derived, not stored. GET /listings/lifecycle in marketplace-api works out each product's stage from its Statement of Intent, contract, gate result, badge and any open recertification: IDEATION, CONTRACT, VALIDATION, PUBLISHED or DRAFT_RECERT (shared/policy/lifecycle_stage.py). A recalled product reads as DRAFT_RECERT. Consumer feedback can move a product back. Open drift or semantic-error reports that reach the line (default 3 in 30 days) emit marketplace.feedback_threshold_reached, and trust-badge-engine opens a FEEDBACK_THRESHOLD recertification (FEEDBACK_THRESHOLD_MODE and FEEDBACK_RECERT are shadow by default), so the lifecycle read shows DRAFT_RECERT (see the Storefront section).
Marketplace Storefront: discovery, tiers, Consumption Warning, access requests, feedback
What it does
The Storefront lists products with their live score, owner, lineage flag and a plain summary. You search by business words, request access, and report problems. Reviewers approve or deny requests and handle feedback.
Context: why it exists
The book replaces ticket-based access with a Governance Exchange. Trust becomes visible at the point of choice, so nobody hunts through wikis or asks the lead developer. Badges describe the product. They do not decide what an agent may do with it. That depends on the Impact Class of the decision.
How it works here
- Tiers: Certified at 90 or more, Managed at 70 to 89, Discovery below 70. A product also needs the Certified entry bar to be shown as Certified. A listing needs a CERTIFIED or WARNING badge, a summary and an accepted owner.
- Consumption Warning: any product under the Managed line, or never scored, carries the warning of high hallucination risk for AI models. It is set on every listing and catalog product.
- Listing gate. A product lists only with an ACTIVE contract, a PASS from its latest gate run, a signed ACTIVE Statement of Intent and a current Lineage Proof: the Business Owner signed (
PUT /products/{id}/lineage-attestation,catalog.lineage_attested) that the product's direct sources are right, and the lineage has not changed since. Each listing carrieslisting_blockers.STOREFRONT_LISTING_GATEisshadowby default (reports, hides nothing);enforcehides a listing with blockers. A check that could not be made is shown inlisting_unverifiedand never hides a product. - A listing also shows the clarity score of its description, its domain (
?domain=filters), and a 30-point TDK trend (GET /listings/{id}/trend). The domain and the trend exist as fields and endpoints; there is no sparkline or grouped domain view in the UI, no Context Authority shown, and the clarity score does not yet create a steward task when it falls below the line. - Search is a plain text match on name, description, purpose and tags. With
DISCOVERY_GLOSSARY_EXPANSIONaton(defaultshadow;off), a question's words are expanded with up to five glossary terms they name or that define them (shared/policy/query_expansion.py), and the search covers the expanded terms too.GET /listings/expansions?q=shows the expansion. There is no model-ranked natural-language search. - Access requests work only for a CERTIFIED product. Approval creates a Statement of Intent and a Child Contract under the active parent. Nobody reviews their own request.
- Feedback goes to a human review queue. When open drift or semantic-error reports reach the line (
FEEDBACK_THRESHOLD, default 3 withinFEEDBACK_WINDOW_DAYS, default 30;FEEDBACK_THRESHOLD_MODEisshadowby default,on,off), the report that reaches it emitsmarketplace.feedback_threshold_reached, and trust-badge-engine opens aFEEDBACK_THRESHOLDrecertification (FEEDBACK_RECERT,shadowby default). The product then reads as DRAFT_RECERT inGET /listings/lifecycle. Events also includemarketplace.feedback_submittedandmarketplace.feedback_resolved. The line is the platform's own; the book gives no formula.
Agents use the same listing through MCP discovery tools (Volume 6, chapter 4).
Data Token economics: budgets, chargeback, revenue allocation, escrow
What it does
Every governed read or write is priced in Data Tokens and charged to the consuming department. Most of the charge is credited to the producing department, and a share is held in escrow. If the product's contract is then breached, the escrow share goes back.
Context: why it exists
The book wants data teams seen as producers of value, not as a cost centre. Departments plan a token budget each year, so no real money moves between cost centres. Pricing rises with the square of the trust score, so spending an expensive agent on unverified data costs more than using certified data. A log term on volume protects against runaway scans.
How it works here
Cost is base price x TDK^2 x ln(rows + 1), with the score floored at 1. The split is 70% producer credit; escrow defaults to 10% and the platform share to 20%, recorded on each transaction. A contract can set escrowPercent (0 to 30; the platform share is the rest of the 30) or switch charging off for the product with dataTokenBudget.enabled: false.
- Query-interceptor refuses a query when the consuming department's balance is zero or less, or when it cannot cover the query's estimated cost (
INSUFFICIENT_TOKEN_BALANCE). The estimate comes from Postgres's own row estimate (no data is read) priced by marketplace-api'sGET /token-ledger/estimate; if it cannot be made the older rule applies. The real charge follows the query. - Escrow is held. When
PLATFORM_TAX_DEPARTMENT_IDandESCROW_DEPARTMENT_IDname departments, the platform tax is credited to the first and the escrow share to the second at charge time. A refund draws on the escrow department; after 30 days with no breach an hourly job pays the share to the producer (token.escrow_released,POST /token-ledger/release-escrow). With no escrow department, escrow is bookkeeping only and a refund credits tokens that were never held (the log says so). - The consumer is found from the Statement of Intent's business owner, then that person's department. A multi-table join is not charged yet, and the cost estimate does not price a join per product.
- On
contract.breached, a Quality Floor drop (tdk.threshold_breach, a badge going to WARNING or REVOKED) or a freshness breach, the escrow share of the last 30 days of transactions is refunded, if the consumer's Statement of Intent is still active (token.refunded, at most once per transaction). - Producer summary.
GET /token-ledger/producer-summary(governance and operations roles) shows tokens earned per producer department and product (70% of each charge) with the enterprise total.GET /token-ledger/estimateprices a query by the same formula. - Contract terms. The contract's
dataTokenBudget(enabled,escrowPercent) is read by the ledger and the estimate. - The budget has to be allocated. A department's annual budget becomes spendable only when someone allocates it (
POST /departments/{id}/token-allocatein user-management; GOVERNANCE_LEAD, OPS_ADMINISTRATOR, SUPER_ADMINISTRATOR). - The console has two screens: budgets against year-to-date spend, and a quality-impact view that recomputes cost at the product's earlier score. That recomputation is an illustration at an assumed base price.
Data incidents and what they cost
What it does
It lists data incidents and lets a named person put a cost on each: remediation hours, regulatory exposure, loss and currency. Each change is a ledger entry. The totals feed the Executive Dashboard.
Context: why it exists
The manuscript treats accountability as ceremonial when nothing happens to the signer if data breaks downstream. If an incident costs nobody anything, nobody has a reason to prevent the next one. Recording the cost makes the price of poor data visible to the owner who signed off, and gives the board a real figure instead of an activity count.
How it works here
- An incident is a recall (a held badge revoked) or a drift halt or quarantine.
GET /incidentslists them, andGET /incidents/summarycounts costed and uncosted ones. PUT /incidents/{RECALL|DRIFT}/{ref}/coststores one row per incident. It writesincident.cost_recordedthroughdual_write.- The platform never estimates a cost. The dashboard sums what people recorded.
- An incident uncosted after a week counts against its owner. The validator reports one uncosted for over a month.
/reports/incident-overrides?days=lines incidents up against the overrides in force at the time and the people who signed them, so a cost can be attributed to a signer.
Decision record: ADR 0030.
Executive Dashboard and adoption signals
What it does
It shows six outcome measures and five adoption signals, built from the platform's own records. Each figure is labelled MEASURED, PROXY (the nearest thing the platform sees) or NOT_MEASURED. You choose a time window and get HTML or JSON.
Context: why it exists
The book says to put outcomes on the board, not activity. A count of tables catalogued says nothing about trust. It also warns that many firms adopt the vocabulary and skip the discipline, and lists signals that tell the two apart without a survey.
How it works here
The outcome measures are time to data (request to decision, as a proxy), expert interruptions (hours only if SME_MINUTES_PER_TOUCH is set), blocked or stepped-down agent actions, recorded incident cost, contract recertification rate, and reuse of certified products. The signals and flag lines are:
- Spread of average TDK between departments: flag above 15 points.
- Overrides over published builds: flag above 5%.
- Share of descriptions failing plain language: flag above 25%.
- Incidents a week old with no cost: any.
- Cleanup-month burstiness: more than half of a year's review decisions in one week, with at least ten decisions.
Related flow reports (JSON): /reports/certification-flow gives the time from the Entry Gate to Certified (median and p90, with stuck products), the maturity ladder and the enterprise TDK average over products certified today (live only; no baseline is stored). A time-to-data comparison against a baseline is not built.
domain. The dashboard names any source it could not read and fails only if none answers. Decision record: ADR 0030.Predefined reports (passport, inventories, trends)
What it does
It builds ready-made reports on demand from live records, as a web page or as JSON. You do not edit or save them. Seven are the predefined set below; further reports are JSON only (next table).
Context: why it exists
Auditors, owners and executives ask the same questions again and again: what does this product allow, what contracts exist, is trust rising or falling. The book wants these answered from the system of record, so evidence is continuous and not assembled by hand before an audit.
How it works here
| Report | Answers |
|---|---|
| Executive Dashboard | Outcomes and adoption signals |
| Data Source Inventory | Each product's source, credential, freshness and errors; flags missing or unused credentials |
| Data Contract Inventory | Every contract with status, SLAs and tags; coverage gaps |
| Trust Badge Trend | TDK and badge movement; declining or unassessed products |
| Conflict Resolution Trend | Harmonization backlog, time to resolve, winning sources |
| Data Passport Report | One product's passport and active contract (YAML), in plain language |
| Recall Post-Mortem | Timeline, cause, blast radius and remediation of one recall |
JSON-only reports, declared in the report registry:
| Report | Answers |
|---|---|
/reports/certification-flow | Time to Certified (median, p90), stuck products, the maturity ladder L0 to L4 with a distribution per domain, the enterprise TDK average over products certified today |
/reports/incident-overrides?days= | Incidents against the overrides in force at the time; cost attributed to the signer |
/reports/scorecard | Per person named on a product: the products, mean TDK and remediation tasks (open, overdue, closed on time or late). The score beside the person, not a judgement of them |
/reports/value-metric?days= | Use per department (the Usage Map) and Data Token spend per product, tokens per query. The cost signals the platform cannot see are NOT_MEASURED, with the basis stated. No spend per consuming department |
/reports/class-lines | Held reads and writes that people approved or rejected, and approvals by Impact Class |
/reports/protected-before-read | PROXY: share of read products classified before their first granted read |
/reports/band-hours | Products per trust band and an hours estimate to a target band. ILLUSTRATIVE until you pass all four hours_<band> figures |
/reports/pilot?data_product_id=..&start=.. | A pilot product's TDK at days 0, 30, 60 and 90, and overrides since the start. Time to remediate, SME interruptions and a comparison outside the pilot are listed as not measured |
Reporting is read-only and stateless. It forwards your identity to the services it reads and adds no privilege. It writes no events and has no database. The Recall Post-Mortem has an internal and a consumer audience, and the consumer one is redacted. A public audience is deliberately refused (HTTP 422).
Usage Map
What it does
It shows how often each department has used each data product over the last 90 days. Force Recompute rebuilds it at once. Otherwise a daily job rebuilds it.
Context: why it exists
Once every use has a stated intent, the organisation can see where data really creates value. The book's example is a dataset used by fifteen marketing AI projects and by none in compliance. Leaders can then move effort to where the data is used, not where it was planned to be used.
How it works here
- The map is a full recompute from granted-access records in lineage-engine, over a trailing window (default 90 days). It is stored per department and product as an access count and a last-accessed time (
GET /usage-map,POST /usage-map/recompute). - A department is found from the Statement of Intent's business owner and that person's department. A row with no resolvable department is left out, so the map is empty until owners have departments (Volume 5, chapter 6).
- Each sweep writes a start and a completion entry to the ledger.
/reports/value-metric), which shows use per department and Data Token spend per product. There is no spend per consuming department and no live chart. High use feeds recertification: a product many people read that nobody has reviewed is asked to recertify (see Recertification).LLM-driven governance: drafts, SME-as-editor, model configuration
What it does
A model drafts Statements of Intent and plain-language descriptions, and an SME reviews and approves. Nothing publishes without a person. Administrators choose which provider and model serve each task.
Context: why it exists
Experts are too busy to write definitions, so catalogs stay empty. The book proposes that the machine writes the first 80 per cent and the expert becomes the editor, not the clerk. It also asks for the share of the draft that survives review to be measured.
How it works here
POST /drafts/soi/{id}?candidates=3drafts several Statements of Intent. A candidate holding SQL, field names or narrow logic is dropped (ADR 0027).POST /drafts/description/{id}offers three descriptions, each scored by plain-language-audit. Approval takeschosen_indexand an edit, and a description that is not clear is refused.- The requester cannot approve their own draft. The retained share of published text is stored and reported at
GET /drafts/metricsagainst the 80% target. - Field descriptions.
POST /drafts/field-descriptions/{id}drafts candidates for each data element that has no clear description. Approval takesfield_choicesper element (-1 skips) andfield_edits, and publishes through data-catalogPATCH /products/{id}/fields/{name}. - Glossary mapping.
POST /drafts/glossary-mapping/{id}offers, for each element that resolves to no approved term, up to three approved terms with a reason (model reasoning). Approving adds the element to the term's technical mappings. A person always decides; reasoning quality depends on the model. - The products most in need.
POST /drafts/description/batchdrafts for the products named, or for those most in need: no description or one that failed the check, most open feedback first. It skips a product that already has a description draft waiting. Before and after counts of questions are not measured. - Draft on a failed gate.
AUTO_DRAFT_ON_GATE_FAIL(shadowby default;on;off): agate.failforPLAIN_LANGUAGE_PASSdrafts a description, one pending per product. The steward is told by the existing clarity alert, and the draft waits in the SME queue. It is not a gate stage. - Definition-fit check.
POST /drafts/definition-check/{id}andSEMANTIC_DRIFT_CHECKlet a model compare a column's written definition with its five commonest values, for PUBLIC and INTERNAL columns only (see Drift). - Rejections are coded. A rejection takes an optional
category(JARGON, UNDEFINED_ACRONYM, WRONG_SENSITIVITY, INACCURATE, TOO_LONG, OTHER).GET /drafts/rejections/summarycounts them by category and kind with a rejection rate, and flags a backlog older thanDRAFT_BACKLOG_ALERT_HOURS. The backlog is reported, not yet pushed to notification-service. - Approvals are signed and measured. See Human in the loop:
LLM_APPROVAL_CHECKisshadowby default and the Draft Review screen cannot sign yet. - Pending drafts are shown on the product profile with a link to the draft queue. Approval still happens in the queue, not in the Marketplace listing.
- Model choice is per task: SoI drafting, intended-use generation, description quality assessment, field descriptions, glossary mapping, the definition check and query-intent alignment. A product may have its own override, except for query-intent alignment. That task needs dual control: one person stages the change and a different person confirms within 15 minutes. Provider keys are set only by OPS_ADMINISTRATOR or SUPER_ADMINISTRATOR and never reach the browser.
draft processor and the draft on a failed gate step are advisory). It drafts intents, descriptions, field descriptions, glossary mappings and intended uses. It does not draft tags or lineage. The Evaluator that checks a model's output for hallucination is out of scope (ADR 0036).Users, roles, consumer roles, MFA and Ed25519 digital signatures
What it does
It holds people, their roles and their credentials. Roles decide what screens and actions you get. Consumer roles decide which Statements of Intent you can rely on in the Query Validator. Digital signatures prove that a named person approved a high-impact act.
Context: why it exists
The book says a sign-off is real only when the signer is a known individual and the signature is bound to the asset's state at that moment. A free-text name proves nothing. Named, signed approvals make accountability something a person can be held to.
How it works here
- Roles: Viewer, Business Owner, SME, Data Steward, ODCS-Author, Governance Lead, Ops Administrator, Escalation Queue Reviewer, Platform Governance Board, Security Team, Super Administrator. Deactivate a leaver instead of deleting, so history keeps a name.
- MFA: a six-digit code at every sign-in for ODCS-Author, DATA_STEWARD, GOVERNANCE_LEAD and OPS_ADMINISTRATOR.
- Passwords: at least 12 characters with upper case, lower case, digit and symbol, changed at first sign-in. Ten failed attempts in 15 minutes lock the username.
- Competency:
PUT /users/{id}/competencysets a level from 0 to 3. A signed LLM approval records it (LLM_REQUIRED_COMPETENCY), and a contract oversight signature needs a level at or aboveCONTRACT_OVERSIGHT_MIN_COMPETENCY. - Signatures:
POST /users/{id}/signature/generatemints an Ed25519 keypair, stores the public key and returns the private key once. The platform keeps no private key. Signatures are checked at/signature/verify. They are needed to lower an Impact Class or an intent tag, to approve a held query on a Class C or D asset, and for the EU AI Act oversight signature on a contract.
API gateway: JWT, routing, rate limiting
What it does
It is the single front door for the web UI and API clients. It checks your sign-in token, limits request rates, forwards the call to the right service and logs it. You never call it by name in the UI. It sits underneath every screen.
Context: why it exists
The book wants one enforcement point that checks policy before data reaches a client, not rules scattered per tool. The gateway is the same idea for identity: services trust one verified identity and do not each parse tokens.
How it works here
- JWT: the bearer token must be a Keycloak token, signed with a key from Keycloak's key set (cached in Redis for five minutes), issued by this realm, with audience
fl-frontendorfl-backend. No token or a bad one gives 401. An unreachable Keycloak gives 503./healthand the API docs are public. - Routing:
/api/v1/{name}/{path}forwards to a named service: entry-gate, marketplace, soi, contracts, glossary, tdk, badges, users, llm, lineage, health-monitor, ledger and reports. - Identity: the gateway sets
x-user-idandx-user-rolesfrom the token and adds an HMAC signature. A Keycloak token'sregionclaim is signed into the forwarded roles asREGION:<code>, which the residency handshake reads. Services check roles themselves and trust the signed headers (ADR 0004). - Rate limit: 100 requests per caller per 60 seconds, sliding window in Redis.
- Audit: each request becomes an
audit.request_loggedevent.
The MCP servers and the pg-gateway are separate front doors with their own authentication.
Admin MCP servers and the admin-ui
What it does
Three MCP servers give administrators a tool-call interface to the platform: catalog-mcp for products, contracts and glossary; identity-mcp for users, agents, departments, domains, regulatory tags and consumer roles; governance-mcp for Statements of Intent, a read-only ledger view and Marketplace access requests. The admin-ui is a browser client that calls them.
Context: why it exists
Agents already meet the platform through MCP tools. The same tool model lets an administrator's own AI assistant or a custom client run governed administration without a second integration. It exists because MCP is where tooling is going, not because the manuscript asks for it.
How it works here
- Each server is an OAuth resource server that validates Keycloak JWTs. It is not the Agent API-key scheme of mcp-gateway.
- They hold about 36, 35 and 23 tools. Each tool forwards your verified identity and roles to an existing REST endpoint. Role checks happen there, never in the MCP layer.
- No MCP-only capability exists. Everything an MCP tool can do, a REST call can do.
- Bulk export, forced integrity re-runs and schedule changes remain REST and UI only.
- Admin-ui signs you in by authorization code with PKCE and sends real
tools/callrequests. Its pages are products, contracts, SoIs, users, agents and the ledger.
Your main-platform password does not work in admin-ui.
Departments, domains and regulatory tags (reference data)
What it does
Three small lists feed the rest of the platform. Departments say who produces and who consumes. Domains classify products by business area. Regulatory tags (such as GDPR or HIPAA) mark contracts and fields. Each entry can be deactivated, not deleted.
Context: why it exists
The book organises products by business domain so each domain's Context Authority is visible. A usage map, producer and consumer contracts, and an exception budget all need one agreed list of departments. Shared lists keep free-text spellings from splitting one department into three.
How it works here
- A department can be a Provider, a Consumer and a third party. A contract's producer and consumer are chosen from these and cannot be the same.
- A department also carries
token_budget_annual, a running token balance, the override exception budget and its place in the Usage Map. - A product cannot use a domain that is not in the list.
- A regulatory tag on a field makes a regulatory annex expected.
- MCP tools in identity-mcp mirror these screens, over the same REST.
Platform Monitor, validator report and scenario-lab
What it does
Platform Monitor shows live service and infrastructure health. The validator checks the whole platform on a schedule and emails a report. Scenario-lab keeps named test scenarios and runs them on demand.
Context: why it exists
The book wants monitoring that acts like an immune system. The platform needs the same for itself. A governance tool that silently stops enforcing a rule is worse than none. These three tools tell operators when that happens.
How it works here
- Platform Monitor refreshes every 30 seconds and shows each service's port, latency and version.
- The validator runs layers 0 to 6: preflight, infrastructure, service health and governance rules, container state, invariants, API surface and an opt-in golden path. Results are PASS, FAIL or SKIP with a reason. It has an alerts list and a weekly digest list.
- It writes no events and no ledger entries. It reads container state only if the engine socket is mounted.
- Scenario-lab runs two kinds: SQL-against-contract alignment and TDK-drop escalation. It stores pass or fail history with evidence.
- Neither is a governance decision-maker. Each platform change that adds a route, event or tool must be matched in the validator's manifests.
Implementation roadmap (phased adoption)
What it does
It sets the order in which to adopt the framework: quick wins first, then hard gates, then self-healing. It also describes a small first pilot. The platform does not run the roadmap for you.
Context: why it exists
The book warns against proving the whole framework at once. It advises one pilot with an obvious Translation Tax, a valuable AI use case and a consumer waiting. Keep it to three to five data products, name a Business Owner, Product Manager and SME for each, and judge it at day 30, 60 and 90.
How it works here
| Roadmap item | Platform capability |
|---|---|
| Phase 1: TDK scoring engine | health-monitor; Trust Badges |
| Phase 1: AI metadata drafting (three candidates) | llm-governance description drafts |
| Phase 2: Parent/Child inheritance | child contracts in contract-engine |
| Phase 2: Query Interceptor | query-interceptor and its two front doors |
| Phase 3: Intelligent security triage | security-profiling and the data passport |
| Phase 3: Automated recall | trust-badge-engine Recall Notice and Safety Mode |
- Day 30 (control): registry, contracts, owners and a baseline TDK exist. Day 60 (enforcement): gates run in the query path and the ledger streams. Day 90 (value): compare with the baseline.
- For day 90, the Executive Dashboard reports interruptions, overrides and incident cost.
POST /baseline/jargonin plain-language-audit takes the first step of the Translation Tax baseline. - Pilot support. Register the day-0 figures with
/tdk/baselines, then run/reports/pilot?data_product_id=..&start=..for TDK at days 0, 30, 60 and 90 and the overrides since the start. Time to remediate schema changes, SME interruptions and a comparison with products outside the pilot are not measured. Overrides and enforcement appear in the Forensic Ledger. - First engine. The batch description draft produces three candidate descriptions for the products most in need, an SME picks one and approval publishes it; the drop in questions over 30 days is not measured.
- Critical success metric.
/reports/certification-flowshows the enterprise TDK average over products certified today (live only), and the maturity ladder shows where products stand.

FiduLock