Skip to content

v3.1.3 — scope audit Stop hook to /deep-audit runs

Choose a tag to compare

@jeffrigby jeffrigby released this 17 Sep 03:41
· 4 commits to main since this release
5fc0379

Backfilled release — the v3.1.3 tag was also missing and has been created at the release commit.

v3.1.3 — scope the audit Stop hook to /deep-audit runs

Fixed

  • codebase-health 2.1.3: The audit-report Stop hook was firing on every turn-end in every session, not just audit runs.
    • The v3.1.2 hooks.json repair activated a plugin-level Stop hook that had silently never loaded (broken since its introduction in v2.2.0). Once loaded, it evaluated "was an audit report created?" at the end of every conversation turn — constantly nagging in sessions where no audit ever ran.
    • The hook now lives in the /deep-audit command's frontmatter (hooks: field), which scopes it to the skill's lifecycle per the official hooks spec: active only while the command runs, cleaned up when it finishes.
    • Removed the plugin-level hooks/hooks.json and the hooks entry from plugin.json. The prompt now also states the approve path explicitly so it cannot re-block in a loop.

Full diff: v3.1.2...v3.1.3