Mines the project's git commit history to extract recurring patterns and create memories from them. Useful for bootstrapping knowledge on new or unfamiliar projects — learns which files change together, common fix patterns, frequently modified hotspots, and architectural conventions from past commits.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
maxCommits | number | No | 500 | Maximum number of commits to analyze |
minConfidence | number | No | 0.7 | Minimum confidence threshold for extracted patterns (0.0 to 1.0) |
Mine the git history of this project so you can learn its patterns.
Analyzes up to 500 recent commits and stores discovered patterns as memories.
Mine the last 1000 commits to find recurring patterns.
Sets maxCommits: 1000 for a deeper analysis.
Mine git history but only keep patterns you're very confident about — threshold 0.9.
Sets minConfidence: 0.9 to store only the most reliable patterns.
Returns a summary of what was mined:
minConfidence to 0.5 for smaller repositories where patterns may not repeat often enough to reach high confidencestellarion_mine_git_history_for_file instead