audit_git_commits
Audit recent git commits to identify security risks and complexity issues in changed code. Get per-commit grades and actionable findings.
Instructions
Audit recent git commits in a repository. Extracts changed files and runs static analysis (security scan, complexity) on each commit. Returns per-commit grades, security findings, and complexity violations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Path to the git repository to audit. | |
| since | No | Audit commits since date (e.g., '3 days ago', '2026-03-01'). | |
| author | No | Filter commits by author name. | |
| commits | No | Number of recent commits to audit (default: 10). | |
| severity | No | Minimum security finding severity (default: low). | low |
| threshold | No | Complexity threshold for flagging functions (default: 10). |