Groups git commits into synthesized development insights.
Instead of storing every commit as a separate memory entry, this module
clusters related commits by topic and produces high-level narrative entries
(development_insight) that capture the story of what changed and why.
Grouping strategy
- Filter noise — drop merges, version bumps, typo fixes, etc.
- Extract topics — conventional-commit scope (
feat(auth):) or keyword extraction from the subject line. - Group by topic — commits sharing a topic land in the same cluster.
- Build insights — each cluster of 2+ commits becomes one
development_insightextract; singletons that are significant enough (breaking changes, migrations) are emitted individually.
Result shape
Each insight is an %{content, entry_type, emotional_valence, tags, metadata} map ready for Knowledge.remember/2, with optional overrides
(half_life_days, confidence, summary).
Summary
Functions
Group commits and return a list of development_insight extracts.