v1.23.0 -- contract-layer impact metrics
[1.23.0] - 2026-06-23
Added
- Contract-layer metrics (impact measurement). So the contract layer's effect can be evaluated instead of trusted blindly:
- Hook telemetry:
guard-bash.shandverify-edit.shappend one fail-open JSONL row per evaluated command/edit to.claude/metrics/contract-events.jsonl(ts, session_id, hook, decision, rule, file). Never logs command text or file contents. contract-metrics.py(stdlib,--self-test): block rate per hook/rule, a verify-edit self-correction rate (a block followed by a clean re-edit of the same file in the same session = the corrective-hint loop closing), and a week-over-week trend.contract-metrics-agent.sh: deterministic weekly snapshot todocs/agents/contract-metrics-report.md-- no Claude CLI, no API cost.- Raw log gitignored (
.claude/metrics/); report follows Rule #70.
- Hook telemetry:
Full Changelog: v1.22.0...v1.23.0