Skip to content

Conversation

@prosdev
Copy link
Collaborator

@prosdev prosdev commented Dec 13, 2025

🚀 New Features

New Top-Level Commands

  • dev activity - Show most active files with commit counts, recency, and complexity
  • dev owners - Developer specialization breakdown with file-level ownership

Author Contribution Indexing

  • Index author contributions during dev index for 35x speedup (17.5s → 0.5s)
  • Added file_authors table to MetricsStore schema
  • Batched git operations (1 call vs N file calls)
  • Offline capability - no git access needed after indexing

⚡ Performance Improvements

  • 35x faster ownership queries via indexed data
  • Reduced git overhead from O(N files) to O(1)
  • Enables offline analysis after initial indexing

🏗️ Architecture Changes

Database Schema

  • New file_authors table for per-file author contributions
  • Stores commit counts and last commit dates
  • Indexed by snapshot and author for fast queries

Event System

  • Added authorContributions to IndexUpdatedEvent
  • Automatic storage during index/update operations

🎨 UX Improvements

  • Compact table format with factual summaries
  • GitHub handle resolution for developer identification
  • Top-level commands for better discoverability
  • Clean, scannable output with proper column alignment

💥 Breaking Changes

  • dev metrics activitydev activity
  • dev metrics ownershipdev owners
  • dev metrics size removed (redundant with dev stats)

📚 Documentation

Updated changeset for v0.8.0 with:

  • New command documentation
  • Performance benchmarks
  • Migration guide for breaking changes

🧪 Testing

All existing tests pass. Author indexing tested on dev-agent repo:

  • 305 files analyzed
  • Sub-second query performance
  • Accurate ownership data

Part of v0.8.0 release. Preparatory work for future semantic feature clustering.

…or contributions

- Add 'dev activity' command showing most active files with commit counts and complexity
- Add 'dev owners' command with developer specialization breakdown
- Index author contributions during 'dev index' for 35x speedup (17.5s → 0.5s)
- Add file_authors table to MetricsStore schema
- Implement batched git operations (1 call vs N file calls)
- Refactor metrics commands to top-level for better UX
- Add compact table format with factual summaries
- Add GitHub handle resolution for developer identification
- Remove deprecated 'dev metrics' command

Performance improvements:
- Batched git log reduces overhead from O(N files) to O(1)
- Indexed author data enables offline queries
- No git access needed after initial indexing

Breaking changes:
- 'dev metrics activity' → 'dev activity'
- 'dev metrics ownership' → 'dev owners'
- 'dev metrics size' removed (redundant)
@prosdev prosdev merged commit 0f8c4eb into main Dec 13, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant