Reference
Everything you need to integrate Airlock into your workflow. GitHub App, MCP, CLI, or API.
Install once, authorize everywhere. Airlock runs preflight checks on every PR and blocks high-risk merges automatically.
Run preflight checks from the terminal. One binary, three modes: interactive UI, direct check, MCP server.
Add Airlock to Claude Code, Cursor, or any MCP client. Preflight tools appear automatically.
REST API with SSE streaming. POST a repo and PR, receive risk analysis in real time.
Airlock is a single Rust binary with three stages.
Clones the repo (or reads locally), extracts git history, PR discussions, code structure, file churn, and tech stack. Identifies protected zones, author concentration, and tribal knowledge.
Sends structured context to Opus 4.6 with extended thinking. Scores risk across seven weighted signals: hotspot overlap, protected zones, blast radius, author concentration, recent bugs, test coverage, scope magnitude.
Delivers the verdict via GitHub status check (block/pass), CLI output, MCP tool response, or API (SSE endpoint). High-risk changes are gated. Overrides produce immutable receipts.