Repository navigation
Reflex is an open-source pre-execution hook for Claude Code, Codex CLI, opencode and pi. It judges every shell command by where it points and what it will change, then lets it run, asks a human, or blocks it.
GitHub Action
- uses: ursuciprian/reflex@v0.16.0
with:
commands: |
terraform plan
kubectl get pods -n prod
Validates .reflex/policy.json and fails the job when a policy change would deny one of your expected commands. Keyless; no secrets needed.
In this release
- OpenTofu, Terragrunt and helm guardrails
- Read-only allowlist (opt-in), policy packs (
reflex policy init --pack aws) - Documentation site: https://ursuciprian.github.io/reflex/
- Plugin directory bundle, fail-closed hooks, Jev via OpenRouter, Cloudflare or Vercel
Full Changelog: v0.15.0...v0.15.0