PR Security Guardrails — Block Risky Deps & Secrets | Heeler

PR GUARDRAILS

Three modes. One guardrail framework.

Heeler runs Block, Warn, and Observe guardrails on every pull request — across dependencies, secrets, and the code your team and agents write. Try new policies in Observe before enforcing them, route warnings to the owning team, and block the violations that should never merge — all from one config.

What you can guard on.

Heeler's guardrails draw from the same context engine the audit and remediation layers use — org-aware, not just rule-based.

Open-source dependencies

Code (SAST)

Dependency hygiene & supply chain

Secrets

Open SLO violations

Three enforcement modes, one config.

Each guardrail picks a mode. Mix and match across your policy library — strict where it matters, observational where you're still learning the signal.

BLOCK

Stop the merge.

The PR cannot merge while the violation exists. Use Block for the things that should never land — known-malicious dependencies, critical CVEs in reachable code paths, valid secrets in committed files, and injection or deserialization flaws in the code the PR adds.

WARN

Flag for the reviewer.

The PR can merge, but the warning shows up in the PR with full context. Use Warn for risk that needs a human judgment call — medium-severity issues, deprecated APIs, dependency upgrades that pass tests but change behavior.

OBSERVE

Capture the signal silently.

No PR comment, no merge effect — just data. Use Observe to test a new guardrail against your real PR traffic before you roll it out. See what it would have blocked or warned on, tune thresholds, then promote.

AGENTIC AUTO-FIX

A guardrail that fixes what it catches.

A red check still leaves the work to the developer. When Heeler flags a fixable dependency vulnerability, the same check offers to fix it — opening a validated, merge-ready remediation PR without anyone leaving the pull request.

DEVELOPER EXPERIENCE

Built so developers don't route around it.

Guardrails only work if the people they land on trust them. Heeler's are scoped, explained, and tuned before they ever block.

FLEXIBLE BY DESIGN

Guardrails you shape to your program.

Not a fixed ruleset. Describe guardrails in plain language, chain conditions on real runtime context, and scope them from global to a single branch.

SCOPE

Global by default. Precise when you need it.

Scope any guardrail to control exactly where it applies — and combine scopes for surgical targeting.

ENFORCEMENT

Blocking happens where it already lives — your branch protection.

Heeler doesn't proxy your Git or sit in the merge path. For each pull request, it posts a native pass/fail status check; your existing branch-protection rules decide whether that check is required to merge. No new gate to trust, no webhook choke point.

All three modes post through the same mechanism: Block fails the check, Warn posts a non-blocking note, Observe stays silent.

WHERE IT FITS

One policy. Every layer of prevention.

Heeler runs the same policy everywhere your code moves, read from one model of your environment in the Context Engine. PR guardrails are the layer on the pull request — they don't replace the others, they share their policy and their findings.