# Evidence-Gated Handoff for AI Agent Workflows

> Make agent handoffs verifiable: negative-control gates, runner-owned evidence, coverage reports and tamper checks, so 'done' means something.

Evidence-Gated Handoff for AI Agent Workflows is a paid AI agent skill on Agensi by Owais Khan, in Agents & Orchestration. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $12 (one-time purchase)
- Creator: [Owais Khan](https://www.agensi.io/creators/owais-khan)
- Category: [Agents & Orchestration](https://www.agensi.io/skills/agents-orchestration)
- Version: 1.0
- Last updated: 2026-10-18
- Security: scan passed (2026-10-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/evidence-gated-handoff-for-ai-agent-workflows
- Tags: ai-agents, llm-ops, code-review, testing, automation, agent-handoff, quality-gates, multi-agent

## About this skill

### Stop trusting "done"

Multi-agent coding pipelines break at the handoff. One agent writes the code, another "verifies" it, and the evidence is whatever the first agent says it did. Tests pass because the agent wrote tests that pass. A ticket reaches DONE with every acceptance criterion written in prose and nothing checking any of them.

**Evidence-Gated Handoff** is an instruction skill that makes a stage-to-stage handoff believable. It gives your agent six rules and a step-by-step procedure for building and reviewing gates that do not rely on an agent's self-report.

### The six rules

1. **Judge on mutation, never on sign-off.** Run the gates when the tree changed, not when an agent announces it is finished. A no-diff run is a no-op, not a pass.
2. **Evidence is runner-owned.** Only the gate runner writes the evidence record. An agent never types its own proof.
3. **Every gate must fail first.** Run each new gate against the pre-change tree in a disposable git worktree. If it passes there, it is vacuous. If it fails for the wrong reason (a crash, a missing import), it did not discriminate either.
4. **Report the negative space.** For every transition, list each acceptance criterion with the gates that name it, and print the criteria no gate names.
5. **Witness accepted gates.** Record each gate's path, file hash and a marker line. Re-check cheaply on any transition so a gate that was quietly defanged after acceptance blocks the handoff.
6. **Ratchet legacy debt.** Freeze old violations in an explicit list, forbid regression, and force the baseline to tighten when a metric improves.

### What you get

- `SKILL.md`: the rules, an eight-step handoff procedure, a failure-pattern table (symptom, cause, fix) and a review checklist.
- `references/gate-patterns.md`: copy-ready templates for gate metadata, the negative-control command sequence and decision table, the witness manifest, the coverage block, and the ratchet baseline with freeze list.

### Use it when

- You are wiring BUILD, TEST, REVIEW and DONE stages across several agents and want each move to mean something.
- An agent reports success and you cannot tell whether anything was actually checked.
- Your tests are green and you suspect they would be green on broken code too.
- You are reviewing someone else's agent pipeline for self-attestation.

### Good to know

- Plain markdown. No scripts, no network access, no environment variables.
- The negative-control procedure assumes your project is a git repository.
- It is a method, not a framework: it works with whatever test runner and CI you already have.

## Requires

- Git

## Known limitations

Instruction skill only: no executable runner is included. The negative-control step needs a git repository. Gates must be mapped to acceptance criteria by exact text. Adds setup time to each transition.

## 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-Gated Handoff for AI Agent Workflows skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What exactly do I get?

A SKILL.md instruction file (six rules, an eight-step handoff procedure, a failure-pattern table and a review checklist) plus one reference file with templates for gate metadata, the negative-control command sequence, the witness manifest, the coverage block and the ratchet baseline. There is no executable runner: the skill teaches your agent to build and review gates in your own stack.

### How does it stop an agent from reporting success without proof?

It tells the agent never to grade its own work. Gates run on mutation, only the runner writes evidence, and every new gate must fail against the pre-change tree, for the right reason, before it is accepted.

### Which agents and frameworks does it work with?

It is plain markdown with no scripts, network or environment access, so any agent that loads SKILL.md files can use it. It was written against Claude Code-style skill loading and has not been tested across other agents. The negative-control step assumes a git repository.

### How hard is it to add to an existing pipeline?

You need written acceptance criteria per ticket, a place for a runner to write evidence, and a git repository. The skill's eight-step procedure walks the agent through the rest.

### Does it work on legacy codebases with low test coverage?

The ratchet rule covers that case: freeze known violations in an explicit list, forbid regression from the current baseline, and tighten the baseline when a metric improves. It does not retro-gate old work.

---

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.
