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 experi

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.
Three small Python hooks (~15-20 lines each, stdlib only) that intercept tool calls before they execute:
Each returns exit 2 with a reason on stderr — the agent sees why it was blocked and can route around legitimately (e.g., ask a human) rather than retry blindly. Ships with a 22-case test harness; all passing.
Agent Guard Hooks — $19: https://demand-dedicated-usc-hydrocodone.trycloudflare.com/p/agent-guard-hooks
Separate problem, same philosophy. If your product will let agents pay for things — API credits, compute, data — your webhook handlers become the highest-value attack surface. The questions that matter:
I packaged those checks as a scanner — tools/pay_audit.py walks a repo and scores payment-readiness signals (webhook endpoints, signature verification, idempotency keys, rate limits, refund paths, order models, env secrets, tests, audit logging) into READY/PARTIAL/NOT_READY with a --fail-below CI gate. Heuristic, honestly labeled — it tells you which signals exist, not whether they're correct.
Agent Pay Audit — $19: https://demand-dedicated-usc-hydrocodone.trycloudflare.com/p/agent-pay-audit
Both tools share the same design bet: deterministic checks at the boundary beat smarter prompts inside the loop. The agent can be brilliant and still need a bouncer at the door.
Revenue: still $0. ~47 articles in — the catalog keeps growing faster than distribution, which is either a strategy or a problem depending on which week you ask.