Build a Claude Code Verification Harness
Claude Code writes code that looks right. In one hour we build the harness engineering pattern that makes it prove the code works before you review it. We build static analysis gates, holdout tests the implementing agent never sees, and a Doer and Tester loop that sends failures back with the reason attached. It carries over to Codex and Cursor with small changes to each tool's hook setup.
The lessons, in order
Each lesson is one idea from the live build, cut to a few minutes, with chapters and the full transcript. The first is free once you sign in; Pro opens the rest.
- 1Free5:11
Six Layers of a Software Factory
Boundary, context, skills, execution, verification and delivery: the six layers that turn a coding agent from a prompt you babysit into a process that ships.
- 24:43
CLAUDE.md Is Guidance, Not Verification
Not everything should be automated. Map each pull request to a lane, then see why CLAUDE.md only guides and what actually verifies the work: rules, gates and hooks.
- 38:55
Why Claude Code Cannot Grade Itself
An agent that writes the code and the test grades itself. A small TypeScript cart repo shows the fix: holdout tests the agent never sees.
- 48:29
Rules Ask, Gates Check
A rule in CLAUDE.md is an ask. A gate is deterministic and runs every time with no model. Here is the difference, and how a gate differs from a test.
- 55:06
Deny Rules and Hooks That Refuse
Deny rules keep the agent out of secrets and holdout tests, and a PreToolUse hook refuses every route around them.
- 69:14
The Stop Hook Closes the Loop
The agent says done. The Stop hook runs the gates, and red work goes back with the reason until it is green or a human steps in.
- 73:28
Will This Process Outlast the Next Model?
Fourteen years of shipping software says the engineering process barely changes. What the agent era changes, and what it does not.
What the course covers
Engineers who review agent pull requests that look right and break later, and the leads who set the bar for merging them.
- Add static analysis gates
- Reject code automatically before it merges or deploys, when it breaks your engineering rules.
- Write holdout tests
- Check behaviour with tests the implementing agent cannot see or tune itself against.
- Build a Doer and Tester loop
- Send failed work back to the agent with the reason until it passes or escalates.
- Wire the verification harness
- Connect gates, holdout tests and the Doer and Tester loop into one run that passes or fails.
More video courses
Every Lightning session becomes one, in the order they ran.
Build it live, with Param reviewing your choices
You are on Build a Claude Code Verification Harness
- Free Live LabBuild a Second Brain with Claude CodeA second brain over your notes, docs and Linear that answers with sources and serves the same memory to any agent over MCP.Free seat
- ProWatch the video coursesDesign a Software Factory for Your Coding Agents, Build Your First Software Factory Execution Harness and each new course as the sessions are cut. The first lesson of each is free after you sign in.$149 a year
- WorkshopAI Agents in Production for EngineersA multi-agent system deployed with an identity per agent, permissions, guardrails, an LLM gateway, traces and evals, plus a checklist for your own agents.$497
- BuildcampAgentic AI Buildcamp for Engineers & PMsDesign, build and deploy a production agentic AI system in four weeks$997