House Rules
Hands Off Main
Work happens on branches. Nobody pushes straight to main or master.
by PeregriniTrusted publisherversion 1 · 0 accounts running it
What it does
- Stops any shell command matching git push origin main*.
- Stops any shell command matching git push origin master*.
- Stops any shell command matching git push origin HEAD:main*.
- Stops any shell command matching git push origin HEAD:master*.
- Tells every agent, when its session starts: "Do your work on a branch of its own. Never commit directly to main or master."
Peregrini chose this publisher. It has not checked each rule. A book cannot vary the Mandate, and no instruction in it permits anything the Mandate reserves to your own permission lines. Its blocks are added to yours: where two books block different things, both apply. Where its instructions conflict with your own, the agent says so and asks.
The exact lines
no-run git push origin main* no-run git push origin master* no-run git push origin HEAD:main* no-run git push origin HEAD:master* instruction Do your work on a branch of its own. Never commit directly to main or master.
Version fingerprint
78e53d11fb3478e5c97b2546dd5efba90c77af443d1968716ec2be9eff1b2cac
Versions
Version 1 · 28 September 2026
A starter book by Peregrini.
Added: no-run git push origin main* · no-run git push origin master* · no-run git push origin HEAD:main* · no-run git push origin HEAD:master* · instruction Do your work on a branch of its own. Never commit directly to main or master.