v5.4.0 — Drift Score, Lock Coverage Audit, Lock Strengthener
Project Health Dashboard — Three metrics no other tool can provide
Drift Score (0-100)
How much has your AI deviated from your architecture?
speclock drift
# → Drift Score: 23/100 (B) — minor drift
# → Trend: improving | 6 signals analyzed
README badge: https://img.shields.io/badge/drift_score-12%2F100-brightgreen.svg
Lock Coverage Audit
Find what's unprotected before your AI finds it first:
speclock coverage
# → Lock Coverage: 60% (B)
# → [EXPOSED] CRITICAL payments — 1 file at risk
# → Suggested: speclock lock "Never modify payment processing without permission"
Lock Strengthener
Grade your locks, fix weak ones:
speclock strengthen
# → [WEAK] 30/100 "dont break things" → suggested improvement
# → [STRONG] 90/100 "Never expose API keys in client-side code"
Stats
- 49 MCP tools (up from 42)
- 929 tests, 100% pass rate
- 10 templates, 8 sync formats
Install
npx speclock@latest setup --goal "My project" --template safe-defaults
speclock drift && speclock coverage && speclock strengthen
Bug fix (v5.4.1): Drift Score now correctly reads violations — every speclock check that catches a conflict feeds the score.
---Developed by Sandeep Roy https://github.com/sgroy10