Prevent AI from Lying When It Says “I’m Done” — Build a Verification Loop with the Claude Code Harness

Claude Code sometimes reports “Done,” but when you run it, tests are broken or requirements are missing. Over 30 lessons, we’ll add a completion-check script, completion criteria in CLAUDE.md, permission-denial rules, four hooks, a read-only review agent, and CI configuration to a small bookstore order API repository, completing a verification loop where work is considered finished only after passing eight stages of checks.

2 learners are taking this course

Level Basic

Course period Unlimited

CI/CD
CI/CD
Node.js
Node.js
Git
Git
CI/CD
CI/CD
Node.js
Node.js
Git
Git

What you will gain after the course

  • Distinguish the seven forms of false completion, and specify the completion criteria as a command and exit code.

  • Create a completion check, verify.sh, that runs syntax checks, type checks, tests, and UI verification in one line, and generates evidence files.

  • Using Mutation Testing to Weed Out Weak Tests That Pass with Zero Failures

  • Prevent test edits and skip commands with CLAUDE.md completion criteria, edit refusal rules, and pre-execution hooks

  • Prevent Claude Code from completing a task until it passes checks via a Stop hook.

  • Add checks to detect test tampering (skipped tests or reduced assertions) and signs of fake implementations.

  • Find Missing Requirements with a Read-Only Review Agent and a Requirements-to-Evidence Cross-Reference Table

  • Run the same checks without human intervention using a headless verification loop and CI configuration, then inspect the hook logs.

Recommended for
these people

Who is this course right for?

  • A developer who assigned a task to Claude Code, trusted its “All done,” and moved on, only to discover broken tests or missing requirements later.

  • Developers and vibe coders who are short on time because they have to visually review every AI-generated result and want to automate the checks.

  • Those who want to see, file by file, how CLAUDE.md, permission settings (settings.json), hooks, and review agents are integrated into an actual repository

  • For those who want to use commands instead of human judgment to determine when a task is complete before running Claude Code headlessly or integrating it into CI

Need to know before starting?

  • If you’ve ever used Claude Code to handle coding tasks and can follow along with terminal commands, that’s all you need. The hands-on repository is written in JavaScript (Node.js), but we’ll go through the code together during the course.

  • Node.js 22 or later, Git, and Claude Code are required. Python 3, Playwright, and Chrome are used only to check the screen in Lesson 9.

Hello
This is haeyeomiso

Career Verified

774

Learners

29

Reviews

42

Answers

4.7

Rating

23

Courses

Nice to meet you!

I am Haeyeo, someone who explores the infinite possibilities of AI and computer science and wishes to share that journey with all of you.

During my undergraduate years, my passion for my major was so intense that I was nicknamed a 'Computer Science Addict.' I graduated at the top of my class with a major GPA of over 4.4. I then earned my Master's degree in AI from Seoul National University and further deepened my expertise through a doctoral program.

However, as I felt as much of a fascination for solving real-world problems with AI as I did for theoretical exploration, I took a break from my doctoral studies to gain valuable hands-on experience by working on AI-based LLM and video analysis projects at a startup.

Currently, I am working as an LLM project developer and PM at one of the top three conglomerates in Korea, contributing to creating positive changes that AI technology will bring to our lives. I will generously share with you the challenges I faced, the problem-solving processes I went through, and the vivid know-how I gained in the field. I will be your reliable guide on this journey into the exciting world of AI.

Inquiries and Proposals: haeyeo.open@gmail.com

More

Curriculum

All

30 lectures ∙ (5hr 17min)

Published: 
Last updated: 

Reviews

Not enough reviews.
Please write a valuable review that helps everyone!

haeyeomiso's other courses

Check out other courses by the instructor!

Similar courses

Explore other courses in the same field!

Limited time deal

$506,468.00

59%

$46.20