Skip to content

v5.0.1

@BenAHammond BenAHammond tagged this 09 Oct 14:51
Five fixes for the hook/edit loop, released together:

- Hook is silent (Spec 68 §hook-contract): never writes stderr, never exits
  non-zero except for a gating finding (exit 2). The unset-CLAUDE_PLUGIN_ROOT
  guard is a silent exit 0 (was echo >&2 + exit 1); warn_stale,
  assert_compatible, and CLI stderr all route to hook.log. Resolution memoizes
  plugin_version and skips the --version round-trip on the pinned install
  (sub-200ms, 0B stderr, confirmed by verify:daemon-smoke).
- Daemon project root is explicit: uses exactly the path it was started for,
  never re-derived by walking up for a marker, and refuses to read outside it.
  File discovery treats nested git repos as boundaries so a consumer's repo
  stops swallowing the surrounding tree.
- A stale dist fails the chain with no skips: verify:close now runs every gate
  and reports the full set instead of &&-short-circuiting at the first failure.

verify:close green (15/15 gates).

Co-Authored-By: Claude <noreply@anthropic.com>
Assets 2
Loading