Hamza Fayz
Home/ Case Studies/ Truth Layer Console
Case · 09·Intelligence·Governed query agent

Ask the Truth Layer. Get an answer grounded in the model.

A natural-language console on top of the same governed ERP model that powers procurement truth, cost control, workforce cost, invoice intake, and HR intelligence. Answers carry their source tables, their validation status, and a response type — so an executive can trust the result without running the query themselves.

SurfaceNatural-language console
GroundingModeled ERP tables
ScopeProcurement · HR · Cost · Intake
OutputSummary · KPI · lineage
Architecture · ERP → answer Governed path
01 · SourceERP + ops tables
02 · LayerModeled & validated
03 · AgentGoverned query
04 · OutputExecutive answer
Every answer carries
Summary
KPIs
Source tables
Validation
Try the console

Nine real questions an ERP operator actually asks.

Click any prompt — the answer draws from the governed model. Follow-up chips chain to the next question. This is a portfolio demo: answers come from pre-modeled tables, not from generative guessing.

Truth Layer Console · live Model version · v14 Tables · 11 governed Latency · 42 ms
>
ResultReady
Pick a prompt above — the console answers from the governed ERP model.
Why this is not a chatbot

A query console, not a generator.

Three control patterns separate a governed query agent from a generic AI toy.

Pattern 01 · grounding

Every answer walks back to a table

No free-text generation. The console reads from modeled tables (PO_Lines, Invoice_Intake, WBS_Facts, Workforce_Cost, HR_Profile…) and surfaces the lineage alongside the answer.

answer = fn(modeled_tables, rule_catalog)
Generic chatbot
Sourcegenerated text
Trustlow
Governed agent
Sourcemodeled tables
Trustdefensible
Pattern 02 · validation

Every answer is checked against the rule catalog

The same rules that govern the source data (allocation, three-way match, lifecycle, compliance windows) validate the answer before it's shown. If a rule fails, the answer says so.

validate(answer) = Σ rule_result @ R-001..R-N
Unchecked
Edge casesmay slip
Statusunknown
Rule-checked
Edge casesflagged
Statusdeclared
Pattern 03 · executive shape

Answers have a standard operational shape

Summary + KPI + exception badges + source + follow-up — every time. Leadership reads the same shape on every question. No guessing where to look.

shape = { summary, kpis, badges, trust, followups }
Free-form
Reading costper answer
Decision timeslow
Standard shape
Reading costflat
Decision timefast
What makes an answer defensible

Four indicators on every response.

The console shows them below every answer — so the user doesn't have to ask "where did this come from?"

SourceGoverned ERP modelNot live search · not generated
Tables usedNamed · per answerReal tables — PO_Lines, HR_Profile, etc.
ValidationRule-checkedPasses R-001..R-N or flags
Response typeDeclaredSummarized · aggregated · filtered
Connected to the rest of the portfolio

The console reads from every other case.

Every answer maps to tables backed by the artifacts already shipped on this site. The console is the read surface — the other cases are the data it reads from.

Case · 01

D365 Project Cost Control Engine

Feeds: WBS_Facts · Activity_Cost · Allocation_Rule. Questions answered: WBS/activity summary, committed vs invoiced vs remaining, drill by activity.

Open case →
Case · 02

Smart Cost Intelligence Layer

Feeds: Rule_Catalog · Rule_Versions · Replay_Log. Validation status and rule lineage on every answer come from this layer.

Open case →
Case · 04

Procurement Truth Model

Feeds: PO_Header · PO_Lines · Vendor_Master · GRN_Log. Answers PO summary, three-way match, and allocation questions.

Open case →
Case · 06

True Employee Cost Intelligence

Feeds: Workforce_Cost · Cost_Components · Role_Benchmark · GOSI_Rates. Answers role cost, TCE, cost-per-head defensibly.

Open case →
Case · 07

Invoice Intake → Expense Journal

Feeds: Invoice_Intake · Validation_Log · Approval_Routing · Expense_Journal_Draft. Answers the intake / approval / journal state questions.

Open case →
Case · 08

Governed HR Compliance Layer

Feeds: HR_Profile · Contract_Master · Compliance_Alerts · Insurance_Coverage. Answers contract / insurance / compliance risk questions.

Open case →
Outcomes as signals

What the console is meant to replace.

Screen hoppingCollapsedone surface · 9 question types
"Where's this from?"Always answeredsource tables on every reply
Executive reading timeFlatsame shape, every answer
ScopeGovernedsays no when it can't answer