# Offer certified logic to an agent and it routes around it. Make it the path.

> Lab 033 · Editorial lab · Status: published · Author: Keith Townsend · November 27, 2026  
> Published by The CTO Advisor LLC (The Advisor Bench) · Layer2C Labs  
> Canonical: https://labs.layer2c.com/labs/certify-once · Structured: https://labs.layer2c.com/labs/certify-once.json

**Finding:** Offered certified logic through the Model Context Protocol (MCP), the agent chose its own path. With Qlik’s governed measures one call away, it used one in 13 of 132 runs on the definition questions and answered the rest from knowledge-base text and field lookups. With certified functions as its own tools, it called one in 119 of 132 runs, then counted and restated what came back itself, and nothing checked that step. Making the certified logic the path doesn’t ensure the right answer. It ensures every agent takes the same path to it. The pre-registered comparison of Qlik against the certified functions is inconclusive.

**Question:** The pitch: certify the business logic once, in a platform IT runs, point every agent at it, and every agent gets the same answer. This lab put nine certified definitions behind two MCP servers, one of plain functions and one of Qlik’s governed measures, and had Claude Sonnet answer 75 questions three ways, three times each. The loss: left to choose, the agent picks its own path, and nothing makes the next agent pick the same one.

**Load:** Questions about the Layer2C 4+1 assessment corpus: 51 vendor rows, 510 layer cells and 32 labs. 75 questions, 44 of which need at least one of nine certified definitions to answer correctly. Three routes, three runs per question per route, 675 runs: re-derive from the raw records, call certified functions, or compose Qlik’s governed measures and knowledge base. Graded against an answer key written independently by Gemini from the public records, with code checks on 279 hard values, two raters from other model families, and human adjudication of every disagreement. Qlik Answers and an expert arm were added after the results.

**Raw lab detail:** https://labs.layer2c.com/downloads/certify-once-lab-detail.md
**Vendors:** Qlik (cloud), Anthropic (model), Google (bench), OpenAI (bench)
**Layers:** Layer 1A (Data), Layer 1B (Retrieval), Layer 2C (Reasoning)
**Themes:** authority-placement, evidence-provenance, validator-authority

## Verdict

**Scope:** One consumer model (Claude Sonnet 5.5), one corpus and one platform, Qlik Cloud, reached through its MCP Server and through Qlik Answers. The headline set is the 44 definition-bearing questions. The pre-registered comparison of Qlik against the certified functions is inconclusive: the interval spans the margin set before the runs, and every route scored below the 0.80 fidelity floor. The routing finding comes from the call logs: which tools each run called, and which call’s result states each checked value. Qlik Answers, the vendor’s own path, is a by-the-book arm added after the results and labeled that way. No route in this phase made the certified logic the only path, so “make it the path” is a recommendation this phase didn’t test. The open question: once code takes the answer’s last step, how much do the answers move?

- **DO:** Make the certified logic the path, so the agent doesn’t decide whether to use it. That ensures every agent takes the same path to an answer. It doesn’t ensure the answer is right: the certified functions scored below re-deriving from raw records. This lab didn’t test the path itself, because every route offered the logic beside other tools. Where the agent did use the certified functions, they won what every other route drifted on: the definition trap, and mapping old lab labels onto today’s layers. Lab 23 tested a version of the path in another workload: once consent was decided in code, forbidden bookings fell to zero in pressure sessions, while a bug in the code path still made one unconsented booking per run and completed bookings fell.
- **DON'T:** Don’t count on a governed semantic layer behind an MCP server being used. With Qlik’s governed measures one call away, the agent used one in 13 of 132 runs on the definition questions, and 5 more computed with an expression it wrote. Of 309 counted claims, 9 came from a measure and 2 from certified fields. The rest came from knowledge-base text (134), from the agent’s own counting over retrieved text (118), from expressions it wrote (18), or a mix (28). The cause isn’t assigned: it may be how the platform surfaces measures, or how this lab named them.
- **DON'T:** Don’t stop at the call log. The certified-functions route called a function in 119 of 132 runs on the definition questions. Then it counted the cells a function returned, and restated the definition in its own words, and nothing checked that step. On the definition trap it named the right leader in all three runs and still described the rule as “at least one” component, which is wrong.
- **DON'T:** Don’t expect the vendor’s own assistant to close the gap. Qlik Answers, the shape Qlik promotes for this use, scored 4.5 in 10 on the definition questions, against 5.7 for the outside agent through Qlik’s MCP Server and 6.3 for the certified functions. Its gap to the outside agent touches zero (−17 to 0 points); its gap to the certified functions doesn’t. Where its answers came from wasn’t measured.
- **DO:** Measure the path, not only the answers. A correct answer built from text instead of the certified logic passes today and carries the same risk into a harder question. A third to two-thirds of the misses on each route were silent: wrong, with no hedge.

