speclock_update_threshold
Update typed lock thresholds
How to use it
speclock_update_threshold is exposed by the Speclock MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the speclock_update_threshold tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
Install Speclock
npx speclock@latest protect # reads existing AI rule files; advisory by defaultOther tools in Speclock (39)
Record architectural decision
Add constraint + auto-guard files
Add pinned note
Add typed constraint (numerical/range/state/temporal)
Apply constraint template
Audit staged files pre-commit
Calculate blast radius of file changes
Build/refresh code dependency graph
Semantic conflict check against all locks
Check proposed values against typed constraints
Git tag for rollback
Compile natural language into structured constraints
Scan for constraint violations
SOC 2 / HIPAA / CSV reports
Recent tracked changes
Full context pack (the key tool)
Full event log (filterable)
Health score + multi-agent timeline
Initialize SpecLock in project
List all typed constraints
Log a change with files
Map locks to actual code files
View override audit trail
Override with reason (audit logged)
Evaluate policy rules
CRUD for policy rules
Soft-delete a lock
Branch, commit, diff summary
Violation stats + most tested locks
ALLOW/WARN/BLOCK verdict for proposed changes
Analyze git diff against locks
Start session + full briefing
End session + record summary
Record deploy config
Switch advisory/hard mode
Set project goal
AI-powered lock suggestions
Opt-in usage analytics
Verify HMAC chain integrity