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

11.3 Low AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of abhigyanpatwari/GitNexus, a TypeScript project with 44,095 GitHub stars. SynthScan v2.0 examined 540,083 lines of code across 1823 source files, recording 2780 pattern matches distributed across 21 syntactic categories. The overall adjusted score of 11.3 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).

11.3
Adjusted Score
11.3
Raw Score
100%
Time Factor
2026-07-14
Last Push
44.1K
Stars
TypeScript
Language
540.1K
Lines of Code
1.8K
Files
2.8K
Pattern Hits
2026-07-14
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 10HIGH 46MEDIUM 1469LOW 1255

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 2780 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 Separators1441 hits · 4335 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.ts159 // ── Taint/PDG substrate (issue #2080) ────────────────────────────────────COMMENT
MEDIUMgitnexus-shared/src/graph/types.ts159 // ── 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.ts45// ─── Range + Capture (parser-agnostic) ──────────────────────────────────────COMMENT
MEDIUMgitnexus-shared/src/scope-resolution/types.ts78// ─── Hook input/output types (RFC §5.2) ─────────────────────────────────────COMMENT
MEDIUMgitnexus-shared/src/scope-resolution/types.ts286// ─── §2.4 ImportEdge ────────────────────────────────────────────────────────COMMENT
MEDIUMgitnexus-shared/src/scope-resolution/types.ts321// ─── §2.3 BindingRef ────────────────────────────────────────────────────────COMMENT
MEDIUMgitnexus-shared/src/scope-resolution/types.ts338// ─── §2.5 TypeRef ───────────────────────────────────────────────────────────COMMENT
MEDIUMgitnexus-shared/src/scope-resolution/types.ts366// ─── §2.2 Scope ─────────────────────────────────────────────────────────────COMMENT
MEDIUMgitnexus-shared/src/scope-resolution/types.ts396// ─── §2.6 Resolution + ResolutionEvidence ───────────────────────────────────COMMENT
MEDIUMgitnexus-shared/src/scope-resolution/types.ts437// ─── §2.7 Reference + ReferenceIndex ────────────────────────────────────────COMMENT
MEDIUMgitnexus-shared/src/scope-resolution/types.ts465// ─── §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.ts168// ─── Entry point ───────────────────────────────────────────────────────────COMMENT
MEDIUM…exus-shared/src/scope-resolution/finalize-algorithm.ts314// ─── Internal: edge drafting (phase 0) ──────────────────────────────────────COMMENT
MEDIUM…exus-shared/src/scope-resolution/finalize-algorithm.ts430// ─── Internal: per-edge finalization (phase 3) ─────────────────────────────COMMENT
MEDIUM…exus-shared/src/scope-resolution/finalize-algorithm.ts511// ─── Internal: re-export closure (phase 2.5) ───────────────────────────────COMMENT
MEDIUM…exus-shared/src/scope-resolution/finalize-algorithm.ts821// ─── Internal: wildcard expansion (phase 4) ────────────────────────────────COMMENT
MEDIUM…exus-shared/src/scope-resolution/finalize-algorithm.ts863// ─── Internal: bindings materialization (phase 5) ───────────────────────────COMMENT
MEDIUM…exus-shared/src/scope-resolution/finalize-algorithm.ts929// ─── 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
1381 more matches not shown…
Hyper-Verbose Identifiers576 hits · 576 pts
SeverityFileLineSnippetContext
LOW…s-shared/src/scope-resolution/registries/tie-breaks.ts46export function compareByConfidenceWithTiebreaks(CODE
LOW…-shared/src/scope-resolution/registries/lookup-core.ts377function seedFromOwnerScopedContributor(CODE
LOWgitnexus/test/unit/skip-git-cli.test.ts196 function expectCoolioRegistryEntry() {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.ts122function resolveHostGuardForReapingTests(): string | null {CODE
LOWgitnexus/test/unit/hooks.test.ts144function 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/group/http-route-extractor.test.ts2820def unrelated_scope_collision():CODE
LOWgitnexus/test/unit/group/http-route-extractor.test.ts2824def module_scope_shadow_collision():CODE
LOWgitnexus/test/unit/call-routing/ruby.test.ts54function makeRequireCallNodeNoContent(): MockNode {CODE
LOWgitnexus/test/integration/extension-binary-real.test.ts50function 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
LOW…exus/test/integration/impact-pdg-fullchain-e2e.test.ts76async function persistFixtureGraphWithCallees(): Promise<{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
LOWgitnexus/test/integration/cfg/pipeline-pdg.test.ts378function cdgSourcedInHazardFunction(result: PipelineResult, hazardMarker: string): boolean {CODE
LOWgitnexus/test/helpers/literal-collectors.ts643function collectResolutionLayerLiterals(): ScanResult {CODE
LOWgitnexus/test/helpers/literal-collectors.ts772async function collectRegistryQueryProbes(): Promise<RegistryQueryProbe[]> {CODE
LOWgitnexus/src/core/tree-sitter/safe-parse.ts144export function resetDegradedParseCounter(): void {CODE
LOWgitnexus/src/core/ingestion/call-processor.ts71export function buildExportedTypeMapFromGraph(CODE
LOWgitnexus/src/core/ingestion/call-processor.ts111function resolveControllerByQualifiedName(CODE
LOWgitnexus/src/core/ingestion/call-processor.ts280export function resolveRouteHandlerSymbols(CODE
LOWgitnexus/src/core/ingestion/import-target-adapter.ts68export function buildImportTargetWorkspace(CODE
LOWgitnexus/src/core/ingestion/import-target-adapter.ts92export function resolveImportTargetAcrossLanguages(CODE
LOWgitnexus/src/core/ingestion/ts-js-hoc-utils.ts94export function deriveDefaultExportHocName(filePath: string): string {CODE
LOWgitnexus/src/core/ingestion/ts-js-hoc-utils.ts111export function isDefaultExportHocFunctionNode(node: SyntaxNode): boolean {CODE
LOWgitnexus/src/core/ingestion/ts-js-hoc-utils.ts121export function isBlockedDefaultExportHoc(node: SyntaxNode): boolean {CODE
LOWgitnexus/src/core/ingestion/csharp-namespace-gate.ts67export function csharpSuffixFallbackAllowed(CODE
LOWgitnexus/src/core/ingestion/csharp-namespace-gate.ts96export function importAlignsWithDeclaredNamespaces(CODE
LOWgitnexus/src/core/ingestion/language-config.ts208function getCsharpStructureScannerFactory(): Promise<() => CsharpStructureLineScanner> {CODE
LOWgitnexus/src/core/ingestion/language-config.ts405async function collectDeclaredNamespaces(CODE
LOWgitnexus/src/core/ingestion/mro-processor.ts524function emitMethodImplementsEdges(CODE
LOWgitnexus/src/core/ingestion/scope-extractor.ts544function buildDefFromDeclarationMatch(CODE
LOWgitnexus/src/core/ingestion/scope-extractor.ts624function parseJsonParameterTypeClassesCapture(CODE
LOWgitnexus/src/core/ingestion/scope-extractor.ts677function parseJsonStringArrayCapture(CODE
LOWgitnexus/src/core/ingestion/vue-sfc-extractor.ts93function collectBareEmitEventNames(input: string): string[] {CODE
LOWgitnexus/src/core/ingestion/vue-sfc-extractor.ts303export function extractTemplateComponents(vueContent: string): string[] {CODE
LOWgitnexus/src/core/ingestion/vue-sfc-extractor.ts386export function extractComponentEventBindings(vueContent: string): ComponentEventBinding[] {CODE
LOWgitnexus/src/core/ingestion/vue-sfc-extractor.ts445export function extractNativeElementEventHandlers(vueContent: string): string[] {CODE
LOWgitnexus/src/core/ingestion/vue-sfc-extractor.ts512export function extractTemplateAttributeBindings(vueContent: string): string[] {CODE
LOWgitnexus/src/core/ingestion/vue-sfc-extractor.ts549export function extractVueTemplateEdgeData(CODE
LOWgitnexus/src/core/ingestion/type-extractors/c-cpp.ts511function inferBracedInitLiteralType(node: SyntaxNode): string | undefined {CODE
LOWgitnexus/src/core/ingestion/type-extractors/swift.ts44function swiftNavigationSuffixName(node: SyntaxNode | null): string | undefined {CODE
LOWgitnexus/src/core/ingestion/type-extractors/swift.ts478function extractSwiftElementTypeFromTypeNode(typeNode: SyntaxNode): string | undefined {CODE
LOWgitnexus/src/core/ingestion/type-extractors/shared.ts163export function resolveIterableElementType(CODE
LOWgitnexus/src/core/ingestion/type-extractors/shared.ts616export function extractElementTypeFromString(CODE
LOWgitnexus/src/core/ingestion/type-extractors/dart.ts284function extractDartElementTypeFromTypeNode(typeNode: SyntaxNode): string | undefined {CODE
LOW…s/src/core/ingestion/class-extractors/configs/c-cpp.ts10function shouldSkipCppTemplateDuplicateCapture(CODE
LOW…s/src/core/ingestion/class-extractors/configs/c-cpp.ts26function extractCppTemplateArgumentsWithFallback(CODE
LOW…us/src/core/ingestion/call-extractors/configs/c-cpp.ts18function extractCppOperatorCallSite(callNode: SyntaxNode) {CODE
LOW…us/src/core/ingestion/call-extractors/configs/c-cpp.ts50function isPrimitiveOnlyBinaryOperatorCall(callNode: SyntaxNode): boolean {CODE
LOW…us/src/core/ingestion/call-extractors/configs/c-cpp.ts61function inferCppOperatorOperandType(node: SyntaxNode): string {CODE
LOW…us/src/core/ingestion/call-extractors/configs/c-cpp.ts102function lookupCppFunctionParameterType(scope: SyntaxNode, varName: string): string {CODE
LOW…us/src/core/ingestion/call-extractors/configs/c-cpp.ts132function findFirstDescendantOfType(node: SyntaxNode, type: string): SyntaxNode | null {CODE
516 more matches not shown…
Over-Commented Block484 hits · 442 pts
SeverityFileLineSnippetContext
LOWgitnexus-shared/src/integrations/resilient-fetch.ts181 const random = opts.retry?.random ?? Math.random;COMMENT
LOW…exus-shared/src/scope-resolution/finalize-algorithm.ts761 // The single-def case is unchanged: when only one def has the name,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/test/unit/ignore-service.test.ts241// A `!__tests__/` line in `.gitnexusignore` must re-enable indexing ofCOMMENT
LOWgitnexus/test/unit/ignore-service.test.ts341 expect(filter.childrenIgnored(mkPath('my-dir'))).toBe(true);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.ts721 expect(result).toContain('Custom CRLF');COMMENT
LOWgitnexus/test/unit/route-process-linking.test.ts181 );COMMENT
LOWgitnexus/test/unit/binding-accumulator.test.ts201 });COMMENT
LOWgitnexus/test/unit/rate-limit.test.ts201// Production-wiring assertions — proves each of the 4 protected routes inCOMMENT
LOWgitnexus/test/unit/incremental-orchestration.test.ts321 }COMMENT
LOWgitnexus/test/unit/hooks.test.ts101COMMENT
LOWgitnexus/test/unit/hooks.test.ts1201 fs.rmSync(lsofMarkerPath, { force: true });COMMENT
LOWgitnexus/test/unit/hooks.test.ts1221// Unix lsof+ps path (the `Ladybug DB owner guard` suite, now relaned offCOMMENT
LOWgitnexus/test/unit/hooks.test.ts1241 // nothing can reap it and the poll times out → red. The antigravityCOMMENT
LOWgitnexus/test/unit/hooks.test.ts1381// ─── Behavior: npx branch — SIGKILLed hook cannot strand the CLI grandchild ──COMMENT
LOWgitnexus/test/unit/hooks.test.ts1401 // PATH then spawns the SIGTERM-immune fake CLI as its own child andCOMMENT
LOWgitnexus/test/unit/hooks.test.ts1661 // export must degrade to the unwrapped argv, not throw a TypeErrorCOMMENT
LOWgitnexus/test/unit/hooks.test.ts2101 // These tests assert owner *detection* via the lsof + ps backend: a positiveCOMMENT
LOWgitnexus/test/unit/hooks.test.ts2581 });COMMENT
LOWgitnexus/test/unit/repo-manager.test.ts1361COMMENT
LOWgitnexus/test/unit/repo-manager.test.ts1441 // Simulate the bug-producing scenario without depending on a realCOMMENT
LOWgitnexus/test/unit/repo-manager.test.ts1621 try {COMMENT
424 more matches not shown…
Cross-Language Confusion (JS/TS)25 hits · 132 pts
SeverityFileLineSnippetContext
HIGHgitnexus/test/unit/method-extraction.test.ts1574 print(format: string): void;CODE
HIGHgitnexus/test/unit/method-extraction.test.ts3610 print(msg);CODE
HIGHgitnexus/test/unit/method-extraction.test.ts3679 print(msg);CODE
HIGHgitnexus/test/unit/method-extraction.test.ts3706 print(this);CODE
HIGHgitnexus/test/unit/ingestion-utils.test.ts664 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.ts505 return TrueCODE
HIGHgitnexus/test/integration/skills-e2e.test.ts569 print(f"[INFO] {msg}")CODE
HIGHgitnexus/test/integration/skills-e2e.test.ts572 print(f"[ERROR] {msg}")CODE
HIGHgitnexus/test/integration/skills-e2e.test.ts581 return TrueCODE
HIGHgitnexus/test/integration/skills-e2e.test.ts2237 return TrueCODE
HIGHgitnexus/test/integration/has-method.test.ts623 print(format: string): void;CODE
HIGHgitnexus/test/integration/resolvers/python.test.ts693 'app/services/marker.py': `def _marker(): return TrueCODE
HIGHgitnexus/test/integration/resolvers/python.test.ts754 'app/services/marker.py': `def _marker(): return TrueCODE
HIGHgitnexus/test/integration/resolvers/python.test.ts828 'app/services/marker.py': `def _marker(): return TrueCODE
HIGHgitnexus/test/integration/resolvers/python.test.ts848 'app/services/marker.py': `def _marker(): return TrueCODE
HIGHgitnexus/test/integration/resolvers/python.test.ts2984 return TrueCODE
HIGHgitnexus/scripts/bench-scope-resolution.ts28 lines.push(` return True`);CODE
Cross-Language Confusion20 hits · 125 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/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/agents/gitnexus_agent.py113 "command": f'gitnexus-augment "{pattern}" 2>&1 || true',CODE
Hallucination Indicators10 hits · 110 pts
SeverityFileLineSnippetContext
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.ts234@org.springframework.web.bind.annotation.RequestMapping("/api")CODE
CRITICALgitnexus/test/unit/spring-interface-inheritance.test.ts236 @org.springframework.web.bind.annotation.GetMapping("/list") Object list();CODE
CRITICALgitnexus/test/unit/group/http-route-extractor.test.ts2371@org.springframework.web.bind.annotation.RequestMapping("/api")CODE
CRITICALgitnexus/test/unit/group/http-route-extractor.test.ts2373 @org.springframework.web.bind.annotation.GetMapping("/users")CODE
CRITICALgitnexus/test/unit/group/http-route-extractor.test.ts2400 @org.springframework.web.bind.annotation.GetMapping("/orders/{id}")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
Verbosity Indicators57 hits · 98 pts
SeverityFileLineSnippetContext
LOWgitnexus/test/unit/incremental-orchestration.test.ts212 // Step 1: initial index.COMMENT
LOWgitnexus/test/unit/incremental-orchestration.test.ts215 // Step 2: comment-only edit, same as the test above.COMMENT
LOWgitnexus/test/unit/incremental-orchestration.test.ts220 // Step 3: incremental writeback for the edited file.COMMENT
LOWgitnexus/test/unit/incremental-orchestration.test.ts231 // Step 4: force a full rebuild from the SAME on-disk file state.COMMENT
LOWgitnexus/test/unit/incremental-orchestration.test.ts241 // Step 5: exact-equality across every stat. `toEqual` would alsoCOMMENT
LOWgitnexus/test/integration/cli-e2e.test.ts506 // Step 1: analyze repoA with --name shared → registry entry created.COMMENT
LOWgitnexus/test/integration/cli-e2e.test.ts528 // Step 2: analyze repoB with the SAME --name → collision error.COMMENT
LOWgitnexus/test/integration/cli-e2e.test.ts548 // Step 3: REGRESSION GUARD for the missing collision-bypass wireCOMMENT
LOWgitnexus/test/integration/cli-e2e.test.ts580 // Step 4: REGRESSION GUARD for the design decision in reviewCOMMENT
LOWgitnexus/src/core/augmentation/engine.ts110 // Step 1: BM25 search (fast, no embeddings)COMMENT
LOWgitnexus/src/core/augmentation/engine.ts113 // Step 2: Map BM25 file results to symbolsCOMMENT
LOWgitnexus/src/core/augmentation/engine.ts173 // Step 3: Batch-fetch callers/callees/processes/cohesion for top matchesCOMMENT
LOWgitnexus/src/core/augmentation/engine.ts299 // Step 4: Rank by cohesion (internal signal) and formatCOMMENT
LOWgitnexus/src/core/ingestion/community-processor.ts237 // Step 3: Create community nodes with heuristic labelsCOMMENT
LOWgitnexus/src/core/ingestion/community-processor.ts247 // Step 4: Create membership mappingsCOMMENT
LOWgitnexus/src/core/ingestion/process-processor.ts100 // Step 1: Find entry points (functions that call others but have few callers)COMMENT
LOWgitnexus/src/core/ingestion/process-processor.ts107 // Step 2: Trace processes from each entry pointCOMMENT
LOWgitnexus/src/core/ingestion/process-processor.ts127 // Step 3: Deduplicate similar traces (subset removal)COMMENT
LOWgitnexus/src/core/ingestion/process-processor.ts138 // Step 4: Limit to max processes (prioritize longer traces)COMMENT
LOWgitnexus/src/core/ingestion/process-processor.ts145 // Step 5: Create process nodesCOMMENT
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.ts1814 // Step 1: Run hybrid search to get matching symbols. BM25 and vectorCOMMENT
LOWgitnexus/src/mcp/local/local-backend.ts1863 // Step 2: For each match with a nodeId, trace to process(es)COMMENT
LOWgitnexus/src/mcp/local/local-backend.ts2056 // Step 3: Rank processes by aggregate score + internal cohesion boostCOMMENT
LOWgitnexus/src/mcp/local/local-backend.ts2067 // Step 4: Build responseCOMMENT
LOWgitnexus/src/mcp/local/local-backend.ts3020 // Step 3: Build full contextCOMMENT
LOWgitnexus/src/mcp/local/local-backend.ts4274 // Step 1: Find the target symbol (reuse context's lookup)COMMENT
LOWgitnexus/src/mcp/local/local-backend.ts4295 // Step 2: Collect edits from graph (high confidence)COMMENT
LOWgitnexus/src/mcp/local/local-backend.ts4373 // Step 3: Text search for refs the graph might have missedCOMMENT
LOWgitnexus/src/mcp/local/local-backend.ts4434 // Step 4: Apply or previewCOMMENT
LOWgitnexus/src/cli/skill-gen.ts80 // Step 1: Build communities from memberships (not the filtered communities array).COMMENT
LOWgitnexus/src/cli/skill-gen.ts91 // Step 2: Filter to significant communitiesCOMMENT
LOWgitnexus/src/cli/skill-gen.ts103 // Step 3: Build lookup mapsCOMMENT
LOWgitnexus/src/cli/skill-gen.ts110 // Step 4: Clear and recreate output directoryCOMMENT
LOWgitnexus/src/cli/skill-gen.ts118 // 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 Overuse56 hits · 96 pts
SeverityFileLineSnippetContext
LOWgitnexus/test/unit/incremental-orchestration.test.ts212 // Step 1: initial index.COMMENT
LOWgitnexus/test/unit/incremental-orchestration.test.ts215 // Step 2: comment-only edit, same as the test above.COMMENT
LOWgitnexus/test/unit/incremental-orchestration.test.ts220 // Step 3: incremental writeback for the edited file.COMMENT
LOWgitnexus/test/unit/incremental-orchestration.test.ts231 // Step 4: force a full rebuild from the SAME on-disk file state.COMMENT
LOWgitnexus/test/unit/incremental-orchestration.test.ts241 // Step 5: exact-equality across every stat. `toEqual` would alsoCOMMENT
LOWgitnexus/test/integration/cli-e2e.test.ts506 // Step 1: analyze repoA with --name shared → registry entry created.COMMENT
LOWgitnexus/test/integration/cli-e2e.test.ts528 // Step 2: analyze repoB with the SAME --name → collision error.COMMENT
LOWgitnexus/test/integration/cli-e2e.test.ts548 // Step 3: REGRESSION GUARD for the missing collision-bypass wireCOMMENT
LOWgitnexus/test/integration/cli-e2e.test.ts580 // Step 4: REGRESSION GUARD for the design decision in reviewCOMMENT
LOWgitnexus/src/core/augmentation/engine.ts110 // Step 1: BM25 search (fast, no embeddings)COMMENT
LOWgitnexus/src/core/augmentation/engine.ts113 // Step 2: Map BM25 file results to symbolsCOMMENT
LOWgitnexus/src/core/augmentation/engine.ts173 // Step 3: Batch-fetch callers/callees/processes/cohesion for top matchesCOMMENT
LOWgitnexus/src/core/augmentation/engine.ts299 // Step 4: Rank by cohesion (internal signal) and formatCOMMENT
LOWgitnexus/src/core/ingestion/community-processor.ts237 // Step 3: Create community nodes with heuristic labelsCOMMENT
LOWgitnexus/src/core/ingestion/community-processor.ts247 // Step 4: Create membership mappingsCOMMENT
LOWgitnexus/src/core/ingestion/process-processor.ts100 // Step 1: Find entry points (functions that call others but have few callers)COMMENT
LOWgitnexus/src/core/ingestion/process-processor.ts107 // Step 2: Trace processes from each entry pointCOMMENT
LOWgitnexus/src/core/ingestion/process-processor.ts127 // Step 3: Deduplicate similar traces (subset removal)COMMENT
LOWgitnexus/src/core/ingestion/process-processor.ts138 // Step 4: Limit to max processes (prioritize longer traces)COMMENT
LOWgitnexus/src/core/ingestion/process-processor.ts145 // Step 5: Create process nodesCOMMENT
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.ts1814 // Step 1: Run hybrid search to get matching symbols. BM25 and vectorCOMMENT
LOWgitnexus/src/mcp/local/local-backend.ts1863 // Step 2: For each match with a nodeId, trace to process(es)COMMENT
LOWgitnexus/src/mcp/local/local-backend.ts2056 // Step 3: Rank processes by aggregate score + internal cohesion boostCOMMENT
LOWgitnexus/src/mcp/local/local-backend.ts2067 // Step 4: Build responseCOMMENT
LOWgitnexus/src/mcp/local/local-backend.ts3020 // Step 3: Build full contextCOMMENT
LOWgitnexus/src/mcp/local/local-backend.ts4274 // Step 1: Find the target symbol (reuse context's lookup)COMMENT
LOWgitnexus/src/mcp/local/local-backend.ts4295 // Step 2: Collect edits from graph (high confidence)COMMENT
LOWgitnexus/src/mcp/local/local-backend.ts4373 // Step 3: Text search for refs the graph might have missedCOMMENT
LOWgitnexus/src/mcp/local/local-backend.ts4434 // Step 4: Apply or previewCOMMENT
LOWgitnexus/src/cli/skill-gen.ts80 // Step 1: Build communities from memberships (not the filtered communities array).COMMENT
LOWgitnexus/src/cli/skill-gen.ts91 // Step 2: Filter to significant communitiesCOMMENT
LOWgitnexus/src/cli/skill-gen.ts103 // Step 3: Build lookup mapsCOMMENT
LOWgitnexus/src/cli/skill-gen.ts110 // Step 4: Clear and recreate output directoryCOMMENT
LOWgitnexus/src/cli/skill-gen.ts118 // Step 5: Generate skill filesCOMMENT
LOWgitnexus-web/src/core/llm/tools.ts77 // Step 1: Enriched search via backend (connections, cluster, processes pre-joined)COMMENT
AI Slop Vocabulary19 hits · 58 pts
SeverityFileLineSnippetContext
MEDIUMgitnexus/test/unit/git-utils.test.ts288 // 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
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.ts1558 // 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/group/bridge-db.ts671 // meta.json, and we don't want meta write to be less robust than theCOMMENT
MEDIUMgitnexus/src/core/lbug/lbug-config.ts333// Matching is case-insensitive to remain robust across wrappers/platforms.COMMENT
MEDIUMgitnexus/src/core/lbug/lbug-adapter.ts1715 // starts), but the lock makes it robust to future reordering — a concurrentCOMMENT
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/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.json8014 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.2.tgz",CODE
Unused Imports30 hits · 24 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/bridge/mcp_bridge.py17CODE
LOWeval/tests/test_mcp_bridge.py4CODE
LOWeval/tests/test_property_based.py1CODE
LOWeval/utils/errors.py1CODE
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
Modern AI Meta-Vocabulary7 hits · 21 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
MEDIUM…xus/src/core/ingestion/taint/summary-harvest-driver.ts2 * Summary-harvest driver (#2084 M4 U1) — the in-phase orchestration that turnsCOMMENT
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.ts236 // This is critical for agentic workflows with tool callsCOMMENT
Deep Nesting10 hits · 10 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
Overly Generic Function Names7 hits · 8 pts
SeverityFileLineSnippetContext
LOWgitnexus/test/unit/ingestion-utils.test.ts664 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.ts135 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…s/src/core/ingestion/scope-resolution/scope/walkers.ts833 // on `class U: def save(self): def helper(): ...` — helper.ownerId willCOMMENT
Fake / Example Data8 hits · 7 pts
SeverityFileLineSnippetContext
LOWgitnexus/test/unit/cursor-hook.test.ts81 spawnSync('git', ['config', 'user.email', 'test@test.com'], { cwd: tmpDir, stdio: 'pipe' });CODE
LOWgitnexus/test/unit/cursor-hook.test.ts88 spawnSync('git', ['config', 'user.email', 'test@test.com'], {CODE
LOWgitnexus/test/unit/hooks.test.ts182 runGit(tmpDir, ['config', 'user.email', 'test@test.com']);CODE
LOWgitnexus/test/unit/hooks.test.ts216 runGit(dir, ['config', 'user.email', 'test@test.com']);CODE
LOWgitnexus/test/integration/antigravity-hook-e2e.test.ts90 spawnSync('git', ['config', 'user.email', 'test@test.com'], { cwd: tmpDir, stdio: 'pipe' });CODE
LOWgitnexus/test/integration/hooks-e2e.test.ts50 spawnSync('git', ['config', 'user.email', 'test@test.com'], { cwd: tmpDir, stdio: 'pipe' });CODE
LOWgitnexus-web/src/locales/zh-CN/chat.json17 "placeholder": "询问这个代码库...",CODE
LOWgitnexus-web/src/locales/en/chat.json17 "placeholder": "Ask about the codebase...",CODE
Synthetic Comment Markers1 hit · 5 pts
SeverityFileLineSnippetContext
HIGHgitnexus-web/src/lib/mermaid-generator.ts29 rawMermaid?: string; // AI-generated mermaid code (sanitized before rendering)CODE
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.ts96- Don't pad with generic "let me know if you need more" — users will ask.CODE
AI Structural Patterns2 hits · 2 pts
SeverityFileLineSnippetContext
LOWeval/run_eval.py351CODE
LOWeval/run_eval.py377CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWeval/bridge/gitnexus_tools.sh9# Usage:COMMENT