Find a file
Gergő Magyar 50228e11ab
Some checks are pending
CodeQL / Analyze (javascript-typescript) (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run
Gitleaks / gitleaks (push) Waiting to run
Publish / Classify release event (push) Waiting to run
Publish / RC guard (marker + release-PR skip) (push) Blocked by required conditions
Publish / ci (push) Blocked by required conditions
Publish / Publish to npm (push) Blocked by required conditions
Publish / Build & Push RC Docker images (push) Blocked by required conditions
Scorecard / Scorecard analysis (push) Waiting to run
Trivy Image Scan / Trivy (gitnexus-cli) (push) Waiting to run
Trivy Image Scan / Trivy (gitnexus-web) (push) Waiting to run
fix(java): match javac resolution and move fixtures into conformance (#4056)
* test(java): compare overload resolution with javac in CI

* test(conformance): share call resolution reports across tools

* test(java): cover the overload conversion matrix with javac (#4057)

Co-authored-by: Gergo Magyar <gergomagyar0@gmail.com>

* test(java): run Java-backed fixtures in dedicated CI shards

* test(java): replace handwritten resolution cases with javac comparisons

* test(java): compare lambda and receiver fixtures against javac

* fix(ci): restore Java test evidence and use locked toolchain commands

* test(skills): fail incomplete CLI generation checks (#4056)

* test(java): compare method references with javac

* fix(java): resolve qualified bases and static wildcard overloads

* test(java): preserve declared dollar names in compiler comparisons

* fix(java): preserve distinct call targets for colliding type names

* fix(conformance): resolve private nested bases and retain overload selections

* fix(java): distinguish variadic overloads in the published graph

* fix(java): match javac for nested types, imports and initializer calls

* Move Java fixture testing out of Vitest and into compiler conformance

* Verify Java graph endpoints and leave call selection to javac

* Match javac for annotated bases and legal static imports

* Resolve nested Java member types and clean up failed conformance fixtures

* Preserve qualified Java bases across unrelated static wildcard imports

* test(java): run inline source fixtures in compiler conformance

* test(conformance): check fetch callers, lexical bindings and cleanup

* test(java): move virtual source and text fixtures into conformance

* fix(java): resolve imported member types and qualified base collisions

* Match javac constructor overloads and preserve Java conformance coverage

* Compare recovered Java inheritance with javac in the conformance runner

* Run the Java query compilation smoke test in native conformance

* Clarify Java conformance expectations and check populated suites

* Write javac conformance records as UTF-8 on Windows

* Compile the Java conformance tools for SonarCloud analysis

* Compare Java method implementation edges with javac

* Resolve fixture writers and inherited Java methods in their lexical context

* Resolve qualified Java bases through their accessible type members

* Match local qualified Java bases and bounded varargs identities to javac

* Match Java call resolution to javac across the conformance corpus

Preserve generic declaration identity, follow nested call results, and type lambda aliases and enhanced-loop variables in their declaration scopes. Report proven JDK call targets without creating workspace edges. Compare every selected source and binary call against javac and remove the twelve mismatch lists.

* Compare Java recovery targets as sets and check empty destination addresses

Keep repeated uses of the same declaration equivalent across graph producers while detecting missing and extra targets. Check raw destination addresses and document the source and classpath inputs to the compiler comparison.

* Avoid extra native parent walks while capturing Java call facts

Index lambda origins by spelling before walking lexical scopes, and only check value shadowing for qualifiers rooted in an identifier. This restores the capture traversal budget for anonymous classes while preserving javac call targets.

* Refresh the Java capture fingerprint for corrected fixture comments

The module captures include the revised comments and the following declarations move to earlier lines. Both emitters produce the same 4,288 capture groups when given the same fixture revision.

* Preserve Java conformance assertions and use trusted fixture paths

Use explicit canonical sort orders, require missing evidence to fail assertions, and keep pending query results in the replay cache. Resolve the Git executable independently of the test repository and isolate the Spring workspace per test.

* Resolve inherited Java members through the scoped superclass

* Reuse validated analyzer build hashes for parser cache identity

* Resolve SonarCloud findings in Java resolution and compiler conformance

* Align Java compiler tool packages and pin benchmark baselines to the tested merge

* Honor wildcard method families and fixture ownership in Java conformance

* fix(java): resolve inherited and annotation member types against javac

Keep workspace links tied to import declarations and compare Java varargs overloads through comments. Make generated-project selection, method metadata checks and Java fixture ownership explicit in conformance.

* fix(java): resolve bounded and imported bases during dispatch

Keep the type selected from a qualified heritage clause available during overload resolution. Compare annotated bounds, inherited static imports, and String.valueOf arguments directly with javac. Detect Java fixture paths on either side of a filesystem rename.

* Conform Java method visibility and wildcard lambda bounds to javac

Compare method access at source positions, recognize CommonJS fixture reads, and preserve diagnostics when native conformance setup fails.

* Match javac for qualified member overloads and selective call diagnostics

* Track reassigned Java fixture paths at their point of use

* Respect Java visibility and Node path semantics in conformance checks

* Align Java graph benchmarks with compiler-verified visibility

* Record the public Java record accessor in the mixed-provider benchmark

* Address remaining Java conformance analysis findings

Keep repository import scans sequential, simplify Java header and overload resolution, and reuse Spring conformance measurements. Preserve compiler comparison assertions and emitted fixture contents.

* Match javac on nested binary names, null factories and recovered calls

Preserve the qualified annotation target in workspace links. Compare valid and invalid arguments separately so an attributed recovery symbol cannot mask a failed invocation.

---------

Co-authored-by: Gergo Magyar <gergomagyar0@gmail.com>
2026-11-25 18:03:32 +00:00
.agents/plugins chore: release v1.6.12 (#3272) 2026-09-12 22:16:01 +01:00
.claude fix(wiki): group files again on --force and when many new files arrive (#4035) 2026-11-22 18:28:21 +00:00
.claude-plugin chore: release v1.6.12 (#3272) 2026-09-12 22:16:01 +01:00
.cursor fix(storage): rename index metadata to gitnexus.json with dual-write compatibility (#2363) 2026-07-03 19:32:59 +01:00
.devcontainer feat(devcontainer): provision the Claude Code and Codex agent setup (#3946) 2026-11-15 18:41:25 +00:00
.factory-plugin feat: add Factory AI (Droid) integration (#2543) 2026-09-24 19:12:40 +01:00
.gemini/commands feat(review): add PR reviewer swarm agents (#1851) 2026-05-29 18:24:16 +01:00
.github fix(java): match javac resolution and move fixtures into conformance (#4056) 2026-11-25 18:03:32 +00:00
.history/gitnexus fix(test): add --repo to CLI e2e tool tests for multi-repo environment 2026-03-18 08:12:25 +00:00
.husky feat: configure prettier with pre-commit hook (#563) 2026-03-28 14:58:04 +00:00
.sisyphus/drafts fixed constructor to method relation not getting stored in kuzu issue 2026-01-26 22:58:15 +05:30
deploy/kubernetes ci(docker): mirror signed images to Docker Hub alongside GHCR (#1029) 2026-04-23 18:59:26 +01:00
docs fix(java): match javac resolution and move fixtures into conformance (#4056) 2026-11-25 18:03:32 +00:00
Documentation Add Kilo Code + GitNexus MCP setup guide (#2259) 2026-07-02 11:04:22 +01:00
eslint-rules feat: add gitnexus auto-sync for scheduled remote clone and analyze (#2493) 2026-09-02 19:40:18 +01:00
eval fix(ci): restore eval evidence and PHP coverage checks (#4036) 2026-11-21 22:57:59 +00:00
gitnexus fix(java): match javac resolution and move fixtures into conformance (#4056) 2026-11-25 18:03:32 +00:00
gitnexus-claude-plugin fix(wiki): group files again on --force and when many new files arrive (#4035) 2026-11-22 18:28:21 +00:00
gitnexus-cursor-integration fix: improve Python caller accuracy and flag incompatible calls (#4012) 2026-11-20 19:09:22 +00:00
gitnexus-factory-plugin fix(hooks): scope graph context to leading rg and grep searches (#4002) 2026-11-20 05:22:14 +00:00
gitnexus-shared fix(java): match javac resolution and move fixtures into conformance (#4056) 2026-11-25 18:03:32 +00:00
gitnexus-test-setup feat: merge gitnexus-mcp into gitnexus package - unified CLI+MCP 2026-02-04 01:12:41 +05:30
gitnexus-web ci: fail the PR gate on Sonar analysis errors (#4067) 2026-11-24 16:27:59 +00:00
pr-swarm-review feat(skills): GitNexus Engineering Tool Kits (#2566) 2026-07-19 15:07:24 +01:00
.cursorrules docs: agent development framework, GitHub templates, eval refactor (#479) 2026-03-25 06:48:41 +00:00
.dockerignore fix(ci): Change docker base image from alpine to debian (#1014) 2026-04-21 21:31:58 +01:00
.env.example feat(web): resolve a root-relative GITNEXUS_BACKEND_URL against the page origin (#3640) 2026-10-24 08:45:24 +01:00
.git-blame-ignore-revs feat: configure eslint with unused import removal (#564) 2026-03-28 15:28:09 +00:00
.gitattributes fix(lbug): ship FTS per-platform and recover in-place native aborts (#3274) 2026-09-14 08:52:24 +01:00
.gitignore fix(java): match javac resolution and move fixtures into conformance (#4056) 2026-11-25 18:03:32 +00:00
.gitleaks.toml feat(analyze): private GitHub repos via PAT + Azure DevOps Server support (#2076, #2210) (#2223) 2026-06-16 05:49:02 +01:00
.gitleaksignore feat(r): add R language support (#3513) 2026-11-19 17:16:27 +00:00
.mcp.json fix: use cross-platform npx command in .mcp.json 2026-02-22 17:46:04 +00:00
.prettierignore fix(taint): report inline and factory handler flows (#3612) 2026-10-17 20:22:58 +00:00
.prettierrc feat: configure prettier with pre-commit hook (#563) 2026-03-28 14:58:04 +00:00
.vercelignore fix: web citation/code panel bugs and serve analyze/route hardening (#3348) 2026-09-23 13:27:22 +01:00
.windsurfrules resources implemented and agents.md and skills updated to use it 2026-02-05 05:13:48 +05:30
AGENTS.md fix: improve Python caller accuracy and flag incompatible calls (#4012) 2026-11-20 19:09:22 +00:00
ARCHITECTURE.md fix(java): match javac resolution and move fixtures into conformance (#4056) 2026-11-25 18:03:32 +00:00
CHANGELOG.md perf(hooks): cmdline-first Linux db-lock scan, drop the lsof fallback (#2180) (#2183) 2026-06-13 11:52:14 +01:00
CLAUDE.md fix: improve Python caller accuracy and flag incompatible calls (#4012) 2026-11-20 19:09:22 +00:00
compound-engineering.local.md feat: Phase 7 type resolution — return-aware loop inference & PHP class-property iterables (#341) 2026-03-18 08:39:38 +00:00
CONTRIBUTING.md feat(r): add R language support (#3513) 2026-11-19 17:16:27 +00:00
docker-compose.yaml feat(web): resolve a root-relative GITNEXUS_BACKEND_URL against the page origin (#3640) 2026-10-24 08:45:24 +01:00
docker-server.mjs feat(web): resolve a root-relative GITNEXUS_BACKEND_URL against the page origin (#3640) 2026-10-24 08:45:24 +01:00
docker-server.test.mjs feat(web): resolve a root-relative GITNEXUS_BACKEND_URL against the page origin (#3640) 2026-10-24 08:45:24 +01:00
Dockerfile.cli refactor(hooks): use one package entrypoint for Claude hooks (#3879) 2026-11-12 09:54:58 +00:00
Dockerfile.web fix(security): Pin Docker Node base images, remove runtime package-manager CVE surface, verify Trivy on PRs, and harden Dependabot policy (#1455) 2026-05-09 16:55:31 +01:00
DoD.md chore: compile first-party packages with TypeScript 7 (#3311) 2026-09-17 22:16:00 +01:00
eslint.config.mjs feat: add the test scenario map and a Vitest 5 mutation runner (#3686) 2026-10-27 16:46:58 +00:00
GUARDRAILS.md fix: compact incremental graphs adaptively (#3854) 2026-11-09 20:57:07 +00:00
LICENSE docs: update license copyright holder 2026-02-03 22:54:01 +05:30
llms.txt docs: agent development framework, GitHub templates, eval refactor (#479) 2026-03-25 06:48:41 +00:00
MIGRATION.md fix(analyze): enforce parser-worker heap caps and stop charging workers the main heap (#4045) 2026-11-24 20:25:03 +00:00
package-lock.json fix(deps): resolve minimatch, glob and zod audit advisories (#3846) 2026-11-08 09:17:04 +00:00
package.json fix(deps): resolve minimatch, glob and zod audit advisories (#3846) 2026-11-08 09:17:04 +00:00
README.md feat(r): add R language support (#3513) 2026-11-19 17:16:27 +00:00
render.yaml fix(serve): protect MCP route with optional bearer auth (#3100) 2026-08-30 17:12:46 +01:00
RUNBOOK.md fix(lbug): say when memory was already in use before the query the guard blames (#4071) 2026-11-25 05:47:04 +00:00
SECURITY.md fix(server,web): honor the grep tool contract — real regex, fileFilter, caseSensitive (#3109) 2026-08-31 20:43:28 +01:00
skills.mdm FEAT: Added support for optional skill generation based on KuzuDB after initial repo analysis (npx gitnexus analyze --skills) (#171) 2026-03-13 08:29:13 +00:00
sonar-project.properties fix(sonar): repair the main-branch scan (#4076) 2026-11-25 08:40:15 +00:00
TESTING.md fix(java): match javac resolution and move fixtures into conformance (#4056) 2026-11-25 18:03:32 +00:00
type-resolution-roadmap.md docs: simplify guides and verify receiver gaps (#3694) 2026-10-23 09:06:03 +01:00
type-resolution-system.md feat(r): add R language support (#3513) 2026-11-19 17:16:27 +00:00

GitNexus

GitNexus indexes a codebase into a knowledge graph of symbols, calls, dependencies and execution flows. Use it through your coding agent's MCP tools, the CLI, or a web graph explorer.

Quick start · Documentation · Web UI · Discord

https://github.com/user-attachments/assets/172685ba-8e54-4ea7-9ad1-e31a3398da72

Quick start

Requires Node.js 22.18+ on 22.x, or 24.11+. See platform requirements for Linux and Windows native dependencies.

# Run from your repository root
npx gitnexus analyze

# Connect your editors once
npx gitnexus setup

analyze builds the index, installs agent skills, registers Claude Code hooks, and writes AGENTS.md / CLAUDE.md context files. setup configures MCP for your editors. Use gitnexus analyze --index-only to index without those repository integration files.

For repeated use, install globally with npm install -g gitnexus. If installation fails, see troubleshooting.

What you can do

Task Tool
Find code and related execution flows query
Inspect a symbol's callers and dependencies context
Check what a change could affect impact
Trace a path between two symbols trace
Review the impact of a Git diff detect_changes
Preview and apply a semantic rename rename

Ask your agent questions such as “What calls this function?” or “What would this change affect?” Resolution depends on language support and available evidence; check reported ambiguity, index freshness and coverage limits.

Editor setup

gitnexus setup detects Claude Code, Cursor, Codex, Antigravity, Factory Droid, OpenCode, CodeBuddy and Qoder. Windsurf requires manual MCP configuration. To select editors:

gitnexus setup -c cursor,codex

See editor setup for the support matrix, manual MCP configuration, hooks and plugin installation.

Everyday commands

gitnexus analyze                 # Refresh the current repository's index
gitnexus analyze --watch         # Reindex as local files change
gitnexus query "authentication"  # Search the graph
gitnexus impact UserService --direction upstream
gitnexus status                  # Check index freshness
gitnexus list                    # List indexed repositories
gitnexus serve                   # Serve indexed repositories to the web UI

For multiple concurrent agents, use one gitnexus mcp --http --port 3111 server and connect clients to http://127.0.0.1:3111/mcp. See the shared-server instructions.

Web UI

Run gitnexus serve, then open gitnexus.vercel.app. The UI connects to the backend to browse indexed repositories and use AI chat. It uses the existing index; no re-upload or re-index is needed.

GitNexus graph explorer

For Docker, hosted deployments, image verification, or a local frontend, see deployment.

Supported languages

C, C++, C#, COBOL, Dart, Go, Java, JavaScript, Kotlin, Objective-C, PHP, Python, Ruby, Rust, Swift, TypeScript, Vue and Zig have registered providers. Support varies by construct; see the language inventories for measured behavior, exclusions and remaining gaps.

R (experimental) also has a registered provider (.r / .R, parsed with @eagleoutice/tree-sitter-r): functions, S4, R6 and RefClass classes with their methods and fields, library() / require() / source() imports to local packages and files, obj$method() and pkg::fn() calls, R6 inherit= / S4 contains= heritage and NAMESPACE-driven export status. Calls through function values, do.call(), infix operators and S3 dispatch are not linked; .Rmd, box::use() and external (CRAN) packages are not supported. With --pdg it builds a control-flow graph (control dependence only, no reaching definitions), and rename handles plain functions while refusing classes, members, S3 methods, exported package functions and names spelled as strings. See docs/languages/r-provider.md for coverage and limits.

Documentation

Read For
CLI reference Commands, indexing flags, watch mode, configuration and shared stores
Environment variables · vector tuning Runtime settings and search tuning
MCP reference All tools, resources, examples, policies and response budgets
Editor setup Supported integrations and manual configuration
Deployment Docker, Render, image signatures and local frontend setup
Wiki generation Model configuration and generated repository documentation
Runbook Index recovery, embeddings and operational troubleshooting
Architecture · type resolution How the indexer and resolution layers work
Type-resolution roadmap Planned work and acceptance criteria

Security and privacy

The CLI indexes code locally without an LLM. Optional remote embeddings, wiki generation and AI chat use the providers you configure. The web UI accesses the backend it connects to. Review security guidance and deployment authentication before exposing an index to other users.

Development

See CONTRIBUTING.md for setup and pull requests, TESTING.md for validation, and GUARDRAILS.md for repository rules.

Enterprise

GitNexus is available as an enterprise offering — fully managed SaaS or self-hosted deployment. Commercial use of the OSS version is also available with proper licensing.

Enterprise includes:

  • PR Review — automated blast radius analysis on pull requests
  • Auto-updating Code Wiki — always up-to-date documentation (Code Wiki is also available in OSS)
  • Auto-reindexing — knowledge graph stays fresh automatically
  • Multi-repo support — unified graph across repositories
  • OCaml support — additional language coverage
  • Priority feature/language support — request new languages or features

Upcoming: auto regression forensics · end-to-end test generation

👉 Learn more at akonlabs.com — for commercial licensing or enterprise inquiries, ping us on Discord or email founders@akonlabs.com

Community Integrations

Built by the community — not officially maintained, but worth checking out.

Project Author Description
pi-gitnexus @tintinweb GitNexus plugin for pi — pi install npm:pi-gitnexus
gitnexus-stable-ops @ShunsukeHayashi Stable ops & deployment workflows (Miyabi ecosystem)
KiloCode MCP workflow @oktanishq Guide to connect GitNexus MCP to Kilo Code and verify tools.

Have a project built on GitNexus? Open a PR to add it here!

License

PolyForm Noncommercial 1.0.0. Commercial licensing is available through akonlabs.com.

Acknowledgments