Lightweight, Git-native guardrails for AI-assisted coding and open source contributions.
CODEOWNERS
, GitHub’s rulesets, or branch protections help, but they don’t catch unsafe changes early—they operate at review or merge time.
git diff
to detect changes in sub-second time even on large repos, then validates changes against your rules defined in a .airgap
file using patterns similar to .gitignore
.
!pattern
→ Full Protection (no add/modify/delete)~pattern
→ Protect Existing (cannot modify/delete existing files, but can add new ones)pattern
→ Allow (changes are safe).airgap
file.airgap
config files with familiar gitignore-style patterns:
Feature | AIrgap | CODEOWNERS | Branch Protection | Push Rules |
---|---|---|---|---|
Instant feedback | Pre-commit & CI | Only after PR | After push | After push |
Works locally | ✅ Dev machine + AI tools | ❌ | ❌ | ❌ |
AI assistant integration | ✅ Native hooks | ❌ | ❌ | ❌ |
Granular protection | ✅ Full/existing/allow | ❌ Review routing only | ❌ Binary toggle | ✅ Path restrictions |
Setup time | 2 minutes | ~10 minutes | ~20 minutes | Org-admin setup |
VCS agnostic | ✅ Works anywhere Git runs | ❌ GitHub only | ❌ GitHub only | ❌ Platform-specific |