Skip to content
doraval
Esc
navigateopen⌘Jpreview
On this page

R018 · drift-guardrail

Guardrail presence (heuristic)

What Heuristic: body states hard constraints with MUST / MUST NOT (or equivalent guardrails).
Why Preferences without bounds leave the agent free to invent unsafe shortcuts. Constraints set the right level of freedom.

How to fix

Add a short guardrail section:

## Constraints
- MUST run tests before opening a PR.
- MUST NOT push directly to main.

Put “do not use when…” in the description when over-trigger is the risk (R014).

Was this page helpful?