{{ message }}
feat: add CODEOWNERS integration#195
Merged
Merged
Conversation
Map graph nodes to CODEOWNERS entries, show ownership coverage, per-owner breakdown, and cross-owner boundary edges. Integrates ownership into diff-impact output with affected owners and suggested reviewers. Exposes code_owners MCP tool. Impact: 10 functions changed, 12 affected
Contributor
Greptile SummaryAdds comprehensive CODEOWNERS integration to codegraph, enabling ownership tracking and reviewer suggestions without external dependencies. Key Changes:
Implementation Quality:
No Issues Found: Confidence Score: 5/5
Important Files ChangedFlowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[CODEOWNERS file] --> B[parseCodeowners]
B --> C[parseCodeownersContent]
C --> D[patternToRegex]
D --> E[Compiled Rules<br/>pattern, owners, regex]
E --> F[ownersData<br/>Full ownership queries]
E --> G[ownersForFiles<br/>Lightweight helper]
F --> H[CLI: codegraph owners]
F --> I[MCP: code_owners tool]
G --> J[diff-impact integration]
K[File paths from DB] --> F
L[Changed files from git] --> J
J --> M[Affected Owners<br/>Suggested Reviewers]
F --> N[Coverage Stats<br/>Boundary Analysis<br/>Per-Owner Breakdown]
style A fill:#e1f5ff
style E fill:#fff4e1
style M fill:#e8f5e9
style N fill:#e8f5e9
Last reviewed commit: 6d1992c |
carlos-alm
added a commit
that referenced
this pull request
Mar 2, 2026
Mark backlog items as DONE: streaming/pagination (#207), hybrid BM25+semantic search (#198), CODEOWNERS (#195), snapshots (#192), TF-IDF search (subsumed by #198). Update README: add CODEOWNERS, snapshots, hybrid search, pagination sections; update MCP tool count to 26/27; add --mode, --ndjson, --limit, --offset flags; update feature comparison tables with verified competitor data.
carlos-alm
added a commit
that referenced
this pull request
Mar 2, 2026
Mark backlog items as DONE: streaming/pagination (#207), hybrid BM25+semantic search (#198), CODEOWNERS (#195), snapshots (#192), TF-IDF search (subsumed by #198). Update README: add CODEOWNERS, snapshots, hybrid search, pagination sections; update MCP tool count to 26/27; add --mode, --ndjson, --limit, --offset flags; update feature comparison tables with verified competitor data.
3 tasks
carlos-alm
added a commit
that referenced
this pull request
Mar 2, 2026
Mark backlog items as DONE: streaming/pagination (#207), hybrid BM25+semantic search (#198), CODEOWNERS (#195), snapshots (#192), TF-IDF search (subsumed by #198). Update README: add CODEOWNERS, snapshots, hybrid search, pagination sections; update MCP tool count to 26/27; add --mode, --ndjson, --limit, --offset flags; update feature comparison tables with verified competitor data.
4 tasks
Zeeeepa
pushed a commit
to Zeeeepa/codegraph
that referenced
this pull request
Jun 22, 2026
…ave#195) Map graph nodes to CODEOWNERS entries, show ownership coverage, per-owner breakdown, and cross-owner boundary edges. Integrates ownership into diff-impact output with affected owners and suggested reviewers. Exposes code_owners MCP tool. Impact: 10 functions changed, 12 affected
Zeeeepa
pushed a commit
to Zeeeepa/codegraph
that referenced
this pull request
Jun 22, 2026
Mark backlog items as DONE: streaming/pagination (optave#207), hybrid BM25+semantic search (optave#198), CODEOWNERS (optave#195), snapshots (optave#192), TF-IDF search (subsumed by optave#198). Update README: add CODEOWNERS, snapshots, hybrid search, pagination sections; update MCP tool count to 26/27; add --mode, --ndjson, --limit, --offset flags; update feature comparison tables with verified competitor data.
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
src/owners.jsmodule: CODEOWNERS parser, matcher, and data functions (ownersData,ownersForFiles,ownersCLI display)codegraph owners [target]CLI command with--owner,--boundary,-f,-k,-T,-joptionscode_ownersMCP tool for AI agent accessdiff-impact: shows affected owners and suggested reviewerspatternToRegexCloses #18
Test plan
tests/unit/owners.test.js)tests/integration/owners.test.js)tests/unit/mcp.test.js)codegraph owners,codegraph owners --boundary,codegraph diff-impact --staged