cd /news/ai-agents/written-like-a-prompt-enforced-like-… · home › topics › ai-agents › article
[ARTICLE · art-180025] src=discuss.huggingface.co ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Written like a prompt. Enforced like a harness

A pre-execution checklist for AI agents, first posted five months ago as "If unsure, ask. Never guess.", is now enforced in code that checks conditions before an AI acts and records why, its author reported, citing over 2,000 runs across eight models since October. The author argues tool providers should declare each tool's limits — when it must not run, when the user must approve, and what the user must be told — in documents shipped with the tool, rather than leaving those conditions to an agent developer's prompt, a governance team's policy, or the model itself. The approach does not reduce hallucination, the author states, but keeps a made-up value from running unconfirmed.

recommendation

Have tool providers declare each tool's limits — when it must not run, when the user must approve, what the user must be told — and enforce them in code before execution, logging why each run was stopped.

more in playbook: Securing agents and AI tools
read1 min views1 publishedDec 2, 2026

Five months ago I posted If unsure, ask. Never guess. That checklist now runs. Write conditions in your own words. Code checks them right before the AI acts, and records why.

A tool’s conditions are its provider’s to declare, in documents that ship with the tool. Today they are written by whoever is nearest: an agent’s developer in a prompt, a governance team in a policy. When no one writes them, the model decides.

A provider’s work does not end at “this tool does X.” The provider sets the tool’s limits: when it must not run, when the user must approve, and what the user must be told. Writing nothing is on the record too.

Even when the user’s instruction or approval is wrong, the provider’s checklist stops the run and records why.

This does not make models hallucinate less. It keeps a made-up value from running unconfirmed.

Over 2,000 runs on eight models since October, across versions. What any version of this must do is in Six rules. The model does not decide.

The discussions on my earlier posts helped this a great deal. I’d welcome more, on improving it and on testing it.

Earlier posts:

── more in #ai-agents 4 stories · sorted by recency
── more on @hugging face 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/written-like-a-promp…] indexed:0 read:1min 2026-12-02 · —