Offer certified logic to an agent and it routes around it. Make it the path.
By Keith Townsend · November 27, 2026
Thread: Where does a deterministic check stop protecting you? · 7 of 7 · ← Lab 030
Thread: What does a managed platform decide for you, and what do you run when you take it back? · 6 of 6 · ← Lab 032
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.
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.
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.
I asked an AI agent which vendors have the most layers Retained on decision authority where every component is Ceded for portability. It had a certified function for exactly that rule, one call away. It called the function and named the right leader in all three runs. Then, in its own words, it told me the rule was "at least one" component. Right answer, wrong rule, and nothing checked the sentence it wrote.
That's the lab in one exchange. The premise I've been working toward is that IT becomes the provider of reconciled data and certified business services. You certify the business logic once, in a platform IT runs, and point every agent at it through the Model Context Protocol (MCP). Every agent gets the same answer. It's the semantic layer argument, extended to agents. So I tested one piece of it. When an agent can reach certified logic, does it use it?
I put nine certified definitions behind two MCP servers. One held plain functions I control. The other was Qlik Cloud, with the definitions written as governed master measures and the corpus text loaded as a knowledge base. Claude Sonnet answered 75 questions about the Layer2C corpus three ways, three times each. It could call the certified functions, go through Qlik's MCP Server, or re-derive everything from the raw records. 44 of the questions need at least one certified definition to answer correctly.
Did the agent use it?
Mostly not through Qlik. With Qlik's governed measures one call away, the agent used one in 13 of 132 runs on the definition questions. It answered the rest from knowledge-base text and field lookups. I can't tell you why yet: it may be how the platform surfaces measures through MCP, or how I named them. The behavior is clear even if the cause isn't.
The certified functions looked better on the call log, where the agent called one in 119 of 132 runs. However, the log hides the last step. When a function returned a list of cells, the agent counted them itself. When it explained an answer, it restated the rule in its own words, which is how "every component" became "at least one." Nothing checked either step.
So on both routes the agent chose its own path, and the path changed from run to run. That's the finding, and it's why the title says what it says. If you want the agent to use the tool, you can't leave it up to the agent. Make the certified logic the path.
I want to be careful about what that buys you. Making it the path doesn't ensure the right outcome. It ensures every agent takes the same path to that outcome. That's a narrower promise, and it's the one IT can actually keep.
Was it at least right?
Not clearly. The comparison I registered before the runs was Qlik against the certified functions, and it came back inconclusive. Re-deriving from raw records scored highest, at 0.697. The certified functions scored 0.629 and Qlik through MCP 0.568. Every route sat below the 0.80 floor I set going in.
Some of that is my grading, not the agents. Eight of the 44 questions failed on every route. Seven are open advisory questions graded against one frozen synthesis, and good answers that cite different correct evidence fail them. Take those out and re-derive scores 0.852.
But look at where the certified logic won. It won the definition trap from the opening. Qlik Answers, working from Qlik's governed measure, named the same leader. Both still failed the graded question. It also won two questions about mapping old lab labels onto today's layers, 3 of 3 on both. Those are the questions where reasoning drifts, because the definition reads one way in prose and computes another.
Here's the part that stung. I ran my own assessment agent against the same records, the one I use to grade vendors, frozen before this lab started. It scored 0.720, the best of any route. It went 0 of 3 on both remapping questions. That agent wrote the records that carry the old labels, under my oversight. A rule that lives in prose drifts even under its author. A rule in code holds, as far as code carries it.
Was I holding Qlik wrong?
That's the fair objection. Qlik's application surface points at Qlik Answers for the virtual knowledge worker case, not at an outside agent calling its MCP Server. So after the results, I added it as the by-the-book arm and graded it on the same key.
It scored 4.5 in 10 on the definition questions. The outside agent through Qlik's MCP Server scored 5.7, and the certified functions 6.3. The gap to the outside agent touches zero, so I won't call Answers worse than that route. The gap to the certified functions holds. Adding my vCTOA corpus as a second knowledge base raised it to 5.2, on one run per question.
The confounds are real. Answers was graded in separate packets. After I published, Qlik told me Answers runs on Claude Sonnet 5.5 on this tenant, the same model behind every other route. So the model isn't an unknown anymore, but the routes still differ in tools and setup, and I haven't isolated what causes the gap. I drove it through a browser, because the published API reaches Answers over knowledge bases only, not app data. Qlik has since pointed me to an API that reaches app data and records each tool step. It's private for now, and Qlik expects to make it public soon. That's how a rerun can measure the path. And I didn't measure where its answers came from. So this doesn't tell you whether Answers used the governed measures. It tells you the vendor's own path didn't close the answer gap on this workload.
So what?
I didn't set out to test Deterministic Code In The Loop (DCITL). This was a semantic layer lab. It ended up pointing the same direction as earlier ones. 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 sat available in 12 of 15 sessions and never got invoked. Labs 23 and 25 showed the other half: a deterministic check fails when the model supplies the facts it checks, and holds when code does.
What this lab didn't prove matters as much. It didn't prove Qlik better or worse than certified functions. It didn't test ServiceNow or any other system of record, and it used one model family. And it didn't prove that making the logic the path improves the answers, because no route here did that.
That's the next test. Put the answer's last step in code, composing or checking it against the certified result, and measure both the answers and the path. If IT is going to be the provider of certified business services, it can't stop at publishing them behind an MCP server. An agent left to choose takes its own path every time. Only code makes it take the same one twice. Does that consistency buy better answers, or just more predictable ones?
The numbers
Where each layer belongs
Read for decision authority. Who makes the runtime decision at this layer, and can you see and override it? How to read this table
| Layer | Re-derive (A) | Certified functions (K) | Qlik via MCP (B) | Qlik Answers (QA) |
|---|---|---|---|---|
Layer 1A · Data Data Foundation & Governance 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. | Ceded | Retained | Retained | Retained |
Layer 2C · Reasoning Agentic Infrastructure — The Reasoning Plane 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. | Ceded | Ceded | Ceded | Ceded |
Assessments at the time of the lab
Where this fits
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.
The essay on this page was drafted by Claude Opus 5.5, an Anthropic model, from the lab’s frozen structured record under this practice’s voice specification, checked by a deterministic gate against every figure in the record, and validated by the author before publication. The record is the canonical surface: where prose and record disagree, the record rules.
Download the raw lab detail (Markdown)