SpecLock: Open Source Constraint Engine for AI Coding Agents

SpecLock is an open source constraint engine that adds active enforcement to AI coding agents. While Claude Code's native memory can remember constraints, SpecLock actively blocks violations with semantic conflict warnings.
How SpecLock Works
SpecLock operates as an MCP server with 19 MCP tools. When you set a constraint like "never modify auth files," if Claude tries to violate it—even 10 sessions later—the action gets blocked. The system uses three key techniques:
- Synonym expansion across 15 groups
- Negation detection
- Destructive action flagging
This semantic understanding means that "remove the login endpoints" correctly triggers against a constraint about "never modify auth files."
Compatibility and Availability
SpecLock works with multiple platforms:
- Bolt.new (npm mode, no MCP needed)
- Lovable
- Cursor
- Windsurf
The tool is free, open source, and available on GitHub. The developer built it over several months after experiencing frustration with AI tools ignoring constraints.
📖 Read the full source: r/ClaudeAI
👀 See Also
Balloon That Pops When Claude Finishes: Physical Agent UI with whisper.cpp
A desktop balloon inflates as you speak a task, then floats across your screen while Claude Code runs the agent. Transcription runs locally via whisper.cpp, agents use your existing Claude Code login. Open source.

Claude Usage Monitor: Floating CRT Widget for Windows
A developer built a Windows widget that displays Claude API usage in real-time with session and weekly bars, featuring seven color themes and automatic pausing when screens are locked or in fullscreen mode.

Engram: A Learning Plugin for OpenClaw That Actually Makes Knowledge Stick
Engram is an OpenClaw plugin that uses neuroscience-based techniques like pre-testing, blind grading, and FSRS-4.5 scheduling to ensure you retain what you learn, even as AI agents accelerate your shipping.

PACT 0.4.0 adds compound intelligence for AI coding agents
PACT (Programmatic Agent Constraint Toolkit) version 0.4.0 introduces compound intelligence features that help AI coding agents retain knowledge across sessions. The update includes research synthesis, a knowledge directory, and capability self-awareness systems.