commits_touching_query
Find commits and file changes related to a query by combining commit message matches with current file-change evidence.
Instructions
Combine commit-message matches with current file-change evidence for a query — "what work relates to X?" across both messages and the files that changed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| explain | No | ||
| include | No | What to include: `git`, `papertrail` (both on by default), `generated`, `fallback` (off by default). Omit to keep defaults; an explicit list is the exact on-set. | |
| worktree | No | Absolute path to a linked git worktree you're working in. When set, results are served from that worktree's branch overlay (its committed + uncommitted changes) on top of the indexed checkout; omit to query the indexed checkout. An unrelated/invalid path falls back to it. | |
| graph_limit | No | ||
| include_graph | No | compact |