**Independence and disclosure:** Self-funded editorial. Disclosure: Qlik is a content client of The CTO Advisor and provided the Qlik Cloud tenant used for testing. Qlik didn’t review this lab for accuracy or editorial before publication. Google Cloud is a client: Google’s Gemini wrote the answer key, was one of the two raters, and peer-reviewed this record before publication. Anthropic’s Claude answered on every route, and an Anthropic model ran the analysis under my direction and drafted this record. OpenAI’s codex built two of the arms and was the other rater. Gemini’s review was a model run under my direction; no one at Google, Anthropic or OpenAI reviewed this page. No vendor paid for this answer.

## Measured

| Measurement | Result | Note |
| --- | --- | --- |
| Fidelity on the 44 definition questions, by route | Re-derive 0.697 · certified functions 0.629 · Qlik via MCP 0.568 · Qlik Answers 0.455 · Qlik Answers with the vCTOA corpus 0.523 | Share of runs judged correct, averaged over questions, certified rubric. Corpus-independent rubric: 0.712, 0.606, 0.568, 0.432, 0.500. All 75 questions: 0.702, 0.693, 0.529, 0.471, 0.520. The vCTOA-corpus arm is one run per question. |
| Qlik via MCP minus certified functions, the pre-registered comparison | −0.061, interval −0.141 to +0.051 | Paired by question, Jeffreys. The interval spans the 0.10 margin, so the verdict is rule 1, inconclusive. Every route sits below the 0.80 floor. |
| Runs that used the certified logic, 44 definition questions | Qlik via MCP: a governed measure in 13 of 132 · certified functions: a function in 119 of 132 | From the call logs. 5 more Qlik runs computed only with an expression the agent wrote; the other 114 answered from knowledge-base text and field lookups. |
| Counted claims a computing call states, Qlik via MCP | 9 of 309 from a governed measure, 2 from certified fields | All 75 questions. Knowledge-base text 134, counted by the agent from retrieved text 118, mixed 28, agent-written expressions 18. On the 44 definition questions: 4 of 156 from a measure and 2 from certified fields. |
| Counted claims a computing call states, certified functions | 39 of 309 from a certified function | All 75 questions. 1,436 function calls and 1,559 record-retrieval calls. Retrieved records 134, counted by the agent 119, mixed 17. A count the agent made from a list a function returned is credited to the agent. On the 44 definition questions: 18 of 156. |
| Qlik Answers against the other routes | −0.114 against Qlik via MCP, −0.174 against certified functions | Intervals −0.174 to +0.000 and −0.239 to −0.022. On all 75 questions, against Qlik via MCP: −0.058 (−0.110 to +0.022). By-the-book arm, added after the results, outside the pre-registered verdict. Provenance not measured. |
| Questions every route failed | 8 of 44 | Seven open advisory questions graded against one frozen synthesis, and the definition trap. On the other 36: re-derive 0.852, certified functions 0.769, Qlik via MCP 0.694, Qlik Answers 0.556, with the vCTOA corpus 0.639. |
| The definition trap: layers Retained on decision authority with every component Ceded for portability | Certified functions and Qlik Answers each named the right leader in 3 of 3 runs | Re-derive and the expert arm counted layers where any component is Ceded for portability and named ServiceNow and Dell. Qlik via MCP said it couldn’t compute the count. The certified-function runs still failed: the agent described the rule as “at least one” component, and two runs missed code-checked totals. Qlik Answers, added after the results, used the governed measure, gave the leader and the tie behind it, and missed the code-checked totals. Updated November 28, 2026. |
| Layer remapping, two questions | Certified functions 3 of 3 on both · expert arm 0 of 3 on both | Mapping Lab 14’s pre-split Layer 0 onto 0A, and Lab 1’s “Layer 1A · Storage” onto the current cell. |
| Expert arm: the author’s frozen assessment agent | 0.720 | Frozen 2026-11-13, run on Claude Sonnet over phase 1’s records, added after the results. Against re-derive +0.023, certified functions +0.091, Qlik via MCP +0.152. |
| Silent misses, wrong with no hedge | Re-derive 60 to 65% · certified functions about 50% · Qlik via MCP 32 to 47% | Share of wrong runs. The range is the two raters; this call wasn’t adjudicated. |
| Adjudication | 687 phase 1 items, all resolved | Plus 138 for the expert arm and 370 for Qlik Answers. The author ruled the first 25 units; his assessment agent proposed the rest under his review. |
| Author time | 23.5 hours, about $4,700 at a $200 floor | From message timestamps in 15-minute stretches, a floor. Consumer runs went through a subscription; their API-equivalent cost is about $108 for phase 1 and about $135 with the expert arm. |

