Mokum Solutions logoMokum Solutions, LLC

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.

Volume 7 of 8 · Platform v1.0.0 · Audience: everyone · Written from the platform's design records and the Speed of Trust manuscript (internal, confidential)

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.
Manuscript and platform are not the same thingThe manuscript describes the framework. FiduLock is one implementation of it and deliberately differs in places, for example in the Trusted Data KPI weights, which an operator can change. When a section says "differs" or "not built", trust the section, not the book.

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.

FunctionCovered in volumes 0 to 6Verdict thenGap
Plain-language clarity scoring, jargon baseline, contract consistencyV3 ch.5 (#fields); V3 ch.9 (#contracts); V1 ch.8 (#glossary)ThinClarity 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 layerV1 ch.8 (#glossary)ThinSearch and the acronym scanner are explained; approval/certification steps, writing terms and the metric registry are absent
TDK score and its six pillarsV0 ch.7 (#badges); V1 ch.5 (#trust); V4 ch.4 (#tdk)CoveredLevels, pillars and radar explained; exact pillar weights and inputs sit on the trust-policy page
TDK weights governance, calibration and input sourcesV4 ch.9 (#policy)CoveredProposal, Board decision, versions, input sources and calibration all explained; why governed is brief
Impact Class A-D and impact-tiered thresholdsV2 ch.4 (#impact-class); V6 ch.6 (#trust); V5 ch.7 (#soi)CoveredTable, undeclared=D and signed lowering explained; Class C tier variation and Class D 90-95 behaviour are not
Blast Radius (DDS) tiersV4 ch.4 (#tdk); V3 ch.9 (#contracts)ThinMentioned only; a reader cannot learn the formula, tier cutoffs, consumer weights or Data Class floor
HITL Floor and sustained-recovery hold timerV4 ch.5 (#hitl); V4 ch.9 (#policy); V6 ch.6 (#trust)CoveredFloor, 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 paradoxV0 ch.5 (#roles); V2 ch.1 (#role); V2 ch.10 (#sme)ThinRole tasks are covered; the manuscript role concepts, the SME paradox and the editor model are not explained
Maturity model and Translation Tax baselineV0 ch.6 (#dashboard)MissingExecutive Dashboard is mentioned; no volume explains the maturity levels, the Translation Tax or the jargon baseline
Data catalog, Universal Service Catalog and product metadataV0 ch.8 (#data-products); V1 ch.2-3 (#find, #product-window); V3 ch.2, 4 (#register, #edit)CoveredFind, read, register and edit are explained; the registry rationale is light but present in V0.
Three definitions per field and precision-critical execution testV1 ch.4 (#fields); V3 ch.5 (#fields); V2 ch.10 (#sme)CoveredWhat, who and the CERTIFIED effect are all explained across three volumes.
Ownership, delegation and ghost ownersV2 ch.2 (#ownership); V3 ch.4 (#edit)CoveredDelegate-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)ThinImport 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-submittedV5 ch.7 (#soi); V6 ch.7 (#soi); V2 ch.4 (#impact-class); V1 ch.6-7ThinNo-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 rulesV3 ch.9 (#contracts); V1 ch.9 (#contracts)ThinCreating 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 consentV3 ch.10 (#child); V2 ch.5 (#derived)CoveredWizards, tighten-only and owner consent are explained for both the author and the consenting owner.
Contract lifecycle: change classes, versions, sunset, migration, schema evolution protectionV3 ch.9 (#contracts); V3 ch.11 (#sunset)CoveredClasses, countdown and migration are explained; the impact endpoint and why it exists are only brief.
Contract summary card and clarity score on contractsV1 ch.9 (#contracts); V3 ch.9 (#contracts)ThinOne 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, accuracyV3 ch.9 (#contracts) one row; V1 ch.9; V5 ch.8 (schedule)ThinA 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)CoveredScreens 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)ThinRecommendations 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 validationV3 ch.9 (#contracts); V1 ch.9 (#contracts)ThinDownload 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 evolutionV3 ch.9 (#contracts) contract form onlyThinAdded 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 checksV3 ch.7 (#steps); V0 ch.6; V1 ch.5ThinLists 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 protocolV2 ch.7 (#overrides); V4 ch.7 (#exploration)CoveredRules, 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 GateV5 ch.8 (#monitor) names the expiry job onlyMissingA 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, quarantineV3 ch.12 (#security); V4 ch.8; V0 ch.10ThinExplains 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 classificationV4 ch.8 (#disputes); V2 ch.5CoveredDispute flow, roles and derived rules are explained with the reason.
Obfuscation by default and maskingV3 ch.5 (#fields) adopt recommendation; V3 ch.12; V6 ch.6 (#trust) masking and joinsThinScreens and agent view covered; no explanation of who sees real values, the mandate or the publish Fail-Close.
Data sovereignty, residency and EU_ONLYV3 ch.7 (#steps) passport; V3 ch.12; V4 ch.10; V1 ch.3ThinPassport 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 mappingV4 ch.10 (#passports); V3 ch.7ThinPulse named in one paragraph; no evidence hooks, failed-check codes, AI Act mapping or the bias-drift limit.
Ethical use and consent verificationV7 (this section)ThinPer-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 checksV3 ch.7 (#steps) gate failure on freshness; V1 ch.5; V0 ch.6 (breaches tile)ThinMentions 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, quarantineV2 ch.6 (#recertify); V6 ch.9 (#errors)CoveredTable of the three kinds with owner and response is clear; detectors and thresholds are only in the reference.
Recertification and automatic degradationV2 ch.6 (#recertify); V4 ch.7CoveredAttest steps, due rules, 14-day overdue cap and refusal case explained.
Trust badges and what decides themV0 ch.7 (#badges); V1 ch.5 (#trust)ThinLevels 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-OpenV6 ch.6 (#trust) pipeline in one paragraph; V1 ch.7 (#validator); V4 ch.13 (#ledger) breach closes the gateThinThe 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 IntentV1 ch.7 (#validator) three answers; V4 ch.3 (#escalations); V6 ch.4 (#tools)ThinScreens 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/DV4 ch.3 (#escalations)CoveredReview and Ed25519 signing explained; the voiding rules (TDK drop of 5, version changes) are only mentioned briefly.
Agent HITL queue and incidentsV4 ch.5 (#hitl); V6 ch.6 (#trust)CoveredFloor, grouping, recovery hold and alert-once all explained.
Write autonomy by Impact Class and tier, write holdsV6 ch.6 (#trust); V4 ch.6 (#agents); V2 ch.4 (#impact-class)CoveredClass 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)CoveredOutcomes, limits and unfreeze covered; the per-class default limit numbers are not listed.
Agent-to-agent transferV4 ch.6 (#agents); V6 ch.4 (#tools)CoveredALLOWED/STAGED/BLOCKED and conditions explained.
Controlled exploratory modeV2 ch.8 (#explore); V4 ch.7 (#exploration)CoveredRules by Impact Class explained; relation to the manuscript's break-glass flow not drawn.
Agent registry: identity, keys, freeze, recall webhookV5 ch.3 (#agents); V6 ch.2-3CoveredRegister, key, freeze and webhook all explained on screen.
mcp-gateway and pg-gateway as agent front doors, and the Storefront Discovery API for agentsV6 ch.3 (#connect); V6 ch.4 (#tools); V6 ch.7 (#soi)CoveredConnection settings and every tool covered in the agent-builder volume.
Recall Notice Protocol: kill-switch, Safety Mode, Recall Token push, historyV6 ch.8 (#recall); V4 ch.4 (#tdk); V1 ch.5CoveredToken push, pull, verify and the kill switch explained; Safety Mode restrictions only briefly.
Recall post-mortem reportV1 ch.10 (#reports) one table row; V4 ch.4 (#tdk) one sentenceThinA 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 MapThinThe 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 verificationV4 ch.13 (#ledger); V5 ch.5 (#admin) weekly verificationCoveredChain, anchors, tiered runs and write failures explained; producer attestation and clearing a BREACH only implied.
Audit log and audit envelopeV4 ch.12 (#audit)CoveredScreen, 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.3ThinA 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 whenV4 ch.4 (#tdk); V3 ch.7 (#steps)ThinAdded 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 cycleV3 ch.7 (#steps)ThinTrigger 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-BreakerV2 ch.10 (#sme, Conflict review subsection)ThinResolving 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 criteriaV3 ch.7 (#steps); V1 ch.6 (#access)ThinSteps 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, feedbackV1 ch.6 (#access); V1 ch.12 (#feedback); V0 ch.7 (#badges); V2 ch.3 (#access)ThinRequesting, reviewing and the warning are covered; the Certified/Managed/Discovery tiers and listing rules are not explained.
Data Token economics: budgets, chargeback, revenue allocation, escrowV5 ch.9 (#consoles, one table row)ThinOnly 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 costV2 ch.9 (#incidents)CoveredSteps, roles and the no-estimates rule are explained with screens.
Executive Dashboard and adoption signalsV0 ch.6 (#dashboard); V1 ch.10 (#reports)ThinMeasures 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)CoveredReport list, purpose and role limits are explained; the recall audiences are covered in V4.
Usage MapV4 ch.10 (#passports); V5 ch.6 (#reference)ThinOne 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 capabilityV4 ch.11 (#ai)CoveredDrafting, 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 signaturesV5 ch.2 (#users); V0 ch.2 (#sign-in); V0 ch.5 (#roles); V4 ch.3 (#escalations)ThinAccounts, 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 limitingnoneMissingA 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)ThinAdmin 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)CoveredScreens, fields and purpose are explained.
Platform Monitor, validator report and scenario-labV5 ch.8 (#monitor); V5 ch.10 (#validator); V5 ch.9 (#consoles)CoveredMonitor 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 capabilitiesnoneMissingA 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

Where: plain-language-audit (port 8006); the Clarity column on products, terms and contracts; /audits/failing, /audits/summary; Roles: scoring is automatic; Data Stewards and SMEs fix failing text; Manuscript: Book 1, The Plain Language Mandate: ISO 24495 and the Computational Core of B1 Clarity; In this manual: Volume 3, chapter 5 and chapter 9 (screens only; the scoring rules are not explained there)

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.passed or clarity.failed.
  • Entry-gate's PLAIN_LANGUAGE_PASS fails 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 in REGULATED_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 as undefined_regulated_terms, and get_data_product_metadata returns their glossary definitions to agents. An inline definition is a bracket, "means", "is" or a dash within a short span.
  • Three hooks. The /score answer also reports sentence complexity, voice integrity and lexical boundary apart, each with passed and findings. 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/fields scores 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 fails PLAIN_LANGUAGE_PASS if 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. With CONTRACT_TEXT_GATE at its default c_d, activation is refused (422 contract-text-unclear) when the strictest declared Impact Class is C or D; always and never are the other settings, and an unreachable audit service refuses nothing. GET /contracts/{id}/text-check previews it.
  • Jargon baseline: POST /baseline/jargon scores up to 50 descriptions and returns the jargon share. It stores nothing.
  • A failed gate step drafts a fix. When PLAIN_LANGUAGE_PASS fails, llm-governance can draft a plain description for an SME to approve (AUTO_DRAFT_ON_GATE_FAIL, shadow by default; see LLM-driven governance).
LimitsThe consistency check compares names and times, not meaning. A wrong claim in plain words still passes. Lineage logic is compared with the text only for the five aggregations above. The sentence rule scores a violation instead of rejecting the text, and it does not check for concrete nouns. Active voice is scored, but the text is not required to name the responsible system or role (the manuscript asks for that; not built). Quality rules carry no free text, so there is nothing to score in them.

Glossary, acronym whitelist and the semantic layer

Where: /glossary; glossary-registry (port 8003): /terms, /terms/undefined-acronyms, /metrics, /schemas; Roles: everyone reads; SME, Governance Lead and Super Administrator write and approve terms; Business Owner, Governance Lead and Super Administrator certify; Manuscript: Book 1, The Plain Language Mandate; addenda The Semantic Layer and The Structural Bedrock; In this manual: Volume 1, chapter 8

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) hold sql_definition, a description, acronym_mappings and inline_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 in sot.semantic_metric_versions and emits one glossary.metric_changed (who, which fields, the new version). GET /metrics/by-metric-id/{metric_id} returns the live definition by its business id, and .../versions the history. notification-service tells stewards and governance of a change. Agents read a metric with the mcp-gateway tool get_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_DOMAINS is 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_MODE is shadow by default; enforce, off): POST /schemas/{name}/versions/{v}/approve or /reject (GOVERNANCE_LEAD or SUPER_ADMINISTRATOR, never the proposer). In enforce a proposed version stays inactive and does not replace the live one until approved. Versions carry optional change_notes.
  • GET /schemas/standard-types publishes 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).
Not builtThe manuscript's Semantic Interceptor, which flags a query that computes an unverified "shadow metric" and lowers the score, is not built. Only the registry half exists. A schema approval is recorded on the schema row, not as a ledger event. Keeping business names stable when a physical table moves platform (the book's Dynamic Schema Abstraction) belongs to the customer's own systems and is documented, not built (ADR 0036).

The Trusted Data KPI (TDK) score and its six pillars

Where: /badges, the TDK tab of a product; health-monitor (port 8010); GET /tdk/policy; Roles: automatic; everyone reads; Manuscript: Book 1, The Strategic Power of the Trusted Data KPI; In this manual: Volume 0, chapter 7; Volume 1, chapter 5

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

PillarDefault weightWhat feeds it
dataContract0.20State of the product's contracts
clarity0.16Share of fields with a real description, capped by the contract clarity score
security0.20Sensitivity, field classifications, retention
freshness0.12Scan age, SLA, drift and anomaly signals
governance0.12Named, active owner and steward; tags, domain, purpose, SLA
dataQuality0.20Measured pass rate of live contract rules, scaled by the Blast Radius tier
Differs from the manuscript on purposeThe book's formula uses six other pillars (Quality Floor 0.30, Accountability 0.20, Entry Gates 0.15, Security 0.15, Health 0.10, LLM Governance 0.10), each scored 0 to 10, with discrete pass/fail outcomes and "constant background validation". The platform scores the six signals it can measure, and the weights are configurable (ADR 0009, ADR 0016). The pillar names above, not the book's acronyms, are what you see on screen. These differences are accepted deviations, recorded in ADR 0036 (ledger rows S1-02, S3-22, S5-33, S5-39, S7-67, S7-69, S8-34). An ODCS document that carries the book's weights is imported with a warning that the platform's own weights govern.

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/policy publishes trust_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 in trust_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.assessed carries each pillar's inputs, the raw TDK, the tier multiplier, the Blast Radius tier and any pillar left unmeasured, 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

Where: /admin/trust-policy; tdk-weights-config (port 8027); /tdk/weights, /tdk/weights/proposals, /tdk/calibration, /tdk/input-sources; Roles: Governance Lead, Ops Administrator and Super Administrator propose; only PLATFORM_GOVERNANCE_BOARD decides; Manuscript: Book 1, The Strategic Power of the Trusted Data KPI (the section "Governing the Measure"); In this manual: Volume 4, chapter 9

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 as tdk_components.
  • POST /tdk/calibration records what the expert saw and expected. It changes no score.
  • GET /tdk/input-sources marks 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.
LimitsADR 0016 records that calibration has no dedicated screen; filing one is a REST call. A Board decision is attributed by verified identity, not signed with a personal key.

Impact Class A-D and impact-tiered trust thresholds

Where: /admin/soi (assessment); soi-repository (port 8004) PUT /soi/admin/{id}/impact-class; the lines are published at GET /tdk/policy; Roles: Business Owner, Ops Administrator or Super Administrator declare; lowering needs the Business Owner's signature; Manuscript: Book 1, Impact-Tiered Trust Thresholds: Trust Enough for This Decision; In this manual: Volume 2, chapter 4

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

ClassMeaningExecutes alone atPerson approves from
AExploratory7060
BOperational8070
CFinancial or customer-facing95, 96 or 98 by Blast Radius tier80, 85 or 90
DRegulated, safety-critical, irreversiblenever95; 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 thresholdOverrides block (per Blast Radius tier, tighten only). It is validated at activation (CONTRACT_BLOCKS_CHECK, shadow by 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 contract hitl_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.
Differs from the manuscriptFor Class D the book says a person approves at 95 and above, observational use below that, and a pause below 90. Here a write between 90 and 95 is denied outright, and below 90 the workflow pauses.

Blast Radius (Downstream Dependency Score) tiers

Where: shared/blast_radius, used by health-monitor, build-engine, lineage-engine; blast_radius_tier on each product; Roles: automatic; the Data Class on the contract (Data Steward) sets a floor; Manuscript: Book 2, Data Contract Anatomy (the Blast Radius sections); Tier-Adjusted Trust Thresholds; In this manual: Volume 4, chapter 4 (mention only); not otherwise covered in the screen volumes

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 one tdk.penalty_changed event.

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.

CaveatThe scheduled sweep reuses the last tier from an on-demand assessment. Only 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

Where: /query-validator/agent-hitl; tdk-weights-config (editor); health-monitor GET/PUT /tdk/hitl-floor; query-interceptor (port 8019); Roles: Governance Lead and Super Administrator set the floor; reviewer roles clear the queue; Manuscript: Book 1, Impact-Tiered Trust Thresholds (the handback) and Tier-Adjusted Trust Thresholds; In this manual: Volume 4, chapter 5

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_floor on 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_since and requests still go to a human with reason RECOVERING. It closes after RECOVERY_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 as hitl_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.
LimitsThe hold is a deployment setting, not editable at runtime, and does not vary by Impact Class. A dip shorter than a scoring interval (10 minutes) is not seen.

Human in the loop: who vouches (Value Guardian, Context Authority, Policy Enforcer, and the SME paradox)

Where: roles BUSINESS_OWNER, SME, GOVERNANCE_LEAD across the platform; llm-governance (port 8014); Roles: as named; Manuscript: Book 1, The Human Component; The Subject Matter Expert (SME) Paradox; The Human in the Loop; In this manual: Volume 0, chapter 5; Volume 2, chapter 10 (roles by task; the concepts are not named)

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.approved records 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_CHECK is shadow by default; the Draft Review screen cannot sign yet, so stay on shadow. 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-overrides links 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.
TermsThe names Value Guardian, Context Authority and Policy Enforcer are the book's. The platform uses only the role names above. The book's 1:1 session to re-affirm a Value Guardian's duties is out of scope (ADR 0036).

Maturity model and Translation Tax baseline

Where: plain-language-audit POST /baseline/jargon; health-monitor /tdk/baselines; Executive Dashboard and flow reports in /reports; Roles: Governance Lead and executives read; Manuscript: Book 1, The Economics of Trust ("Baselining Your Own Translation Tax"); addenda The Trusted Data Maturity Model and The "Translation Tax" Audit Worksheet; In this manual: Volume 0, chapter 6 (dashboard only)

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_TOUCH is 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/baselines in 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}/compare shows 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).
Do not infer a savingThe platform never estimates hours saved. If a figure is not recorded, it shows as not measured. The band-hours report (/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

Where: /data-products; data-catalog, port 8001; Roles: everyone reads; BUSINESS_OWNER, DATA_STEWARD, GOVERNANCE_LEAD and ODCS-Author write, OPS_ADMINISTRATOR deletes; Manuscript: Book 1, Pillar 3, "The Registry: The Universal Service Catalog"; Book 3, "The Data Product Definition"; In this manual: Volume 1, chapter 2; Volume 3, chapter 2; chapter 4

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 consumptionWarning when 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 exposes tdkAssessedAt, 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-only sot.lineage_attestations keeps a hash of the edge set, so the attestation goes STALE when the lineage changes. GET /products/{id}/lineage-attestation reads it; GET /products/lineage-attestations is 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 the FIELDS_CLASSIFIED gate step reports them (see Entry gate).
  • A product also names an engineering owner (engineering_owner_id), set with the other people-roles (see Ownership).
Differs from the manuscriptThe book sets Marketplace entry at 14 days of stable heartbeats and a signed lineage proof. The catalog stores and shows the facts, including the Lineage Proof; the gate, build, badge and Storefront services decide readiness.

Three definitions per field and the precision-critical execution test

Where: the Field Schema tab of a product; data-catalog, PATCH /products/{id}/fields/{physical_name}; Roles: Layers 1 and 2: stewards and ODCS authors; Layer 3 and the precision-critical flag: DATA_STEWARD, GOVERNANCE_LEAD, SECURITY_TEAM, SUPER_ADMINISTRATOR; the test is signed by an SME, BUSINESS_OWNER, GOVERNANCE_LEAD or SUPER_ADMINISTRATOR; Manuscript: Introduction, "The Plain Language Mandate", section "Where Simple Stops"; In this manual: Volume 1, chapter 4; Volume 3, chapter 5; Volume 2, chapter 10

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_view builds 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 /fields keeps layers a caller leaves out, so a schema re-import does not wipe them.
Not builtODCS export of the layers, the contract annex as the union of field annexes, an automatic check that Layer 1 still matches the calculation, and the quarterly sample review. The test is a human claim; the platform only tracks what text it covered.

Ownership, delegation and ghost owners

Where: /data-products/ownership; data-catalog, /products/{id}/owners, /delegate, /products/orphaned; Roles: GOVERNANCE_LEAD, OPS_ADMINISTRATOR and SUPER_ADMINISTRATOR assign owners; the business owner or a governance role names a delegate; Manuscript: Book 1, Pillar 2, "Business Ownership" and "Keeping the Business Owner from Becoming an Approval Queue"; In this manual: Volume 2, chapter 2; Volume 3, chapter 4

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.deprovisioned arrives, held roles are announced as catalog.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 raises delegate.risk_flagged at 10 approvals in 7 days, or any high-impact approval.
  • A fifth role, the engineering owner (engineering_owner_id), is set through PUT /products/{id}/owners with 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_CHANGED is due (OWNER_CHANGE_RECERT is shadow by default; see Recertification).
  • A silent or missing owner is flagged. A daily sweep flags an owner who has left OWNER_MIN_UNANSWERED alerts about their own product unread for OWNER_UNANSWERED_DAYS, and a published product with no owner, as catalog.owner_orphaned with reason UNRESPONSIVE or VACANT. OWNER_RESPONSIVENESS_CHECK is shadow by default (logs; enforce, off); POST /products/owner-responsiveness-check/run runs it now. An orphaned-owner alert also reaches the product's executive sponsor.
LimitsAssignment is REST and UI only; no MCP tool exists for it. The risk rule is a count, not weighted by Impact Class. A missed migration deadline does not yet reach the owner's score. The manuscript's 24-hour deadline to appoint a temporary steward, with an interim steward who expires, is not built; the sponsor is told, nothing more.

Data profiling and import of schemas (Import Schema, credentials vault, data profile)

Where: /data-products/import; the Profile button and Data Profile tab on /data-products; data-product-monitor, port 8008 (/profiles, /credentials, /explore/connect); Roles: BUSINESS_OWNER, DATA_STEWARD, GOVERNANCE_LEAD manage credentials; write roles import; Manuscript: Book 2, "Data Quality Platform Integration" (the Accuracy Hook's profiling); In this manual: Volume 3, chapter 3; Volume 5, chapter 4

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 emits profiling.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.
LimitDescriptions are not in a DDL file, so imported fields start with none. CSV and Excel imports have no live connection to profile against later.

Statement of Intent: lifecycle, templates, inheritance, the no-syntax rule, agent-submitted requests

Where: /soi and Admin Tools, Manage SOIs; soi-repository, port 8004; mcp-gateway for agents; Roles: OPS_ADMINISTRATOR administers; any caller uses templates and break-glass; the owner signs; Agents submit for themselves; Manuscript: Book 2, "The Statement of Intent Repository" and "How Narrow Should a Statement of Intent Be?"; In this manual: Volume 5, chapter 7; Volume 6, chapter 7; Volume 2, chapter 4

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/templates and PUT /soi/templates/{id} (GOVERNANCE_LEAD, BUSINESS_OWNER, SUPER_ADMINISTRATOR) create and change them. The wording is held to the no-syntax rule, sme_owner_id names the expert who answers for it, and each change is one soi.template_changed event naming what changed; governance is alerted. GET /soi/templates/stats counts Statements of Intent per template against custom ones.
  • Specific and time-limited. A vague intent or one with no expiry is flagged: INTENT_VAGUENESS_CHECK is shadow by default (logs), enforce refuses with 422 intent-too-vague, off skips 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's dynamic_masking fields 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.
Limits"Inheritance" as the book describes it (a new SoI automatically riding on a stricter existing one) is only partly there. The coverage check finds an ACTIVE master and suggests a child contract, but the SoI form does not call it yet, and the 90-day duplicate-children report catches the rest. A custom SoI does not enter a review state and there is no promote-to-template action; the template counts are the only anomaly signal. A template's standardized-intent categories are free text and the risk rating is set by the author. The book's 5 to 10 named service tiers are checked against the contract (see Contract policy blocks) but cannot yet be picked on a template. Learning patterns to recommend new SoIs is a direction the book itself does not claim.

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

Where: /contracts; contract-engine, port 8005; Roles: DATA_STEWARD, GOVERNANCE_LEAD, ODCS-Author write; everyone reads; Manuscript: Book 1, Pillar 3, "Data Contracts: Policy-as-Code"; Book 2, "The Role and Importance of Data Contracts", "The Programmable Interface", "Data Contract Anatomy"; In this manual: Volume 3, chapter 9; Volume 1, chapter 9

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_CHECK is shadow by default; enforce refuses activation with 422 contract-owner-missing; off skips it.
  • Declarations before activation (GET /contracts/{id}/declarations reports 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 (422 contract-glossary-unmapped in enforce; 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 (422 contract-standard-type-missing). CONTRACT_SCHEMA_CONFORMANCE: a new contract whose schema differs from the registered schema of its name is logged, or in enforce refused with 409 schema-differs-from-approved, until a new version is proposed and approved in the glossary-registry. All three are shadow by default.
  • The EU AI Act oversight signature. An EU_AI_ACT contract 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 over CONTRACT_OVERSIGHT|<id>|<version>|<utc time>, checked through user-management, under 15 minutes old, from a person at or above CONTRACT_OVERSIGHT_MIN_COMPETENCY. GET .../oversight reads it; event contract.oversight_signed. CONTRACT_OVERSIGHT_CHECK is shadow by default; enforce refuses activation with 409 oversight-not-signed.
  • Plain language in the contract itself. Schema and SLA descriptions are scored at activation (CONTRACT_TEXT_GATE, default c_d; see clarity scoring).
  • Token terms. dataTokenBudget in 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 lists roles: 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.
Differs from the manuscriptentry-gate's override protocol applies platform policy (24-hour cap, steward then owner then sponsor); it does not read the contract's own 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

Where: /contracts/new-child, /contracts/new-child-pair, /contracts/new-derived; contract-engine, /contracts/{id}/children, /derivations; Roles: DATA_STEWARD, GOVERNANCE_LEAD, ODCS-Author, SUPER_ADMINISTRATOR propose; each master's Business Owner consents; Manuscript: Book 2, "Data Contract Anatomy" (Parent and Child); Book 3, "DQ Hooks and Avoiding DQ overload"; In this manual: Volume 3, chapter 10; Volume 2, chapter 5

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=true answers 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

Where: contract page Lifecycle panel; /contracts/sunset; contract-engine change-preview, impact, migrate, lifecycle/run; Roles: DATA_STEWARD, GOVERNANCE_LEAD, ODCS-Author; Manuscript: Book 1, Pillar 3, "Schema Evolution Protection"; Book 2, "When a Contract Has Many Dependants"; In this manual: Volume 3, chapter 9; chapter 11

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_date at 30, 45, 60 or 90 days by the strictest Impact Class (A to D; undeclared counts as D) and contract.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 as contract.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_EVOLUTION is shadow by default and logs a change outside it; enforce refuses it with 409 schema-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}/migrate are the migration path.
LimitsMigration is an API call (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

Where: contract page, "Summary card and clarity"; contract-engine GET /contracts/{id}/summary-card, /contracts/clarity/summary; plain-language-audit POST /score/contract; Roles: everyone reads; Manuscript: Book 2, "Data Contract Anatomy", section "A Summary That Business Leaders Can Read"; In this manual: Volume 1, chapter 9; Volume 3, chapter 9

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=true forces 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_PASS also 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.
Differs from the manuscriptThe card shows owners and SoI signatures as the platform holds them; it is a view, not a signed document.

SLAs: freshness, availability, volume and completeness, accuracy

Where: contract form, "Service level agreements"; contract-engine /contracts/sla-check/*; data-product-monitor; Roles: DATA_STEWARD, GOVERNANCE_LEAD, ODCS-Author edit and run the sweep; Manuscript: Book 2, "Service Level Agreements (SLAs)"; In this manual: Volume 3, chapter 9 (one line); Volume 5, chapter 8 (the schedule)

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} with alert, revoke or quarantine. 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_pct is matched to the rule type of the same name in the latest quality assessment. A metric with no matching rule (such as accuracy_pct) falls back to the overall quality floor.
  • A breach is reported through POST /contracts/sla-breach and alerts. With revoke, 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_pct names a source table in its element and 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's breach_action. A source it cannot count is skipped, not breached.
  • Conditional completeness: a completeness quality rule may carry when ({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 a when.
  • Volume against history. An SLA with metric volume_history_pct breaches 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_pct is 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 writes sot.read_availability every minute. Under 20 reads it says nothing.
  • Arrival. An SLA arrival_minutes (the most minutes allowed between deliveries) or an ODCS heartbeatInterval custom property (shared/policy/arrival.py) promises deliveries. Producers call POST /monitor/{id}/heartbeat on data-product-monitor (DATA_STEWARD, OPS, SUPER_ADMINISTRATOR or GOVERNANCE_LEAD identity), and health-monitor raises health.freshness_breach with reason MISSED_HEARTBEAT once per missed delivery. Nothing is late before the first heartbeat.
  • Validity, population and tolerance. validity_pct is the data-quality floor: the pass rate of the weakest verifiable rule. A completeness rule may carry min_population_pct, the owner's line (the rule's rate is populated share divided by the line, at most 1). A tolerance rule (reference_field, tolerance_pct) checks that a value is within a percentage of another column. A no_placeholder rule rejects test data that completeness passes (999-99-9999, test@email.com, n/a; plus the rule's own denied_values). Entry-gate's DQ_FLOOR_PASS step reads the latest assessment against these lines.
  • SQL rules. A quality rule sql is one read-only SELECT returning one number, with operator (mustBe, mustBeGreaterOrEqualTo, mustBeLessOrEqualTo), expected, severity (warn or error) and business_impact. It is checked with sqlglot when written (single SELECT, no writes or locks, no pg_*, lo_*, dblink, set_config or nextval, 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). A warn result is reported and does not lower the data-quality floor. Native ODCS sql checks are not mapped on import.
  • Coverage. GET /contracts/{id}/sla-coverage lists the missing freshness, volume and validity SLAs; activation logs a warning for them.
  • Suspended contracts. A revoke or quarantine breach 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}/suspend and /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}/suspended lists them. query-interceptor never falls back to the parent for a suspended child and refuses a product with nothing ACTIVE and something suspended with CONTRACT_SUSPENDED and the reason. Entry-gate's CONTRACT_ACTIVE step 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 as sla.suspended; governance, stewards and owners are alerted. GET /contracts/{id}/sla-suspensions lists 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 when SLA_BREACH_REVOKE is enforce; the default is shadow (logs). The breach that reaches the line recalls once.
Not built as the book describesNo "last known good" cache for consumers on a critical breach. What exists is a warning: 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)

Where: /data-model, /data-model/new, /data-model/[id]; data-catalog /data-models and /relationships; Roles: everyone reads; BUSINESS_OWNER, DATA_STEWARD, GOVERNANCE_LEAD, ODCS-Author write; Manuscript: Addendum, "Framework Table Inventory" (Registry of Schemas, Usage Map); Book 1, "Global ID Mapping"; In this manual: Volume 1, chapter 11; Volume 3, chapter 8

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 /relationships takes 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 entityIdMapping block (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).
LimitA model draws declared relationships. It does not discover them from data, and it enforces nothing by itself.

DQ hooks and recommendations (avoiding DQ overload, global vs tactical tiering)

Where: contract form "Quality rules"; the DQ Recommendations button on a contract; data-product-monitor /quality-assessments, port 8008; Roles: DATA_STEWARD, GOVERNANCE_LEAD, ODCS-Author author rules; Manuscript: Book 2, "Data Quality Platform Integration"; Book 3, "DQ Hooks and Avoiding DQ overload"; In this manual: Volume 3, chapter 9 (one line); Volume 5, chapter 8 (the schedule)

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_pct and a conditional when), 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 missingValues and invalidValues that 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).
Corrects Volume 3The recommendations are rule-based on profile statistics (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

Where: contract page "ODCS JSON" download; /contracts/new import; contract-engine GET /contracts/{id}/odcs, POST /contracts/odcs/validate, POST /contracts/odcs/import; catalog-mcp import_contract_odcs; Roles: import: DATA_STEWARD, GOVERNANCE_LEAD, ODCS-Author, SUPER_ADMINISTRATOR; export and validate: anyone; Manuscript: Book 2, "Data Contract Landscape: No Universal Standard yet"; Addendum, "Comprehensive Sample Data Contract (All Controls)"; In this manual: Volume 3, chapter 9; Volume 1, chapter 9

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 in odcs_extras and 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 missingValues and invalidValues that must be 0 import as runnable rules.
  • Authored tdk, trustBadge, blastRadius and passportHash values 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, serviceTier and the rest) live in odcs_extras or an ODCS custom property of the same name, so they round-trip (see Contract policy blocks).
LimitsImported 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

Where: the ODCS content of a contract (odcs_extras or a custom property of the same name); contract-engine GET /contracts/{id}/declarations; read by query-interceptor and entry-gate; Roles: DATA_STEWARD, GOVERNANCE_LEAD and ODCS-Author write the contract; Manuscript: Book 2, "Data Contract Anatomy" and Addendum, "Comprehensive Sample Data Contract (All Controls)"; In this manual: Volume 3, chapter 9 (contract form; the blocks are not explained there)

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.

BlockWhat it saysRead at run time?
columnMaskingExtra 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.
serviceTierPLATINUM, 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.
utilityThresholdThe Business Owner's own TDK line.Yes. It raises the HITL Floor like a contract hitl_floor; it never lowers it.
thresholdOverridesPer Blast Radius tier, tighter trust lines than the platform's.No. Validated as tighten-only; the autonomy bands do not read it yet.
schemaEvolutionallowed: PATCH, MINOR.Yes, by contract-engine on a live change (CONTRACT_SCHEMA_EVOLUTION, shadow by default; enforce refuses with 409 schema-evolution-disallowed).
entityIdMappingThe field that links to the golden (master data) record.No. Validated against the schema; not enforced for personal-data contracts.
failurePostureFail-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.
relaxedGatesGates 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.
destinationZoneThe security zone the data is headed for.Yes, by entry-gate's ZONE_CLEARANCE step (see Entry gate).
  • Environment-aware masking. NON_PROD_MASKING on query-interceptor is shadow by default; in enforce a 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 columnMasking and the contract's row filters. ODCS dynamicPolicies are not imported.
  • The Ephemeral View option (a database view that exists for one session) is not built.
LimitFour blocks are checked and stored but not yet acted on at run time: 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

Where: product window, Gate tab (/data-products); entry-gate, port 8011, POST /gate/evaluate/{id}; Roles: BUSINESS_OWNER, DATA_STEWARD, GOVERNANCE_LEAD, SUPER_ADMINISTRATOR run it; Manuscript: Book 1, Pillar 3: Governance Entry Gates; In this manual: Volume 3, chapter 7

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 or min_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 a destinationZone. The product's sensitivity must fit that zone's max_classification, taken from SECURITY_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.
Count of checksThe service map lists six core checks. The code runs fifteen, one of them conditional. Older text in this manual and in the service notes may still say eight, ten or fourteen. The code is the reference. An open point: 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

Where: /overrides; entry-gate, port 8011, /overrides; Roles: BUSINESS_OWNER, DATA_STEWARD, GOVERNANCE_LEAD, OPS_ADMINISTRATOR, SUPER_ADMINISTRATOR request; the named approver signs; Manuscript: Book 1, Pillar 3, "When the Business Wants to Override the Gate"; In this manual: Volume 2, chapter 7; Volume 4, chapter 7

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_PASS and SOURCE_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_CONTRACT or KEEP_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

Where: soi-repository, port 8004, POST /soi/break-glass; the Break-Glass Expiry Check job (Platform Monitor); entry-gate files the matching override; Roles: any authenticated caller may ask, as with other self-service SoI routes; Manuscript: Book 2, Emergency Data Exploration and Service Level Agreements; In this manual: not covered in the screen volumes (only the expiry job is named, Volume 5, chapter 8)

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}/close with written findings of 30 or more characters. The findings become the revocation reason and stay on the Statement of Intent. GET /soi/break-glass/outstanding lists 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.
Untested against real systemsThe Jira and ServiceNow adapters (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

Where: /security; security-profiling, port 8007, POST /scan, /classifications; Roles: stewards and governance run scans; a scan also runs on a schedule; Manuscript: Book 1, Pillar 3 (Automated Security Classifications) and Pillar 4 (Classification First); In this manual: Volume 3, chapter 12

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.quarantined event; otherwise CLASSIFY and security.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 in sot.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, shadow by default). POST /scan/product/{id} scans one product now.
  • History cannot be rewritten. sot.security_classifications is append-only: a database trigger refuses UPDATE and DELETE. A declared sensitivity can still be changed by its owner.
  • Review queue. GET /classifications/review-queue lists 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/controls publishes 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

Where: /security/disputes; security-profiling, port 8007, /disputes, POST /derived; Roles: SECURITY_TEAM and SUPER_ADMINISTRATOR decide; the named Business Owner objects; stewards raise or inherit; Manuscript: Book 1, Pillar 4, "Derived Data: Inherit, Then Check the Context"; In this manual: Volume 4, chapter 8

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.disputed is 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}/decide sets any level, higher or lower than the AI, with a written justification of 20+ characters. It is ledgered as classification.decided with 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, shadow by default; enforce; off; POST /classifications/lineage-check/run runs it now) finds a product fed by another (FEEDS) that sits below the most sensitive product feeding it. In enforce it opens the ordinary dispute, and the higher level applies at once. A recorded stripping decision is left alone.
LimitThe platform does not detect that a combination identifies a person. The caller names the linking fields and the rule raises what it is told.

Obfuscation by default and masking

Where: Fields tab, Compliance view and /security; security-profiling (recommendation), query-interceptor, port 8019 (execution), build-engine (publish check); Roles: stewards adopt recommendations; masking applies to every non-entitled reader; Manuscript: Book 1, Pillar 4, "Obfuscation by Default: The Need to Know Requirement"; In this manual: Volume 3, chapter 5; Volume 6, chapter 6

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_required is true whenever sensitivity is CONFIDENTIAL or RESTRICTED, with obfuscation_fields filled 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 obfuscate step 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

Where: product window, Passport tab; /admin/passports; security-profiling (detection), data-passport, port 8017, query-interceptor (enforcement); Roles: DATA_STEWARD, GOVERNANCE_LEAD, SUPER_ADMINISTRATOR certify passports; Manuscript: Book 1, Pillar 4, "Data Sovereignty and Residency Enforcement"; In this manual: Volume 3, chapter 7; Volume 4, chapter 10

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_ONLY to residency_rules when it sees a +3x phone 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_ACCESS or 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 region claim 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 as CALLER_REGION_UNKNOWN, a region that differs from the SoI's declaration as REGION_MISMATCH, and a region outside the lists as SOVEREIGNTY_RESTRICTED ("EU" covers the member states). RESIDENCY_HANDSHAKE_MODE on query-interceptor is shadow by default: it logs what it would refuse and refuses nothing. Set enforce once every caller carries a region; off skips it.
  • Audit: the Compliance Pulse flags RESIDENCY_DRIFT when 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, shadow by 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-mechanisms records 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 with TRANSFER_MECHANISM_MISSING when the passport's allowed access reaches a jurisdiction outside its origin with no current mechanism (TRANSFER_MECHANISM_CHECK, shadow by 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_products hides a product whose passport excludes the caller's signed region (REGION_FILTER_LISTINGS, shadow by 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's ZONE_CLEARANCE step 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.
Differs from the manuscriptIn shadow mode the signed-region check only logs. The jurisdiction lists are not copied into the contract. The platform does not geolocate the caller, and it does not check the physical storage region. A cross-border mechanism is recorded and checked for presence and expiry, not verified against the destination's own certificate.

Data Passport and Compliance Passport, Compliance Pulse, EU AI Act mapping

Where: product window, Passport tab; /admin/passports; /reports/data-passport; data-passport, port 8017, /passports; Roles: DATA_STEWARD, GOVERNANCE_LEAD, SUPER_ADMINISTRATOR certify; POST /passports/pulse/run forces a run; Manuscript: Book 2, Regulatory Alignment (EU AI Act) and The Compliance Passport; In this manual: Volume 4, chapter 10; Volume 3, chapter 7

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) and access.* (Access) into data_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 reports shape_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. With SHAPE_DRIFT_CHECK at enforce it fails with SHAPE_DRIFT. This is not entropy over the whole column.
  • Passport states: DRAFT, ACTIVE, REJECTED, SUPERSEDED. Only ACTIVE is enforced.
Not built / differsThe bias-drift metric is UNAVAILABLE by design: a parity delta needs model outputs FiduLock does not govern. The substitute is distribution drift over the top five values per sensitive column. This is an accepted deviation, and a customer-supplied parity result is not accepted for now (ADR 0036; rows S4-09, S7-65, S8-04). The Pulse runs on an interval, not continuously. An 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.

Freshness and content-change monitoring, profiling hooks, anomaly checks

Where: product window, Data Profile tab; data-product-monitor, port 8008; health-monitor, port 8010; Platform Monitor (/platform); Roles: stewards run profiles and monitors; scoring runs by itself; Manuscript: Book 1, Pillar 5 (Latency & Freshness Heartbeats, Anomaly & Outlier Alerts); Book 2, Data Quality Platform Integration; In this manual: Volume 3, chapter 7; Volume 1, chapter 5

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 gives health.anomaly; throughput under the velocity ratio gives health.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 criticalDataElement are held to the same kind of baseline (column_health.py), from the profiled mean. It raises the existing health.drift_alert and health.anomaly with the column as field_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_breach with reason MISSED_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}/compare lists 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.
Differs from the manuscriptThe 3-sigma check applies to row count and to the critical columns' profiled means, not to individual field values such as one price. There is no TTL that pauses agents the moment one heartbeat is missed; the effect arrives through a lower score, a freshness breach alert and, on Class C or D, a drift signal. The book's capture-to-availability latency signal is not built.

Drift: three signals, circuit breaker, quarantine

Where: /badges/drift; trust-badge-engine, port 8009, /drift; Roles: OPS_ADMINISTRATOR (technical), DATA_STEWARD (semantic), BUSINESS_OWNER (business context); Manuscript: Book 1, Pillar 5, "Drift Detection" and "Three Kinds of Drift"; In this manual: Volume 2, chapter 6; Volume 6, chapter 9

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

KindDetectorClass C/D responseClass A/B, undeclared
TechnicalContract column missing or retyped against the last profile; late loadHALTED: reads refused with DRIFT_CIRCUIT_OPENLogged, owner told
SemanticData-quality pillar under 70QUARANTINED: Safety Mode path, obfuscated, row-capped, read-onlyLogged, owner told
Business contexthealth.drift_alert (row-count baseline)Logged, recertification requestedSame

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_drop holds the product like an anomaly (a semantic signal, findings prefixed velocity:; VELOCITY_QUARANTINE is shadow by default). Freshness breaches still do not quarantine.
  • A definition that no longer fits the values: llm-governance's SEMANTIC_DRIFT_CHECK reads each PUBLIC or INTERNAL column's description beside its five commonest values (never the values of anything more sensitive). In on it opens or joins the semantic signal through POST /drift/definition-signal (findings prefixed definition:); the default shadow only 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).

Not builtThe manuscript's fourth kind, behavioral drift (overrides clustering on one rule), is direction only. A product never profiled cannot show a dropped column, only a late load.

Recertification and automatic degradation

Where: /badges/drift, Recertifications tab; trust-badge-engine, port 8009, /recertifications; Roles: BUSINESS_OWNER or a governance lead attests Class C/D; a steward or SME may attest Class A/B; Manuscript: Book 1, Pillar 5, "Automated Recertification"; In this manual: Volume 2, chapter 6; Volume 4, chapter 7

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 sets policy_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_RECERT is shadow by default), when a product many people read has not been reviewed in UNREVIEWED_DAYS (HIGH_USAGE_UNREVIEWED, after USAGE_RECERT_ACCESSES accesses on the Usage Map), when a breaking upstream change feeds it (UPSTREAM_CHANGED; USAGE_RECERT_CHECK is shadow by default; Class C and D stay on the calendar), and when enough consumers report drift or semantic errors (FEEDBACK_THRESHOLD, any Impact Class; FEEDBACK_RECERT is shadow by default; see Marketplace Storefront).
  • One click, with the facts. The Attest box on /badges/drift shows 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.
Differs from the manuscriptDegradation is a badge cap, not a drop to "Experimental" in a registry. The policy review a "no" opens is an alert and a flag; no review workflow sits behind it yet.

Trust badges: CERTIFIED / WARNING / REVOKED / PENDING and what decides them

Where: /badges; trust-badge-engine, port 8009, /badges; Roles: everyone reads; the engine decides; Manuscript: Book 1, Pillar 5 (the Trust Badge state machine) and The 6 Foundational Pillars; In this manual: Volume 0, chapter 7; Volume 1, chapter 5

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):

LevelRule
REVOKEDScore below the recall floor (40 / 50 / 65 by tier) or the security component under 30
CERTIFIEDScore at or above the trusted line (80 / 85 / 90) and security component 60 or more
WARNINGScore 60 or more but not certified
PENDINGNot 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.

Stale numbers in older textdocs/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

Where: service query-interceptor (port 8019), reached through the Query Validator screens, pg-gateway and mcp-gateway; Roles: every consumer passes through it; nobody configures it per query; Manuscript: Book 2, Enforcing Alignment of SQL query with Data Scope; Architectural Blueprint: The Query Interceptor Gateway; Failure Handling: Fail-Close and Fail-Open; In this manual: Volume 6, chapter 6 (pipeline, from the agent side); Volume 1, chapter 7 (the validator screen)

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 maxRecordAge as a filter (field >= now() - interval), its columnMasking with exception roles and intent lifts, and its consentFilter for 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_SUSPENDED and 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 with INSUFFICIENT_TOKEN_BALANCE when 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_hours and freshness_sla_hours per product, trust_context.stale_data and an X-Stale-Data: true header. No SLA or no snapshot is not stale.
  • What the Agent learns about trust. trust_context carries trust_level (the band's name) and high_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.denied event 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).
Differs from the manuscriptThe manuscript also marks the dataset's score uncertified until a later heartbeat re-checks the transaction log. The platform marks the result and its record as uncertified instead. Refusals return a structured problem response with a reason code, not a 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

Where: Stage 2b of query-interceptor (port 8019); model call through llm-governance (port 8014); Roles: automatic; held queries go to reviewers (next section); Manuscript: Book 2, Enforcing Alignment of SQL query with Data Scope; Addendum: Matching Action to Intent; In this manual: Volume 1, chapter 7; Volume 4, chapter 3

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 default ALIGNMENT_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_checked with the reasoning. A held query also emits query.escalated.
Related ruleA Statement of Intent states a purpose, not a query. The platform refuses an intent that contains SQL or field names, so the model has a purpose to compare against.

Escalation queue, approvals tied to the asset state, and signed approvals for Class C/D

Where: /query-validator/review; query-interceptor routes /escalations; Roles: GOVERNANCE_LEAD, DATA_STEWARD, ESCALATION_QUEUE_REVIEWER, SUPER_ADMINISTRATOR; Manuscript: Book 2, Enforcing Alignment ...; Book 3, Agentic AI Consumption (SME Tie-Breaker); In this manual: Volume 4, chapter 3

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}/approve and /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.approved records whether it was signed, when, and the class.
Single useAn approval covers one request, as the manuscript's status notes say. It is not a standing permission.

Agent HITL queue and incidents

Where: /query-validator/agent-hitl; GET /escalations/incidents; floor in health-monitor (GET/PUT /tdk/hitl-floor); Roles: reviewers read the queue; GOVERNANCE_LEAD and SUPER_ADMINISTRATOR set the floor; Manuscript: Book 3, Agentic AI Consumption (Human-in-the-Loop Only); Book 1/2 HITL Floor passages; In this manual: Volume 4, chapter 5; Volume 6, chapter 6

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_floor of 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_escalated event. 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_FLOOR task for the owner of the weakest pillar (see Remediation tasks). A request that joins the open incident leaves none. hitl.incident_closed closes the task.
Differs from the manuscript status listThe manuscript's closing chapter says the platform has no hold timer. It does now (ADR 0017).

Write autonomy by Impact Class and tier, write holds

Where: POST /query/write (UPDATE and DELETE); MCP tool execute_write; /query-validator/write-holds; /writes; Roles: held writes are reviewed by SME, GOVERNANCE_LEAD, ESCALATION_QUEUE_REVIEWER, SUPER_ADMINISTRATOR; Manuscript: Book 1, Impact-Tiered Trust Thresholds; Book 3, Agentic AI Consumption and Tier-Adjusted Trust Thresholds; In this manual: Volume 6, chapter 6; Volume 4, chapter 6; Volume 2, chapter 4

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

ClassExecutes alone atHeld for a person at
A70 or more60 to below 70
B80 or more70 to below 80
C95 (Tier 3), 96 (Tier 2), 98 (Tier 1)80, 85, 90 up to the line
D, or undeclarednever95 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.
Not yet an owner settingThese lines are platform policy, published at 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)

Where: query-interceptor routes /sessions; screen /query-validator/sessions; Roles: unfreeze by the Business Owner of the product that tripped the limit, the Value Guardian, or a governance lead; Manuscript: Book 2, From Data Gateway to Agent Policy Engine; Addendum: Matching Action to Intent; In this manual: Volume 4, chapter 6; Volume 6, chapter 6

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_floors can 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 (step in the response; a write becomes a held draft). If it supports none, the request goes to the HITL queue (reason STEP_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_LIMITS overrides 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.
Declaration is voluntaryAn agent that declares nothing is held to what it always was. A declaration can only ask for a stricter check, never a looser one.

Agent-to-agent transfer

Where: POST /transfers on query-interceptor; MCP tool transfer_data; /query-validator/sessions (Transfers tab); Roles: staged transfers are approved by DATA_STEWARD, GOVERNANCE_LEAD or ESCALATION_QUEUE_REVIEWER; Manuscript: Book 3, Agentic AI Consumption: When One Agent Hands Data to Another; In this manual: Volume 4, chapter 6; Volume 6, chapter 4

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}/approve or /reject). Approving needs the asset unchanged since staging.
  • Every answer is transfer.decided; a person's decision is transfer.reviewed. Only a STAGED transfer raises an alert.
  • An ALLOWED or released transfer adds an AGENT_HANDOFF edge to the lineage graph between the two agents' Statements of Intent.
Built since the manuscriptThe manuscript calls this a direction, not a feature. It is built (ADR 0023). The platform cannot check that the data actually sent matches the hash; it records the claim.

Controlled exploratory mode

Where: /query-validator/explorations; query-interceptor routes /explorations; Roles: DATA_STEWARD, BUSINESS_OWNER, GOVERNANCE_LEAD; Class C only the statement's own Business Owner or a governance lead; never an agent; Manuscript: Book 2, Emergency Data Exploration; In this manual: Volume 2, chapter 8; Volume 4, chapter 7

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_EXPLORATORY and the window id.
  • Events: exploration.opened (alerts the Business Owner and governance) and exploration.closed. A window can be closed early (POST /explorations/{id}/close).
Two different thingsThe manuscript's Break-Glass Tactical Contract is a separate flow in 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

Where: /agents; service agent-registry (port 8021); Roles: administrators register and issue keys; freeze by OPS_ADMINISTRATOR, SUPER_ADMINISTRATOR, GOVERNANCE_LEAD or the interceptor's session guard; webhook by OPS_ADMINISTRATOR or SUPER_ADMINISTRATOR; Manuscript: Book 3, Agentic AI Consumption; Book 2, Query Interceptor Gateway (SoI token identity); In this manual: Volume 5, chapter 3; Volume 6, chapter 2

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}/credentials issues the key once. A new key revokes the old one at once. mcp-gateway checks every call with POST /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}/freeze and /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.
Checked when stored, not when sentThe webhook address check blocks obvious internal targets. A hostname that later resolves to an internal address is not caught, so restrict outbound traffic in your deployment too.

mcp-gateway and pg-gateway as agent front doors, and the Storefront Discovery API for agents

Where: mcp-gateway (port 8022, streamable HTTP at /mcp); pg-gateway (port 8020, Postgres wire protocol); Roles: an agent with an API key (mcp-gateway) or a Statement of Intent token (pg-gateway); Manuscript: Book 3, Agentic AI Consumption, section 4 "Preparing the Storefront API for Agents"; In this manual: Volume 6, chapter 3; Volume 6, chapter 4

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_LISTINGS is shadow by 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_terms with their glossary definitions, trust.drivers saying why each pillar scored what it did, trust.volatility with recalls and the score's lowest, highest and swing over 90 days and days below Certified, and survivorship), 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_query with include_definitions=true also 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.
Differs from the manuscriptThe manuscript says the Interceptor issues a temporary token if the intent matches the contract. Here, asking grants nothing: a person signs the request, and only then can the agent fetch its token. Not to be confused with 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

Where: trust-badge-engine (port 8009), routes /recalls; Roles: automatic on score; manual recall and clearing by governance roles (see Volume 4); Manuscript: Book 3, The Speed of Trust Remediation Guide: The Recall Notice Protocol; In this manual: Volume 6, chapter 8; Volume 4, chapter 4

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.cascaded event 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 recallNotice block: list integrity_hash_invalidated with the action pause_downstream_consumption to 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 listed consent_revoked with pause_downstream_consumption recalls, 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, shadow by 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 by GET /recalls/notices or get_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_history as <KIND>_NOTICE and are served by get_recall_notices for 7 days with advisory: 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/history and /deliveries keep 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.
Differs from the manuscriptRecall Tokens go to agents found through the roles in the affected Statements of Intent. The downstream products are found through lineage and restricted, but a downstream model that is not a registered agent is not reached, and what an agent does with a token is its own design (an agent halting its own mission is out of scope, ADR 0036).

Recall post-mortem report

Where: /reports/recall-post-mortem; reporting (port 8028) /reports/recall-post-mortem/{data_product_id}; Roles: report access is role-limited, and the screen names the roles allowed; Manuscript: Book 3, Remediation Guide, step 4 "The Post-Mortem"; In this manual: Volume 1, chapter 10; Volume 4, chapter 4

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=internal or consumer. The consumer version keeps counts and kinds and loses the people and reasons. public is deliberately rejected with 422, because public distribution was never specified.
  • It is one of the predefined reports declared in the report registry.
Not builtThe manuscript's public transparency report. Also, this report describes a recall; it does not restore or recertify the product. It is generated on request and not stored when a recall is cleared. The event stays visible to agents as volatility instead: 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)

Where: the Lineage tab in the product window (/data-products); lineage-engine (port 8013) GET /lineage/{node_id}/upstream and /downstream; Usage Map at /admin/usage-map; MCP tool get_lineage; Roles: the lineage reads carry no role check of their own in the service; the Usage Map screen is GOVERNANCE_LEAD or OPS_ADMINISTRATOR; Manuscript: Book 2, Data Lineage: The Chain of Custody for Trusted Intelligence; In this manual: Volume 1, chapter 3 (tab named only); Volume 6, chapter 4

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, REJECTED and QUARANTINED (gate results), AUTHORIZES (a Statement of Intent to a product), ACCESSED_BY (with the TDK score and badge at that moment) and AGENT_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) and EXTENDS (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).
Differs from the manuscriptThe manuscript's lineage block in the contract records upstream contract ids and the transformation logic in plain words. The graph here records governance movements; the transformation field is left empty by today's event mappings. Recall recipients are chosen by roles, not by this graph. Nothing observes the upstream edges a contract declares, so nothing compares them with what actually moves; that comparison is deferred. Owners are told through the graph: 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). There is no record-level tracing.

Forensic Ledger: hash chain, attestation, Sentinel, anchoring, tiered verification

Where: /admin/ledger; forensic-ledger (port 8018) routes /integrity, /anchors, /verify, /audit; Roles: GOVERNANCE_LEAD, OPS_ADMINISTRATOR, SUPER_ADMINISTRATOR; Manuscript: Book 3 addenda, Converting Central Audit Log into Immutable Forensic Ledger; How the Immutable Forensic Ledger Works; ISO/IEC 27001 Mapping; In this manual: Volume 4, chapter 13

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, shadow by default; INCLUSION_PROOF_SAMPLE; IMMUDB_STATE_FILE). A failed proof is reported as inclusion_proofs in the run result in shadow and is a BREACH in enforce. An unreachable immudb is skipped. The state file is in /tmp by 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_BUCKET and the other S3_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_id beside 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_ANCHOR makes a missing anchor sink a failure instead of a skip.
Manuscript list is behindThe manuscript's "not built" list for the ledger (outside time-stamp, witness, global sequence) predates ADRs 0010 and 0032. Open points: the platform does not check the time-stamp token's own signature (use 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

Where: /audit; forensic-ledger GET /audit/recent, /audit/by-request/{request_id}, /audit/{data_product_id}, POST /audit/export, GET /audit/public-key; Roles: per screen; Manuscript: Book 3 addenda, ISO/IEC 27001 Mapping for Centralized Telemetry; Book 1, audit payload passages; In this manual: Volume 4, chapter 12

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 by shared/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.
Differs from the manuscriptThe manuscript wants a contract id and SoI reference on every entry. The envelope always has the SoI where the event has one, and now carries an optional 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)

Where: the bell in the header; notification-service (port 8012) GET /notifications, POST /notifications/{id}/ack; Roles: every user reads their own inbox; recipients are chosen by role; Manuscript: Book 2, Telemetry, Monitoring and Alerting: The Notification Policy; In this manual: Volume 0, chapter 9 (the bell only)

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.recall to DATA_STEWARD and GOVERNANCE_LEAD, session.frozen to BUSINESS_OWNER and GOVERNANCE_LEAD, and tdk.weights_proposed to PLATFORM_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.

Not builtThe manuscript's final tier, a Hard Gate that suspends domain access when an alert stays unanswered, and its Trust Restoration event, are not built: escalation only tells people, and the shadow list shows where a suspension would have fallen. This is a decision recorded in ADR 0036, to be revisited if governance wants a suspension that a person can lift. There are no ready-made links to PagerDuty or ticket systems, only the webhook. Closing an incident on a telemetry baseline is not in this service, and the manuscript's severity names (CRITICAL, WARNING, GOVERNANCE) are not stored as such. The separate validator service emails its own report.

Remediation tasks: who fixes what, and by when

Where: notification-service (port 8012), /remediation (REST only; there is no tasks screen); /reports/scorecard; Roles: the assignee or a governance role closes a task; Manuscript: Book 1, Pillar 2, "TDK Remediation Workflows"; Book 3, Remediation Guide; In this manual: Volume 4, chapter 4 lists them and Volume 3, chapter 7 mentions them

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.recall and badge.revoked each 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 (via dual_write).
  • What closes it. gate.pass, badge.certified and badge.recall_cleared close 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 a BELOW_TRUST_FLOOR task 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, and hitl.incident_closed closes 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_orphaned also reaches the product's sponsor.
  • Seeing them. /reports/scorecard counts, per person named on a product, the open, overdue, and closed-on-time or late tasks beside the product's mean TDK.
LimitA task is one record with an owner, a due date and an outcome. The book's Remediation Guide, a case with steps, a due date per step and a status, is not built. There is no data-engineer contact on the product other than the engineering owner. An interim steward who expires after a vacancy is not built either.

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

Where: Build tab of a data product (/data-products); build-engine, port 8015; Roles: BUSINESS_OWNER, DATA_STEWARD, GOVERNANCE_LEAD and SUPER_ADMINISTRATOR trigger a build; Manuscript: Book 3, The Build Engine: Automating Trust and Defining and building Data Products; In this manual: Volume 3, chapter 7

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

  1. 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.
  2. Triage fetches one sample of the live data. An unreachable source is recorded, not fatal.
  3. 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).
  4. The sample is checked against the active contract. A violation is recorded and does not block. A malformed row filter does block (QUARANTINED).
  5. Optional processors run before certification (profile, classify and draft, all off by default). The draft processor (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.
  6. The obfuscate processor (on by default) runs last. A CONFIDENTIAL or RESTRICTED product whose obfuscation cannot be verified is never published. Only then is build.published written.
Differs from the manuscriptThe book describes an engine that generates tables and configures transformations. This one does not move or change data. It orchestrates other services and records what they said. Endpoints: 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

Where: Admin Tools, SME Conflict Review (/admin/conflicts); build-engine, port 8015; Roles: BUSINESS_OWNER, DATA_STEWARD, GOVERNANCE_LEAD (and SUPER_ADMINISTRATOR) declare sources and resolve conflicts; Manuscript: Book 3, Harmonization & The SME Tie-Breaker; Defining and building Data Products (Phase 3); In this manual: Volume 2, chapter 10 (resolving only)

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-catalog tdkScore, supplied by the build), using each source's last_modified_at from 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 DONE or DISMISSED with 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-truth and the Agent tool get_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_SAMPLE on build-engine is c_d by default; always blocks every product; never only records it. Lower and undeclared classes publish with the violation on the trace.
LimitsA build compares one representative record per source, not every row, and one tier per source, not per attribute. Merging whole batches or tables into a Trusted Master Record, and materialising the result, belong to the customer's own systems and are documented, not built (ADR 0036). The follow-up has no screen yet (REST only).

Data product lifecycle and Marketplace entry criteria

Where: product window tabs (Gate, Build, TDK, Passport) at /data-products; data-catalog, entry-gate, build-engine; Roles: steward and owner roles through the stages, GOVERNANCE_LEAD for erasure requests; Manuscript: Book 3, The Data Product Definition, The Data Product Delivery Model, The Data Product Lifecycle; In this manual: Volume 3, chapter 7 (steps only)

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 criterionIn FiduLock
Active parent contract; Statement of IntentEntry Gate steps SOI_PRESENT and CONTRACT_ACTIVE
Plain-language descriptionsPLAIN_LANGUAGE_PASS and GLOSSARY_ALIGNED
Owner accepts accountability; 3-sentence summaryListing needs ownership_accepted_by and a storefront_summary
14 stable days above the lineCertified tier: CERTIFIED badge, history 14 days back, no score under 90 in the window
Lineage signed offThe 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

Where: /marketplace and /marketplace/access-requests; marketplace-api, port 8016; Roles: everyone browses and requests; BUSINESS_OWNER (own products only), DATA_STEWARD, GOVERNANCE_LEAD, ESCALATION_QUEUE_REVIEWER and SUPER_ADMINISTRATOR review; Manuscript: Book 3, The Marketplace Storefront; In this manual: Volume 1, chapter 6; chapter 12; Volume 2, chapter 3

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 carries listing_blockers. STOREFRONT_LISTING_GATE is shadow by default (reports, hides nothing); enforce hides a listing with blockers. A check that could not be made is shown in listing_unverified and 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_EXPANSION at on (default shadow; 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 within FEEDBACK_WINDOW_DAYS, default 30; FEEDBACK_THRESHOLD_MODE is shadow by default, on, off), the report that reaches it emits marketplace.feedback_threshold_reached, and trust-badge-engine opens a FEEDBACK_THRESHOLD recertification (FEEDBACK_RECERT, shadow by default). The product then reads as DRAFT_RECERT in GET /listings/lifecycle. Events also include marketplace.feedback_submitted and marketplace.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

Where: token-economics console, port 8052 (own Keycloak sign-in); charging in marketplace-api, port 8016; Roles: GOVERNANCE_LEAD, OPS_ADMINISTRATOR, SUPER_ADMINISTRATOR; Manuscript: Book 3, Detailed Economics of Trust; In this manual: Volume 5, chapter 9 (one table row only)

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's GET /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_ID and ESCROW_DEPARTMENT_ID name 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/estimate prices 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-allocate in 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.
Check before you rely on itThe platform divides its 0 to 100 score by 10 before the formula, so the book's 0 to 10 formula holds; check that your base price assumes that. The annual budget is a plan until someone allocates it. Escrow and the platform share move only when the two department ids are set; otherwise they are bookkeeping and a refund creates tokens (logged). Return on Intelligence per product is not built: the aggregate producer summary above, and the value-metric report (see Predefined reports), are by department and product.

Data incidents and what they cost

Where: Admin Tools, Incident Costs (/admin/incidents); trust-badge-engine, port 8009; Roles: BUSINESS_OWNER, DATA_STEWARD, GOVERNANCE_LEAD, OPS_ADMINISTRATOR record a cost; Manuscript: Introduction, adoption signals; Book 3, Detailed Economics of Trust (executive measures); In this manual: Volume 2, chapter 9

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 /incidents lists them, and GET /incidents/summary counts costed and uncosted ones.
  • PUT /incidents/{RECALL|DRIFT}/{ref}/cost stores one row per incident. It writes incident.cost_recorded through dual_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

Where: Dashboard (Executive view) and /reports/executive-dashboard; reporting, port 8028; Roles: any signed-in user may open it; aimed at executives, governance leads, business owners; Manuscript: Economics of Trust and Book 3, Detailed Economics of Trust (executive dashboard); Introduction (five signals); In this manual: Volume 0, chapter 6; Volume 1, chapter 10

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.

Read the labelLedger counts are all-time, so on an old platform some ratios move slowly. Departments are the catalog's 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)

Where: /reports and /reports/[reportId]; reporting, port 8028, also at /api/v1/reports on the API gateway; Roles: open to signed-in users, some reports limited to stewards and governance roles; Manuscript: Book 2, The Compliance Passport; Book 3, Detailed Economics of Trust; In this manual: Volume 1, chapter 10

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

ReportAnswers
Executive DashboardOutcomes and adoption signals
Data Source InventoryEach product's source, credential, freshness and errors; flags missing or unused credentials
Data Contract InventoryEvery contract with status, SLAs and tags; coverage gaps
Trust Badge TrendTDK and badge movement; declining or unassessed products
Conflict Resolution TrendHarmonization backlog, time to resolve, winning sources
Data Passport ReportOne product's passport and active contract (YAML), in plain language
Recall Post-MortemTimeline, cause, blast radius and remediation of one recall

JSON-only reports, declared in the report registry:

ReportAnswers
/reports/certification-flowTime 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/scorecardPer 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-linesHeld reads and writes that people approved or rejected, and approvals by Impact Class
/reports/protected-before-readPROXY: share of read products classified before their first granted read
/reports/band-hoursProducts 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

Where: Admin Tools, Usage Map (/admin/usage-map); lineage-engine, port 8013; Roles: GOVERNANCE_LEAD and OPS_ADMINISTRATOR view; GOVERNANCE_LEAD, OPS_ADMINISTRATOR and SUPER_ADMINISTRATOR force a recompute; Manuscript: Book 2, The Statement of Intent Repository; Addendum: Framework Table Inventory; In this manual: Volume 4, chapter 10

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.
Differs from the manuscriptThe book's table also carries a data value metric. The platform stores counts and dates only, so it shows use, not value. The nearest is the value-metric report (/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

Where: Admin Tools, LLM Draft Review (/admin/llm-drafts) and LLM Configuration (/admin/llm-config); llm-governance, port 8014; Roles: SME, GOVERNANCE_LEAD, ESCALATION_QUEUE_REVIEWER, SUPER_ADMINISTRATOR approve drafts; GOVERNANCE_LEAD, OPS_ADMINISTRATOR configure models; Manuscript: Book 1, Pillar 6: LLM-Driven Data Governance; Addendum: Implementation Roadmap; In this manual: Volume 4, chapter 11

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=3 drafts 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 takes chosen_index and 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/metrics against the 80% target.
  • Field descriptions. POST /drafts/field-descriptions/{id} drafts candidates for each data element that has no clear description. Approval takes field_choices per element (-1 skips) and field_edits, and publishes through data-catalog PATCH /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/batch drafts 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 (shadow by default; on; off): a gate.fail for PLAIN_LANGUAGE_PASS drafts 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} and SEMANTIC_DRIFT_CHECK let 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/summary counts them by category and kind with a rejection rate, and flags a backlog older than DRAFT_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_CHECK is shadow by 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.
Differs from the manuscriptDrafting is a request, not a stage inside the Entry Gate (the optional build-engine 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

Where: /users; user-management, port 8002; Roles: OPS_ADMINISTRATOR and SUPER_ADMINISTRATOR change users and keys; most roles can read; Manuscript: Book 1, Pillar 2: Accountability & Ownership and The Human in the Loop; In this manual: Volume 5, chapter 2; Volume 0, chapter 2; Volume 4, chapter 3

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}/competency sets 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 above CONTRACT_OVERSIGHT_MIN_COMPETENCY.
  • Signatures: POST /users/{id}/signature/generate mints 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.
No screenI found no screen that generates a signing key. It is a REST call by an Ops or Super Administrator.

API gateway: JWT, routing, rate limiting

Where: api-gateway, port 8000, path /api/v1/{service}/...; Roles: every signed-in caller passes through it; no role of its own; Manuscript: Book 2, Query Interceptor Gateway (enforcement point, in general terms); In this manual: not covered in the screen volumes

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-frontend or fl-backend. No token or a bad one gives 401. An unreachable Keycloak gives 503. /health and 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-id and x-user-roles from the token and adds an HMAC signature. A Keycloak token's region claim is signed into the forwarded roles as REGION:<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_logged event.

The MCP servers and the pg-gateway are separate front doors with their own authentication.

Admin MCP servers and the admin-ui

Where: catalog-mcp 8023, identity-mcp 8024, governance-mcp 8025, admin-ui 8026 (own Keycloak sign-in, client fl-mcp-admin); Roles: human administrators; each action needs the role its REST endpoint needs; Manuscript: not a manuscript concept; the nearest is Book 3, Agentic AI Consumption; In this manual: Volume 5, chapter 9 (admin-ui row only)

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/call requests. 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)

Where: /admin/departments, /admin/domains, /admin/regulatory-tags; user-management, port 8002; Roles: GOVERNANCE_LEAD, OPS_ADMINISTRATOR, SUPER_ADMINISTRATOR write; Manuscript: Book 3, The Marketplace Storefront (domain navigation); Addendum: Framework Table Inventory; In this manual: Volume 5, chapter 6

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

Where: Platform Monitor (/platform); validator (no port, emailed report); scenario-lab 8053 and scenario-lab-ui 8054; Roles: scenario-lab: DATA_STEWARD, GOVERNANCE_LEAD, OPS_ADMINISTRATOR, SUPER_ADMINISTRATOR; Manuscript: Book 1, Pillar 5: Continuous Health Monitoring (the idea); the tools themselves are not in the book; In this manual: Volume 5, chapter 8; chapter 10; chapter 9

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)

Where: no screen; a plan you carry out with the platform; Roles: sponsor, governance SME and platform engineer; Manuscript: Addendum: Implementation Roadmap (with Framework Table Inventory); In this manual: not covered in the screen volumes

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 itemPlatform capability
Phase 1: TDK scoring enginehealth-monitor; Trust Badges
Phase 1: AI metadata drafting (three candidates)llm-governance description drafts
Phase 2: Parent/Child inheritancechild contracts in contract-engine
Phase 2: Query Interceptorquery-interceptor and its two front doors
Phase 3: Intelligent security triagesecurity-profiling and the data passport
Phase 3: Automated recalltrust-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/jargon in 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-flow shows the enterprise TDK average over products certified today (live only), and the maturity ladder shows where products stand.
No phase switchThe platform ships every capability together. Phasing is your choice of what you rely on first. The later baseline steps (the same questions asked twice) are not automated.