gandalf diff compares two snapshots and reports what changed. Output separates semantic changes (typed entities such as MCP server entries) from raw source changes (file-level additions and removals). Use the special current ref to compare against live state without persisting a new snapshot.
Synopsis
<baseline> and <target> are snapshot names, or the special ref current.
Flags
Examples
Output shape
The text output has two sections:- Semantic changes: severity-labeled entries with a code and entity name.
- Raw source changes: file status and source path per entry.
--json for the machine-readable graph diff.