Chock.sh Build your plugin
Advisoryv0.0.5 preset: Safety guidance

Git Safety

Advisory only. It is skill text, and nothing stops a violation.

Acts on

Agent instructions

When

As instructions the agent reads

Tested

0 of 4 pass

In a git repo

Advisory

What it does

Trigger: force push, hard reset, destructive branch delete, hook bypass, direct main commits. avoid: rewriting remote history, discarding uncommitted work, skipping pre-commit checks. Enforced counterparts: block-destructive-commands (command guard plus pre-push hook), block-no-verify (command guard), protect-main-branch (commit and push gate), limit-diff-size (asks at commit). This rule is the advisory layer over them plus atomic-commit guidance no gate can decide.

Chock adds friction. It is not a security boundary.

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 Advisory only. It is skill text, and nothing stops a violationBuild →
  • Codex TestedAdvisory Advisory only. It is skill text, and nothing stops a violationBuild →
  • GitHub Copilot TestedAdvisory Advisory only. It is skill text, and nothing stops a violationBuild →
  • Devin TestedAdvisory Advisory only. It is skill text, and nothing stops a violationBuild →
  • 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 →

What it misses

This policy does not state what it misses.

Latest change

0.0.5 · · Title wording only (IR-F40): "Git Safety Rule" is now "Git Safety". The id, guard and tests are unchanged.