Keep Changes Small Enough to Review
Advisory only. It is skill text, and nothing stops a violation.
Acts on
Agent instructions
When
As instructions the agent reads
Tested
3 of 11 pass
In a git repo
At commit
What it does
Trigger: staging a large change, committing more than a reviewer can read at once. avoid: one commit carrying hundreds of hand-written lines; lockfile and generated churn is not counted.
Chock adds friction. It is not a security boundary.
Advisory inside the agent. In a repo set up with chock init, chock enforces it at commit.
Its label on each agent
The catalog grades each policy on each agent. Pick an agent to build with this policy:
- Claude Code TestedAdvisory Advisory only. It is skill text, and nothing stops a violationBuild →
- Cursor TestedAdvisory Text only in a plugin. Nothing in the plugin stops a violation. The plugin does not carry the enforcement the manifest declaresBuild →
- Codex TestedAdvisory Text only in a plugin. Nothing in the plugin stops a violation. The plugin does not carry the enforcement the manifest declaresBuild →
- GitHub Copilot TestedAdvisory Text only in a plugin. Nothing in the plugin stops a violation. The plugin does not carry the enforcement the manifest declaresBuild →
- Devin TestedAdvisory Text only in a plugin. Nothing in the plugin stops a violation. The plugin does not carry the enforcement the manifest declaresBuild →
- Grok Tested Not graded yet for GrokBuild →
- goose Tested Not graded yet for gooseBuild →
- Antigravity Tested Not graded yet for AntigravityBuild →
- OpenHands Untested Not graded yet for OpenHandsBuild →
- Kimi Code Untested Not graded yet for Kimi CodeBuild →
- Factory Droid Untested Not graded yet for Factory DroidBuild →
See it in action
Asks
The commit stages 501 hand-written lines, one over the limit.
Allowed
The commit stages exactly 500 lines.
Both examples are this policy's own test cases.
What it misses
This policy does not state what it misses.
Latest change
0.0.4 · · Title wording only (IR-F40): "Limit Diff Size Rule" is now "Keep Changes Small Enough to Review". The id, guard and tests are unchanged.