Your Agent Passed Its Evals. Has Its Governance Been Tested?
2026-12-01 · Aldo Pietropaolo
Part 3 of Proof Before Production, a five-part series on how to earn trust in AI agent workflows with evidence your security, risk, and audit teams can stand behind. Part 1 covered the trust gap and the four pieces of evidence that close it. Part 2 covered the production decision and who signs it.
Most teams test their AI agents. They run evaluation sets, score the answers, and verify that the agent completes the task. Those tests show the agent can do the job. They don't show what happens when it tries to do something else or something that could lead to a security breach.
That second question is the one your business and governance, risk, and compliance approvers will ask. Part 2 described the decision someone signs off on before an agent workflow goes into production. The evidence supporting it starts with tests that intentionally push the agents outside their authority. This is where we consistently find failures.
What a test can prove
An agent runs on a language model. Give it the same input twice, and it may take two different paths. You can test it a thousand times and still only say how often it behaved a certain way, not that it will always do so.
NIST's Center for AI Standards and Innovation ran into this when it tested agents against hijacking. In its words, "since LLMs are probabilistic, the output of a model can vary from attempt to attempt." When it repeated the same attacks 25 times each, "the average attack success rate increased from 57% to 80%" (NIST, Strengthening AI Agent Hijacking Evaluations, Insight #4).
Agent Runtime Governance moves the decision outside the model. Before an action runs, a control the agent cannot change decides whether it fits the task, the authority delegated to the agent, and your policy. In Watchlight AI Beacon, that decision is deterministic: the same request, the same run state, and the same policies give the same answer, and no language model sits in the decision path.
That changes what a test can prove. A test of the model yields a rate. A test of a deterministic control yields a repeatable result you can present to a reviewer. Try the out-of-bounds action a hundred times, and the control should deny it each time.
It also changes what counts as a pass. If the model happened to refuse the bad action, you have learned little, because it may not refuse next time. A test passes when something outside the agent prevented the action, and the record shows what prevented it.
The guidance already says to test first
In May 2026, the national cyber security agencies of Australia, the United States, Canada, New Zealand, and the United Kingdom published joint guidance on adopting agentic AI. Its section on developing secure agents says "Organisations should use red teaming to assess the security and resilience of AI agents," and tells you to "Deploy sandbox environments to test agent behaviour before production deployment." Its section on operating agents securely asks organizations to "Conduct regular assessments of an agent’s ability to bypass safeguards, such as communication barriers, guardrails, monitors, human-in-the-loop processes and input filters" (Careful adoption of agentic AI services). The UK's National Cyber Security Centre set the bar in one line: "If you cannot understand, monitor or contain an agent’s actions, it is not ready for deployment" (NCSC, Thinking carefully before adopting agentic AI).
The EU AI Act sets the same order for high-risk systems. Article 9(8) requires testing "in any event, prior to their being placed on the market or put into service. Testing shall be carried out against prior defined metrics and probabilistic thresholds that are appropriate to the intended purpose of the high-risk AI system" (Regulation (EU) 2024/1689).
Few organizations can show this today. According to ISACA's 2026 AI Pulse Poll, only 12 percent of respondents say their organization has a documented process for shutting down or overriding AI systems if something goes wrong and that the process is tested regularly (ISACA, May 2026).
The test plan, stage by stage
Agent Runtime Governance follows an action through six stages: intent, authorization, execution, drift, containment, and lineage. Each stage makes a claim you can test. Write the tests for one workflow, run them in an environment that resembles production, and keep every result. Run them against the boundary as it will be enforced: a rule still set to warn only should fail.
1. Intent: an action the task never called for. Start a run under a declared goal, such as resolving one delivery complaint, and have the agent attempt something outside it, such as reading payroll. Pass: the action is denied; however, the agent describes what it is doing. In Beacon, the goal's limits come from the server that started the run, so the agent cannot rewrite them along the way.
2. Authorization: valid credentials, wrong action. The agent's credentials allow the call, but the task does not. Try a refund above the delegated limit or a bulk export that the person behind the agent may run but the agent may not on this task. Pass: denied before it runs, and denied again every time you repeat it. Our HR demo shows the second case: the person may, the agent may not.
3. Delegation: a helper asks for more. Have the agent hand off work to a sub-agent that requests authority its parent does not hold. Pass: the request is refused. In Beacon, a sub-agent always receives only a subset of its parent's authority.
4. A run that adds up. Each step is allowed on its own, but together they become something the task never permitted, such as a bulk export assembled one read at a time. Pass: the run is held to its plan and its limits. Beacon checks a plan the agent declares as a whole before the run starts, then checks each later action against that plan and against what the run has already used.
5. Execution: go around the framework. Have the agent call a system directly rather than through its framework's tools. The call is still decided on the network. This is why Beacon enforces in two places, inside the agent framework and at a gateway on the network. The test passes only if the agent's traffic is routed through that gateway. If it is not, you have found a gap before production, not after.
6. Drift and containment: push a live run off course. Change the agent's behavior mid-run, away from its plan and its normal pattern. Pass: the run is contained while it is still active. In Beacon, behavior is scored against the agent's own baseline with statistical models, and no language model is involved. An agent that crosses its threshold is quarantined on its next action. Releasing it takes a person with the authority to do so and a written reason. The drift demo walks through it.
7. Lineage: prove any action from the tests. Pick actions at random from the test runs, both allowed and denied. Pass: for each one, show which policy decided it, the chain of agents it passed through, and, when the run is tied to a verified user, the person who authorized it, in a record that shows whether anyone altered it.
Three more tests round out the plan:
- Take the governance away. Make the decision point unreachable mid-run. Pass: the agent's actions are denied until it returns. Beacon fails closed at both enforcement points.
- Turn the agent from outside. Plant instructions in content the agent reads, or change a third-party tool underneath it. Pass: whatever the agent then attempts is still held to its boundary. Whether the model noticed the planted instructions does not decide the result.
- Run the normal workflow end to end. A control that blocks the work it is meant to protect fails too. Agents that get blocked from doing their job get switched off or work around the control.
Observe before you enforce
Writing the boundary is the hard part, and the first version is rarely right. Check it against the real workflow before it blocks anything. Beacon can run a rule in observe mode: the action goes ahead, and the record notes that the rule would have denied it. That period shows whether the boundary matches the work before anyone signs, and which rules need to change first.
Make the tests part of the build
A test suite run once for a single decision goes stale. Part 2 said a production decision has a shelf life: a new model, a new tool, a new data source, or a policy change should send the workflow back for review. Rerunnable tests make that review take hours instead of weeks. US federal agencies already work to this standard: OMB Memorandum M-25-21 states, "Ongoing monitoring must be designed to detect unforeseen circumstances, changes to an AI system after deployment, or changes to the context of use or associated data" (OMB M-25-21, Section 4).
Developers can start now. With the free Watchlight Developer Edition, they write the boundary's tests as cases that expect an allow, a deny, or a request for approval, and run them on every change. A failing case fails the build. The Developer Edition runs the same decision engine as Beacon, in the developer's own process.
What the test report gives your approvers
The report is the evidence section of the Part 2 decision. For each test, it records:
- what was attempted, and on whose behalf;
- the decision you expected, and the one you got;
- which control and which policy made it;
- the record that proves it.
Alongside the tests: the result of the normal workflow run, the gaps the tests found, and the remaining risks. A reviewer who was not in the room should be able to rerun any test and get the same answer.
How we help teams test their agents
- Don't know which agents you have? The free Agent Estate Scan finds the AI agents in your environment and what each one can reach. You cannot test agents you have not found.
- Not sure which workflow to test first? The Agent Workflow Fit & Readiness Assessment maps up to three planned or active workflows in two to three days and tells you which one is ready to prove first.
- Ready to test one workflow end to end? The Production-Readiness Pilot writes the authority boundary and the pass and fail criteria with you, builds a test suite grouped by the ways agent access stops being enough, runs it with Beacon enforcing on your workflow, drills containment on a live run, and ends with a decision your security, risk, and business owners sign. The tests are written for your workflow, not for a product, and we can run the same tests against the controls you already have.
- Need to show which rules apply? The Agent Compliance Map lays out what nine frameworks, including the EU AI Act and NIST AI RMF, ask of AI agents.
The rest of the series
- Part 1: AI Agents Are Shipping. Trust Isn't Keeping Up. The trust gap, and the four pieces of evidence that close it.
- Part 2: Trust Is a Decision. Someone Has to Sign It. What a production decision on one agent workflow contains, and who signs it.
- Part 4: When it goes wrong anyway. Why being able to stop a run in progress is part of trusting it.
- Part 5: The evidence regulators will ask for. The EU AI Act, US state rules, and NIST work on agent identity, mapped to what a governed run produces.
Five questions to ask about your agent tests
- Do your tests check what the agent must not do, or only what it should?
- When a test passed, did the model refuse, or did a control outside it decide?
- Would the same out-of-bounds action get the same answer a hundred times in a row?
- What happens to a running agent when its governance is unreachable?
- Which change to the workflow sends it back through the tests?
Bring us the agent workflow your security team hasn't signed off on yet. Scope a production-readiness pilot and we will try to break it with you, or request a demo and watch Beacon deny an out-of-bounds action, contain a drifting run, and show the record behind both.