Constrain coding-agent over-defense with HERO
Constrain coding-agent over-defense with HERO
Paste HERO's scope-limits contract into always-loaded agent config so coding agents keep fixes proportionate and avoid unnecessary hashing, edge-case hardening, rubric loops, and overbuild.
Prerequisites
A coding-agent host that loads persistent instruction files, such as Codex AGENTS.md, Claude Code CLAUDE.md, Antigravity AGENTS.md, GitHub Copilot copilot-instructions.md, Cursor rules, Windsurf rules, or Gemini CLI GEMINI.md
Installation
Install or set up from the source-backed instructions:
Copy the canonical scope-limits block from RULES.md into the instruction file your agent host loads automatically. For Codex and Antigravity use AGENTS.md in the project root; for Claude Code use CLAUDE.md; for GitHub Copilot use .github/copilot-instructions.md; for Cursor, Windsurf, and Gemini CLI use the host-specific files documented in hosts/README.md. Keep the case catalogue out of the loaded prompt and quote cases only when calibrating a disputed behavior.
Usage and Verification
Pilot in a disposable repository. Review the upstream RULES.md before copying; preserve existing project instructions, security requirements, and approval boundaries. Record the upstream revision you reviewed so a later update can be compared deliberately.