Repository Analysis

abhigyanpatwari/GitNexus

GitNexus: The Zero-Server Code Intelligence Engine - GitNexus is a client-side knowledge graph creator that runs entirely in your browser. Drop in a git repository (Github, Gitlab, Azure, Local) or ZIP file, and get an interactive knowledge graph with a built in Graph RAG Agent. Perfect for code exploration

10.4 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of abhigyanpatwari/GitNexus, a TypeScript project with 46,101 GitHub stars. SynthScan v2.0 examined 746,624 lines of code across 2305 source files, recording 4083 pattern matches distributed across 21 syntactic categories. The overall adjusted score of 10.4 places this repository in the Low AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

10.4
Adjusted Score
10.4
Raw Score
100%
Time Factor
2026-08-28
Last Push
46.1K
Stars
TypeScript
Language
746.6K
Lines of Code
2.3K
Files
4.1K
Pattern Hits
2026-08-29
Scan Date
0.03
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 14HIGH 48MEDIUM 1688LOW 2333

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 4083 distinct pattern matches across 21 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Decorative Section Separators1643 hits · 4918 pts
SeverityFileLineSnippetContext
MEDIUMgitnexus-shared/src/index.ts31// ─── Scope-based resolution — RFC #909 (Ring 1 #910) ────────────────────────COMMENT
MEDIUMgitnexus-shared/src/index.ts31// ─── Scope-based resolution — RFC #909 (Ring 1 #910) ────────────────────────COMMENT
MEDIUMgitnexus-shared/src/graph/types.ts178 // ── Taint/PDG substrate (issue #2080) ────────────────────────────────────COMMENT
MEDIUMgitnexus-shared/src/graph/types.ts178 // ── Taint/PDG substrate (issue #2080) ────────────────────────────────────COMMENT
MEDIUMgitnexus-shared/src/integrations/circuit-breaker.ts250// ─── Per-process registry ────────────────────────────────────────────COMMENT
MEDIUM…tnexus-shared/src/scope-resolution/resolve-type-ref.ts45// ─── Public contracts ───────────────────────────────────────────────────────COMMENT
MEDIUM…tnexus-shared/src/scope-resolution/resolve-type-ref.ts58// ─── Strict policy constants ────────────────────────────────────────────────COMMENT
MEDIUM…tnexus-shared/src/scope-resolution/resolve-type-ref.ts98// ─── Main entry point ──────────────────────────────────────────────────────COMMENT
MEDIUM…exus-shared/src/scope-resolution/module-scope-index.ts57// ─── Internal ───────────────────────────────────────────────────────────────COMMENT
MEDIUMgitnexus-shared/src/scope-resolution/types.ts28// ─── §2.1 Type aliases ──────────────────────────────────────────────────────COMMENT
MEDIUMgitnexus-shared/src/scope-resolution/types.ts58// ─── Range + Capture (parser-agnostic) ──────────────────────────────────────COMMENT
MEDIUMgitnexus-shared/src/scope-resolution/types.ts91// ─── Hook input/output types (RFC §5.2) ─────────────────────────────────────COMMENT
MEDIUMgitnexus-shared/src/scope-resolution/types.ts498// ─── §2.4 ImportEdge ────────────────────────────────────────────────────────COMMENT
MEDIUMgitnexus-shared/src/scope-resolution/types.ts564// ─── §2.3 BindingRef ────────────────────────────────────────────────────────COMMENT
MEDIUMgitnexus-shared/src/scope-resolution/types.ts586// ─── §2.5 TypeRef ───────────────────────────────────────────────────────────COMMENT
MEDIUMgitnexus-shared/src/scope-resolution/types.ts642// ─── §2.2 Scope ─────────────────────────────────────────────────────────────COMMENT
MEDIUMgitnexus-shared/src/scope-resolution/types.ts691// ─── §2.6 Resolution + ResolutionEvidence ───────────────────────────────────COMMENT
MEDIUMgitnexus-shared/src/scope-resolution/types.ts732// ─── §2.7 Reference + ReferenceIndex ────────────────────────────────────────COMMENT
MEDIUMgitnexus-shared/src/scope-resolution/types.ts768// ─── §4.1 LookupParams ──────────────────────────────────────────────────────COMMENT
MEDIUM…s-shared/src/scope-resolution/method-dispatch-index.ts33// ─── Public contracts ───────────────────────────────────────────────────────COMMENT
MEDIUM…s-shared/src/scope-resolution/method-dispatch-index.ts112// ─── Builder ────────────────────────────────────────────────────────────────COMMENT
MEDIUM…s-shared/src/scope-resolution/method-dispatch-index.ts164// ─── Internal ───────────────────────────────────────────────────────────────COMMENT
MEDIUM…tnexus-shared/src/scope-resolution/evidence-weights.ts19 // ─── Where-found signals (visibility) ─────────────────────────────────────COMMENT
MEDIUM…tnexus-shared/src/scope-resolution/evidence-weights.ts31 // ─── Scope-chain deduction (per-hop) ──────────────────────────────────────COMMENT
MEDIUM…tnexus-shared/src/scope-resolution/evidence-weights.ts35 // ─── Receiver-type-binding signal (decays by MRO depth) ───────────────────COMMENT
MEDIUM…tnexus-shared/src/scope-resolution/evidence-weights.ts44 // ─── Corroborating signals ────────────────────────────────────────────────COMMENT
MEDIUM…tnexus-shared/src/scope-resolution/evidence-weights.ts51 // ─── Arity compatibility (from `provider.arityCompatibility`) ─────────────COMMENT
MEDIUM…tnexus-shared/src/scope-resolution/evidence-weights.ts60 // ─── Global fallback (only when nothing lexically visible) ────────────────COMMENT
MEDIUM…tnexus-shared/src/scope-resolution/evidence-weights.ts66 // ─── Degraded signals ─────────────────────────────────────────────────────COMMENT
MEDIUM…tnexus-shared/src/scope-resolution/evidence-weights.ts70 // ─── Unresolved-import cap (multiplicative, applied per-signal) ───────────COMMENT
MEDIUMgitnexus-shared/src/scope-resolution/position-index.ts87// ─── Internals ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…exus-shared/src/scope-resolution/finalize-algorithm.ts37// ─── Public contracts ───────────────────────────────────────────────────────COMMENT
MEDIUM…exus-shared/src/scope-resolution/finalize-algorithm.ts179// ─── Entry point ───────────────────────────────────────────────────────────COMMENT
MEDIUM…exus-shared/src/scope-resolution/finalize-algorithm.ts325// ─── Internal: edge drafting (phase 0) ──────────────────────────────────────COMMENT
MEDIUM…exus-shared/src/scope-resolution/finalize-algorithm.ts526// ─── Internal: per-edge finalization (phase 3) ─────────────────────────────COMMENT
MEDIUM…exus-shared/src/scope-resolution/finalize-algorithm.ts609// ─── Internal: re-export closure (phase 2.5) ───────────────────────────────COMMENT
MEDIUM…exus-shared/src/scope-resolution/finalize-algorithm.ts1103// ─── Internal: wildcard expansion (phase 4) ────────────────────────────────COMMENT
MEDIUM…exus-shared/src/scope-resolution/finalize-algorithm.ts1174// ─── Internal: bindings materialization (phase 5) ───────────────────────────COMMENT
MEDIUM…exus-shared/src/scope-resolution/finalize-algorithm.ts1240// ─── Internal: Tarjan SCC ──────────────────────────────────────────────────COMMENT
MEDIUM…us-shared/src/scope-resolution/qualified-name-index.ts75// ─── Internal ───────────────────────────────────────────────────────────────COMMENT
MEDIUMgitnexus-shared/src/scope-resolution/def-index.ts47// ─── Internal ───────────────────────────────────────────────────────────────COMMENT
MEDIUMgitnexus-shared/src/scope-resolution/scope-tree.ts31// ─── Public contract ────────────────────────────────────────────────────────COMMENT
MEDIUMgitnexus-shared/src/scope-resolution/scope-tree.ts50// ─── Build errors ───────────────────────────────────────────────────────────COMMENT
MEDIUMgitnexus-shared/src/scope-resolution/scope-tree.ts73// ─── Builder ───────────────────────────────────────────────────────────────COMMENT
MEDIUMgitnexus-shared/src/scope-resolution/scope-tree.ts86 // ── Pass 1: collect by id + duplicate check ───────────────────────────COMMENT
MEDIUMgitnexus-shared/src/scope-resolution/scope-tree.ts97 // ── Pass 2: validate parent pointers + build children buckets ─────────COMMENT
MEDIUMgitnexus-shared/src/scope-resolution/scope-tree.ts137 // ── Pass 3: sibling-overlap check ─────────────────────────────────────COMMENT
MEDIUMgitnexus-shared/src/scope-resolution/scope-tree.ts165// ─── Internals ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…xus-shared/src/scope-resolution/registries/evidence.ts29 // ── Where-found ────────────────────────────────────────────────────────COMMENT
MEDIUM…xus-shared/src/scope-resolution/registries/evidence.ts37 // ── Type-binding path ──────────────────────────────────────────────────COMMENT
MEDIUM…xus-shared/src/scope-resolution/registries/evidence.ts41 // ── Corroborators ──────────────────────────────────────────────────────COMMENT
MEDIUM…xus-shared/src/scope-resolution/registries/evidence.ts47 // ── Arity ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…xus-shared/src/scope-resolution/registries/evidence.ts50 // ── Dynamic-unresolved passthrough ─────────────────────────────────────COMMENT
MEDIUM…xus-shared/src/scope-resolution/registries/evidence.ts65 // ── Where-found visibility ─────────────────────────────────────────────COMMENT
MEDIUM…xus-shared/src/scope-resolution/registries/evidence.ts92 // ── Type-binding / MRO path ────────────────────────────────────────────COMMENT
MEDIUM…xus-shared/src/scope-resolution/registries/evidence.ts101 // ── Owner match (explanatory for debug) ────────────────────────────────COMMENT
MEDIUM…xus-shared/src/scope-resolution/registries/evidence.ts115 // ── Arity ──────────────────────────────────────────────────────────────COMMENT
MEDIUM…xus-shared/src/scope-resolution/registries/evidence.ts130 // ── Dynamic-unresolved (degraded signal) ───────────────────────────────COMMENT
MEDIUM…xus-shared/src/scope-resolution/registries/evidence.ts153// ─── Internal ───────────────────────────────────────────────────────────────COMMENT
MEDIUM…exus-shared/src/scope-resolution/registries/context.ts24// ─── Provider hooks consumed by the registries ─────────────────────────────COMMENT
1583 more matches not shown…
Hyper-Verbose Identifiers1186 hits · 1156 pts
SeverityFileLineSnippetContext
LOW…exus-shared/src/scope-resolution/finalize-algorithm.ts823function collectAmbiguousReexports(CODE
LOW…s-shared/src/scope-resolution/registries/tie-breaks.ts46export function compareByConfidenceWithTiebreaks(CODE
LOW…-shared/src/scope-resolution/registries/lookup-core.ts433function seedFromOwnerScopedContributor(CODE
LOWgitnexus/test/unit/skip-git-cli.test.ts210 function expectCoolioRegistryEntry() {CODE
LOWgitnexus/test/unit/shipped-skills-sync.test.ts74function discoverStandardSkillNames(): string[] {CODE
LOWgitnexus/test/unit/incremental-orchestration.test.ts87async function setupSpringBeanIncrementalRepo() {CODE
LOWgitnexus/test/unit/incremental-orchestration.test.ts103async function setupJavaEnumHeritageIncrementalRepo() {CODE
LOWgitnexus/test/unit/incremental-orchestration.test.ts121async function setupKotlinSpringBeanIncrementalRepo() {CODE
LOWgitnexus/test/unit/incremental-orchestration.test.ts145async function setupSpringAopIncrementalRepo() {CODE
LOWgitnexus/test/unit/incremental-orchestration.test.ts186async function setupSpringBeanFactoryIncrementalRepo() {CODE
LOWgitnexus/test/unit/incremental-orchestration.test.ts206async function setupSpringConfigIncrementalRepo() {CODE
LOWgitnexus/test/unit/incremental-orchestration.test.ts216async function readWildcardServiceAnnotations(repoPath: string): Promise<string[]> {CODE
LOWgitnexus/test/unit/incremental-orchestration.test.ts234async function readSpringConfigPropertyNames(repoPath: string): Promise<string[]> {CODE
LOWgitnexus/test/unit/incremental-orchestration.test.ts249async function countStatusImplementsNamed(repoPath: string): Promise<number> {CODE
LOWgitnexus/test/unit/incremental-orchestration.test.ts264async function deleteStatusImplementsNamed(repoPath: string): Promise<void> {CODE
LOWgitnexus/test/unit/incremental-orchestration.test.ts297async function countSpringAutoConfigurationDeclarations(repoPath: string): Promise<number> {CODE
LOWgitnexus/test/unit/incremental-orchestration.test.ts313async function countSpringBeanFactoryDeclarations(repoPath: string): Promise<number> {CODE
LOWgitnexus/test/unit/incremental-orchestration.test.ts328async function countSpringAutoConfigurationSyntheticClasses(repoPath: string): Promise<number> {CODE
LOWgitnexus/test/unit/incremental-orchestration.test.ts386function assertSpringAopSnapshotShape(CODE
LOW…exus/test/unit/dockerfile-runtime-asset-parity.test.ts44function runtimeStageCopiedSources(dockerfile: string): string[] {CODE
LOW…exus/test/unit/dockerfile-runtime-asset-parity.test.ts320function shippedAssetRequiredAssets(copiedSources: string[]): { asset: string; source: string }[] {CODE
LOWgitnexus/test/unit/hooks.test.ts123function resolveHostGuardForReapingTests(): string | null {CODE
LOWgitnexus/test/unit/hooks.test.ts145function writeSelfTestingGuardWithMarkers(CODE
LOWgitnexus/test/unit/eval-server-bind-restriction.test.ts11function isEvalServerBindRestriction(stderr: string): boolean {CODE
LOWgitnexus/test/unit/onnxruntime-node-resolver.test.ts457 function loadRedirectActiveResolver(registerHooksSpy: unknown) {CODE
LOWgitnexus/test/unit/receiver-extraction.test.ts52function extractExpressRouteReceivers(parser: Parser, code: string) {CODE
LOWgitnexus/test/unit/cli-index-help.test.ts76function extractRegisteredHelpDescriptions(): string[] {CODE
LOWgitnexus/test/unit/tree-sitter-queries.test.ts21function capturedDefinitionFunctionNames(CODE
LOWgitnexus/test/unit/spring-bean-extractor.test.ts100function captureKotlinClassAnnotations(code: string): KotlinCaptureSideChannel['classAnnotations'] {CODE
LOWgitnexus/test/unit/spring-bean-extractor.test.ts106function captureKotlinSpringDiFacts(CODE
LOWgitnexus/test/unit/spring-bean-extractor.test.ts114function collectKotlinSpringNonHttpHandlerFactsFromSource(CODE
LOWgitnexus/test/unit/review-agent-workflow.test.ts415function reviewTranscriptWithoutTools(): Array<Record<string, unknown>> {CODE
LOWgitnexus/test/unit/group/http-route-extractor.test.ts2891def unrelated_scope_collision():CODE
LOWgitnexus/test/unit/group/http-route-extractor.test.ts2895def module_scope_shadow_collision():CODE
LOW…tnexus/test/unit/group/sync-partial-extraction.test.ts193function isStagingBufferDeclaration(node: ts.Node): node is ts.VariableDeclaration {CODE
LOWgitnexus/test/unit/call-routing/ruby.test.ts54function makeRequireCallNodeNoContent(): MockNode {CODE
LOW…est/unit/import-resolvers/csharp-csproj-parity.test.ts84function legacyResolveCSharpImportInternal(CODE
LOW…it/scope-resolution/import-target-index-parity.test.ts79function legacyFindRootPackageFiles(allFilePaths: ReadonlySet<string>): string[] {CODE
LOW…it/scope-resolution/import-target-index-parity.test.ts90function legacyFindAllFilesInPkgDir(allFilePaths: ReadonlySet<string>, pkgPath: string): string[] {CODE
LOW…it/scope-resolution/import-target-index-parity.test.ts106function legacyResolveGoImportTarget(CODE
LOW…it/scope-resolution/import-target-index-parity.test.ts132function legacyResolveDartRelative(CODE
LOW…it/scope-resolution/import-target-index-parity.test.ts153function legacyResolveDartImportTarget(CODE
LOW…it/scope-resolution/import-target-index-parity.test.ts185function legacyResolveRubyRelative(CODE
LOW…it/scope-resolution/import-target-index-parity.test.ts206function legacyResolveRubyImportTarget(CODE
LOW…it/scope-resolution/import-target-index-parity.test.ts261function legacyResolveByProgressiveStripping(CODE
LOW…it/scope-resolution/import-target-index-parity.test.ts288function legacyResolveCsharpNoCsproj(CODE
LOW…it/scope-resolution/cobol-import-target-parity.test.ts62function legacyResolveCobolImportTarget(CODE
LOW…unit/scope-resolution/php-import-target-parity.test.ts85function legacyNamespaceDirectories(CODE
LOW…unit/scope-resolution/php-import-target-parity.test.ts169function legacyResolvePhpImportTarget(CODE
LOW…unit/scope-resolution/php-import-target-parity.test.ts202function legacyResolvePhpImportTargetInternal(CODE
LOW…/test/unit/scope-resolution/java/java-captures.test.ts40function recordAccessorDeclarations(src: string) {CODE
LOWgitnexus/test/integration/extension-binary-real.test.ts55function resolveInstalledFtsExtension(): string | null {CODE
LOWgitnexus/test/integration/cli-e2e.test.ts185function isEvalServerBindRestriction(stderr: string): boolean {CODE
LOWgitnexus/test/integration/cli-e2e.test.ts209function runEvalServerHostFlagTest(CODE
LOWgitnexus/test/integration/spring-aop-benchmark.test.ts443async function runMixedPipelineBenchmark(serviceCount: number): Promise<PipelineBenchResult> {CODE
LOW…exus/test/integration/impact-pdg-fullchain-e2e.test.ts76async function persistFixtureGraphWithCallees(): Promise<{CODE
LOWgitnexus/test/integration/spring-di-benchmark.test.ts111function runKotlinCaptureBenchmark(consumerCount: number, run: number): CaptureBenchResult {CODE
LOWgitnexus/test/integration/go-pipeline-benchmark.test.ts254function generateGoQuarantineFixture(CODE
LOWgitnexus/test/integration/go-pipeline-benchmark.test.ts474function generateSyntheticInterfaceData(interfaceCount: number, structCount: number): ParsedFile[] {CODE
LOW…tegration/group/group-service-sync-lazy-import.test.ts107async function serviceWithUnloadableSync(home: string): Promise<GroupService> {CODE
1126 more matches not shown…
Over-Commented Block879 hits · 772 pts
SeverityFileLineSnippetContext
LOWrender.yaml1# yaml-language-server: $schema=https://render.com/schema/render.yaml.jsonCOMMENT
LOWgitnexus-shared/src/scope-resolution/reference-site.ts41 // An identifier in object-literal property-value positionCOMMENT
LOW…exus-shared/src/scope-resolution/finalize-algorithm.ts581 // // models.tsCOMMENT
LOW…exus-shared/src/scope-resolution/finalize-algorithm.ts1001 // import almost always wants the callable, not a value shadow thatCOMMENT
LOW…exus-shared/src/scope-resolution/finalize-algorithm.ts1141 // came from. They are built fresh rather than spread from `edge` becauseCOMMENT
LOW…-shared/src/scope-resolution/registries/lookup-core.ts101export function lookupCore(COMMENT
LOWdeploy/kubernetes/cluster-image-policy.yaml1# Sigstore policy-controller ClusterImagePolicy for GitNexus container images.COMMENT
LOWdeploy/kubernetes/cluster-image-policy.yaml21# kubectl label namespace <your-ns> policy.sigstore.dev/include=trueCOMMENT
LOWdeploy/kubernetes/cluster-image-policy.yaml41 # cover every `gitnexus:<tag>`, `gitnexus@sha256:...`, `gitnexus-web:<tag>`,COMMENT
LOWdeploy/kubernetes/cluster-image-policy.yaml61 url: https://fulcio.sigstore.devCOMMENT
LOW.devcontainer/post-create.sh1#!/usr/bin/env bashCOMMENT
LOW.devcontainer/post-create.sh21#COMMENT
LOW.devcontainer/post-create.sh61[ -f /home/node/.claude-mem/.claude-mem-seeded ] || DIRS+=(/home/node/.claude-mem)COMMENT
LOW.devcontainer/post-create.sh101# single config files, and single files can't be bind-mounted on WindowsCOMMENT
LOW.devcontainer/post-create.sh141# Seed $HOME/.claude.json from the host, but NOT as a straight copy. That fileCOMMENT
LOW.devcontainer/post-create.sh161# config is copied correctly. If `cursor-agent` reports auth errors after theCOMMENT
LOW.devcontainer/post-create.sh181sync_from_host /host/.config/gh/config.yml /home/node/.config/gh/config.yml 644COMMENT
LOW.devcontainer/post-create.sh241 node "$SCRIPT_DIR/translate-plugin-registries.cjs" "${TRANSLATE_CLIS[@]}"COMMENT
LOW.devcontainer/post-create.sh261COMMENT
LOW.devcontainer/post-create.sh281# truncated file and treat the store as "already seeded", sticking the containerCOMMENT
LOW.devcontainer/install-deps.sh1#!/usr/bin/env bashCOMMENT
LOW.devcontainer/install-deps.sh21#COMMENT
LOW.devcontainer/install-deps.sh41# On Docker Desktop for Windows, the bind-mount permission translation won't letCOMMENT
LOW.devcontainer/devcontainer.json1// Devcontainer for GitNexus. It pre-installs Claude Code, the OpenAI CodexCOMMENT
LOW.devcontainer/devcontainer.json21 // To bump: pick a tag from github.com/oven-sh/bun/releases and updateCOMMENT
LOW.devcontainer/devcontainer.json41 "ghcr.io/devcontainers/features/github-cli:1": {}COMMENT
LOW.devcontainer/devcontainer.json61 // skill, agent, command, or plugin onto the host for the next host sessionCOMMENT
LOW.devcontainer/devcontainer.json81 // docker). gh and docker are read-only so a compromised dependency can'tCOMMENT
LOW.devcontainer/devcontainer.json101 // That separation is the point: the `docker volume rm <cli>-config-*`COMMENT
LOW.devcontainer/devcontainer.json121 // mount precedence is: the more specific path wins.COMMENT
LOW.devcontainer/devcontainer.json141 // claude-mem ran on the host and in the container against the same DB atCOMMENT
LOW.devcontainer/devcontainer.json161 // KEEP IN SYNC: if you add/rename/remove a session sub-path, update allCOMMENT
LOW.devcontainer/devcontainer.json181 // sidecar, so there is no cross-filesystem single-file hazard. projects/COMMENT
LOW.devcontainer/devcontainer.json201 // "source=${localEnv:HOME}/.cursor/chats,target=/home/node/.cursor/chats,type=bind",COMMENT
LOW.devcontainer/devcontainer.json221COMMENT
LOW.devcontainer/devcontainer.json241 // container's Linux paths, also seed-once, alongside the cache/ copy soCOMMENT
LOW.devcontainer/devcontainer.json261 "source=${localEnv:HOME}/.config/git,target=/home/node/.config/git,type=bind,readonly",COMMENT
LOW.devcontainer/devcontainer.json281 "source=${localWorkspaceFolderBasename}-gitnexus-node-modules-${devcontainerId},target=/workspace/gitnexus/node_moduCOMMENT
LOW.devcontainer/devcontainer.json301 // CLAUDE_CONFIG_DIR is left unset on purpose. The Claude default isCOMMENT
LOW.devcontainer/devcontainer.json361 },COMMENT
LOWgitnexus/vitest.config.ts41 },COMMENT
LOWgitnexus/vitest.config.ts101 'test/integration/impact-ambiguous-blast-radius.test.ts',COMMENT
LOWgitnexus/test/unit/process-processor.test.ts621 const early = traceFromEntryPoint('entry', deepAndShallow(['d1', 's1', 's2', 's3']), cfg);COMMENT
LOWgitnexus/test/unit/process-processor.test.ts821 addCall(graph, 'func:ownEntry', 'func:ownMid');COMMENT
LOWgitnexus/test/unit/process-processor.test.ts1281 ['r', 'a', 'b c'],COMMENT
LOW…test/unit/incremental-index-extension-dml-gate.test.ts541 ),COMMENT
LOWgitnexus/test/unit/ignore-service.test.ts281// A `!__tests__/` line in `.gitnexusignore` must re-enable indexing ofCOMMENT
LOWgitnexus/test/unit/ignore-service.test.ts781// repeating it per repo. Rather than inventing a new file location,COMMENT
LOWgitnexus/test/unit/call-attribution-issue-1166.test.ts541 // result value, not a callable. The array-method blocklist now suppressesCOMMENT
LOWgitnexus/test/unit/hook-db-lock-probe.test.ts261 { GITNEXUS_HOOK_LINUX_PROC_BUDGET_MS: '5000' },COMMENT
LOWgitnexus/test/unit/hook-db-lock-probe.test.ts341 // ── D3b: cmdline escalation respects the scan budget (F3) ─────────COMMENT
LOWgitnexus/test/unit/hook-db-lock-probe.test.ts401 // Production hooks run as `node <probe>.cjs` with neither VITEST norCOMMENT
LOWgitnexus/test/unit/hook-db-lock-probe.test.ts461 });COMMENT
LOWgitnexus/test/unit/ai-context.test.ts301 expect(content).not.toContain('## When Refactoring');COMMENT
LOWgitnexus/test/unit/route-process-linking.test.ts181 );COMMENT
LOW…nexus/test/unit/index-freshness-graph-collapse.test.ts41COMMENT
LOW…nexus/test/unit/index-freshness-graph-collapse.test.ts61 // structural edges while 4,000 PDG rows persisted was indistinguishable fromCOMMENT
LOW…nexus/test/unit/index-freshness-graph-collapse.test.ts101 it('is fail-safe when the expected count is unavailable', () => {COMMENT
LOWgitnexus/test/unit/binding-accumulator.test.ts201 });COMMENT
LOWgitnexus/test/unit/schema-pair-coverage.test.ts121 // inert duplicate — it SUPPRESSES generation. Narrowing a rule later wouldCOMMENT
819 more matches not shown…
Hallucination Indicators14 hits · 150 pts
SeverityFileLineSnippetContext
CRITICALgitnexus/test/unit/spring-config-bindings.test.ts237 @org.springframework.boot.context.properties.ConfigurationProperties("service")CODE
CRITICALgitnexus/test/unit/install-duckdb-extension.test.ts72 expect(factory.conn.query.mock.calls.some(([sql]) => String(sql).includes('INSTALL'))).toBe(CODE
CRITICALgitnexus/test/unit/spring-interface-inheritance.test.ts265@org.springframework.web.bind.annotation.RequestMapping("/api")CODE
CRITICALgitnexus/test/unit/spring-interface-inheritance.test.ts267 @org.springframework.web.bind.annotation.GetMapping("/list") Object list();CODE
CRITICALgitnexus/test/unit/java-route-const-resolver.test.ts314 @org.springframework.web.bind.annotation.PostMapping(ApiPathConstants.DIAGNOSIS_SAVE_V1)CODE
CRITICALgitnexus/test/unit/java-route-const-resolver.test.ts331 @org.springframework.web.bind.annotation.PostMapping("/literal/path")CODE
CRITICALgitnexus/test/unit/group/http-route-extractor.test.ts2442@org.springframework.web.bind.annotation.RequestMapping("/api")CODE
CRITICALgitnexus/test/unit/group/http-route-extractor.test.ts2444 @org.springframework.web.bind.annotation.GetMapping("/users")CODE
CRITICALgitnexus/test/unit/group/http-route-extractor.test.ts2471 @org.springframework.web.bind.annotation.GetMapping("/orders/{id}")CODE
CRITICALgitnexus/test/unit/group/spring-route-parity.test.ts159 @org.springframework.web.bind.annotation.RequestMapping(CODE
CRITICALgitnexus/test/unit/group/grpc-extractor.test.ts563 // `com.acme.auth.proto.AuthServiceGrpc.newBlockingStub(...)`,COMMENT
CRITICALgitnexus/test/unit/group/grpc-extractor.test.ts579 this.stub = com.acme.auth.proto.AuthServiceGrpc.newBlockingStub(ch);CODE
CRITICALgitnexus/test/unit/group/grpc-extractor.test.ts588 // fully-qualified `com.acme.auth.proto.AuthServiceGrpc.newStub(...)`COMMENT
CRITICALgitnexus/test/unit/group/grpc-extractor.test.ts655 this.stub = com.acme.auth.proto.AuthServiceGrpc.newBlockingStub(ch);CODE
Cross-Language Confusion22 hits · 135 pts
SeverityFileLineSnippetContext
HIGHeval/run_eval.py179 patch_output = env.execute({"command": "cd /testbed && git diff"})CODE
HIGHeval/tool_registry.py30 fallback='cd /testbed && npx gitnexus query "$query" 2>&1',CODE
HIGHeval/tool_registry.py41 fallback='cd /testbed && npx gitnexus context "$name" 2>&1',CODE
HIGHeval/tool_registry.py50 fallback='cd /testbed && npx gitnexus impact "$target" --direction "$direction" 2>&1',CODE
HIGHeval/tool_registry.py59 fallback='cd /testbed && npx gitnexus cypher "$query" 2>&1',CODE
HIGHeval/tool_registry.py67 fallback='cd /testbed && npx gitnexus list 2>&1',CODE
HIGHeval/tool_registry.py74 fallback='cd /testbed && npx gitnexus augment "$1" 2>&1 || true',CODE
HIGHeval/tool_registry.py74 fallback='cd /testbed && npx gitnexus augment "$1" 2>&1 || true',CODE
HIGHeval/workflow_bench/evolve.py1036 "`cd gitnexus && npx vitest run test/unit/shipped-skills-sync.test.ts "CODE
HIGHeval/environments/gitnexus_docker.py114 check = self.execute({"command": "node --version 2>/dev/null || echo 'NOT_FOUND'"})CODE
HIGHeval/environments/gitnexus_docker.py134 check = self.execute({"command": "npx gitnexus --version 2>/dev/null || echo 'NOT_FOUND'"})CODE
HIGHeval/environments/gitnexus_docker.py158 "command": f"cd /testbed && npx gitnexus analyze . {skip_flag} 2>&1",CODE
HIGHeval/environments/gitnexus_docker.py193 "command": f"curl -sf http://{health_host}:{self.eval_server_port}/health 2>/dev/null || echo 'NOT_READYCODE
HIGHeval/environments/gitnexus_docker.py236 '-H "Content-Type: application/json" -d "$payload" 2>/dev/null)'CODE
HIGHeval/environments/gitnexus_docker.py278 "command": "cd /testbed && basename $(git remote get-url origin 2>/dev/null || basename $(pwd)) .git"CODE
HIGHeval/environments/gitnexus_docker.py278 "command": "cd /testbed && basename $(git remote get-url origin 2>/dev/null || basename $(pwd)) .git"CODE
HIGHeval/environments/gitnexus_docker.py280 commit_result = self.execute({"command": "cd /testbed && git rev-parse HEAD 2>/dev/null || echo unknown"})CODE
HIGHeval/environments/gitnexus_docker.py280 commit_result = self.execute({"command": "cd /testbed && git rev-parse HEAD 2>/dev/null || echo unknown"})CODE
HIGHeval/environments/gitnexus_docker.py348 "command": "npx gitnexus list 2>/dev/null | grep -o '/root/.gitnexus/[^ ]*' | head -1 || echo '/rootCODE
HIGHeval/environments/gitnexus_docker.py378 "command": f"curl -sf -X POST http://127.0.0.1:{self.eval_server_port}/shutdown 2>/dev/null || true"CODE
HIGHeval/tests/test_proposer_sandbox.py513 result = sandbox.run(["/bin/sh", "-c", "command -v npx && npx --version"], timeout=60)CODE
HIGHeval/agents/gitnexus_agent.py113 "command": f'gitnexus-augment "{pattern}" 2>&1 || true',CODE
Cross-Language Confusion (JS/TS)25 hits · 132 pts
SeverityFileLineSnippetContext
HIGHgitnexus/test/unit/method-extraction.test.ts1694 print(format: string): void;CODE
HIGHgitnexus/test/unit/method-extraction.test.ts3730 print(msg);CODE
HIGHgitnexus/test/unit/method-extraction.test.ts3799 print(msg);CODE
HIGHgitnexus/test/unit/method-extraction.test.ts3826 print(this);CODE
HIGHgitnexus/test/unit/ingestion-utils.test.ts661 const code = `def process_data(items: list[int]) -> bool:\n return True`;CODE
HIGHgitnexus/test/unit/type-env.test.ts963 return TrueCODE
HIGHgitnexus/test/unit/type-env.test.ts968 return TrueCODE
HIGH…xus/test/unit/scope-resolution/workspace-index.test.ts96 return TrueCODE
HIGH…xus/test/unit/scope-resolution/workspace-index.test.ts138 return TrueCODE
HIGH…xus/test/unit/scope-resolution/workspace-index.test.ts158 return TrueCODE
HIGH…xus/test/unit/scope-resolution/workspace-index.test.ts184 return TrueCODE
HIGH…xus/test/unit/scope-resolution/workspace-index.test.ts208 return TrueCODE
HIGH…nit/scope-resolution/python/cached-tree-parity.test.ts32 print(item.upper())CODE
HIGHgitnexus/test/integration/skills-e2e.test.ts515 return TrueCODE
HIGHgitnexus/test/integration/skills-e2e.test.ts579 print(f"[INFO] {msg}")CODE
HIGHgitnexus/test/integration/skills-e2e.test.ts582 print(f"[ERROR] {msg}")CODE
HIGHgitnexus/test/integration/skills-e2e.test.ts591 return TrueCODE
HIGHgitnexus/test/integration/skills-e2e.test.ts2247 return TrueCODE
HIGHgitnexus/test/integration/has-method.test.ts623 print(format: string): void;CODE
HIGHgitnexus/test/integration/resolvers/python.test.ts686 'app/services/marker.py': `def _marker(): return TrueCODE
HIGHgitnexus/test/integration/resolvers/python.test.ts747 'app/services/marker.py': `def _marker(): return TrueCODE
HIGHgitnexus/test/integration/resolvers/python.test.ts821 'app/services/marker.py': `def _marker(): return TrueCODE
HIGHgitnexus/test/integration/resolvers/python.test.ts841 'app/services/marker.py': `def _marker(): return TrueCODE
HIGHgitnexus/test/integration/resolvers/python.test.ts3015 return TrueCODE
HIGHgitnexus/scripts/bench-scope-resolution.ts28 lines.push(` return True`);CODE
AI Slop Vocabulary32 hits · 96 pts
SeverityFileLineSnippetContext
MEDIUMgitnexus/bench/import-target/baselines.json5 "_fingerprint_note": "Per-language sha256 over every distinct fromFile|target -> resolved target. A change here is a BCODE
MEDIUMgitnexus/bench/import-target/baselines.json1019 "_blind_spot": "MEASURED, so nobody has to rediscover it: a full workspace scan reintroduced on 1-in-32 imports passesCODE
MEDIUMgitnexus/test/unit/git-utils.test.ts362 // the test is robust to platform path-format quirks (Windows 8.3 shortCOMMENT
MEDIUMgitnexus/test/unit/cli-commands.test.ts118 // explicit and robust to a future tree-sitter change.COMMENT
MEDIUMgitnexus/test/unit/parser-loader-skip-optional.test.ts59 // install-state-robust — C's native binding is intentionally fallible, soCOMMENT
MEDIUMgitnexus/test/unit/parser-loader-skip-optional.test.ts70 // Baseline (no skip) so the isolation check is install-state-robust.COMMENT
MEDIUM…tnexus/test/unit/group/php-guzzle-request-ctor.test.ts46 // this sidesteps that entirely and is robust regardless of how the fileCOMMENT
MEDIUMgitnexus/test/unit/group/grpc-extractor.test.ts631 // is robust against client-jar consumers and same-short-nameCOMMENT
MEDIUM…tnexus/test/unit/cfg/reaching-defs-equivalence.test.ts2 * #2201 — differential equivalence harness for the reaching-defs solvers.COMMENT
MEDIUMgitnexus/test/integration/cli-e2e.test.ts1614 // Derive the real uid + filePath from context so the test is robust to theCOMMENT
MEDIUMgitnexus/test/integration/mcp/server-startup.test.ts274 // path containing braces can never truncate the parse (more robust thanCOMMENT
MEDIUMgitnexus/src/core/ingestion/cfg/visitors/c-cpp.ts722 // (A bare `try {}` with no catch is ill-formed C++, but stay robust.)COMMENT
MEDIUMgitnexus/src/core/ingestion/cfg/visitors/swift.ts535 // flow conservatively (Swift forbids fall-through, but stay robust).COMMENT
MEDIUMgitnexus/src/core/lbug/lbug-config.ts584// Matching is case-insensitive to remain robust across wrappers/platforms.COMMENT
MEDIUMgitnexus/src/core/lbug/lbug-adapter.ts2002 // starts), but the lock makes it robust to future reordering — a concurrentCOMMENT
MEDIUMgitnexus/src/mcp/local/local-backend.ts2336 // async `checkStalenessAsync`, robust defense-in-depth otherwise.COMMENT
MEDIUM.github/workflows/impact-pdg-mutation-report.yml12# The harness shells out to `gitnexus analyze --pdg`, which spawns workers fromCOMMENT
MEDIUM.github/workflows/impact-pdg-mutation-report.yml46 # analyze workers the mutation harness spawns.COMMENT
MEDIUM.github/workflows/gitnexus-skill-evolution.yml54 # Weekly is a deliberate cadence to catch model/harness drift promptly; aCOMMENT
MEDIUM.github/workflows/docker.yml245 # Use `while read` instead of `for $TAGS` to be robust against tags thatCOMMENT
MEDIUM.github/scripts/triage/test_embedding_utils.py196 # 500 samples, 10 dims — well-conditioned for robust covarianceCOMMENT
MEDIUM.github/scripts/triage/sweep.py40# Governs how aggressively the robust covariance downweights extreme points.COMMENT
MEDIUMgitnexus-web/package-lock.json7654 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz",CODE
MEDIUMeval/workflow_bench/runner.py621# Rows where the session (or the harness) died carry no measured evidence andCOMMENT
MEDIUMeval/workflow_bench/tasks.scenarios.yaml14# oracle: harness-owned hidden files + command; oracle success is alsoCOMMENT
MEDIUMeval/workflow_bench/runtime_mounts.py32# The mounted runtime is built from this checkout, so the pin tracks the harness'COMMENT
MEDIUMeval/workflow_bench/runner_artifacts.py32# pre-existing .git exclusion below, which is the same kind of harness/toolCOMMENT
MEDIUMeval/workflow_bench/task_assets.py44# The largest known real sandbox_copy asset in this harness is the shippedCOMMENT
MEDIUMeval/tests/test_workflow_bench.py360 # expected "bad candidate" outcome and must not read as a broken harness.COMMENT
MEDIUMeval/tests/test_workflow_bench_sessions.py336 # --allowedTools (a Claude Code design choice, not something the harnessCOMMENT
MEDIUMeval/tests/test_task_assets.py123 # harness's own pre-built graph index, not just tiny fixtures.COMMENT
MEDIUMeval/tests/test_oracle_assets.py418 # through this harness dependency link while candidate-relative importsCOMMENT
Verbosity Indicators56 hits · 96 pts
SeverityFileLineSnippetContext
LOWgitnexus/test/unit/incremental-orchestration.test.ts878 // Step 1: initial index.COMMENT
LOWgitnexus/test/unit/incremental-orchestration.test.ts881 // Step 2: comment-only edit, same as the test above.COMMENT
LOWgitnexus/test/unit/incremental-orchestration.test.ts886 // Step 3: incremental writeback for the edited file.COMMENT
LOWgitnexus/test/unit/incremental-orchestration.test.ts897 // Step 4: force a full rebuild from the SAME on-disk file state.COMMENT
LOWgitnexus/test/unit/incremental-orchestration.test.ts907 // Step 5: exact-equality across every stat. `toEqual` would alsoCOMMENT
LOWgitnexus/test/integration/cli-e2e.test.ts509 // Step 1: analyze repoA with --name shared → registry entry created.COMMENT
LOWgitnexus/test/integration/cli-e2e.test.ts531 // Step 2: analyze repoB with the SAME --name → collision error.COMMENT
LOWgitnexus/test/integration/cli-e2e.test.ts551 // Step 3: REGRESSION GUARD for the missing collision-bypass wireCOMMENT
LOWgitnexus/test/integration/cli-e2e.test.ts583 // Step 4: REGRESSION GUARD for the design decision in reviewCOMMENT
LOWgitnexus/src/core/augmentation/engine.ts114 // Step 1: BM25 search (fast, no embeddings)COMMENT
LOWgitnexus/src/core/augmentation/engine.ts117 // Step 2: Map BM25 file results to symbolsCOMMENT
LOWgitnexus/src/core/augmentation/engine.ts179 // Step 3: Batch-fetch callers/callees/processes/cohesion for top matchesCOMMENT
LOWgitnexus/src/core/augmentation/engine.ts326 // Step 4: Rank by cohesion (internal signal) and formatCOMMENT
LOWgitnexus/src/core/ingestion/community-processor.ts247 // Step 3: Create community nodes with heuristic labelsCOMMENT
LOWgitnexus/src/core/ingestion/community-processor.ts257 // Step 4: Create membership mappingsCOMMENT
LOWgitnexus/src/core/ingestion/process-processor.ts171 // Step 1: Find entry points (functions that call others but have few callers)COMMENT
LOWgitnexus/src/core/ingestion/process-processor.ts178 // Step 2: Trace processes from each entry pointCOMMENT
LOWgitnexus/src/core/ingestion/process-processor.ts208 // Step 3: Deduplicate similar traces (subset removal)COMMENT
LOWgitnexus/src/core/ingestion/process-processor.ts219 // Step 4: Limit to max processes — deepest first, but ROUND-ROBIN acrossCOMMENT
LOWgitnexus/src/core/ingestion/process-processor.ts333 // Step 5: Create process nodesCOMMENT
LOW…re/ingestion/route-extractors/kotlin-const-resolver.ts613 // Step 2: the file-name convention, as a tie-break among valid candidates.COMMENT
LOW…xus/src/core/ingestion/languages/php/scope-resolver.ts134 // Step 1: run generic MRO (Class-only, EXTENDS-only).COMMENT
LOW…xus/src/core/ingestion/languages/php/scope-resolver.ts137 // Step 2: build a graphId → defId map for ALL class-like defs including Traits.COMMENT
LOW…xus/src/core/ingestion/languages/php/scope-resolver.ts156 // Step 3: collect direct trait-use edges (IMPLEMENTS where target is a Trait).COMMENT
LOW…xus/src/core/ingestion/languages/php/scope-resolver.ts174 // Step 4: augment every class's MRO by prepending the traits used byCOMMENT
LOW…xus/src/core/ingestion/languages/php/scope-resolver.ts203 // Step 5: also insert Trait-only entries for classes that use traitsCOMMENT
LOW…src/core/ingestion/languages/php/namespace-siblings.ts212 // Step 1: extract namespace structure for each file. Also seed theCOMMENT
LOW…src/core/ingestion/languages/php/namespace-siblings.ts225 // Step 2: group class-like defs and module scopes by namespace.COMMENT
LOW…src/core/ingestion/languages/php/namespace-siblings.ts280 // Step 3: For each namespace bucket, inject sibling class bindingsCOMMENT
LOW…src/core/ingestion/languages/php/namespace-siblings.ts339 // Step 4: Mirror return-type bindings from same-namespace sibling files.COMMENT
LOW…nexus/src/core/ingestion/languages/cpp/simple-hooks.ts63 // The orchestrator provides the function scope; we need to check ifCOMMENT
LOW…us/src/core/ingestion/languages/ruby/scope-resolver.ts164 // Step 1: EXTENDS chain via the generic MRO builder (direct class inheritance).COMMENT
LOW…us/src/core/ingestion/languages/ruby/scope-resolver.ts167 // Step 2: Build defId ↔ graphId bridge for class-like defs.COMMENT
LOW…us/src/core/ingestion/languages/ruby/scope-resolver.ts177 // Step 3: Collect IMPLEMENTS edges, partitioned by reason.COMMENT
LOW…us/src/core/ingestion/languages/ruby/scope-resolver.ts204 // Step 4: Reorder MRO per Ruby semantics.COMMENT
LOW…exus/src/core/ingestion/scope-resolution/passes/mro.ts45 // Step 1: parentsByGraphId — typed iterator skips the per-edge typeCOMMENT
LOW…exus/src/core/ingestion/scope-resolution/passes/mro.ts58 // Step 2: defIdByGraphId — translate graph ids to scope-resolution DefIds.COMMENT
LOW…exus/src/core/ingestion/scope-resolution/passes/mro.ts82 // Step 3: linearize per class.COMMENT
LOW…ngestion/scope-resolution/passes/overload-narrowing.ts282 // Step 1: compute per-slot ranks and exclude non-viable candidates.COMMENT
LOW…ngestion/scope-resolution/passes/overload-narrowing.ts316 // Step 2: pairwise dominance — remove candidates dominated by any other.COMMENT
LOWgitnexus/src/core/group/extractors/grpc-extractor.ts559 // Step 1: java_package translation. The import-derived packageCOMMENT
LOWgitnexus/src/core/group/extractors/grpc-extractor.ts580 // Step 2: proto map cross-check. When this repo also carries aCOMMENT
LOWgitnexus/src/core/group/extractors/grpc-extractor.ts631 // Step 3: import-derived fallback. No `.proto` in this repoCOMMENT
LOWgitnexus/src/mcp/local/local-backend.ts2582 // Step 1: Run hybrid search to get matching symbols. BM25 and vectorCOMMENT
LOWgitnexus/src/mcp/local/local-backend.ts2652 // Step 2: For each match with a nodeId, trace to process(es)COMMENT
LOWgitnexus/src/mcp/local/local-backend.ts2849 // Step 3: Rank processes by aggregate score + internal cohesion boostCOMMENT
LOWgitnexus/src/mcp/local/local-backend.ts2860 // Step 4: Build responseCOMMENT
LOWgitnexus/src/mcp/local/local-backend.ts4089 // Step 3: Build full contextCOMMENT
LOWgitnexus/src/mcp/local/local-backend.ts5607 // Step 1: Find the target symbol (reuse context's lookup)COMMENT
LOWgitnexus/src/mcp/local/local-backend.ts5738 // Step 4: Apply or preview.COMMENT
LOWgitnexus/src/cli/skill-gen.ts124 // Step 1: Build communities from memberships (not the filtered communities array).COMMENT
LOWgitnexus/src/cli/skill-gen.ts135 // Step 2: Filter to significant communitiesCOMMENT
LOWgitnexus/src/cli/skill-gen.ts147 // Step 3: Build lookup mapsCOMMENT
LOWgitnexus/src/cli/skill-gen.ts154 // Step 4: Ensure the shared project-skill root exists. Never clear it: itCOMMENT
LOWgitnexus/src/cli/skill-gen.ts172 // Step 5: Generate skill filesCOMMENT
LOWgitnexus-web/src/core/llm/tools.ts77 // Step 1: Enriched search via backend (connections, cluster, processes pre-joined)COMMENT
Structural Annotation Overuse55 hits · 93 pts
SeverityFileLineSnippetContext
LOWgitnexus/test/unit/incremental-orchestration.test.ts878 // Step 1: initial index.COMMENT
LOWgitnexus/test/unit/incremental-orchestration.test.ts881 // Step 2: comment-only edit, same as the test above.COMMENT
LOWgitnexus/test/unit/incremental-orchestration.test.ts886 // Step 3: incremental writeback for the edited file.COMMENT
LOWgitnexus/test/unit/incremental-orchestration.test.ts897 // Step 4: force a full rebuild from the SAME on-disk file state.COMMENT
LOWgitnexus/test/unit/incremental-orchestration.test.ts907 // Step 5: exact-equality across every stat. `toEqual` would alsoCOMMENT
LOWgitnexus/test/integration/cli-e2e.test.ts509 // Step 1: analyze repoA with --name shared → registry entry created.COMMENT
LOWgitnexus/test/integration/cli-e2e.test.ts531 // Step 2: analyze repoB with the SAME --name → collision error.COMMENT
LOWgitnexus/test/integration/cli-e2e.test.ts551 // Step 3: REGRESSION GUARD for the missing collision-bypass wireCOMMENT
LOWgitnexus/test/integration/cli-e2e.test.ts583 // Step 4: REGRESSION GUARD for the design decision in reviewCOMMENT
LOWgitnexus/src/core/augmentation/engine.ts114 // Step 1: BM25 search (fast, no embeddings)COMMENT
LOWgitnexus/src/core/augmentation/engine.ts117 // Step 2: Map BM25 file results to symbolsCOMMENT
LOWgitnexus/src/core/augmentation/engine.ts179 // Step 3: Batch-fetch callers/callees/processes/cohesion for top matchesCOMMENT
LOWgitnexus/src/core/augmentation/engine.ts326 // Step 4: Rank by cohesion (internal signal) and formatCOMMENT
LOWgitnexus/src/core/ingestion/community-processor.ts247 // Step 3: Create community nodes with heuristic labelsCOMMENT
LOWgitnexus/src/core/ingestion/community-processor.ts257 // Step 4: Create membership mappingsCOMMENT
LOWgitnexus/src/core/ingestion/process-processor.ts171 // Step 1: Find entry points (functions that call others but have few callers)COMMENT
LOWgitnexus/src/core/ingestion/process-processor.ts178 // Step 2: Trace processes from each entry pointCOMMENT
LOWgitnexus/src/core/ingestion/process-processor.ts208 // Step 3: Deduplicate similar traces (subset removal)COMMENT
LOWgitnexus/src/core/ingestion/process-processor.ts219 // Step 4: Limit to max processes — deepest first, but ROUND-ROBIN acrossCOMMENT
LOWgitnexus/src/core/ingestion/process-processor.ts333 // Step 5: Create process nodesCOMMENT
LOW…re/ingestion/route-extractors/kotlin-const-resolver.ts613 // Step 2: the file-name convention, as a tie-break among valid candidates.COMMENT
LOW…xus/src/core/ingestion/languages/php/scope-resolver.ts134 // Step 1: run generic MRO (Class-only, EXTENDS-only).COMMENT
LOW…xus/src/core/ingestion/languages/php/scope-resolver.ts137 // Step 2: build a graphId → defId map for ALL class-like defs including Traits.COMMENT
LOW…xus/src/core/ingestion/languages/php/scope-resolver.ts156 // Step 3: collect direct trait-use edges (IMPLEMENTS where target is a Trait).COMMENT
LOW…xus/src/core/ingestion/languages/php/scope-resolver.ts174 // Step 4: augment every class's MRO by prepending the traits used byCOMMENT
LOW…xus/src/core/ingestion/languages/php/scope-resolver.ts203 // Step 5: also insert Trait-only entries for classes that use traitsCOMMENT
LOW…src/core/ingestion/languages/php/namespace-siblings.ts212 // Step 1: extract namespace structure for each file. Also seed theCOMMENT
LOW…src/core/ingestion/languages/php/namespace-siblings.ts225 // Step 2: group class-like defs and module scopes by namespace.COMMENT
LOW…src/core/ingestion/languages/php/namespace-siblings.ts280 // Step 3: For each namespace bucket, inject sibling class bindingsCOMMENT
LOW…src/core/ingestion/languages/php/namespace-siblings.ts339 // Step 4: Mirror return-type bindings from same-namespace sibling files.COMMENT
LOW…us/src/core/ingestion/languages/ruby/scope-resolver.ts164 // Step 1: EXTENDS chain via the generic MRO builder (direct class inheritance).COMMENT
LOW…us/src/core/ingestion/languages/ruby/scope-resolver.ts167 // Step 2: Build defId ↔ graphId bridge for class-like defs.COMMENT
LOW…us/src/core/ingestion/languages/ruby/scope-resolver.ts177 // Step 3: Collect IMPLEMENTS edges, partitioned by reason.COMMENT
LOW…us/src/core/ingestion/languages/ruby/scope-resolver.ts204 // Step 4: Reorder MRO per Ruby semantics.COMMENT
LOW…exus/src/core/ingestion/scope-resolution/passes/mro.ts45 // Step 1: parentsByGraphId — typed iterator skips the per-edge typeCOMMENT
LOW…exus/src/core/ingestion/scope-resolution/passes/mro.ts58 // Step 2: defIdByGraphId — translate graph ids to scope-resolution DefIds.COMMENT
LOW…exus/src/core/ingestion/scope-resolution/passes/mro.ts82 // Step 3: linearize per class.COMMENT
LOW…ngestion/scope-resolution/passes/overload-narrowing.ts282 // Step 1: compute per-slot ranks and exclude non-viable candidates.COMMENT
LOW…ngestion/scope-resolution/passes/overload-narrowing.ts316 // Step 2: pairwise dominance — remove candidates dominated by any other.COMMENT
LOWgitnexus/src/core/group/extractors/grpc-extractor.ts559 // Step 1: java_package translation. The import-derived packageCOMMENT
LOWgitnexus/src/core/group/extractors/grpc-extractor.ts580 // Step 2: proto map cross-check. When this repo also carries aCOMMENT
LOWgitnexus/src/core/group/extractors/grpc-extractor.ts631 // Step 3: import-derived fallback. No `.proto` in this repoCOMMENT
LOWgitnexus/src/mcp/local/local-backend.ts2582 // Step 1: Run hybrid search to get matching symbols. BM25 and vectorCOMMENT
LOWgitnexus/src/mcp/local/local-backend.ts2652 // Step 2: For each match with a nodeId, trace to process(es)COMMENT
LOWgitnexus/src/mcp/local/local-backend.ts2849 // Step 3: Rank processes by aggregate score + internal cohesion boostCOMMENT
LOWgitnexus/src/mcp/local/local-backend.ts2860 // Step 4: Build responseCOMMENT
LOWgitnexus/src/mcp/local/local-backend.ts4089 // Step 3: Build full contextCOMMENT
LOWgitnexus/src/mcp/local/local-backend.ts5607 // Step 1: Find the target symbol (reuse context's lookup)COMMENT
LOWgitnexus/src/mcp/local/local-backend.ts5738 // Step 4: Apply or preview.COMMENT
LOWgitnexus/src/cli/skill-gen.ts124 // Step 1: Build communities from memberships (not the filtered communities array).COMMENT
LOWgitnexus/src/cli/skill-gen.ts135 // Step 2: Filter to significant communitiesCOMMENT
LOWgitnexus/src/cli/skill-gen.ts147 // Step 3: Build lookup mapsCOMMENT
LOWgitnexus/src/cli/skill-gen.ts154 // Step 4: Ensure the shared project-skill root exists. Never clear it: itCOMMENT
LOWgitnexus/src/cli/skill-gen.ts172 // Step 5: Generate skill filesCOMMENT
LOWgitnexus-web/src/core/llm/tools.ts77 // Step 1: Enriched search via backend (connections, cluster, processes pre-joined)COMMENT
Unused Imports66 hits · 58 pts
SeverityFileLineSnippetContext
LOW.github/scripts/check-tree-sitter-upgrade-readiness.py14CODE
LOW…ub/scripts/test_check_tree_sitter_upgrade_readiness.py17CODE
LOW.github/scripts/check-workflow-concurrency.py28CODE
LOW.github/scripts/triage/test_sweep.py2CODE
LOW.github/scripts/triage/test_sweep.py21CODE
LOW.github/scripts/triage/test_sweep.py21CODE
LOW.github/scripts/triage/test_sweep.py458CODE
LOW.github/scripts/triage/test_sweep.py460CODE
LOW.github/scripts/triage/embedding_utils.py6CODE
LOW.github/scripts/triage/test_embedding_utils.py2CODE
LOW.github/scripts/triage/test_embedding_utils.py7CODE
LOW.github/scripts/triage/test_embedding_utils.py13CODE
LOW.github/scripts/triage/test_embedding_utils.py13CODE
LOW.github/scripts/triage/test_embedding_utils.py13CODE
LOW.github/scripts/triage/test_embedding_utils.py13CODE
LOW.github/scripts/triage/test_embedding_utils.py13CODE
LOW.github/scripts/triage/sweep.py7CODE
LOW.github/scripts/triage/sweep.py17CODE
LOW.github/scripts/triage/sweep.py17CODE
LOW.github/scripts/triage/sweep.py17CODE
LOW.github/scripts/triage/sweep.py17CODE
LOW.github/scripts/triage/sweep.py17CODE
LOWeval/run_eval.py30CODE
LOWeval/run_eval.py35CODE
LOWeval/tool_registry.py1CODE
LOWeval/analysis/analyze_results.py20CODE
LOWeval/workflow_bench/proposer_sandbox.py3CODE
LOWeval/workflow_bench/process_control.py9CODE
LOWeval/workflow_bench/evolve.py30CODE
LOWeval/workflow_bench/evolve.py60CODE
LOWeval/workflow_bench/runner.py35CODE
LOWeval/workflow_bench/runner.py77CODE
LOWeval/workflow_bench/runner.py77CODE
LOWeval/workflow_bench/runner.py77CODE
LOWeval/workflow_bench/runner.py92CODE
LOWeval/workflow_bench/runner.py92CODE
LOWeval/workflow_bench/runner.py92CODE
LOWeval/workflow_bench/runner.py92CODE
LOWeval/workflow_bench/runner.py92CODE
LOWeval/workflow_bench/runner.py116CODE
LOWeval/workflow_bench/runner.py116CODE
LOWeval/workflow_bench/runner.py116CODE
LOWeval/workflow_bench/runner.py116CODE
LOWeval/workflow_bench/runner.py116CODE
LOWeval/workflow_bench/runner.py128CODE
LOWeval/workflow_bench/runner.py139CODE
LOWeval/workflow_bench/runner.py139CODE
LOWeval/workflow_bench/runtime_mounts.py9CODE
LOWeval/workflow_bench/evolution.py3CODE
LOWeval/workflow_bench/runner_artifacts.py3CODE
LOWeval/workflow_bench/sanitized_graph.py3CODE
LOWeval/workflow_bench/runner_sessions.py3CODE
LOWeval/workflow_bench/promotion_apply.py3CODE
LOWeval/workflow_bench/task_assets.py10CODE
LOWeval/workflow_bench/runner_tasks.py3CODE
LOWeval/workflow_bench/oracle_assets.py3CODE
LOWeval/bridge/mcp_bridge.py17CODE
LOWeval/tests/test_sanitized_graph.py3CODE
LOWeval/tests/test_mcp_bridge.py4CODE
LOWeval/tests/test_task_assets.py3CODE
6 more matches not shown…
Deep Nesting34 hits · 33 pts
SeverityFileLineSnippetContext
LOW.github/scripts/check-tree-sitter-upgrade-readiness.py506CODE
LOW.github/scripts/check-tree-sitter-upgrade-readiness.py561CODE
LOW.github/scripts/check-tree-sitter-upgrade-readiness.py642CODE
LOW.github/scripts/check-workflow-concurrency.py38CODE
LOW.github/scripts/check-workflow-concurrency.py96CODE
LOW.github/scripts/triage/sweep.py255CODE
LOWeval/run_eval.py279CODE
LOWeval/analysis/analyze_results.py37CODE
LOWeval/analysis/analyze_results.py206CODE
LOWeval/analysis/analyze_results.py253CODE
LOWeval/workflow_bench/proposer_sandbox.py576CODE
LOWeval/workflow_bench/process_control.py410CODE
LOWeval/workflow_bench/evolve.py464CODE
LOWeval/workflow_bench/evolve.py844CODE
LOWeval/workflow_bench/runner.py387CODE
LOWeval/workflow_bench/runner.py908CODE
LOWeval/workflow_bench/evolution.py166CODE
LOWeval/workflow_bench/evolution.py266CODE
LOWeval/workflow_bench/evolution.py478CODE
LOWeval/workflow_bench/runner_artifacts.py122CODE
LOWeval/workflow_bench/sanitized_graph.py147CODE
LOWeval/workflow_bench/runner_sessions.py277CODE
LOWeval/workflow_bench/runner_sessions.py331CODE
LOWeval/workflow_bench/promotion_apply.py48CODE
LOWeval/workflow_bench/promotion_apply.py329CODE
LOWeval/workflow_bench/promotion_apply.py438CODE
LOWeval/workflow_bench/promotion_apply.py616CODE
LOWeval/workflow_bench/task_assets.py693CODE
LOWeval/workflow_bench/task_assets.py723CODE
LOWeval/workflow_bench/task_assets.py800CODE
LOWeval/workflow_bench/task_assets.py985CODE
LOWeval/workflow_bench/task_assets.py205CODE
LOWeval/workflow_bench/task_assets.py387CODE
LOWeval/workflow_bench/oracle_assets.py508CODE
Modern AI Meta-Vocabulary11 hits · 31 pts
SeverityFileLineSnippetContext
MEDIUMgitnexus/bench/parse-throughput.md1# Parse-throughput benchmark (scaffold)COMMENT
MEDIUMgitnexus/test/unit/pdg-mode-flip.test.ts3 * (#2099 F1). Sibling of incremental-orchestration.test.ts: real on-disk gitCOMMENT
MEDIUMgitnexus/test/unit/parse-impl-heap-guard.test.ts28describe('#2649 parse-phase heap guardrails', () => {CODE
MEDIUM…nexus/test/unit/parse-impl-heap-guard-pipeline.test.ts2 * #2649 review — pipeline-level coverage for the parse-phase heap guardrails.COMMENT
MEDIUM…nexus/test/unit/parse-impl-heap-guard-pipeline.test.ts60describe('#2649 heap guardrails wired into runChunkedParseAndResolve', () => {CODE
MEDIUM…xus/src/core/ingestion/taint/summary-harvest-driver.ts2 * Summary-harvest driver (#2084 M4 U1) — the in-phase orchestration that turnsCOMMENT
MEDIUM…nexus/src/core/ingestion/pipeline-phases/parse-impl.ts600 // Heap-scale guardrails (#2649), measured on a Linux-kernel analyzeCOMMENT
MEDIUM.github/workflows/ci.yml26# ── Reusable workflow orchestration ─────────────────────────────────COMMENT
MEDIUM.github/scripts/triage/sweep.py62# 512-token context window (~4 chars/token). We keep title + body underCOMMENT
MEDIUM.github/scripts/triage/sweep.py137 # Truncate to fit the embedding model's token window.COMMENT
MEDIUMgitnexus-web/src/core/llm/agent.ts239 // This is critical for agentic workflows with tool callsCOMMENT
Excessive Try-Catch Wrapping22 hits · 23 pts
SeverityFileLineSnippetContext
LOW…t/unit/scope-resolution/python/python-fixtures.test.ts172 except Exception:CODE
LOW.github/scripts/check-tree-sitter-upgrade-readiness.py1012 except Exception:CODE
LOWeval/run_eval.py181 except Exception as patch_err:CODE
LOWeval/run_eval.py248 except Exception as e:CODE
LOWeval/run_eval.py319 except Exception as e:CODE
LOWeval/analysis/analyze_results.py72 except Exception:CODE
LOWeval/analysis/analyze_results.py197 except Exception as e:CODE
LOWeval/bridge/mcp_bridge.py88 except Exception as e:CODE
LOWeval/bridge/mcp_bridge.py105 except Exception:CODE
LOWeval/bridge/mcp_bridge.py108 except Exception:CODE
LOWeval/bridge/mcp_bridge.py169 except Exception:CODE
LOWeval/bridge/mcp_bridge.py183 except Exception:CODE
LOWeval/bridge/mcp_bridge.py223 except Exception as e:CODE
LOWeval/bridge/mcp_bridge.py244 except Exception as e:CODE
LOWeval/bridge/mcp_bridge.py317 except Exception as e:CODE
LOWeval/environments/gitnexus_docker.py86 except Exception as e:CODE
LOWeval/environments/gitnexus_docker.py321 except Exception as e:CODE
LOWeval/environments/gitnexus_docker.py363 except Exception as e:CODE
LOWeval/environments/gitnexus_docker.py381 except Exception:CODE
LOWeval/tests/test_errors.py12 except Exception as exc: # noqa: BLE001CODE
LOWeval/tests/test_errors.py24 except Exception as exc: # noqa: BLE001CODE
LOWeval/agents/gitnexus_agent.py127 except Exception as e:CODE
Fake / Example Data16 hits · 20 pts
SeverityFileLineSnippetContext
LOWgitnexus/test/unit/cursor-hook.test.ts81 initGitRepo(tmpDir, { name: 'Test', email: 'test@test.com' });CODE
LOWgitnexus/test/unit/cursor-hook.test.ts86 initGitRepo(guardTmpDir, { name: 'Test', email: 'test@test.com' });CODE
LOWgitnexus/test/unit/hooks.test.ts176const HOOK_TEST_IDENTITY: GitIdentity = { name: 'Test', email: 'test@test.com' };CODE
LOWgitnexus/test/unit/review-agent-workflow.test.ts88// stub like the literal string "placeholder" can never be published.COMMENT
LOWgitnexus/test/unit/review-agent-workflow.test.ts2275 // A production run returned {"body":"placeholder","complete":false}: theCOMMENT
LOWgitnexus/test/unit/review-agent-workflow.test.ts2279 structuredOutput: JSON.stringify({ body: 'placeholder', complete: false }),CODE
LOWgitnexus/test/unit/review-agent-workflow.test.ts2285 expect(stub.artifact.body).not.toContain('placeholder');CODE
LOWgitnexus/test/unit/review-agent-workflow.test.ts2443 structuredOutput: JSON.stringify({ body: 'placeholder', complete: false }),CODE
LOWgitnexus/test/unit/review-agent-workflow.test.ts2455 structuredOutput: JSON.stringify({ body: 'placeholder', complete: false }),CODE
LOWgitnexus/test/integration/antigravity-hook-e2e.test.ts90 initGitRepo(tmpDir, { name: 'Test', email: 'test@test.com' });CODE
LOWgitnexus/test/integration/hooks-e2e.test.ts50 initGitRepo(tmpDir, { name: 'Test', email: 'test@test.com' });CODE
LOW.github/workflows/gitnexus-review-agent.yml1534 // the literal string 'placeholder'.COMMENT
LOWgitnexus-web/src/locales/zh-CN/chat.json17 "placeholder": "询问这个代码库...",CODE
LOWgitnexus-web/src/locales/zh-CN/settings.json11 "placeholder": "粘贴部署访问令牌",CODE
LOWgitnexus-web/src/locales/en/chat.json17 "placeholder": "Ask about the codebase...",CODE
LOWgitnexus-web/src/locales/en/settings.json11 "placeholder": "Paste your deploy access token",CODE
Overly Generic Function Names11 hits · 12 pts
SeverityFileLineSnippetContext
LOWgitnexus/test/unit/ingestion-utils.test.ts661 const code = `def process_data(items: list[int]) -> bool:\n return True`;CODE
LOWgitnexus/test/unit/type-env.test.ts5747 const code = `const dbClient: Database = connectDb();\nfunction handleRequest() {\n const localRequest: Request =CODE
LOW…xus/test/unit/group/python-workspace-extractor.test.ts160 await writeFile('lib/utils/__init__.py', 'def helper(): pass\nclass Config: pass\n');CODE
LOW…xus/test/unit/scope-resolution/workspace-index.test.ts79def helper() -> int:CODE
LOW…xus/test/unit/scope-resolution/workspace-index.test.ts98def helper() -> int:CODE
LOW…xus/test/unit/scope-resolution/workspace-index.test.ts238def helper() -> int:CODE
LOW…ation/resolvers/inferred-field-receiver-matrix.test.ts1424 // could not be complete anyway — `def helper(&b) = Foo.class_eval(&b)`COMMENT
LOWgitnexus/test/integration/resolvers/python.test.ts3330 'a/__init__.py': `def helper():CODE
LOWgitnexus/test/integration/resolvers/python.test.ts3336 'a/b/c.py': `def helper():CODE
LOWgitnexus/src/core/ingestion/languages/ruby/captures.ts140 * def helper(&blk) = Foo.class_eval(&blk)COMMENT
LOW…s/src/core/ingestion/scope-resolution/scope/walkers.ts1841 // on `class U: def save(self): def helper(): ...` — helper.ownerId willCOMMENT
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHgitnexus-web/src/lib/mermaid-generator.ts29 rawMermaid?: string; // AI-generated mermaid code (sanitized before rendering)CODE
AI Structural Patterns5 hits · 5 pts
SeverityFileLineSnippetContext
LOWeval/run_eval.py351CODE
LOWeval/run_eval.py377CODE
LOWeval/workflow_bench/process_control.py410CODE
LOWeval/workflow_bench/process_control.py674CODE
LOWeval/workflow_bench/runner_sessions.py331CODE
Self-Referential Comments1 hit · 4 pts
SeverityFileLineSnippetContext
MEDIUM.github/scripts/triage/test_embedding_utils.py160 # Create a tight cluster with one obvious outlierCOMMENT
Redundant / Tautological Comments2 hits · 3 pts
SeverityFileLineSnippetContext
LOWgitnexus/hooks/claude/pre-tool-use.sh48# Check if we're in a GitNexus-indexed repoCOMMENT
LOWeval/bridge/mcp_bridge.py157 # Check if npx is available (preferred - uses local install)COMMENT
Slop Phrases1 hit · 2 pts
SeverityFileLineSnippetContext
MEDIUMgitnexus-web/src/core/llm/agent.ts99- Don't pad with generic "let me know if you need more" — users will ask.CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWeval/bridge/gitnexus_tools.sh9# Usage:COMMENT