Skip to content

v1.23.0 -- contract-layer impact metrics

Choose a tag to compare

@juan294 juan294 released this 23 Jun 07:44
· 2 commits to main since this release
ff88684

[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.sh and verify-edit.sh append 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 to docs/agents/contract-metrics-report.md -- no Claude CLI, no API cost.
    • Raw log gitignored (.claude/metrics/); report follows Rule #70.

Full Changelog: v1.22.0...v1.23.0