suite-gate
v0.5.0Lets a coding agent run the installed PR audit tools and read their findings in one format.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
list_audit_tools
The six audit tools, whether each is installed, its version and the minimum version with --audit-json.
gate
suite-gate: one verdict (pass, warn, fail or error) for ref against base, from the built-in rules: git-surface always, trust-path when workflows changed, release-drift for each changed lockfile (queries registries), git-overlap against the other local branches. Returns every tool's audit result with its evidence.
| Parameter | Type | Description |
|---|---|---|
base * | string | Base branch, e.g. main |
ref * | string | Branch to judge |
repo * | string | Repository directory |
git_surface
git-surface: what each ref changes, since its merge base with base, that runs or is trusted (CI, hooks, agent files, install scripts, dependencies, hidden text).
| Parameter | Type | Description |
|---|---|---|
base * | string | Base branch, e.g. main |
refs * | array | Branch, tag or commit names to check |
repo * | string | Repository directory |
git_overlap
git-overlap: pairs of refs that change the same path since base (git footprint, then git overlap). Optional 'with' keeps only pairs that include that ref.
| Parameter | Type | Description |
|---|---|---|
base * | string | Base branch |
refs * | array | Branch, tag or commit names to check |
repo * | string | Repository directory |
with | string | Only pairs that include this ref |
git_pairmerge
git-overlap: whether each pair of refs merges (git pairmerge, in memory). Optional 'onto' merges each pair as both would land on that base.
| Parameter | Type | Description |
|---|---|---|
pairs * | array | |
repo * | string | Repository directory |
onto | string | Base both refs land on |
trust_path
trust-path: paths by which untrusted input reaches a secret, write permission, OIDC token, environment or AI agent action in GitHub Actions workflows.
| Parameter | Type | Description |
|---|---|---|
dir * | string | Repository directory |
ref | string | Read the workflows from git at this ref instead of the files |
release_drift_diff
release-drift: what a new release artifact adds over an old one (install scripts, start-up hooks, native code, new dependencies, URL hosts, encoded strings).
| Parameter | Type | Description |
|---|---|---|
new * | string | New artifact file |
old * | string | Old artifact file (.whl, sdist or npm .tgz) |
release_drift_source
release-drift: files of a release artifact that are not, as they are, in git at ref.
| Parameter | Type | Description |
|---|---|---|
artifact * | string | Artifact file |
ref * | string | Tag or commit the release was built from |
repo * | string | Repository directory |
release_drift_lockfile
release-drift: every package a lockfile change upgrades, downloaded from its registry and compared as release_drift_diff does.
| Parameter | Type | Description |
|---|---|---|
new * | string | New lockfile |
old * | string | Old lockfile |
release_drift_provenance
release-drift: whether a new version was published differently from the old one (provenance removed, workflow changed, another npm account).
| Parameter | Type | Description |
|---|---|---|
name * | string | Package |
new * | string | New version |
old * | string | Old version |
registry * | string |
pr_merge_audit_report
pr-merge-audit: the findings of a merge-test results file (which PRs merged, conflicted or failed their tests).
| Parameter | Type | Description |
|---|---|---|
results * | string | Results file written by pr-merge-audit build |
glassbox_reach
glassbox: which sensitive locations (credentials, private data) a process started here could read. Opens each location read-only; never reads contents.
| Parameter | Type | Description |
|---|---|---|
home | string | Audit this directory instead of $HOME |
since | string | An earlier `glassbox reach --json` report to compare with |
glassbox_persist
glassbox: persistence points (launch agents, shell startup, git hooks, agent configs) added, changed or removed since a snapshot saved with `glassbox persist --save`.
| Parameter | Type | Description |
|---|---|---|
since * | string | Snapshot file |
home | string | Use this directory as $HOME |
repos | array | Repositories whose hooks and configs to include |