repopilot_scan
Audit a repository, folder, or file for architecture, coupling, code quality, security, and testing findings. Returns a JSON scan report with findings, metrics, and risk summary, running entirely on disk.
Instructions
Audit a repository, folder, or file for findings across architecture, coupling, code quality, security, and testing, and return the JSON scan report (findings, metrics, risk summary). Use it for a health check that is not about one change. To review what a change touched or which checks it weakened, use repopilot_review_change; for a short Markdown brief to read before editing, use repopilot_context. Explain a returned finding with repopilot_explain_finding. Runs entirely on disk; nothing is uploaded.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Base Git ref for "changed" scope, e.g. "origin/main": scans files changed between base and HEAD. Without it, "changed" means changed against HEAD, including untracked files. | |
| path | No | Path to scan. Defaults to the current working directory. | |
| limit | No | Maximum findings to return. | |
| scope | No | "full" scans every file under `path`; "changed" scans only changed files (against HEAD, or against `base` when given) and skips repository-level rules. | full |
| config | No | Optional repopilot.toml path. Defaults to the one discovered in the repository. | |
| offset | No | Zero-based finding offset. | |
| filters | No | Optional thresholds and rule IDs that narrow the returned findings. | |
| profile | No | "default" hides low-signal suggestions; "strict" shows all findings. | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||