## Authority placement (DAPM)

**Reading:** Decision authority: who makes the runtime decision at this layer, and can the enterprise see and override it?

| Layer | Re-derive (A) | Certified functions (K) | Qlik via MCP (B) | Qlik Answers (QA) | Basis |
| --- | --- | --- | --- | --- | --- |
| Layer 1A (Data) | Ceded | Retained | Retained | Retained | Who decides what a certified definition computes. In A the model reads the methodology prose and decides how to apply it each time: Ceded on decision authority. In K the enterprise’s code decides. In B and QA the enterprise wrote the master measures and Qlik’s engine runs them as written, so the definition stays the enterprise’s. A separate property, not this table’s: the measures are Ceded for portability, because they’re written in Qlik’s expression language. The canon reads Qlik’s whole Layer 1A, catalog and lakehouse together, as Delegated on decision authority. This lab read one thing in that layer, the master measures the enterprise wrote, and found the enterprise decides what they compute. The disagreement is recorded as evidence for the next assessment of Qlik’s row, not resolved here. |
| Layer 2C (Reasoning) | Ceded | Ceded | Ceded | Ceded | Who determines that an answer is done. On every route the model composing the answer does: Claude Sonnet in A, K and B, and Qlik’s assistant in QA. Nothing in code checks the answer against the certified result before it stands. That’s why K matches A here, though K’s functions were called in most runs. Certifying the definition moved 1A; it didn’t move 2C. Making the certified logic the path means 2C becomes Retained on decision authority, with code composing or checking the answer. No route in this phase did that. The canon reads Qlik’s 2C as Absent, a reasoning plane the buyer brings through MCP, and places Qlik Answers at retrieval, execution and the application layer. The Qlik via MCP column agrees: the consumer model decides. The Qlik Answers column doesn’t, because Answers composed and finished every answer it gave. That’s recorded as evidence for the next assessment of Qlik’s row, not resolved here. |

## What this does not establish

- That making the certified logic the path improves the answers. No route in this phase did it. The claim is that it makes every agent take the same path, not that the path reaches the right answer.
- That Qlik is better or worse than certified functions. The pre-registered comparison is inconclusive on 44 questions.
- Why the agent rarely used Qlik’s governed measures. It may be how the platform surfaces them through its MCP Server, where the Qlik tools load through a deferred tool search, or how this lab named and documented them. This phase gave the certified-logic premise little direct exposure on Qlik.
- Anything about other consumer models or platforms. One model family answered every route. ServiceNow and other systems of record weren’t tested.
- That IT as the provider of certified services works or fails as an operating model. This lab tested one piece of that premise: whether an agent uses certified logic when it can reach it.
- That Qlik Answers is weak in general, or worse than the outside agent. It ran on this workload, over a copy of this app whose measure descriptions Qlik’s AI had rewritten, through a browser, with an underlying model Qlik doesn’t name, and it was rated in separate packets from phase 1. Its gap to the outside agent touches zero. Updated November 28, 2026: the model is now known, Claude Sonnet 5.5, the same as every other route; see the dated method note.
- That the fidelity scores are a ceiling. The advisory-question grading holds every route down; that’s a limit of the key, not of the agents.
- That a claim credited to the agent is wrong. Provenance traces which call’s result states each checked value. A count the agent made from a function’s list, or from retrieved text, may be right; it just isn’t stated by a computing call.
- That the grading is independent of the author. The author’s assessment agent, which wrote the records, also wrote the grading standards and proposed most rulings, under his review. codex attacked every set of standards, and Gemini’s key and the code checks come from outside that oversight.

