RepoPilot

colbymchenry / codegraph

Search colbymchenry/codegraph

GitHub

Code

How colbymchenry/codegraph is laid out, and where to start for common changes.

There is no import map for this report yet.

Where to start reading

  1. Repository root
  2. Repository root
  3. Likely public API
  4. Likely public API
  5. Likely start-up file
  6. Likely start-up file
  7. Suggested starting pointAI
  8. Suggested starting pointAI

Find files for a task

AI

Add Support for a New Programming Language

  • Register the extractor in the extraction pipeline index to route files with that language's extension to your extractor.
  • Add Tree-sitter grammar configuration for the new language in grammars.ts.

Add a New MCP Query Type for Agents

  • Define a new query handler function in src/mcp/engine.ts that accepts query parameters and returns formatted code context.
  • Implement query parsing logic in src/search/query-parser.ts to validate and normalize the new query type.
  • Add result formatting rules in src/context/formatter.ts to shape the output for agent consumption.
  • Wire the handler into the MCP daemon's message dispatcher to expose the query to connected agents.

Add a New UI Dashboard Endpoint

  • Register the route in the API router to expose it at a specific HTTP path.
  • Add supporting query logic in src/graph/queries.ts if additional graph traversal is needed.

Support a New IDE/Agent Integration

  • Register the new target in the installer index to include it in CLI installation options.

Change the public API

Trace runtime behavior

Add or update tests

Change build or automation

RepoPilot lists up to 500 files, so a file missing here may still exist.

  • Files marked “likely” are guessed from their names.
  • Some entry points named in the manifest are build output or are missing from the file list, so their source is not shown.
  • The file list is newer than the written guide, so descriptions and suggested changes may describe older code.

Code quality and hotspots

Largest source files

  • Branch points3316 per file on average
  • Code issues0 errors, 226 warnings
  • Largest file849,089 lines
  • Hotspot load10 high-risk files

Static checks on the 15 largest source files.

Tests, CI and tooling

  • CIGitHub Actions2 workflows
  • Tests900 test filesJest/Vitest · 2.0 test files per source file (file count, not coverage)
  • Dependency updatesNo config detected

Test folders: __tests__

Hotspots

Files that change often and branch heavily, highest first. Branch points count if, loop, case, catch, ternary, && and || in the file.