Add MultiRepo for multi-repository analysis#164
Merged
Conversation
Enables unified analysis across multiple codebases with: - Unified text search (grep) across repos - Semantic search with merged, relevance-ranked results - Cross-repo symbol extraction and lookup - Dependency auditing (Python, JS, Rust, Go) - Repository summaries with language detection Useful for microservices, frontend/backend splits, and finding patterns across team repositories.
CLI commands (kit multi <cmd>): - search: Text/regex search across repos - symbols: Find or list symbols across repos - deps: Audit dependencies (Python, JS, Rust, Go) - summary: File counts and language detection Tests expanded from 11 to 26, covering: - Custom repo names - File pattern filtering - Class symbol extraction - Go dependency parsing - Mixed language auditing - TypeScript/Rust detection - Edge cases (empty results, collisions)
- New API reference page with use cases (microservices, frontend/backend, team repos, dependency auditing) - Brief reference in usage guide - Mention in README key capabilities
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add
MultiRepoclass for unified analysis across multiple repositories - ideal for microservices, frontend/backend splits, and team projects.Proposed API
CLI Commands
Changes
src/kit/multi_repo.py- Core MultiRepo class (~400 lines)src/kit/cli.py- CLI commandstests/test_multi_repo.py- 26 testsdocs/src/content/docs/api/multi-repo.mdx- Full API docsTest plan