Assay PR Agentsingle-pass review
Pages

Static checks

AbstractShellCheck and actionlint run on every reviewed head. Hadolint, zizmor and OSV-Scanner run on requested forge reviews, from a trusted CI report where one matches the commit and locally otherwise. None of them spends model tokens.

What runs, and when

ToolChecksRunsModel tokens
ShellCheckChanged .sh and .bash filesLocally, on every reviewNone
actionlintFiles under .github/workflows/Locally, on every reviewNone
HadolintDockerfiles and Containerfiles, such as Dockerfile.release and build.dockerfileFrom CI or locally, on a requested forge reviewNone
zizmorGitHub Actions workflow and action files, including those kept in GitLab repositoriesFrom CI or locally, on a requested forge reviewNone
OSV-ScannerDependency files such as go.mod, Cargo.lock, uv.lock, requirements.txt and package-lock.jsonFrom CI or locally, on a requested forge reviewNone
Go analysisAssay's Go lint report, imported from a CI job you nameFrom CINone

Deleted files are never scanned. Findings are scoped to the files a change touches, and can include a problem on a line the change did not alter.

Local checks

Local checks read regular Git blobs at the reviewed commit, in temporary directories. They have no forge credential, no model credential, and no provider key in their environment.

ShellCheck and actionlint run on the reviewed head's Git blobs. The runner feeds each file on stdin with the tool's defaults. actionlint's embedded ShellCheck integration is switched off, so a shell problem inside a workflow is reported once, by ShellCheck.

Hadolint, zizmor and OSV-Scanner run locally with these commands, sharing a 180-second budget with 90 seconds for any one of them. The OSV-Scanner line also carries --download-offline-databases unless you switch downloads off:

hadolint --format json --no-fail ./Dockerfile
zizmor --offline --no-exit-codes --format sarif ./.github/workflows/ci.yml
osv-scanner scan source --offline --format json --lockfile ./uv.lock

When a scanner could not check

A scanner that cannot run says so. Its reason appears in the JSON report, and in the posted comment, as could not check.

Reason writtenMeaning
tool unavailableShellCheck or actionlint was not on the PATH. The image ships both, so this appears outside the container.
immutable source unavailable or scanner failedThe file at the reviewed head is missing or too large, or the tool failed.
source unavailable or scanner failedThe path is not a regular file at that commit, a report is oversized or in the wrong place, or the exit status was unexpected.
source, scanner or advisory database unavailableOSV-Scanner could not read its advisory database.
static check time budget exhaustedAn earlier scanner used up the shared budget.

Missing scanner evidence stays visible even when the model finds nothing, and it turns the exit status to 2.

What the model sees of it

The two kinds of check are kept apart.

Findings from ShellCheck, actionlint and the Go analysis, when they sit on a line the patch shows, are placed in the prompt as scanner evidence. They count toward the token estimate. A finding elsewhere in the file stays in the report and out of the prompt.

Hadolint, zizmor and OSV-Scanner never enter the prompt, the estimate or the cache key. Their findings go straight into the report and the posted comment.

Dependency scanning offline

OSV-Scanner compares dependencies locally and caches public advisory databases under /state/osv-db. By default it may download and refresh them.

To run with no network, prepopulate /state/osv-db/osv-scalibr/<ecosystem>/all.zip for each ecosystem you need, and set REVIEW_OSV_DOWNLOAD_DATABASES=0 on the reviewer. A database that cannot be read, a missing file or a timeout is reported as incomplete coverage. The OSV-Scanner offline guide describes the layout.