swarmvault diff

Show what changed in state/graph.json since the last committed version.

Usage

swarmvault diff
swarmvault diff --json

What It Does

When the current vault lives inside a git worktree and a committed graph baseline exists, diff reports:

  • added and removed nodes
  • added and removed pages
  • added and removed edges

When no committed graph baseline exists, diff falls back to a summary of the current graph state instead of failing.

Use this after compile when you want a graph-level change summary instead of manually diffing state/graph.json.