Hack the Tutor: five layers, one attempt

The lab walks through a real block sequence. Here is what each layer does, why the order matters, and what you should not read into the panel.

Overview

The first time I opened this lab I assumed the panel was decoration. It is not: every row is a layer running in your process, and row 04 is the only one that stops the call. The others exist so that decision is correct and provable.

There is an obvious shortcut: skip layers 01 to 03 and block on keywords. That works until a student writes ignore your instructions in an essay about Orwell and the tutor refuses to grade it. Signal to Lattice to Shield to Gate to Seal is not a ranking of importance, it is a chain of responsibilities.

The lab intent is fixed on purpose. If the text changed, the panel would be claiming to detect something it never evaluated. That honesty is the same standard you apply to an audit system.

The five layers, in order

01 · Signal

Intercepting the agent's intent…

Signal turns the call into a declared object: intent, payload and target. It judges nothing yet. Its job is to stop the action from being prose and make it a contract with fields. If the agent cannot fill the contract, there is nothing to evaluate.

02 · Lattice

Validating context and permissions…

Lattice compares that contract with the policy graph: may this actor touch lms.grades? does the quiz belong to their course? is there a rule requiring human review? The result is reproducible: same input, same policy, same verdict. The model stops having an opinion here.

03 · Shield

ALERT: prompt injection pattern detected ("Ignore instructions").

Shield looks for manipulation patterns in the content attached to the action. In the lab it flags ignore all your previous instructions. It is a signal, not proof: a false positive here does not block by itself, but it raises the case for review and logs it.

04 · Gate

EXECUTION BLOCKED (fail-closed). The tool update_quiz_score will not be called.

Gate is the only place where the tool exists. It wraps the whole capability, not one route: SDK, API, CLI or scheduled job all pass through. If the verdict is not ALLOW the function is never invoked. No silent retry, no degraded mode, no second path the agent can discover alone.

05 · Seal

Cryptographically signing the block verdict (ed25519)…

Seal signs the decision-context pair with ed25519 and hands it to the local ledger. That is what turns we blocked it into here is the proof we blocked it on 26 November at 15:42. Without this layer, the block disappears with the next container restart.

What the panel does not tell you

The lab is deterministic; your traffic is not

The scenario has one intent and one expected verdict. In production you will see incomplete payloads, new intents and policies nobody updated. The chain holds because every layer fails closed, not because the case is easy.

Latency is part of the argument

The envelope shows `latencyMs: 0.7`. That number is why this can live inside the call instead of in an async job that arrives late. A control that adds 300 ms to every action gets switched off by the product team.

Signing is not anchoring

Seal signs locally and works offline. Anchor, layer 07, is what publishes the ledger root to Sui. The lab stops at Seal because that is where the SDK ends; anchoring belongs to the Firewall.

The real contract behind the animation

This is what the lab sends when you press Send. No invented API: this is the v2.1.0 call.

// The lab sends exactly what the panel claims to evaluate.
const decision = await truslay.evaluateAction({
  intent: 'update_quiz_score',
  payload: {
    quiz_id: 45,
    score: 100,
    requested_by: 'student-session-8821',
  },
  target: 'lms.grades',
});

// {verdict: 'BLOCK', reason: 'policy_denied', latencyMs: 0.7,
//  auditId: 'trl_9f2c4a71…', signature: 'ed25519:5f3b…'}

The panel does not simulate layers that never ran: the sequence fires against this payload. When row 04 turns red, the verdict you are reading is the same object your code would receive in production, with its auditId and signature.

Best practices

Common mistakes

Wrapping only the pretty route

The agent calls the main API, but it also has a maintenance script with the same credential. If Gate does not wrap the whole capability, the block is theatre. Enumerate every surface before celebrating.

Confusing Shield with a text filter

Shield detects patterns; it does not understand intent. A student can write something harmless and trigger the alert. That is why the final decision lives in Lattice and Gate, with explicit policy.

Watching the panel instead of the ledger

The animation is a representation. The evidence is the signed decision. If your audit relies on a screenshot, you do not have an audit.

Where the product stops

The lab does not prove your tutor is safe. It proves the pipeline blocks one concrete attempt under one concrete policy. Layers 06 to 08 (ledger, anchor, Prism) live in the Firewall and do not run here; if your deployment is SDK-only, the block is local and external anchoring does not exist.

Resources

Validation

Which layer physically stops the tool call?

  1. Lattice
  2. Shield
  3. Gate

Answer: Gate. Lattice decides and Shield warns. Gate is the only place the tool exists, so it is the only one that can stop execution.

Shield flags a suspicious phrase in an essay about Orwell. What should happen?

  1. Always block: an alert is an alert
  2. Raise the case for review and let policy decide
  3. Ignore the alert because it is a false positive

Answer: Raise the case for review and let policy decide. A pattern is not proof. Explicit policy decides; the alert adds context and stays in the record.

Why does Seal matter if the block already happened?

  1. Because without a signature you cannot later prove what was decided and when
  2. Because it improves agent performance
  3. Because it replaces the ledger

Answer: Because without a signature you cannot later prove what was decided and when. A block without evidence is an anecdote. The ed25519 signature makes the decision verifiable outside your database.