Repository navigation
Weave 1.10.0: Hook Determinism
What's New
Exit code hard blocks — pre-action.sh uses exit 2 for unconditional blocks (no active node, contradictions, installed-path edits). No user override possible.
Structured hookSpecificOutput JSON — "Ask" decisions output JSON with decision, reason, and permissionDecisionReason fields for model consumption.
DB health pre-flight — Hooks compute hot zone path via md5sum and exit 0 early if DB is missing, preventing errors in non-Weave repos.
PostToolUse success guard — post-edit-lint.sh checks tool_response.success before running lint.
pre-close-verification.sh — Soft deny on wv done without verification evidence. Model can bypass with --skip-verification.
Makefile wv targets — wv-status, wv-gate, wv-sync targets for CI integration.
Changed
- Hooks promoted from
settings.local.jsontosettings.jsonfor project-wide enforcement install.shnow scaffolds bothsettings.json(hooks) andsettings.local.json(permissions)
Fixed
- Exit code correction:
pre-action.shexit 1 → exit 2 for hard blocks - GPG signing disabled in test harness for CI environments
Full changelog: https://github.com/AGM1968/weave/blob/main/CHANGELOG.md