Repository navigation
v1.4.4 - Global Multi-Harness Install
Install once, work everywhere
python -m code_airlock install now configures every supported harness globally in the user's home directory, with zero repository clutter.
Global targets
- OpenCode:
~/.config/opencode/opencode.jsonand~/.config/opencode/AGENTS.md - Claude Code:
~/.claude.jsonand~/.claude/CLAUDE.md - Cursor:
~/.cursor/mcp.json
All JSON merges preserve existing keys and MCP servers. Existing rule blocks are appended once and remain idempotent.
MCP protocol instructions
FastMCP now sends the airlock security rules in the MCP handshake, so Claude Code, Cursor, Windsurf, and OpenCode receive them on every project even with no rule file on disk.
Project rules stay explicit
python -m code_airlock init still writes only the local rule file for the detected or requested harness (AGENTS.md, CLAUDE.md, or .cursorrules). install no longer creates local rule files.
Install
pip install -U code-airlock && python -m code_airlock installLimit the global install with --target opencode|claude|cursor.
Tests
24 passed, including global config merging for all three harnesses, server preservation, zero local pollution, targeted installs, and MCP handshake instructions.