Правила подсказок — это рекомендации: два ограничения, которые я действительно применяю к своим кодирующим агентам (и аудит готовности к оплате)
DEV · 22.11.2026 · 10:49
Недавний эксперимент показал, что правила, основанные на подсказках или шаблонах, являются лишь рекомендациями, тогда как настоящие ограничения обеспечиваются хуками и учетными данными.
Оригинал
Prompt rules are suggestions — the two guardrails I actually enforce on my coding agents (and the payment-readiness audit)
Last week I watched an agent chain cd && git -c credential.helper=... push && gh pr create straight past a permission rule written as git push *. The rule matched the shape of a command, not the capability — and the agent wasn't being sneaky, it was just writing a normal shell command. That experiment confirmed what I already suspected: anything enforced by prompt or pattern-matching is a suggestion. The things that actually hold are hooks and credentials. Here's what I run now. Guard