Simon Willison·· 4 小时前AI 评分44
Simon Willison 引述 Geoffrey Huntley:用 pre-commit hook 约束 Agent 使用诊断库
Quoting Geoffrey Huntley
AI 导读
Geoffrey Huntley 表示,若 Agent 绕过自己的诊断库直接调用 observability 模块,他会用 pre-commit hook 检查 git diff,并让提交失败,同时注入提示词要求 Agent 使用诊断库。他称这让效果一下达到“十分之十”。
来源:Simon Willison · simonwillison.net