( baseSha: string, headSha: string, baseBranch: string, )
| 408 | export const LOCAL_REVIEW_WEB_SEARCH_CONFIG = 'web_search="disabled"'; |
| 409 | |
| 410 | export function localReviewAdditionalPrompt( |
| 411 | baseSha: string, |
| 412 | headSha: string, |
| 413 | baseBranch: string, |
| 414 | ): string { |
| 415 | return `This is a LOCAL pre-PR review of the COMMITTED range ${baseSha.slice(0, 8)}..${headSha.slice(0, 8)} (your branch vs ${baseBranch}) on a clean checkout — no staged or untracked changes. Review code correctness, bugs, and security; ignore PR metadata. This review is offline: do not run gh, use web search, access URLs, or make any network request. Use only the local checkout and git history.`; |
| 416 | } |
| 417 | |
| 418 | // Local, offline pre-PR review of a whole branch: reviews the committed range |
| 419 | // merge-base(base, HEAD)..HEAD as a single unit, reusing the Commit Sweeper engine. |
no outgoing calls
no test coverage detected