-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
Summary
git mind diff <ref-a>..<ref-b> — show what changed in the knowledge graph between two git commits.
Materialize the graph at two epoch ceilings, compute set differences on nodes and edges, report additions/removals/property changes.
Use cases
- PR review: "What did this branch do to the knowledge model?"
- CI gates: "Did this refactor increase orphan count?"
- Observability: "How has the graph evolved over the last 10 commits?"
Foundation for
- CI policies (fail on topology regression)
- Review summaries
- Trend metrics
- Future provenance/timeline features
Technical approach
- Two
materialize({ ceiling })calls via epoch system - Set diff on node/edge collections
- CLI output +
--jsonstructured output - Formatter for human-readable diff
Acceptance criteria
-
git mind diff <ref-a>..<ref-b>produces accurate diff -
--jsonoutput for CI consumption - Handles missing epochs (nearest ancestor fallback)
- Tests with deterministic fixtures
- CHANGELOG + GUIDE updated
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels