Milestone progress
This PR (3 issues)
#1278 — worktree-merge-verifier in action
#1295 — metrics-bridge output
Written to .claude/state/ork-metrics-{session_id}.json. Flat JSON for easy jq. Atomic writes, 1 MB cap.
Analytics pipeline: jq '.edits / (.test_runs|tonumber) as $ratio | select($ratio > 5)'
surfaces sessions with edit-to-test ratios above 5 (candidates for the pre-commit-test-gate advisory).
#1292 — outputNotify() line wrapping
Before: each advisory hook invents its own format. After: uniform prefix + 80-char wrap + indent.
[thrash-detector] You've edited the same file(s) repeatedly in the last 10 edit events: auth.py: 4 edits. This pattern often signals a test-edit or formatter-edit loop. Consider a different approach.
[thrash-detector] You've edited the same file(s) repeatedly
in the last 10 edit events: auth.py: 4
edits. This pattern often signals a
test-edit or formatter-edit loop. Consider
a different approach.
Migration of existing hooks is additive and deferred — keeps this PR focused. Hooks that stick with their current format still work; new hooks use the builder from day one.
Hook totals after merge
Test deltas 3 files
Next up after this merges
With Usage-Driven Hardening closed, the next recommended target is Memory System Hardening — 6 issues, 1 high-priority (#1139 auto-persist high-confidence decisions). Dovetails with Opus 4.7's better filesystem-memory reads. Tight scope per issue, similar bundle pattern.