## Open questions

- **Once code takes the answer’s last step, how much do the answers move?** Every route in this phase left the agent free to choose its path, and the path varied. Making the certified logic the path ensures the same path every time; it doesn’t ensure the right answer, and the certified functions scored below re-derive here. Phase 2 puts the answer’s last step in code, composing or checking it against the certified result, and measures both the answers and the path.
- **How do you grade an open advisory question?** Seven of the eight questions every route failed are advisory questions graded against one frozen synthesis, and good answers citing different correct evidence fail them. Phase 2 grades them on their core judgment, so the key stops holding every route down.

## Objection handled

**The outside agent was holding Qlik wrong. Qlik builds Qlik Answers for exactly this. Test that.**

I did, after the results. Qlik’s application surface points at Qlik Answers for the virtual knowledge worker case, so it went in as the by-the-book arm, labeled as discovered after the results and kept out of the pre-registered verdict. It ran over a copy of the same governed app and the same knowledge base, 75 questions, three runs each, and was graded on the same key and the same ratified standards.

It scored 4.5 in 10 on the 44 definition questions. The outside agent working through Qlik’s MCP Server scored 5.7 and the certified functions 6.3. Against the outside agent the paired difference is −11 points, interval −17 to 0, so that gap isn’t established; on all 75 questions it’s −6 (−11 to +2). Against the certified functions it’s −17 (−24 to −2). Adding my vCTOA corpus as a second knowledge base raised Answers to 5.2, on one run per question.

So on this workload the vendor’s path didn’t close the answer gap, and it was clearly below the certified functions. Where its answers came from wasn’t measured, so this says nothing about whether it used the governed measures. The confounds: it was rated in separate packets from phase 1; the underlying model isn’t named by Qlik; it was driven through a browser, because Qlik’s published API reaches Answers over knowledge bases only, not over app data; Qlik’s AI rewrote the master item descriptions on the app copy, and they were left as they were; and it left selections standing 25 times, each cleared before the next question. Updated November 28, 2026: Qlik has since said Answers runs on Claude Sonnet 5.5 on this tenant, the model every other route used.

## Assessments at the time of the lab

| Vendor | Layer | Grade | As assessed |
| --- | --- | --- | --- |
| Qlik (Cloud Analytics + Talend Cloud + Open Lakehouse) | Layer 1A · Data | Open Lakehouse on Your Substrate; Field-Level Semantic Types, Sensitivity and Tags in a Captive Catalog | October 27, 2026 |
| Qlik (Cloud Analytics + Talend Cloud + Open Lakehouse) | Layer 1B · Retrieval | Turnkey RAG, Closed Box | October 27, 2026 |
| Qlik (Cloud Analytics + Talend Cloud + Open Lakehouse) | Layer 2C · Reasoning | Bring Your Own Reasoning Plane (MCP-First) | October 27, 2026 |

## Summary

The lab tested a premise about where enterprise IT is heading: IT certifies business logic once, as governed definitions in a platform it runs, and every agent that needs an answer calls it. Nine definitions (D1 to D9) were frozen before any build, covering how the Layer2C corpus counts placements, names leaders and maps old lab labels onto the current layers. 44 of 75 questions need at least one of them.

Three routes answered every question, with Claude Sonnet 5.5 as the consumer in a fresh headless Claude Code session per run. A re-derives from the raw records with read-only SQL and file search. K calls the nine definitions as functions behind a local MCP server, beside record retrieval tools. B reaches one Qlik Cloud app through Qlik’s MCP Server: the records as fields, the definitions as master measures, the corpus text as a Qlik knowledge base. One coding agent from another vendor (OpenAI’s codex) built K and B to the same acceptance suite. Each question ran three times per route, 675 runs.

Grading: Gemini wrote the answer key from the public records, blind to the consumer and the builder, and the author checked it against a deterministic reference before the arms were built. Code checks 279 hard values. Two raters from other model families (codex and Gemini) judge every required claim, and every disagreement was adjudicated: 687 items in phase 1. Comparisons are paired by question, with Jeffreys intervals against a 0.10 margin and verdict rules written before any data.

