# Evidence-Claim Gate Protocol

> Stops AI agents from hallucinating passing tests by requiring explicit RAN, READ, and NOT RUN evidence ledgers, hollow-test detection, and mandatory unverified disclosures.

Evidence-Claim Gate Protocol is a free AI agent skill on Agensi by Helios Strategic Innovations, in Testing & Debugging. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Helios Strategic Innovations](https://www.agensi.io/creators/helios-strategic-innovations)
- Category: [Testing & Debugging](https://www.agensi.io/skills/testing-debugging)
- Version: 1.0
- Last updated: 2026-11-23
- Security: scan passed (2026-11-23); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/evidence-claim-gate-protocol
- Tags: ai-agents, code-review, testing, governance, qa

## About this skill

Stop agents from claiming success without proof. This skill forces a deterministic governance protocol that binds every task completion to verifiable runtime or filesystem evidence, ending the cycle of hallucinated test passes and hollow assertions.

### What it does
- **Evidence-Claim Gating** prevents agents from asserting a fix is complete until specific verification criteria are met.
- **Verification Tri-State Classification** categorizes every check as `RAN` (terminal output), `READ` (static inspection), or `NOT RUN` (explicitly deferred).
- **Hollow-Test Detection** identifies and rejects tests that pass vacuously due to missing assertions, tautologies, or self-mocking.
- **Mandatory Disclosure** forces an explicit "Not Verified" section for any edge cases or platforms skipped during the session.
- **Ledger Generation** produces a standardized Evidence Ledger table showing commands, exit codes, and file paths.

### How it works
1. **Verification Planning** identifies the specific test suites, build commands, and files required to prove a change works.
2. **Evidence Capture** records exact shell commands and exit codes during execution.
3. **Quarantine Check** inspects test implementations for anti-patterns like swallowed exceptions or unawaited assertions.
4. **Ledger Compilation** formats the results into the mandatory Verification Evidence Ledger.

### Frameworks & tools
Language-agnostic but optimized for standard dev environments using `pytest`, `jest`, `mypy`, and shell-based build tools.

### Why this beats prompting it yourself
Generic prompts often allow agents to gloss over failed tests or skip verification entirely when they are "confident." This skill enforces a rigid engineering gate that treats unverified claims as failures, ensuring you never merge code based on a hallucinated "all tests passed" message.

### Use cases
- Preventing agents from claiming a bug fix without running the specific reproduction test case.
- Auditing AI-generated unit tests to ensure they actually assert logic instead of mocking the unit under test.
- Generating transparent status reports for complex refactors that span multiple sub-modules.
- Documenting exact environmental limitations and unverified edge cases for human reviewers.

### Known limitations
Does not perform live execution of external CI/CD pipelines. Requires the agent to have terminal or filesystem access to gather evidence.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Evidence-Claim Gate Protocol skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does the Evidence Claim Gate prevent AI agents from lying about task completion?

This skill acts as a governance layer that prevents agents from declaring tasks finished until they provide hard evidence, such as shell exit codes or file diffs, effectively eliminating 'hallucinated' success messages.

### Is this skill compatible with my specific AI agent or coding framework?

It is language-agnostic and works with any agentic framework that has terminal and filesystem access, with specialized optimizations for common testing suites like pytest and Jest.

### What happens if an agent writes a test that passes but doesn't actually check anything?

Hollow-test detection analyzes the agent's proposed test logic to identify 'fake' passes, such as tests that pass because assertions were accidentally commented out or logic was improperly mocked.

### What is included in the purchase of this skill?

You will receive the complete skill definition, including the deterministic verification protocol, the Evidence Ledger template, and the hollow-test detection logic ready for integration.

### How does the skill handle scenarios where some tests cannot be run in the current environment?

The Verification Tri-State Classification forces the agent to explicitly label every check as RAN, READ, or NOT RUN, ensuring no edge case is silently ignored or forgotten.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
