Skip to content

Commit 8b4972a

Browse files
committed
chore: add changeset for git analytics removal
1 parent 6f7a53d commit 8b4972a

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.changeset/remove-git-analytics.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
"@lytics/dev-agent-cli": minor
3+
"@lytics/dev-agent-core": patch
4+
"@lytics/dev-agent": patch
5+
---
6+
7+
Remove git analytics commands to refocus on semantic value
8+
9+
**BREAKING CHANGES:**
10+
11+
- Remove `dev owners` command - use `git log` or GitHub contributors instead
12+
- Remove `dev activity` command - use `git log --since` for activity analysis
13+
14+
**What's Changed:**
15+
16+
- Removed 891 lines from `dev owners` command
17+
- Removed 175 lines from `dev activity` command
18+
- Cleaned up dead code in `change-frequency.ts` (calculateFileAuthorContributions)
19+
- Simplified metrics collection to focus on code structure introspection
20+
21+
**What's Kept:**
22+
23+
- `code_metadata` table for debugging/introspection of indexed code
24+
- `calculateChangeFrequency` for `dev_map` MCP tool (shows commit activity in codebase structure)
25+
26+
**Why:**
27+
28+
Dev-agent's unique value is semantic search (embeddings + AST), not git analytics which GitHub/git already provide. This change reduces complexity by ~1,200 lines and refocuses on MCP tools for AI context.
29+
30+
**Migration:**
31+
32+
For contributor/ownership analytics, use:
33+
- `git log --format="%ae" <path> | sort | uniq -c | sort -rn` for ownership
34+
- `git log --since="1 month" --name-only | sort | uniq -c | sort -rn` for activity
35+
- GitHub's Contributors page for visualization
36+

0 commit comments

Comments
 (0)