A pre‑commit hook enforces agent diagnostics usage. The hook scans git diffs for direct calls to observability modules, fails the commit, and injects a prompt to use the diagnostics library, ensuring consistent agent behavior. This streamlines agent development and reduces drift.
Opening Kapyn…