hiw3c AI 日报
Simon Willison 网页快照

引用杰弗里·亨特利的话

原文标题 · Quoting Geoffrey Huntley

如果代理没有使用我的诊断库,我可以内省并更新AGENTS.md,但仍然存在Delta,并且它会漂移。相反,我编写了一个预提交挂钩,检查git diff是否直接调用绕过我的诊断模块的可观察性模块。Boom:提交失败,注入提示,告诉代理使用诊断库。突然之间,十分之十。- 杰弗里·亨特利,没有人应该再手工输入代码了。这是剩下的。标签:编码代理、generative-ai、git、agentic-engi

来源:Simon Willison · simonwillison.net

正文为英文,可一键机器翻译(仅首次需要等待)

Simon Willison’s Weblog

If the agent isn't using my diagnostics library, I could introspect and update AGENTS.md, but there's still a delta, and it'll drift. Instead, I write a pre-commit hook that checks the git diff for direct calls to observability modules that bypass my diagnostics module. Boom: fail the commit, inject a prompt telling the agent to use the diagnostics library. All of a sudden it's ten out of ten.

— Geoffrey Huntley , nobody should type code by hand anymore. here's what's left.

Recent articles

Hello Python 3.15, goodbye 3.10, and now I can use 3.11 - 12th October 2026

A new feature for my blog, built using my voice - 9th October 2026

Claude Haiku 5.5 - 7th October 2026

We're going to need default hard budget caps on pretty much everything - 3rd October 2026

This is a quotation collected by Simon Willison, posted on 13th October 2026 .