Skip to content
SkilledDragonEngineering Intelligence
MinilabKeylessOctober 21, 2026

AgtVerify CI Gate sorted 9 of 9 evidence cases, and agt's --strict flag does nothing

We wrapped agt verify --evidence in a merge check and ran it keyless on 9 cases. Every verdict matched, and --strict turned out to be a no-op in agt 4.1.0.

By David Discua

Measured in the lab

9/9
cases matching expected verdict
10/10
OWASP ASI controls checked
6
evidence checks per manifest
36.8 s
report wall time
Good manifest (JSON)6 of 6 evidence checks pass6
Allow-default policydeny-semantics fails5
Missing policy filepolicy-files, deny-semantics fail4
Hollow manifestall 6 checks fail0
  • 9 of 9 cases matched the expected verdict
  • agt verify without --evidence exits 0, and the gate marks it weak
  • An attestation edited to pass is caught by the hash rule
  • A wrong-schema manifest fails the attestation rule
  • --strict changes nothing at agt 4.1.0 (exit 1 with and without it)

From reports/agtverify-gate.json · run on October 21, 2026. agent-governance-toolkit 4.1.0, gate 0.1.0, Python 3.12.14; 9 cases including 2 good, 4 weak and 1 invalid manifest

How it is wired

manifest--evidenceverdictPull requestagt-evidence.jsonAgtVerify gate9 gate rulesagt 4.1.010 ASI controlsMerge checkexit 1 on weak

01/03A pull request carries the deployment's evidence manifest.

Microsoft's Agent Governance Toolkit ships a CLI, agt verify, that checks an AI agent deployment against the OWASP Agentic controls the toolkit calls "ASI 2026". Run with no arguments, it only checks that the toolkit's own modules import, so it passes on a machine that governs nothing. We built a CI gate around agt verify --evidence, ran it keyless on 9 cases, and every verdict matched what we expected. The catch is that the --strict flag the upstream docs present as the CI switch has no effect in agt 4.1.0, and the evidence file is self-reported.

The catch

Upstream tutorial 18 says --strict fails when runtime evidence is missing or weak. In the 4.1.0 source the flag is hidden and marked deprecated, because strict mode is now the default. We measured it: a weak manifest exits 1 with the flag and exits 1 without it, with the same check statuses. The gate passes --strict to match the docs and does not depend on it.

The bigger limit is what agt can see. It checks that the policy files named in the manifest exist and parse. It cannot prove the running deployment loads them. Deny semantics are only read from top-level keys, so an allow-default policy with one deny rule counts as weak, and deny logic written any other way goes undetected. The attestation hash is a content digest, not a signature. It catches a careless edit, and anyone who can run agt can still produce a valid hash for a different manifest. The composite action's bash step was tested locally, and the GitHub Actions jobs themselves have not run yet.

What we ran (keyless)

git clone https://github.com/SkilledDragonCorp/agtverify-ci-gate.git
cd agtverify-ci-gate
uv sync --frozen
uv run agtverify-gate verify fixtures/good/agt-evidence.json
uv run agtverify-gate verify fixtures/weak-allow-default/agt-evidence.json
uv run python scripts/report.py

From reports/agtverify-gate.json, run on October 21, 2026 with agt 4.1.0:

CaseVerdictEvidence checksFailed gate rules
Good manifest (JSON)pass6/6none
Good manifest (YAML)pass6/6none
Allow-default policyweak5/6agt-exit, evidence-checks, agt-passed
No log sinkweak5/6agt-exit, evidence-checks, agt-passed
Missing policy fileweak4/6agt-exit, evidence-checks, agt-passed
Hollow manifestweak0/6agt-exit, evidence-checks, agt-passed
Wrong schemainvalidnoneagt-exit, attestation
agt verify without --evidenceweak6 absentmode, evidence-checks
Hollow attestation edited to passinvalid6/6hash

The row that motivated the lab is the import-only run. agt exits 0 and reports 10 of 10 ASI controls, with none of the six evidence checks present. The gate rejects it on the mode rule. In the last row we rewrote a failing attestation to say it passed, and check-attestation caught it because the hash no longer recomputes. Each agt call took between 2,858 and 4,203 ms, and the whole report ran in 36.8 seconds.

How it is wired

The gate is a Python 3.12 CLI that shells out to the real agt --json verify --evidence FILE --strict, parses the attestation and applies nine rules on top of agt's exit code. Those include a minimum of 10 ASI controls, all six evidence checks present and passing, no escape-hatch flags, and an optional freshness window. It prints a Markdown verdict, adds ::error annotations on GitHub and exits 1 on weak or invalid evidence. A composite action and a reusable workflow wrap it, and a missing evidence file fails the job.

Minilab (open source)

Upstream is microsoft/agent-governance-toolkit (6,459 stars, MIT, Python, as of October 24, 2026). Drop your own manifest into fixtures/, re-run uv run python scripts/report.py, and check that matched_expected in reports/agtverify-gate.json still equals cases.

Run it yourself

SkilledDragonCorp/agtverify-ci-gate

Clone, install and run the report with no API keys. The numbers above are what that run writes.

uv sync --frozen && uv run agtverify-gate verify fixtures/good/agt-evidence.json

SkilledDragon is not affiliated with Microsoft, the OWASP Foundation or GitHub. Numbers are from our own keyless lab run; re-run the report before relying on them. Marks belong to their owners.

All labs