Headron vs Cursor rules: rules tell, verification proves
A rules file can tell Cursor what to do. It cannot check whether it was done. Headron adds the check.
The gap Cursor rules leave open
Cursor rules, whether in .cursorrules, AGENTS.md or path-scoped rule files, are instructions the agent reads. An agent can skim them, follow them loosely, or accept a wide multi-file suggestion that skips the route for one of the files entirely. Nothing in the rules file runs a check, reads an exit code, or stops a commit. The agent reporting that it followed the rules is not evidence that it did.
Rules versus verification
- Cursor rules
- Text the agent reads. They set intent: which files to touch, which commands to run, which style to keep. They are advice the agent can drift from, and drift leaves no trace.
- Headron
- A contract in the repo, atlas.yaml, that maps each kind of change to the checks it owes. The checks run, and the verdict is recorded. A check that did not run is reported as NOT RUN, never as a pass.
- Together
- The rules stay the instruction layer. Headron is the execution layer underneath: same repo, same files, one proof per change.
How it works inside Cursor
- Init
- Run headron init in the repo. It writes AGENTS.md, CLAUDE.md, the MCP config and a pre-commit hook from the contract, so Cursor reads the same rules every other agent reads.
- Classify
- Headron reads the change and names its class, so the proof owed comes from the files touched, not a generic checklist.
- Verify
- The owed checks run through the CLI or the read-only MCP route, and Headron tracks which ones actually produced evidence.
- Refuse
- The git hook runs the same check-only command on every commit, whether the change came from Cursor, another agent, or a developer. Cursor keeps its own tools, language server and diagnostics while it types.
- Receipt
- The verdict and its evidence are kept as a receipt you can inspect, instead of trusting the agent summary.
What each verdict means
- PASS
- The check ran and produced evidence that it passed.
- FAIL
- The check ran and refused the change.
- SKIP
- The tool for this check is missing. It stays out of the pass count.
- NOT RUN
- The gate owed this check and it did not run, so the change is not proven.
Try it on one change
Install the free verifier, wire a repository, then ask what a file owes before you trust it.
uv tool install headron-software && headron doctor
cd your-repo && headron init
headron gate path/to/changed_file.py
headron verify --changed
headron verify
The docs cover contracts, verdicts and receipts in full. For the general practice, read AI code verification and how to verify AI-generated code.
Questions
Do Cursor rules verify code?
No. Cursor rules are text the agent reads. They can tell the agent what to do, but they cannot run a check, read its exit code, or refuse a landing when a check fails or never ran.
Does Headron replace .cursorrules or AGENTS.md?
No. Headron writes AGENTS.md and CLAUDE.md from the same contract, and Cursor reads AGENTS.md. The rule files stay the instruction layer; Headron adds the execution layer that runs the checks and holds the change.
How does Headron work inside Cursor?
Run headron init in the repo. It writes the agent files, the MCP config and a pre-commit hook. Cursor keeps its own tools and language server; the hook runs the same check-only command on every commit, whoever made it.
What happens when a check does not run?
It is reported as NOT RUN and the change is not proven. A missing tool is reported as SKIP and stays out of the pass count. Neither is ever counted as a pass.
Related guides
Start
Run the free, MIT-licensed verifier or connect through MCP. Headron Harness shows your runs, checks and receipts in one account.