Inspect git changes
inspect_changesList changed files, status, churn, and numbered diff hunks with previews so you can assign code changes to presentation steps.
Instructions
List changed files (status, churn) and their numbered changes (contiguous blocks of added/removed/re-indented lines) with previews. Change numbers match diff slides with a git source: assign them to steps with steps[].changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Base ref (default HEAD). A branch name compares from its merge-base, like a PR. | |
| head | No | Head ref; omit to include uncommitted working-tree changes. | |
| repo | Yes | Absolute path to the git repository. | |
| paths | No | Only show hunks for these files. | |
| context | No | Context lines used for hunk numbering (default 3, same as diff slides). |