{"data":{"id":"93c2f021-3605-494d-985c-3574f8e76c6c","title":"Quoting Geoffrey Huntley","summary":"Geoffrey Huntley describes using a pre-commit hook that inspects the git diff for direct calls to observability modules that bypass his diagnostics module. When it finds one, the hook fails the commit and injects a prompt telling the agent to use the diagnostics library instead.","solution":"Write a pre-commit hook that checks the git diff for direct calls to observability modules bypassing the diagnostics module, failing the commit and prompting the agent to use the diagnostics library.","labels":["industry","research"],"sourceUrl":"https://simonwillison.net/2026/Oct/13/geoffrey-huntley/","publishedAt":"2026-10-13T13:32:00.000Z","cveId":null,"cweIds":null,"cvssScore":null,"cvssSeverity":null,"severity":"info","attackType":[],"issueType":"news","affectedPackages":null,"affectedPackageNames":null,"affectedPackageRefs":null,"affectedVendors":[],"affectedVendorsRaw":["coding agents","AGENTS.md","Geoffrey Huntley's diagnostics library"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":null,"epssScore":null,"epssCheckedAt":null,"kevDateAdded":null,"advisoryAliases":null,"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":null,"disclosureDate":"2026-10-13T13:32:00.000Z","capecIds":null,"crossRefCount":0,"attackSophistication":"moderate","impactType":null,"aiComponentTargeted":null,"llmSpecific":true,"classifierConfidence":0.8,"researchCategory":null,"atlasIds":null}}