Simon Willison·· 5 小时前AI 评分55
Geoffrey Huntley分享用 pre-commit hook 约束智能体代码的方法
Quoting Geoffrey Huntley
AI 导读
Simon Willison转述Geoffrey Huntley的方法:用 pre-commit hook 检查 git diff,发现智能体直接调用 observability modules 绕过 diagnostics module 时就让提交失败。
来源:Simon Willison · simonwillison.net