snapshot_graph
Capture the current dependency graph structure as a named snapshot, enabling before-and-after comparison for refactoring impact analysis.
Instructions
Capture the current graph shape (file/symbol counts, edges by type, top in-degree files, communities, exported symbols) under a named label. Use as a checkpoint before/after a refactor; later compare with diff_graph_snapshots. Mutates a single graph_snapshots row; idempotent (re-stamps if name exists). Returns JSON: { id, name, captured_at, summary }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Stable label for the snapshot, e.g. "before-refactor" or "v1.2.0". |