CI policy gate
Make privacy a required check, not an afterthought.
Set a policy per project and wire AgentLeak into CI. When an agent crosses its boundary, the check fails and the pull request is blocked, with the offending channel and severity attached to the run.
One boundary per project
Define what counts as a failure (a channel, a severity level, a score threshold) and the gate enforces it on every run.
- Fail below a privacy score
- Block a channel above a level
- Per-project, version-controlled policy
- Sensible defaults out of the box
A native GitHub check—or any runner
The official GitHub Action scans code, traces, scenarios or benchmark packs, annotates the pull request and writes a job summary. The same CLI still works in GitLab CI and every other runner.
- Official GitHub Action
- PR annotations and job summary
- Typed score, verdict and finding outputs
- CLI support for every other runner
Evidence on the PR
A blocked merge comes with the trace, the offending channel and the severity, so the author knows exactly what to fix.
- Offending channel highlighted
- Severity and risk index shown
- Link straight to the full report
- The exact remediation attached
Gate a merge in CI
# .github/workflows/agentleak.yml
- name: AgentLeak privacy gate
uses: yagobski/agentleak@v0.14.1
with:
trace: traces/latest.json
config: agentleak.yaml
fail-under: '80'
Read the implementation guide →