gograph_changes
List recently added, modified, or deleted Go symbols by comparing against the last graph build or a git reference. Identifies structural code changes before impact analysis.
Instructions
List Go symbols that have been structurally modified, added, or deleted. Without git_ref, compares the working tree against the last graph build (uncommitted changes). With git_ref, performs a static symbol diff against the named git reference. git_ref is optional. Requires .gograph/graph.json — run gograph build . first. Read-only; no side effects. WHEN TO USE: After editing to confirm which symbols changed before running gograph_impact or gograph_review. NOT TO USE: For line-level text diffs (use git diff instead); for blast-radius analysis (use gograph_impact with since= instead). RETURNS: Changed symbol names, kinds, and package paths grouped by change type (added/modified/deleted); empty arrays when no structural changes are detected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| git_ref | No | Optional git reference to compare against (e.g., 'main', 'HEAD~5', 'v1.4.50') |