<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <title>Truslay Blog</title>
        <link>https://blog.truslay.com</link>
        <description>Field notes from Truslay on deterministic, fail-closed security for AI agents: policy graphs, signed verdicts, immutable audit, on-premise deployment.</description>
        <lastBuildDate>Wed, 18 Nov 2026 09:00:00 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>en</language>
        <copyright>© 2026 Truslay</copyright>
        <item>
            <title><![CDATA[A verdict is not a probability: why we deleted the score]]></title>
            <link>https://blog.truslay.com/deterministic-verdicts-not-probability</link>
            <guid>https://blog.truslay.com/deterministic-verdicts-not-probability</guid>
            <pubDate>Wed, 18 Nov 2026 09:00:00 GMT</pubDate>
            <description><![CDATA[Probabilistic guardrails hand you a number and hope you picked the right threshold. A policy graph returns ALLOW, REVIEW or BLOCK, and can prove it.]]></description>
            <content:encoded><![CDATA[<p>The first internal build of Truslay returned a score. Something between 0 and 1, higher meaning riskier, and an integration doc that said "block above 0.7, review between 0.4 and 0.7". We ran it against four agent workflows for a month. Then we deleted it, and nobody on the team misses it.</p>
<p>Here is the honest reason. Every time the score came back at 0.62, two people on the call quietly disagreed about what should happen next, and neither of them was wrong. The number was not wrong either. It was just not a decision.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="a-threshold-is-a-policy-you-cannot-read">A threshold is a policy you cannot read<a href="https://blog.truslay.com/deterministic-verdicts-not-probability#a-threshold-is-a-policy-you-cannot-read" class="hash-link" aria-label="Direct link to A threshold is a policy you cannot read" title="Direct link to A threshold is a policy you cannot read" translate="no">​</a></h2>
<p>When a classifier returns 0.62, what you have is a compressed guess about a distribution of past examples. The threshold you put on top of it is a second guess, made once, usually during a demo, and almost never written down anywhere a security reviewer could find it.</p>
<p>This is not a knock on classifiers. We use them. They are excellent at answering "does this text look like a refund request". They are bad at answering "may this agent move €4,190 out of this account right now", because the second question is about permission, not about similarity to previous text.</p>
<p>Permission has structure. A refund has an amount, a currency, a customer, a requester, a time window, and a person who is accountable if it goes wrong. Once you write those down, the decision stops being a matter of taste.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="what-comes-back-instead">What comes back instead<a href="https://blog.truslay.com/deterministic-verdicts-not-probability#what-comes-back-instead" class="hash-link" aria-label="Direct link to What comes back instead" title="Direct link to What comes back instead" translate="no">​</a></h2>
<p>The SDK returns one of three verdicts per action: <code>ALLOW</code>, <code>REVIEW</code>, <code>BLOCK</code>. Nothing else, no score to interpret.</p>
<div class="language-ts codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#F8F8F2;--prism-background-color:#282A36"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-ts codeBlock_bY9V thin-scrollbar" style="color:#F8F8F2;background-color:#282A36"><code class="codeBlockLines_e6Vv"><div class="token-line" style="color:#F8F8F2"><span class="token keyword" style="color:rgb(189, 147, 249);font-style:italic">import</span><span class="token plain"> </span><span class="token punctuation" style="color:rgb(248, 248, 242)">{</span><span class="token plain">TruslayUniversalClient</span><span class="token punctuation" style="color:rgb(248, 248, 242)">}</span><span class="token plain"> </span><span class="token keyword" style="color:rgb(189, 147, 249);font-style:italic">from</span><span class="token plain"> </span><span class="token string" style="color:rgb(255, 121, 198)">'@truslay/sdk'</span><span class="token punctuation" style="color:rgb(248, 248, 242)">;</span><span class="token plain"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain" style="display:inline-block"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain"></span><span class="token keyword" style="color:rgb(189, 147, 249);font-style:italic">const</span><span class="token plain"> truslay </span><span class="token operator">=</span><span class="token plain"> </span><span class="token keyword" style="color:rgb(189, 147, 249);font-style:italic">new</span><span class="token plain"> </span><span class="token class-name">TruslayUniversalClient</span><span class="token punctuation" style="color:rgb(248, 248, 242)">(</span><span class="token plain"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain">  </span><span class="token punctuation" style="color:rgb(248, 248, 242)">{</span><span class="token plain">mode</span><span class="token operator">:</span><span class="token plain"> </span><span class="token string" style="color:rgb(255, 121, 198)">'collaboration'</span><span class="token punctuation" style="color:rgb(248, 248, 242)">,</span><span class="token plain"> firewallMode</span><span class="token operator">:</span><span class="token plain"> </span><span class="token string" style="color:rgb(255, 121, 198)">'live'</span><span class="token punctuation" style="color:rgb(248, 248, 242)">,</span><span class="token plain"> apiKey</span><span class="token operator">:</span><span class="token plain"> process</span><span class="token punctuation" style="color:rgb(248, 248, 242)">.</span><span class="token plain">env</span><span class="token punctuation" style="color:rgb(248, 248, 242)">.</span><span class="token constant" style="color:rgb(189, 147, 249)">TRUSLAY_API_KEY</span><span class="token punctuation" style="color:rgb(248, 248, 242)">}</span><span class="token punctuation" style="color:rgb(248, 248, 242)">,</span><span class="token plain"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain">  </span><span class="token string" style="color:rgb(255, 121, 198)">'agent'</span><span class="token punctuation" style="color:rgb(248, 248, 242)">,</span><span class="token plain"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain"></span><span class="token punctuation" style="color:rgb(248, 248, 242)">)</span><span class="token punctuation" style="color:rgb(248, 248, 242)">;</span><span class="token plain"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain" style="display:inline-block"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain"></span><span class="token keyword" style="color:rgb(189, 147, 249);font-style:italic">const</span><span class="token plain"> decision </span><span class="token operator">=</span><span class="token plain"> </span><span class="token keyword" style="color:rgb(189, 147, 249);font-style:italic">await</span><span class="token plain"> truslay</span><span class="token punctuation" style="color:rgb(248, 248, 242)">.</span><span class="token function" style="color:rgb(80, 250, 123)">evaluateAction</span><span class="token punctuation" style="color:rgb(248, 248, 242)">(</span><span class="token punctuation" style="color:rgb(248, 248, 242)">{</span><span class="token plain"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain">  intent</span><span class="token operator">:</span><span class="token plain"> </span><span class="token string" style="color:rgb(255, 121, 198)">'issue_refund'</span><span class="token punctuation" style="color:rgb(248, 248, 242)">,</span><span class="token plain"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain">  payload</span><span class="token operator">:</span><span class="token plain"> </span><span class="token punctuation" style="color:rgb(248, 248, 242)">{</span><span class="token plain">amount</span><span class="token operator">:</span><span class="token plain"> </span><span class="token number">4190</span><span class="token punctuation" style="color:rgb(248, 248, 242)">,</span><span class="token plain"> currency</span><span class="token operator">:</span><span class="token plain"> </span><span class="token string" style="color:rgb(255, 121, 198)">'EUR'</span><span class="token punctuation" style="color:rgb(248, 248, 242)">,</span><span class="token plain"> customer_id</span><span class="token operator">:</span><span class="token plain"> </span><span class="token string" style="color:rgb(255, 121, 198)">'CUS-8841'</span><span class="token punctuation" style="color:rgb(248, 248, 242)">}</span><span class="token punctuation" style="color:rgb(248, 248, 242)">,</span><span class="token plain"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain"></span><span class="token punctuation" style="color:rgb(248, 248, 242)">}</span><span class="token punctuation" style="color:rgb(248, 248, 242)">)</span><span class="token punctuation" style="color:rgb(248, 248, 242)">;</span><span class="token plain"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain" style="display:inline-block"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain"></span><span class="token keyword" style="color:rgb(189, 147, 249);font-style:italic">if</span><span class="token plain"> </span><span class="token punctuation" style="color:rgb(248, 248, 242)">(</span><span class="token plain">decision</span><span class="token punctuation" style="color:rgb(248, 248, 242)">.</span><span class="token plain">verdict </span><span class="token operator">!==</span><span class="token plain"> </span><span class="token string" style="color:rgb(255, 121, 198)">'ALLOW'</span><span class="token punctuation" style="color:rgb(248, 248, 242)">)</span><span class="token plain"> </span><span class="token punctuation" style="color:rgb(248, 248, 242)">{</span><span class="token plain"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain">  </span><span class="token keyword" style="color:rgb(189, 147, 249);font-style:italic">throw</span><span class="token plain"> </span><span class="token keyword" style="color:rgb(189, 147, 249);font-style:italic">new</span><span class="token plain"> </span><span class="token class-name">Error</span><span class="token punctuation" style="color:rgb(248, 248, 242)">(</span><span class="token template-string template-punctuation string" style="color:rgb(255, 121, 198)">`</span><span class="token template-string string" style="color:rgb(255, 121, 198)">Blocked by Truslay: </span><span class="token template-string interpolation interpolation-punctuation punctuation" style="color:rgb(248, 248, 242)">${</span><span class="token template-string interpolation">decision</span><span class="token template-string interpolation punctuation" style="color:rgb(248, 248, 242)">.</span><span class="token template-string interpolation">reason</span><span class="token template-string interpolation interpolation-punctuation punctuation" style="color:rgb(248, 248, 242)">}</span><span class="token template-string template-punctuation string" style="color:rgb(255, 121, 198)">`</span><span class="token punctuation" style="color:rgb(248, 248, 242)">)</span><span class="token punctuation" style="color:rgb(248, 248, 242)">;</span><span class="token plain"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain"></span><span class="token punctuation" style="color:rgb(248, 248, 242)">}</span><br></div></code></pre></div></div>
<p>The envelope carries more than the word: a machine-readable <code>reason</code>, a <code>latencyMs</code> measured on your machine, an <code>auditId</code> for the sealed record, and a <code>signature</code> produced by the Seal layer. A refund over the ceiling comes back as <code>BLOCK</code> with <code>reason: "policy_denied"</code>, and the amount is in the reason code path, not buried in a float.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="three-properties-and-why-each-one-is-testable">Three properties, and why each one is testable<a href="https://blog.truslay.com/deterministic-verdicts-not-probability#three-properties-and-why-each-one-is-testable" class="hash-link" aria-label="Direct link to Three properties, and why each one is testable" title="Direct link to Three properties, and why each one is testable" translate="no">​</a></h2>
<p><strong>Determinism.</strong> Same intent, same payload, same policy graph, same verdict. Not "usually the same". This matters more than it sounds: it means you can write a regression test for a security decision, in CI, with no model in the loop.</p>
<p><strong>Fail-closed.</strong> If the decision cannot be produced, nothing runs. A live Firewall that times out returns <code>BLOCK</code> with <code>firewall_unavailable</code>. A malformed response is treated as denied. There is no fail-open branch to accidentally configure.</p>
<p><strong>Evidence.</strong> A verdict is signed and appended to a ledger, and the ledger root is anchored so it can be checked later. A log line says what a process printed. This says what was decided, for which payload, and at what time, in a form that does not quietly change.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="classifiers-still-earn-their-place">Classifiers still earn their place<a href="https://blog.truslay.com/deterministic-verdicts-not-probability#classifiers-still-earn-their-place" class="hash-link" aria-label="Direct link to Classifiers still earn their place" title="Direct link to Classifiers still earn their place" translate="no">​</a></h2>
<p>I want to be careful here, because "deterministic" gets sold as "no ML needed anywhere", and that is not our position.</p>
<p>A classifier is a fine <em>input</em> to a policy graph. "Does this ticket contain a threat of self-harm" is a genuinely fuzzy question, and a model answers it better than any rule I could write. The important move is what happens to that answer: it becomes a signal the graph reads, and the graph decides. The model proposes, the Gate disposes. If the model is down or returns something outside its contract, the graph routes to <code>REVIEW</code>, which still means the tool call does not run.</p>
<p>What we removed was not the model. It was the model's authority to be the final word.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="what-this-costs-you">What this costs you<a href="https://blog.truslay.com/deterministic-verdicts-not-probability#what-this-costs-you" class="hash-link" aria-label="Direct link to What this costs you" title="Direct link to What this costs you" translate="no">​</a></h2>
<p>Two things, and neither is small.</p>
<p>You have to write policy. Not prompts, policy: ceilings, roles, escalation targets, customer segments. Someone who understands the business has to sit with someone who understands the agent, and that meeting is the product. We cannot generate that from your logs, and vendors who claim they can are selling you a threshold with extra steps.</p>
<p>And you lose the comfortable ambiguity of a score. When the verdict is <code>BLOCK</code> because an agent tried to change a grade it had assigned, there is no "well, 0.68, close call". There is a decision, a reason code, and a person to escalate to. Some teams find that uncomfortable for about a week. Then they find it the only way they can sleep.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="questions-we-get-every-week">Questions we get every week<a href="https://blog.truslay.com/deterministic-verdicts-not-probability#questions-we-get-every-week" class="hash-link" aria-label="Direct link to Questions we get every week" title="Direct link to Questions we get every week" translate="no">​</a></h2>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="is-this-just-a-rules-engine">Is this just a rules engine?<a href="https://blog.truslay.com/deterministic-verdicts-not-probability#is-this-just-a-rules-engine" class="hash-link" aria-label="Direct link to Is this just a rules engine?" title="Direct link to Is this just a rules engine?" translate="no">​</a></h3>
<p>No, but the difference is narrower than vendors imply. A rules engine evaluates conditions you wrote in advance; the policy graph also carries the execution plan: which layer evaluates what, what happens when a layer is unavailable, and how the decision gets sealed. The determinism comes from the graph, not from the absence of logic.</p>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="what-about-prompt-injection-and-drift">What about prompt injection and drift?<a href="https://blog.truslay.com/deterministic-verdicts-not-probability#what-about-prompt-injection-and-drift" class="hash-link" aria-label="Direct link to What about prompt injection and drift?" title="Direct link to What about prompt injection and drift?" translate="no">​</a></h3>
<p>Injection is exactly the case where a score fails. The injected instruction usually looks <em>more</em> like a legitimate request than the real one, so a similarity model likes it. A graph does not care how plausible the text is; it checks whether this agent may perform this action with this payload. Drift in model behaviour is real, which is why the enforcement point sits between the model and the tool, not inside the model.</p>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="does-it-add-latency">Does it add latency?<a href="https://blog.truslay.com/deterministic-verdicts-not-probability#does-it-add-latency" class="hash-link" aria-label="Direct link to Does it add latency?" title="Direct link to Does it add latency?" translate="no">​</a></h3>
<p>Layers 1 to 6 run in-process and offline; the docs quote sub-millisecond decisions, and the <code>latencyMs</code> field lets you check that on your own hardware rather than trust ours. Layers 7 and 8 involve the Firewall and cost a network round trip, which is why live mode is a deliberate choice and not the default.</p>
<p>If you want to see the difference on your own agent, the <a href="https://docs.truslay.com/docs/introduction/quick-start" target="_blank" rel="noopener noreferrer" class="">quick start</a> runs in sandbox with no credentials, and the <a href="https://docs.truslay.com/docs/api-reference/verdicts" target="_blank" rel="noopener noreferrer" class="">verdict contract</a> covers every reason code. Start there before you talk to anyone, including us.</p>]]></content:encoded>
            <category>Architecture</category>
            <category>Security</category>
        </item>
        <item>
            <title><![CDATA[Anatomy of a BLOCK: the self-grading tutor that never ran]]></title>
            <link>https://blog.truslay.com/anatomy-of-a-block-self-grading-tutor</link>
            <guid>https://blog.truslay.com/anatomy-of-a-block-self-grading-tutor</guid>
            <pubDate>Tue, 10 Nov 2026 08:30:00 GMT</pubDate>
            <description><![CDATA[A tutor tried to fix a grade it had assigned. Here is the payload, the policy that blocked it, the escalation to a human, and the signature.]]></description>
            <content:encoded><![CDATA[<p>Most security write-ups show the happy path. This one does not, because the interesting artefact in an agent system is the denial: the request that was shaped correctly, authenticated correctly, and still did not happen.</p>
<p>The example is the OpenMAIC tutor from our reference integrations. It is a teaching assistant that builds quizzes, marks open answers against a rubric, and talks to students in natural language. In every other respect it is a well-behaved agent. Then a student asked it, politely and in good faith, to fix a grade.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="the-request">The request<a href="https://blog.truslay.com/anatomy-of-a-block-self-grading-tutor#the-request" class="hash-link" aria-label="Direct link to The request" title="Direct link to The request" translate="no">​</a></h2>
<p>The student had answered a quiz question badly, argued (correctly, as it happens) that the rubric was ambiguous, and asked the tutor to reconsider. The model did what models do: it agreed, and reached for the tool that writes scores.</p>
<div class="language-json codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#F8F8F2;--prism-background-color:#282A36"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-json codeBlock_bY9V thin-scrollbar" style="color:#F8F8F2;background-color:#282A36"><code class="codeBlockLines_e6Vv"><div class="token-line" style="color:#F8F8F2"><span class="token punctuation" style="color:rgb(248, 248, 242)">{</span><span class="token plain"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain">  </span><span class="token property">"intent"</span><span class="token operator">:</span><span class="token plain"> </span><span class="token string" style="color:rgb(255, 121, 198)">"update_quiz_score"</span><span class="token punctuation" style="color:rgb(248, 248, 242)">,</span><span class="token plain"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain">  </span><span class="token property">"payload"</span><span class="token operator">:</span><span class="token plain"> </span><span class="token punctuation" style="color:rgb(248, 248, 242)">{</span><span class="token plain"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain">    </span><span class="token property">"student_id"</span><span class="token operator">:</span><span class="token plain"> </span><span class="token string" style="color:rgb(255, 121, 198)">"STU-2291"</span><span class="token punctuation" style="color:rgb(248, 248, 242)">,</span><span class="token plain"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain">    </span><span class="token property">"quiz_id"</span><span class="token operator">:</span><span class="token plain"> </span><span class="token string" style="color:rgb(255, 121, 198)">"QZ-4417"</span><span class="token punctuation" style="color:rgb(248, 248, 242)">,</span><span class="token plain"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain">    </span><span class="token property">"question"</span><span class="token operator">:</span><span class="token plain"> </span><span class="token number">3</span><span class="token punctuation" style="color:rgb(248, 248, 242)">,</span><span class="token plain"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain">    </span><span class="token property">"new_score"</span><span class="token operator">:</span><span class="token plain"> </span><span class="token number">9</span><span class="token punctuation" style="color:rgb(248, 248, 242)">,</span><span class="token plain"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain">    </span><span class="token property">"reason"</span><span class="token operator">:</span><span class="token plain"> </span><span class="token string" style="color:rgb(255, 121, 198)">"rubric ambiguity, student appeal"</span><span class="token plain"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain">  </span><span class="token punctuation" style="color:rgb(248, 248, 242)">}</span><span class="token plain"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain"></span><span class="token punctuation" style="color:rgb(248, 248, 242)">}</span><br></div></code></pre></div></div>
<p>Nothing in that payload is malformed. Nothing in it is obviously malicious. If you handed it to a classifier trained on "suspicious agent behaviour", it would likely come back low risk, because the sentence structure of a legitimate appeal and the sentence structure of a grade-grab are identical. That is the whole problem with judging intent from text.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="the-policy-that-fired">The policy that fired<a href="https://blog.truslay.com/anatomy-of-a-block-self-grading-tutor#the-policy-that-fired" class="hash-link" aria-label="Direct link to The policy that fired" title="Direct link to The policy that fired" translate="no">​</a></h2>
<p>The tutor's policy graph has a rule that is shorter than this paragraph: an agent may read submissions, may draft feedback, may propose a score. An agent may not write a score that it also assigned. That action belongs to a human.</p>
<p>So the Gate did not evaluate plausibility. It checked the action type against the operator: <code>update_quiz_score</code> is a human-reserved intent when the same agent produced the original mark. Verdict: <code>BLOCK</code>, reason <code>self_grading_detected</code>.</p>
<div class="language-json codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#F8F8F2;--prism-background-color:#282A36"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-json codeBlock_bY9V thin-scrollbar" style="color:#F8F8F2;background-color:#282A36"><code class="codeBlockLines_e6Vv"><div class="token-line" style="color:#F8F8F2"><span class="token punctuation" style="color:rgb(248, 248, 242)">{</span><span class="token plain"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain">  </span><span class="token property">"verdict"</span><span class="token operator">:</span><span class="token plain"> </span><span class="token string" style="color:rgb(255, 121, 198)">"BLOCK"</span><span class="token punctuation" style="color:rgb(248, 248, 242)">,</span><span class="token plain"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain">  </span><span class="token property">"reason"</span><span class="token operator">:</span><span class="token plain"> </span><span class="token string" style="color:rgb(255, 121, 198)">"self_grading_detected"</span><span class="token punctuation" style="color:rgb(248, 248, 242)">,</span><span class="token plain"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain">  </span><span class="token property">"latencyMs"</span><span class="token operator">:</span><span class="token plain"> </span><span class="token number">0.7</span><span class="token punctuation" style="color:rgb(248, 248, 242)">,</span><span class="token plain"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain">  </span><span class="token property">"auditId"</span><span class="token operator">:</span><span class="token plain"> </span><span class="token string" style="color:rgb(255, 121, 198)">"trl_8x9a1c4d"</span><span class="token punctuation" style="color:rgb(248, 248, 242)">,</span><span class="token plain"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain">  </span><span class="token property">"signature"</span><span class="token operator">:</span><span class="token plain"> </span><span class="token string" style="color:rgb(255, 121, 198)">"ed25519:5f3b…"</span><span class="token plain"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain"></span><span class="token punctuation" style="color:rgb(248, 248, 242)">}</span><br></div></code></pre></div></div>
<p>The tutor never called the write function. It did not "decide not to". The tool call was never dispatched, because the only branch that dispatches is <code>verdict === "ALLOW"</code>.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="why-just-ask-the-teacher-is-not-enough">Why "just ask the teacher" is not enough<a href="https://blog.truslay.com/anatomy-of-a-block-self-grading-tutor#why-just-ask-the-teacher-is-not-enough" class="hash-link" aria-label="Direct link to Why &quot;just ask the teacher&quot; is not enough" title="Direct link to Why &quot;just ask the teacher&quot; is not enough" translate="no">​</a></h2>
<p>The obvious fix, and the one most teams implement first, is a prompt: "never change grades, escalate to the instructor". It works until it does not. A student who is persistent, or a model that is in a helpful mood, or a system prompt that was edited six weeks ago by someone who has since left, and the rule evaporates. Prompt-level rules are advice. They are not enforcement, and they do not survive a context window.</p>
<p>The second fix teams try is a human-in-the-loop button. Good instinct, wrong default. If the button sits on the agent's side of the boundary, the agent can press it, and now you have an approval workflow with an agent as the approver.</p>
<p>What actually held here was the escalation target, which is policy, not code: unresolved grade disputes route to the instructor of record, with the student's appeal attached. The runtime equivalent in the audit trail is <code>escalatedTo: "professor@university.edu"</code> on the sealed record, so six months later you can answer "who was supposed to see this" without reading a chat log.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="what-the-student-experiences">What the student experiences<a href="https://blog.truslay.com/anatomy-of-a-block-self-grading-tutor#what-the-student-experiences" class="hash-link" aria-label="Direct link to What the student experiences" title="Direct link to What the student experiences" translate="no">​</a></h2>
<p>Worth saying plainly, because security people forget it: the student is not told "blocked". The tutor says the appeal has been forwarded, which is true. The grade stays at 4 until a human changes it. The student loses an argument with a policy, not with a chatbot, and the human who can fix it has the full appeal in front of them.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="reproducing-it">Reproducing it<a href="https://blog.truslay.com/anatomy-of-a-block-self-grading-tutor#reproducing-it" class="hash-link" aria-label="Direct link to Reproducing it" title="Direct link to Reproducing it" translate="no">​</a></h2>
<p>The payload above runs in sandbox with no credentials, which is deliberate: a security demo you cannot run on your own machine is a brochure. The OpenMAIC walkthrough in the docs has the full flow, and the interactive version lives in the Academy lab at <a href="https://academy.truslay.com/#/academy/lab-edtech" target="_blank" rel="noopener noreferrer" class="">academy.truslay.com/#/academy/lab-edtech</a>.</p>
<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#F8F8F2;--prism-background-color:#282A36"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style="color:#F8F8F2;background-color:#282A36"><code class="codeBlockLines_e6Vv"><div class="token-line" style="color:#F8F8F2"><span class="token function" style="color:rgb(80, 250, 123)">npm</span><span class="token plain"> </span><span class="token function" style="color:rgb(80, 250, 123)">install</span><span class="token plain"> @truslay/sdk</span><br></div></code></pre></div></div>
<div class="language-ts codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#F8F8F2;--prism-background-color:#282A36"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-ts codeBlock_bY9V thin-scrollbar" style="color:#F8F8F2;background-color:#282A36"><code class="codeBlockLines_e6Vv"><div class="token-line" style="color:#F8F8F2"><span class="token keyword" style="color:rgb(189, 147, 249);font-style:italic">import</span><span class="token plain"> </span><span class="token punctuation" style="color:rgb(248, 248, 242)">{</span><span class="token plain">TruslayUniversalClient</span><span class="token punctuation" style="color:rgb(248, 248, 242)">}</span><span class="token plain"> </span><span class="token keyword" style="color:rgb(189, 147, 249);font-style:italic">from</span><span class="token plain"> </span><span class="token string" style="color:rgb(255, 121, 198)">'@truslay/sdk'</span><span class="token punctuation" style="color:rgb(248, 248, 242)">;</span><span class="token plain"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain" style="display:inline-block"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain"></span><span class="token keyword" style="color:rgb(189, 147, 249);font-style:italic">const</span><span class="token plain"> truslay </span><span class="token operator">=</span><span class="token plain"> </span><span class="token keyword" style="color:rgb(189, 147, 249);font-style:italic">new</span><span class="token plain"> </span><span class="token class-name">TruslayUniversalClient</span><span class="token punctuation" style="color:rgb(248, 248, 242)">(</span><span class="token punctuation" style="color:rgb(248, 248, 242)">{</span><span class="token plain">mode</span><span class="token operator">:</span><span class="token plain"> </span><span class="token string" style="color:rgb(255, 121, 198)">'collaboration'</span><span class="token punctuation" style="color:rgb(248, 248, 242)">}</span><span class="token punctuation" style="color:rgb(248, 248, 242)">,</span><span class="token plain"> </span><span class="token string" style="color:rgb(255, 121, 198)">'agent'</span><span class="token punctuation" style="color:rgb(248, 248, 242)">)</span><span class="token punctuation" style="color:rgb(248, 248, 242)">;</span><span class="token plain"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain" style="display:inline-block"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain"></span><span class="token keyword" style="color:rgb(189, 147, 249);font-style:italic">const</span><span class="token plain"> decision </span><span class="token operator">=</span><span class="token plain"> </span><span class="token keyword" style="color:rgb(189, 147, 249);font-style:italic">await</span><span class="token plain"> truslay</span><span class="token punctuation" style="color:rgb(248, 248, 242)">.</span><span class="token function" style="color:rgb(80, 250, 123)">evaluateAction</span><span class="token punctuation" style="color:rgb(248, 248, 242)">(</span><span class="token punctuation" style="color:rgb(248, 248, 242)">{</span><span class="token plain"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain">  intent</span><span class="token operator">:</span><span class="token plain"> </span><span class="token string" style="color:rgb(255, 121, 198)">'update_quiz_score'</span><span class="token punctuation" style="color:rgb(248, 248, 242)">,</span><span class="token plain"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain">  payload</span><span class="token operator">:</span><span class="token plain"> </span><span class="token punctuation" style="color:rgb(248, 248, 242)">{</span><span class="token plain">student_id</span><span class="token operator">:</span><span class="token plain"> </span><span class="token string" style="color:rgb(255, 121, 198)">'STU-2291'</span><span class="token punctuation" style="color:rgb(248, 248, 242)">,</span><span class="token plain"> quiz_id</span><span class="token operator">:</span><span class="token plain"> </span><span class="token string" style="color:rgb(255, 121, 198)">'QZ-4417'</span><span class="token punctuation" style="color:rgb(248, 248, 242)">,</span><span class="token plain"> question</span><span class="token operator">:</span><span class="token plain"> </span><span class="token number">3</span><span class="token punctuation" style="color:rgb(248, 248, 242)">,</span><span class="token plain"> new_score</span><span class="token operator">:</span><span class="token plain"> </span><span class="token number">9</span><span class="token punctuation" style="color:rgb(248, 248, 242)">}</span><span class="token punctuation" style="color:rgb(248, 248, 242)">,</span><span class="token plain"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain"></span><span class="token punctuation" style="color:rgb(248, 248, 242)">}</span><span class="token punctuation" style="color:rgb(248, 248, 242)">)</span><span class="token punctuation" style="color:rgb(248, 248, 242)">;</span><br></div></code></pre></div></div>
<p>Sandbox is enough to see the verdict shape. Live mode is what puts the signed record in a ledger your auditor can read.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="what-this-does-not-solve">What this does not solve<a href="https://blog.truslay.com/anatomy-of-a-block-self-grading-tutor#what-this-does-not-solve" class="hash-link" aria-label="Direct link to What this does not solve" title="Direct link to What this does not solve" translate="no">​</a></h2>
<p>A policy graph does not make the tutor a better teacher, and it does not catch a human instructor who grades unfairly. It closes one specific hole: an agent granting itself authority it was never given. That hole is narrow and boring, and it is exactly the kind of hole that ends up in a regulator's inbox.</p>
<p>If your agent has a tool that changes money, grades, access, or public content, the useful exercise this week is to list those intents and write down who is allowed to call each one. Not what the prompt says. Who is allowed. Most teams find at least one intent nobody can account for.</p>]]></content:encoded>
            <category>Security</category>
            <category>Integrations</category>
            <category>AI agents</category>
        </item>
        <item>
            <title><![CDATA[The 8 layers, explained without the marketing]]></title>
            <link>https://blog.truslay.com/eight-layers-without-the-marketing</link>
            <guid>https://blog.truslay.com/eight-layers-without-the-marketing</guid>
            <pubDate>Wed, 28 Oct 2026 10:00:00 GMT</pubDate>
            <description><![CDATA[Signal, Lattice, Shield, Gate, Seal, Ledger, Anchor, Prism: one per failure mode, where the SDK ends and the Firewall begins, and where 8 is overkill.]]></description>
            <content:encoded><![CDATA[<p>Eight is a suspicious number. When a security product ships a numbered stack, the count is usually whatever fit on the slide. Ours is eight because there are eight distinct ways an agent action can be wrong, and folding two of them together means one of them goes unhandled. I will try to show the seams rather than hide them.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="layers-1-to-6-the-sdk-inside-your-process">Layers 1 to 6: the SDK, inside your process<a href="https://blog.truslay.com/eight-layers-without-the-marketing#layers-1-to-6-the-sdk-inside-your-process" class="hash-link" aria-label="Direct link to Layers 1 to 6: the SDK, inside your process" title="Direct link to Layers 1 to 6: the SDK, inside your process" translate="no">​</a></h2>
<p>These run in the Sovereign Edge, which is an npm package. No network, no account, no round trip. If you unplug the machine, layers 1 to 6 still decide.</p>
<p><strong>1. Signal — intercept the intent.</strong> The layer that actually matters and the one people skip in diagrams. Before any policy runs, the SDK captures what the agent is about to do as structured intent plus payload, not as prose. If you cannot name the intent, you cannot have a policy about it.</p>
<p><strong>2. Lattice — load the policy graph.</strong> Policies are a graph of conditions with an explicit evaluation order, versioned and pinned. Pinned matters: an evaluation that used policy version 14 six months ago should still be explainable today.</p>
<p><strong>3. Shield — normalise and validate the payload.</strong> Type checks, ranges, required fields, and the boring attacks: oversized amounts, missing customer ids, currency codes that do not exist. A payload that fails validation cannot produce <code>ALLOW</code>.</p>
<p><strong>4. Gate — decide, fail-closed.</strong> The three-verdict decision described in <a href="https://docs.truslay.com/docs/api-reference/verdicts" target="_blank" rel="noopener noreferrer" class="">the verdict contract</a>. <code>ALLOW</code> is the only value that lets the call through; <code>REVIEW</code> and <code>BLOCK</code> both stop it.</p>
<p><strong>5. Seal — sign the decision.</strong> Ed25519 over the decision and its inputs, so the record can be checked without trusting the service that wrote it.</p>
<p><strong>6. Ledger — append, never edit.</strong> Decisions go into an append-only structure. You can add to it; you cannot quietly rewrite last Tuesday.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="layers-7-and-8-the-firewall-in-your-perimeter">Layers 7 and 8: the Firewall, in your perimeter<a href="https://blog.truslay.com/eight-layers-without-the-marketing#layers-7-and-8-the-firewall-in-your-perimeter" class="hash-link" aria-label="Direct link to Layers 7 and 8: the Firewall, in your perimeter" title="Direct link to Layers 7 and 8: the Firewall, in your perimeter" translate="no">​</a></h2>
<p>The boundary between the SDK and the Firewall is the boundary between <em>deciding</em> and <em>corroborating</em>. This is the part where the marketing usually gets vague, so here is the plain version.</p>
<p><strong>7. Anchor — anchor the ledger root.</strong> The hash root of the ledger gets written somewhere you do not control exclusively, so a later edit of local history is detectable. This is the layer that makes "immutable" mean something other than "we promise".</p>
<p><strong>8. Prism — resolve what a machine should not decide.</strong> Ambiguous cases surface here for a human: the audit trail, the reviewer queue, dual approval, and the resolution, which is itself recorded as a new signed decision. Prism is not a dashboard bolted on top; it is where <code>REVIEW</code> becomes a person's name.</p>
<p>Layers 7 and 8 need the Firewall, which means a network call — and that is the reason live mode is not the default. In live mode, an unreachable Firewall yields <code>BLOCK</code> with <code>firewall_unavailable</code>. Awkward for uptime dashboards. Correct for permissions.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="the-table-i-would-put-on-the-slide">The table I would put on the slide<a href="https://blog.truslay.com/eight-layers-without-the-marketing#the-table-i-would-put-on-the-slide" class="hash-link" aria-label="Direct link to The table I would put on the slide" title="Direct link to The table I would put on the slide" translate="no">​</a></h2>
<table><thead><tr><th>Layer</th><th>Job</th><th>Failure it closes</th></tr></thead><tbody><tr><td>Signal</td><td>Capture structured intent</td><td>Agent acts on prose nobody can inspect</td></tr><tr><td>Lattice</td><td>Load pinned policy graph</td><td>Rules that drift between deployments</td></tr><tr><td>Shield</td><td>Validate payload</td><td>Malformed or out-of-range inputs</td></tr><tr><td>Gate</td><td>Decide, fail-closed</td><td>Fail-open fallbacks, advisory "warnings"</td></tr><tr><td>Seal</td><td>Sign the decision</td><td>Decisions altered after the fact</td></tr><tr><td>Ledger</td><td>Append-only record</td><td>Logs deleted or rewritten</td></tr><tr><td>Anchor</td><td>Anchor the root</td><td>Local history edited wholesale</td></tr><tr><td>Prism</td><td>Human resolution</td><td>Ambiguous cases decided by a machine</td></tr></tbody></table>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="where-the-split-actually-hurts">Where the split actually hurts<a href="https://blog.truslay.com/eight-layers-without-the-marketing#where-the-split-actually-hurts" class="hash-link" aria-label="Direct link to Where the split actually hurts" title="Direct link to Where the split actually hurts" translate="no">​</a></h2>
<p>Honest trade-off: the SDK works without the Firewall, so a team can adopt layers 1 to 6 in an afternoon and feel done. They have enforcement, but they do not have anchoring or a human resolution path, and both of those are what auditors ask about. The gap is real and we do not hide it — it is visible in the <code>signature</code> field, which is present when Seal ran locally, and in whether the ledger root has been anchored at all.</p>
<p>The reverse is also true. If you only run the Firewall without the SDK, you are inspecting traffic after the agent already formed the intent, and you lose the local, sub-millisecond property. The split is not decoration; each half fails differently.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="where-this-is-overkill">Where this is overkill<a href="https://blog.truslay.com/eight-layers-without-the-marketing#where-this-is-overkill" class="hash-link" aria-label="Direct link to Where this is overkill" title="Direct link to Where this is overkill" translate="no">​</a></h2>
<p>If your agent drafts emails that a human sends, you do not need eight layers. You need a review queue and a coffee. The stack earns its keep the moment the agent touches something that is expensive or irreversible: money, grades, access provisioning, public publishing, production data deletion. Those are the intents where "it usually behaves" is not an answer you can give a board.</p>
<p>The full stack, with the exact layer responsibilities and the failure behaviour of each, is in <a href="https://docs.truslay.com/docs/architecture/the-8-layers" target="_blank" rel="noopener noreferrer" class="">the architecture docs</a>. Start there if you want the version with the diagrams; this post is the version for people who have to defend the design in a meeting.</p>]]></content:encoded>
            <category>Architecture</category>
        </item>
        <item>
            <title><![CDATA[What actually leaves your network when you run Truslay]]></title>
            <link>https://blog.truslay.com/air-gapped-what-stays-on-your-network</link>
            <guid>https://blog.truslay.com/air-gapped-what-stays-on-your-network</guid>
            <pubDate>Thu, 15 Oct 2026 09:15:00 GMT</pubDate>
            <description><![CDATA[What leaves your network when Truslay runs air-gapped: nothing in sandbox. Here is what each mode sends, and what air-gapping does not fix.]]></description>
            <content:encoded><![CDATA[<p>The procurement question is never "is it secure". It is "what leaves our network, and can you show me". Fair question, and one that most AI security vendors answer with an architecture diagram and a paragraph about encryption in transit.</p>
<p>So here is the less flattering, more useful version: a per-mode accounting of what goes where, including the case where the answer is "nothing".</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="sandbox-nothing-crosses">Sandbox: nothing crosses<a href="https://blog.truslay.com/air-gapped-what-stays-on-your-network#sandbox-nothing-crosses" class="hash-link" aria-label="Direct link to Sandbox: nothing crosses" title="Direct link to Sandbox: nothing crosses" translate="no">​</a></h2>
<p>Sandbox is the default. <code>firewallMode</code> is simply not set, and the SDK evaluates locally: intent in, verdict out, no socket opened.</p>
<p>That is not a demo mode that pretends to work. It is the same evaluation path as production minus the corroboration steps, which is why it is the correct place to run CI. Your pipeline gets deterministic verdicts on every commit with no credentials, no vendor account, and no egress rule to maintain.</p>
<div class="language-bash codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#F8F8F2;--prism-background-color:#282A36"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-bash codeBlock_bY9V thin-scrollbar" style="color:#F8F8F2;background-color:#282A36"><code class="codeBlockLines_e6Vv"><div class="token-line" style="color:#F8F8F2"><span class="token comment" style="color:rgb(98, 114, 164)"># Air-gapped CI: no network interface needed for layers 1 to 6.</span><span class="token plain"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain"></span><span class="token function" style="color:rgb(80, 250, 123)">npm</span><span class="token plain"> </span><span class="token function" style="color:rgb(80, 250, 123)">install</span><span class="token plain"> @truslay/sdk</span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain"></span><span class="token function" style="color:rgb(80, 250, 123)">npm</span><span class="token plain"> </span><span class="token builtin class-name" style="color:rgb(189, 147, 249)">test</span><br></div></code></pre></div></div>
<div class="language-ts codeBlockContainer_Ckt0 theme-code-block" style="--prism-color:#F8F8F2;--prism-background-color:#282A36"><div class="codeBlockContent_QJqH"><pre tabindex="0" class="prism-code language-ts codeBlock_bY9V thin-scrollbar" style="color:#F8F8F2;background-color:#282A36"><code class="codeBlockLines_e6Vv"><div class="token-line" style="color:#F8F8F2"><span class="token keyword" style="color:rgb(189, 147, 249);font-style:italic">const</span><span class="token plain"> decision </span><span class="token operator">=</span><span class="token plain"> </span><span class="token keyword" style="color:rgb(189, 147, 249);font-style:italic">await</span><span class="token plain"> truslay</span><span class="token punctuation" style="color:rgb(248, 248, 242)">.</span><span class="token function" style="color:rgb(80, 250, 123)">evaluateAction</span><span class="token punctuation" style="color:rgb(248, 248, 242)">(</span><span class="token punctuation" style="color:rgb(248, 248, 242)">{</span><span class="token plain"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain">  intent</span><span class="token operator">:</span><span class="token plain"> </span><span class="token string" style="color:rgb(255, 121, 198)">'delete_customer_record'</span><span class="token punctuation" style="color:rgb(248, 248, 242)">,</span><span class="token plain"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain">  payload</span><span class="token operator">:</span><span class="token plain"> </span><span class="token punctuation" style="color:rgb(248, 248, 242)">{</span><span class="token plain">customer_id</span><span class="token operator">:</span><span class="token plain"> </span><span class="token string" style="color:rgb(255, 121, 198)">'CUS-1042'</span><span class="token punctuation" style="color:rgb(248, 248, 242)">}</span><span class="token punctuation" style="color:rgb(248, 248, 242)">,</span><span class="token plain"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain"></span><span class="token punctuation" style="color:rgb(248, 248, 242)">}</span><span class="token punctuation" style="color:rgb(248, 248, 242)">)</span><span class="token punctuation" style="color:rgb(248, 248, 242)">;</span><span class="token plain"></span><br></div><div class="token-line" style="color:#F8F8F2"><span class="token plain"></span><span class="token comment" style="color:rgb(98, 114, 164)">// {verdict: 'BLOCK', reason: 'policy_denied', latencyMs: 0.6, …}</span><br></div></code></pre></div></div>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="live-one-endpoint-and-you-choose-where-it-lives">Live: one endpoint, and you choose where it lives<a href="https://blog.truslay.com/air-gapped-what-stays-on-your-network#live-one-endpoint-and-you-choose-where-it-lives" class="hash-link" aria-label="Direct link to Live: one endpoint, and you choose where it lives" title="Direct link to Live: one endpoint, and you choose where it lives" translate="no">​</a></h2>
<p>In live mode the SDK sends the structured intent and payload to the Firewall, and the Firewall returns a decision. That is the whole traffic pattern for layers 7 and 8. No prompt history, no model weights, no documents from your corpus. The SDK never had them in the first place: Signal captured the intent, not the conversation.</p>
<p>And the Firewall is a deployable, not a multi-tenant endpoint you must trust. The on-premise guide walks through running it inside your own perimeter, which turns the vendor relationship into a versioned artefact you install and upgrade on your schedule. If your requirement is "the deciding component sits behind our border", that is the configuration to ask for, and the one to test during a trial rather than after signing.</p>
<table><thead><tr><th>Mode</th><th>What crosses the boundary</th><th>Where the decision is produced</th></tr></thead><tbody><tr><td>Sandbox</td><td>Nothing</td><td>In-process, layers 1–6</td></tr><tr><td>Live, hosted Firewall</td><td>Intent + payload</td><td>Firewall, layers 4–8</td></tr><tr><td>Live, on-premise Firewall</td><td>Intent + payload, inside your network</td><td>Your perimeter, layers 4–8</td></tr><tr><td>Anchor</td><td>Ledger root hash</td><td>Where you point the anchor</td></tr></tbody></table>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="the-test-i-would-run-before-believing-any-of-this">The test I would run before believing any of this<a href="https://blog.truslay.com/air-gapped-what-stays-on-your-network#the-test-i-would-run-before-believing-any-of-this" class="hash-link" aria-label="Direct link to The test I would run before believing any of this" title="Direct link to The test I would run before believing any of this" translate="no">​</a></h2>
<p>Unplug the network. Run the sandbox suite. If verdicts come back with sub-millisecond latencies and signed envelopes, the local claim is true for your workload, not just for ours. Then restore the network, unset the Firewall URL in live mode, and watch what happens: it should be <code>BLOCK</code> with <code>firewall_unavailable</code>, not a timeout followed by a permissive fallback.</p>
<p>That second test is the one that separates a fail-closed product from a fail-closed slide. We have been in rooms where the answer was "we degrade gracefully", which in practice means the tool call runs.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="what-air-gapping-does-not-buy-you">What air-gapping does not buy you<a href="https://blog.truslay.com/air-gapped-what-stays-on-your-network#what-air-gapping-does-not-buy-you" class="hash-link" aria-label="Direct link to What air-gapping does not buy you" title="Direct link to What air-gapping does not buy you" translate="no">​</a></h2>
<p>Four things, because the honest list is short and people plan around the wrong one.</p>
<p><strong>It does not remove the policy work.</strong> Someone still has to decide that grade changes belong to humans and refunds above €2,000 need a second pair of eyes. An air-gapped install with a vague policy graph is an expensive way to allow everything.</p>
<p><strong>It does not make review asynchronous-friendly.</strong> Prism resolves <code>REVIEW</code> verdicts with people. If those people are in another network zone, the queue crosses a boundary you just closed; plan the human path with the same care as the data path.</p>
<p><strong>It does not fix key management.</strong> The Seal layer signs with a key. Air-gapped means you hold that key, which also means you rotate it, back it up, and can explain where it was at 3am last quarter.</p>
<p><strong>It does not replace your existing controls.</strong> Truslay sits between the agent and the tool. Your IAM, your database grants and your network policy still do their jobs; this closes the gap where an autonomous agent with valid credentials does something perfectly authorised and completely wrong.</p>
<p>If you want to run the actual checklist rather than read about it, the <a href="https://docs.truslay.com/docs/security/on-premise-deployment" target="_blank" rel="noopener noreferrer" class="">on-premise deployment guide</a> has the ordered steps, the ports, and what to verify after each one. Bring it to your security team before you bring a vendor deck.</p>]]></content:encoded>
            <category>Deployment</category>
            <category>Security</category>
            <category>Architecture</category>
        </item>
        <item>
            <title><![CDATA[Twelve questions to ask before you buy fail-closed AI security]]></title>
            <link>https://blog.truslay.com/questions-to-ask-a-fail-closed-vendor</link>
            <guid>https://blog.truslay.com/questions-to-ask-a-fail-closed-vendor</guid>
            <pubDate>Wed, 30 Sep 2026 08:00:00 GMT</pubDate>
            <description><![CDATA[The evaluation questions we would ask a competitor, with the answer that should worry you and the one that should not. Useful whether you pick us or not.]]></description>
            <content:encoded><![CDATA[<p>We sell this category, so treat the list with the appropriate suspicion. It is still the list we use internally when we look at adjacent products, and every question below has an answer that would make us walk away.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="enforcement">Enforcement<a href="https://blog.truslay.com/questions-to-ask-a-fail-closed-vendor#enforcement" class="hash-link" aria-label="Direct link to Enforcement" title="Direct link to Enforcement" translate="no">​</a></h2>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="1-where-does-the-decision-physically-happen">1. Where does the decision physically happen?<a href="https://blog.truslay.com/questions-to-ask-a-fail-closed-vendor#1-where-does-the-decision-physically-happen" class="hash-link" aria-label="Direct link to 1. Where does the decision physically happen?" title="Direct link to 1. Where does the decision physically happen?" translate="no">​</a></h3>
<p>The good answer names a process, a boundary, and what happens without a network. "In our cloud, with 40ms p99" is a fine answer for a different product. If the enforcement is a hop away from the agent, the tool call is a hop away from happening without it.</p>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="2-what-happens-when-the-decision-service-is-unavailable">2. What happens when the decision service is unavailable?<a href="https://blog.truslay.com/questions-to-ask-a-fail-closed-vendor#2-what-happens-when-the-decision-service-is-unavailable" class="hash-link" aria-label="Direct link to 2. What happens when the decision service is unavailable?" title="Direct link to 2. What happens when the decision service is unavailable?" translate="no">​</a></h3>
<p>Listen for "fails open", "degrades gracefully", "cache with a TTL". A cached <code>ALLOW</code> is an <code>ALLOW</code> you did not earn. The answer you want is a verdict, not a retry policy: unreachable means <code>BLOCK</code>.</p>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="3-can-a-verdict-be-overridden-by-the-agent">3. Can a verdict be overridden by the agent?<a href="https://blog.truslay.com/questions-to-ask-a-fail-closed-vendor#3-can-a-verdict-be-overridden-by-the-agent" class="hash-link" aria-label="Direct link to 3. Can a verdict be overridden by the agent?" title="Direct link to 3. Can a verdict be overridden by the agent?" translate="no">​</a></h3>
<p>It should be impossible by construction, not by convention. Ask to see the code path where the tool is invoked and confirm the only branch into it is the <code>ALLOW</code> branch. "The model is instructed not to" is not an override control.</p>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="4-is-review-actually-blocked">4. Is <code>REVIEW</code> actually blocked?<a href="https://blog.truslay.com/questions-to-ask-a-fail-closed-vendor#4-is-review-actually-blocked" class="hash-link" aria-label="Direct link to 4-is-review-actually-blocked" title="Direct link to 4-is-review-actually-blocked" translate="no">​</a></h3>
<p>Many products treat review as a soft allow with a notification. Ask what the agent does while a human thinks. If the answer is "continues with reduced scope", you bought a logging system with extra steps.</p>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="5-what-is-the-deterministic-unit">5. What is the deterministic unit?<a href="https://blog.truslay.com/questions-to-ask-a-fail-closed-vendor#5-what-is-the-deterministic-unit" class="hash-link" aria-label="Direct link to 5. What is the deterministic unit?" title="Direct link to 5. What is the deterministic unit?" translate="no">​</a></h3>
<p>Push for the object that is versioned and testable: a policy graph, a rule set, a signed bundle. If the answer is "our model", you cannot write a regression test for a security decision, and neither can your auditor.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="evidence">Evidence<a href="https://blog.truslay.com/questions-to-ask-a-fail-closed-vendor#evidence" class="hash-link" aria-label="Direct link to Evidence" title="Direct link to Evidence" translate="no">​</a></h2>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="6-what-exactly-is-in-the-audit-record">6. What exactly is in the audit record?<a href="https://blog.truslay.com/questions-to-ask-a-fail-closed-vendor#6-what-exactly-is-in-the-audit-record" class="hash-link" aria-label="Direct link to 6. What exactly is in the audit record?" title="Direct link to 6. What exactly is in the audit record?" translate="no">​</a></h3>
<p>The record should let someone reconstruct the decision a year later: intent, payload, policy version, verdict, reason, timestamp, who resolved a review. Ask for a sample record, not a screenshot of a dashboard.</p>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="7-is-the-record-signed-and-with-whose-key">7. Is the record signed, and with whose key?<a href="https://blog.truslay.com/questions-to-ask-a-fail-closed-vendor#7-is-the-record-signed-and-with-whose-key" class="hash-link" aria-label="Direct link to 7. Is the record signed, and with whose key?" title="Direct link to 7. Is the record signed, and with whose key?" translate="no">​</a></h3>
<p>Signed by the component that made the decision, with a key the customer can verify and, ideally, hold. A hash of a log file proves the file did not change after you hashed it; it does not prove what was in it.</p>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="8-can-records-be-edited-or-deleted-by-an-administrator">8. Can records be edited or deleted by an administrator?<a href="https://blog.truslay.com/questions-to-ask-a-fail-closed-vendor#8-can-records-be-edited-or-deleted-by-an-administrator" class="hash-link" aria-label="Direct link to 8. Can records be edited or deleted by an administrator?" title="Direct link to 8. Can records be edited or deleted by an administrator?" translate="no">​</a></h3>
<p>The correct answer includes a mechanism outside the admin's control: anchoring, external timestamping, a write-once store. If "immutable" is a database permission, it is a policy, and policies get changed during incidents.</p>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="9-has-the-cryptography-been-reviewed-by-someone-who-does-not-work-for-you">9. Has the cryptography been reviewed by someone who does not work for you?<a href="https://blog.truslay.com/questions-to-ask-a-fail-closed-vendor#9-has-the-cryptography-been-reviewed-by-someone-who-does-not-work-for-you" class="hash-link" aria-label="Direct link to 9. Has the cryptography been reviewed by someone who does not work for you?" title="Direct link to 9. Has the cryptography been reviewed by someone who does not work for you?" translate="no">​</a></h3>
<p>This is where you ask about a third-party audit, and where you should be suspicious of the word "planned". Ask for the scope, the firm, and the report date. An audit in progress is a legitimate answer as long as it is stated as one; a passing claim with no report is not.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="operations">Operations<a href="https://blog.truslay.com/questions-to-ask-a-fail-closed-vendor#operations" class="hash-link" aria-label="Direct link to Operations" title="Direct link to Operations" translate="no">​</a></h2>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="10-what-does-a-policy-change-require">10. What does a policy change require?<a href="https://blog.truslay.com/questions-to-ask-a-fail-closed-vendor#10-what-does-a-policy-change-require" class="hash-link" aria-label="Direct link to 10. What does a policy change require?" title="Direct link to 10. What does a policy change require?" translate="no">​</a></h3>
<p>Versioning, review, and a way to answer "which policy was live when this decision was made". If changing a threshold is a config edit in a dashboard, the same edit is a change to your security posture, and it needs the same paper trail.</p>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="11-can-it-run-inside-our-perimeter-and-what-still-phones-home">11. Can it run inside our perimeter, and what still phones home?<a href="https://blog.truslay.com/questions-to-ask-a-fail-closed-vendor#11-can-it-run-inside-our-perimeter-and-what-still-phones-home" class="hash-link" aria-label="Direct link to 11. Can it run inside our perimeter, and what still phones home?" title="Direct link to 11. Can it run inside our perimeter, and what still phones home?" translate="no">​</a></h3>
<p>Ask for the egress list, in writing, per deployment mode. Then test it: unplug, run the suite, see which features degrade. The gap between the document and the behaviour is the real answer.</p>
<h3 class="anchor anchorTargetStickyNavbar_Vzrq" id="12-what-is-the-false-positive-cost-measured">12. What is the false-positive cost, measured?<a href="https://blog.truslay.com/questions-to-ask-a-fail-closed-vendor#12-what-is-the-false-positive-cost-measured" class="hash-link" aria-label="Direct link to 12. What is the false-positive cost, measured?" title="Direct link to 12. What is the false-positive cost, measured?" translate="no">​</a></h3>
<p>Every fail-closed system blocks something legitimate. The vendor should know the rate, the top three causes, and the path a human takes to unblock a real operation at 2am. If nobody has measured it, you will be the measurement.</p>
<h2 class="anchor anchorTargetStickyNavbar_Vzrq" id="how-to-use-this-list">How to use this list<a href="https://blog.truslay.com/questions-to-ask-a-fail-closed-vendor#how-to-use-this-list" class="hash-link" aria-label="Direct link to How to use this list" title="Direct link to How to use this list" translate="no">​</a></h2>
<p>Do not send it as a questionnaire; every vendor will answer "yes" to all twelve. Run questions 2, 3, 8 and 11 as tests during a trial, on your own workload, with your own policies. The rest are for the conversation afterwards, when you already know which answers were true.</p>
<p>If you want to run the tests against Truslay first, the <a href="https://docs.truslay.com/docs/introduction/quick-start" target="_blank" rel="noopener noreferrer" class="">quick start</a> works offline, and the <a href="https://docs.truslay.com/docs/security/on-premise-deployment" target="_blank" rel="noopener noreferrer" class="">on-premise guide</a> covers the deployment questions. Bring the failures back to us; they are more useful than the praise.</p>]]></content:encoded>
            <category>Security</category>
            <category>Architecture</category>
        </item>
    </channel>
</rss>