Fidelity on the 44 definition questions, certified rubric: re-derive 0.697, certified functions 0.629, Qlik through MCP 0.568. Qlik minus certified functions is −0.061 (interval −0.141 to +0.051). The interval spans the margin, so the pre-registered verdict is rule 1, inconclusive. Every route sits below the 0.80 floor.

The call logs carry the finding. On the 44 definition questions, the agent used a Qlik governed measure in 13 of 132 runs and answered the rest from knowledge-base text and field lookups. It called a certified function in 119 of 132 runs. Where the function returned a list, the agent counted it itself, so the scorer, which credits a count only to a call whose result states it, credits those counts to the agent. Across all 75 questions, 9 of Qlik’s 309 counted claims came from a measure and 39 of the certified route’s 309 from a function; on the 44 definition questions, 4 and 18 of 156.

Eight of the 44 questions failed on every route. Seven are open advisory questions graded against one frozen synthesis, where good answers citing different correct evidence fail. The eighth is the definition trap: which vendors have the most layers Retained on decision authority where every component is Ceded for portability. Re-derive and the expert arm counted layers where any component is Ceded for portability and named ServiceNow and Dell. Qlik’s route said it couldn’t compute the count. The certified functions named the right leader in all three runs, but the agent described the rule as “at least one” component, and two runs missed totals a code check enforces. Updated November 28, 2026: plain Qlik Answers, added after the results, also named the right leader in all three runs, through the governed measure, and failed on the same code-checked totals; see the dated method note. On the other 36 questions: re-derive 0.852, certified functions 0.769, Qlik through MCP 0.694.

Two arms were added after the results. Qlik Answers, the vendor’s own assistant over a copy of the same app and knowledge base, scored 0.455, and 0.523 on one run per question with the vCTOA corpus added as a second knowledge base. The author’s own assessment agent, frozen before the lab and run on Sonnet over the same records, scored 0.720, the best of any route, but went 0 of 3 on both layer-remapping questions, where the certified functions went 3 of 3. That agent wrote the records that carry the old labels.

## Detail

Certify once is a familiar enterprise pattern. A semantic layer, a metrics store or a set of governed measures holds the definition of a number, and every report draws on it so two reports can’t disagree. The agent version of the pitch is that the same definitions, exposed through MCP, keep every agent consistent too. The lab asked whether an agent given that access uses it, and whether the answers are better when it does.

The answers say little on their own. Re-deriving from raw records scored highest of the three pre-registered routes, and the interval between Qlik and the certified functions is too wide to call. The call logs say more. With Qlik’s measures beside a knowledge base, the agent mostly answered from the knowledge base. With certified functions as its own tools, it called them, then took the last step itself: counting what a function returned and restating the rule in its own words. On both routes the agent chose the path, and the path varied from run to run.

Where the agent did lean on the certified logic, it won exactly the questions where reasoning drifts: a definition that reads one way in prose and computes another, and old lab labels that have to map onto today’s layers. The author’s own assessment agent, which wrote the records, scored best overall and missed both remapping questions, because the records carry its old labels. A rule that lives in prose drifts even under its author. A rule in code holds, as far as code carries it.

Earlier labs show pieces of the same shape without setting out to test it. In Lab 14 the model called an optional test gate once, after it had already decided it was done. In Lab 19 a frontier model advisor was available in 12 of 15 sessions and never invoked: an optional tool left unused, though not deterministic logic. Labs 23 and 25 show the other half: a deterministic check fails when the model supplies the facts it checks, and holds when code does. This lab didn’t set out to test Deterministic Code In The Loop (DCITL). It found that an agent left to choose its path to certified logic doesn’t take the same one twice, and that only code can make it.

## Method and disclosure

Self-funded. Qlik provided the Qlik Cloud tenant and had no part in the design, runs, grading or verdict. No vendor was briefed or given advance sight.

Design: nine certified definitions, the question set, the answer key, the verdict rules and the scoring method were frozen in rulings 1 to 49 before the scored runs. Ruling 50, which added adjudication guidance rules, and ruling 51, which brought in Qlik Answers, came after the results were visible. The question set and the answer key stay proprietary.

