Docs, start to finish.

Install it, run it, tune it and check our work. Every command here is the one the CLI prints, and every page is linked below.

First commands.

Run these from the folder you want checked. No account, no install step.

  • Scan this foldernpx -p @gatetest/cli gatetest --suite quick
  • Scan only what changednpx -p @gatetest/cli gatetest --suite quick --diff
  • Adopt on an existing codebasenpx -p @gatetest/cli gatetest baseline --init
  • List every modulenpx -p @gatetest/cli gatetest --list
  • Machine-readable resultnpx -p @gatetest/cli gatetest --suite standard --json
  • SARIF for code scanningnpx -p @gatetest/cli gatetest --suite standard --sarif

Every page.

Search by what you want to do, or browse by group.

19 pages, in four groups.

Get started

From nothing to a first verdict in a few minutes.

Run it

Where GateTest plugs in, and how to call it.

Reference

Every module, every setting, every way to quiet a finding.

Evidence and trust

What the engine measured about itself, and what it does with your code.

The command line.

The flags a first run needs. Run gatetest --help for all of them.

Flags

  • --suite <name>Pick a suite: quick, standard or full.
  • --module <name>Run one module by name.
  • --skip-module <name>Skip a module within the chosen suite. Repeatable.
  • --diffOnly scan git-changed files, and run only the tests that import them.
  • --since <ref> / --prIncremental scan against a branch, tag or commit; --pr finds the base in CI.
  • --report-onlyReport findings but never fail the gate.
  • --report-only-until <date>Report-only until a UTC date, then enforce automatically.
  • --strictForce blocking even when a report-only setting is on.
  • --baselineSnapshot current findings; later runs fail only on new ones.
  • --accept-risk <id> --reason <text>Record an expiring override for one real finding; it is always reported.
  • --format json / --jsonOne JSON document on stdout; progress goes to stderr.
  • --sarifWrite SARIF for GitHub code scanning.
  • --offlineNothing leaves this machine.
  • --complianceWrite the signed compliance evidence pack.
  • --noiseShow which modules fire often for this repository.
  • --fix / --auto-prFix safe issues in place, or open a pull request with AI fixes (needs your own AI key).

Silence a false positive

One line per rule in .gatetestignore at the repository root. Forms:

  • module:ruleOne rule from one module
  • moduleA whole module
  • *:ruleA rule wherever it fires
  • module:rule@globA rule within a path
  • vendor/**A path entirely

MCP tools.

30 tools for a coding agent, free on your own machine.

  • check_health
  • list_modules
  • get_badge
  • scan_url
  • scan_local
  • run_module
  • fix_issue
  • explain_finding
  • compose_pr
  • capture_screenshot
  • get_visual_diff
  • run_live_checks
  • get_production_errors
  • verify_fix
  • run_tests
  • stream_logs
  • query_db
  • http_request
  • audit_log
  • compare_repos
  • get_report
  • scan_repo
  • resolve_stack_trace
  • blame_regression
  • sovereign_aibom
  • sovereign_php_audit
  • sovereign_ide_audit
  • sovereign_ci_template
  • sovereign_trust_verify
  • sovereign_calibrate

Verify what we report.

Reports carry provenance and, when you set a signing key, a signature. These two commands have no page of their own yet; the CLI documents them.

Check a report's signature and findings digest
npx -p @gatetest/cli gatetest verify-report <file>
Write the compliance evidence pack
npx -p @gatetest/cli gatetest --suite full --compliance

A control in the compliance pack passes only when a mapped module ran and found nothing. Anything that was not checked is printed as not checked.