repopilot_context
Generate a token-budgeted Markdown brief of a repository to orient before editing unfamiliar code, covering risks, hotspots, and structure without uploading source.
Instructions
Generate a budgeted Markdown brief of the repository (risks, hotspots, structure) to read before editing, especially in an unfamiliar codebase. Use it for orientation. For the full findings as JSON, use repopilot_scan; to review a change, use repopilot_review_change. Pass analysis_handle to make sure the brief still matches an earlier scan or review. Built locally from a scan; no AI service is called and nothing is uploaded.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Repository path. Defaults to the current working directory. | |
| focus | No | Optional focus: security, architecture (or arch), quality, framework, or all. | |
| budget | No | Optional approximate token budget for the brief. Defaults to the standard budget. | |
| config | No | Optional repopilot.toml path. Defaults to the one discovered in the repository. | |
| profile | No | "default" hides low-signal suggestions; "strict" includes all findings. | default |
| analysis_handle | No | Optional `analysisHandle` from an earlier repopilot_scan or repopilot_review_change call. The call fails if the workspace changed since that analysis. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| decision | No | Canonical primary review decision and next action from the referenced review handle, when selected. | |
| evidence | No | Canonical evidence class, coverage, and provenance from the referenced review handle, when selected. | |
| markdown | Yes | ||
| change_proof | No | Canonical ChangeProof from the referenced review handle, when selected. |