Arms: K and B were built by codex (gpt-6.1-terra, high reasoning) in a staged directory, to one acceptance suite with a cap of three rounds each. B took a fourth round, disclosed, that changed only how its knowledge-base documents were tagged. The builder never touched the tenant. B’s data went up as 12 CSV files uploaded by hand through the Qlik hub, and its 84 knowledge-base documents the same way; its load script went through MCP and was read back byte-identical, and its 20 master measures were created verbatim from the builder’s files. The consumer was Claude Sonnet 5.5 in headless Claude Code, one fresh session per run in an empty directory, tools restricted per arm, a 12-turn limit, runs in random order. B’s Qlik tools load through Claude Code’s deferred tool search; K’s load directly.

Grading: an answer key by Gemini through the Antigravity command-line tool, checked by the author against a deterministic reference before the arms were built; code checks on 279 values, frozen before the standards; two raters, codex and Gemini, blind to arm with tool names stripped. The author ruled the first 25 disputed units. His assessment agent wrote the grading standards from the key and proposed the remaining rulings; codex attacked every set of standards; the author ratified them, settled low-confidence calls himself or by his precedents, and spot-checked confident calls at random. He overruled the agent once in phase 1 and twice in the Qlik Answers queue.

Departures and defects, disclosed in the lab detail: guidance rules written after answers were visible; a matcher that missed capitalized and hyphen-glued values, corrected where caught; raters that never saw the key’s false premises (an audit of all 79 affected passing answers found none that accepted one); code checks that bind values the standards later called support; raters that disagreed in one direction; imperfect blinding, since vendor names are content; 11 Qlik runs that set selections in parallel; and part C, whether a wrong answer flagged its uncertainty, left unruled.

Added after the results and labeled that way: Qlik Answers (browser-driven, selections it left standing cleared between questions, Qlik’s AI rewrite of master item descriptions left as it was on the app copy), the expert arm (the author’s assessment agent frozen 2026-11-13, a later Claude Code version, built-in read tools, adjudicated by the live version of the same agent with references to its own memory redacted), the false-premise audit, the key sensitivity reading and the eight-question cut.

Peer-reviewed before publication by Gemini, instructed to attack the record against its build log and the published labs. It raised eight claims; all were upheld in whole or part and the record corrected. The ledger is kept with the lab’s working notes.

An Anthropic model, Claude, built the scorer and harness and drafted this record under the author’s direction. The question set, the answer key and the method for assessing a vendor’s placement are not published.

Updated, November 28, 2026. After publication, Qlik responded with a rebuild of this setup on the same tenant. Paraphrased fairly, in five parts: (1) Qlik Answers runs on Claude Sonnet 5.5 on this tenant; (2) on the definition trap, Answers chose the governed measure and then grouped by the lab’s join-vendor dimension, which isn’t linked to the cells, so every vendor showed 27, and on Qlik’s copy a plainer description on the vendor dimension, or a skill telling Answers to prefer master items and, when a breakdown shows the same value on every row, to treat that dimension as unlinked and switch it, fixed it; (3) an outside agent on Qlik’s copy used the governed measure on every run of the trap, which Qlik reads as the low measure use in route B depending on what else the agent can reach; (4) an Answers API reaches app data and records each tool step, so Answers can run headless in the same harness as the other routes, and Qlik said it’s private for now and expects to make it public within weeks; (5) the master item descriptions Qlik’s AI rewrote should be restored before any rerun. The lab’s read: (1) removes an unknown. Every route answered with the same model, but the routes still differ in tools, descriptions and grading packets, so the cause of the gap between Answers and the outside agent isn’t isolated. (2) fits one of the four Answers runs on the trap, the corpus assistant’s. In the three plain Answers runs, Answers used the governed measure and the vendor dimension and named the right leader and the tie behind it. Those runs failed because they didn’t give the 27-cell, 18-vendor totals, which the ratified standard treats as support but a code check frozen first enforces, and because their restated rule left out “every component.” The certified functions missed the same totals in two runs and stated the wrong rule, “at least one” component. Qlik’s fixes were measured on Qlik’s copy, not here, and get no verdict. (3) and (5) are inputs to phase 2, and (4) is how phase 2 can measure Answers’ path; a rerun on it will be disclosed as a pre-release venue. The scores, the verdict and the finding stand as measured.

---
*Layer2C Labs · The CTO Advisor LLC (The Advisor Bench) · labs.layer2c.com*
