Who it is forA reviewer or lead developer whose coding agent keeps arguing that an extra check is necessary.
The problemThe agent gives a reason for each hardening step, and a plain rule is easy to argue past in the moment.
The outcomeThe reviewer names the matching case and the agent either justifies the check against the requirement or drops it.
What you need first
- A coding agent that loads a config file automatically, such as CLAUDE.md, AGENTS.md, .github/copilot-instructions.md or .cursorrules
- A terminal with curl, awk and grep to run the one-line install, or a text editor to paste the block by hand
- A project where you can edit the agent config file
Steps
- Open cases/README.md and find the case that matches the behaviour, for example HERO-R-006 for audit loops that consume the experiment they audit.
- Read what was asked, what the agent did and what proportionate looks like for that case.
- Paste the case ID and the matching line into the agent conversation.
- Ask the agent to name the specific failure the check would detect, and what it would do differently if that failure happened.
Prompt for your agent
Read cases/README.md in the HERO-Anti-OverDefense repo. Find the case that matches <behaviour you observed>, quote its ID and its proportionate example, and answer in one paragraph whether the check you are about to run would detect a failure that changes what happens next.
Caveat. The cases are meant to be quoted back by ID, not loaded into the agent config, so they only help when someone reads them and raises them during the session.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for wanshuiyin/HERO-Anti-OverDefense and "Quote a HERO case ID when an agent defends its extra checks"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer