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

Zerro: Point at Your Live App, Speak, and Watch Claude Code Edit It Instantly
Zerro is a Mac app that lets you point your cursor at a running app, describe a change aloud, and have Claude Code edit the real files live. It captures motion, resolves which element you mean, and checkpoints before each run.

Deploy OpenClaw on VPS with a One-Command CLI
A Reddit user claims to have developed a CLI that deploys OpenClaw on a $4.99/month VPS with a single command, offering a cost-effective alternative to using Mac Minis.

Local Memory System for AI Coding Tools Extracts 2,600+ Facts from Conversation Logs
A developer built a local memory layer that ingests conversation logs from Claude Code, Factory.ai, and Codex CLI, extracts structured facts using a local LLM, and auto-injects context into new sessions. After months of use, it has indexed 13,000+ messages and extracted 2,600+ facts.

Claude IDE Bridge: Open-source tool gives Claude AI direct access to your code editor
Claude IDE Bridge is an open-source, MIT-licensed tool that connects Claude AI directly to your code editor, allowing it to view open files, unsaved changes, and errors live rather than through pasted code snippets. The tool currently works with VS Code and Windsurf.