Quoting Geoffrey Huntley
Summary
Simon Willison quotes Geoffrey Huntley on enforcing AI coding agent behavior by using pre-commit hooks that block direct observability calls and inject prompts to make agents use his diagnostics library, achieving 'ten out of ten' results.
View Cached Full Text
Cached at: 10/13/26, 02:46 PM
Similar Articles
Best patterns for evaluating AI agents?
A practitioner shares their deterministic evaluation harness for QA/coding agents — fixed corpora, injected bugs, hidden tests, and pass^k/token metrics — and asks the community how others balance smoke tests vs full benchmarks, whether LLM-as-a-judge adds value, and whether tools like Promptfoo or DeepEval reduce maintenance burden.
Instructions didn't stop my agents. Checks on the call did. Four patterns that held up
A practitioner shares four hard guardrail patterns that enforce checks on AI agent tool calls themselves—rather than relying on prompt instructions—validated against two months of Claude Code history, showing that runtime argument validation, ordering constraints, worst-case budget reservation, and explicit refusal messages prevent agents from bypassing instructions.
Giving an AI coding agent a deterministic "architecture linter" so it stops faking "done"
The article describes giving an AI coding agent a deterministic architecture linter that checks Event Storming diagrams for mechanical gaps and open questions, ensuring the agent doesn't fake completion.
How are you actually catching unsafe stuff before an agent runs it, not after?
The author discusses the lack of robust safety enforcement in AI coding agents like Claude Code and Cursor, relying on prompt instructions and manual review, and seeks input on actual pre-execution policy enforcement methods.
We benchmarked how 60 engineers direct AI coding agents. Here is what separated the strong ones
HyperHat's founder shares results from a benchmark of 60 engineers directing AI coding agents, finding that specification quality, mechanism verification, and review behavior—not prompting tricks—separate strong engineers, and that most people miss partial agent failures.