get_graph_timeline
Sample historical commits at even intervals to produce a timeline of file counts, commit churn, and current graph metrics per period for code evolution analysis.
Instructions
SIMPLIFIED first version of a continuous graph-evolution timeline: samples evenly-spaced historical commits across the requested window (via git log, same sampling strategy as get_complexity_trend) and reports file-count + commit churn (files changed/insertions/deletions) per period, with a short narrative diff marker (e.g. "+12 files, 8 commit(s), +540/-120 lines"). Symbol/edge counts are reported for the current HEAD snapshot only — NOT reconstructed per historical commit (that would require re-indexing the full tree at every sampled commit, which this tool deliberately avoids). For point-in-time named checkpoints use snapshot_graph + diff_graph_snapshots instead. Requires git. Read-only. Returns JSON: { since_days, granularity, periods: [{ period, commit, date, file_count, commits_in_period, files_changed, insertions, deletions, narrative }], current: { files, symbols, edges_by_type }, _tier, _methodology }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since_days | No | Git history window in days (default: 90) | |
| granularity | No | Bucket size for periods (default: monthly) | |
| max_periods | No | Cap on number of periods returned, most recent kept (default: 24) |