Pre-indexed code knowledge graph, auto syncs on code changes, for Claude Code, Codex, Gemini, Cursor, OpenCode, AntiGravity, Kiro, and Hermes Agent — fewer tokens, fewer tool calls, 100% local
This report presents the forensic synthetic code analysis of colbymchenry/codegraph, a TypeScript project with 59,862 GitHub stars. SynthScan v2.0 examined 144,298 lines of code across 404 source files, recording 270 pattern matches distributed across 12 syntactic categories. The overall adjusted score of 2.6 places this repository in the Likely human-written 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).
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.
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.
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.
The scanner identified 270 distinct pattern matches across 12 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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | install.sh | 1 | #!/bin/sh | COMMENT |
| LOW | scripts/build-bundle.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/build-bundle.sh | 61 | COMMENT | |
| LOW | scripts/npm-shim.js | 1 | #!/usr/bin/env node | COMMENT |
| LOW | scripts/pack-npm.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/npm-sdk.js | 1 | 'use strict'; | COMMENT |
| LOW | scripts/agent-eval/ab-hook.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/agent-eval/run-arms.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/agent-eval/ab-new-vs-baseline.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/agent-eval/itrun.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/agent-eval/itrun.sh | 81 | done | COMMENT |
| LOW | scripts/agent-eval/offload-eval-styles.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/agent-eval/redirect-read-hook.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/agent-eval/audit.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/agent-eval/ab-impl.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/agent-eval/run-all.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/agent-eval/ab-sufficiency.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | scripts/add-lang/bench.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | .github/workflows/release.yml | 1 | name: Release | COMMENT |
| LOW | .github/workflows/release.yml | 21 | contents: write # create the GitHub Release + tag, push the CHANGELOG promote | COMMENT |
| LOW | .github/workflows/release.yml | 41 | # RELEASE_PAT secret with: contents:write on this repo, no other | COMMENT |
| LOW | src/directory.ts | 261 | 'comment', 'où', 'flux', 'chemins?', 'casse', | COMMENT |
| LOW | src/directory.ts | 281 | // the ge- participle escapes the "aanroep" stem) | COMMENT |
| LOW | src/directory.ts | 321 | * four bounded English entries below, #1138). | COMMENT |
| LOW | src/directory.ts | 341 | // traza(r)=trace, explica=explain) | COMMENT |
| LOW | src/directory.ts | 361 | 'виклика', 'залеж', 'вплива', 'архітектур', 'реаліз', 'поясн', 'шлях', | COMMENT |
| LOW | src/directory.ts | 381 | // etkile(r)/etkisi=affects/impact) | COMMENT |
| LOW | src/index.ts | 481 | // (resolver re-init and resolution both read on the main thread): | COMMENT |
| LOW | src/index.ts | 661 | // Cross-file finalization (e.g. NestJS RouterModule prefixes). Run on | COMMENT |
| LOW | src/index.ts | 741 | current, | COMMENT |
| LOW | src/index.ts | 781 | // implements/extends edges built above (#750). | COMMENT |
| LOW | src/index.ts | 1141 | // the LIMIT) a genuine two-word match. The JS re-check below recomputes | COMMENT |
| LOW | src/upgrade/index.ts | 101 | COMMENT | |
| LOW | src/context/index.ts | 621 | for (const result of searchResults) { | COMMENT |
| LOW | src/bin/codegraph.ts | 1201 | const prompt = String(input.prompt || ''); | COMMENT |
| LOW | src/bin/codegraph.ts | 1221 | // verified against the graph below, so a tech brand ("JavaScript") that | COMMENT |
| LOW | src/bin/codegraph.ts | 1281 | return; | COMMENT |
| LOW | src/mcp/session.ts | 201 | // Explicit project signal, strongest first: client-provided rootUri / | COMMENT |
| LOW | src/mcp/session.ts | 241 | } | COMMENT |
| LOW | src/mcp/tools.ts | 821 | // once and every later tool call reuses the result — never shelling out to | COMMENT |
| LOW | src/mcp/tools.ts | 961 | // projectPath, so mark it required in the schema — a high-salience nudge the | COMMENT |
| LOW | src/mcp/tools.ts | 981 | // - 3-tool gate (search + context + trace): cost regressed on | COMMENT |
| LOW | src/mcp/tools.ts | 1401 | COMMENT | |
| LOW | src/mcp/tools.ts | 1901 | // disambiguate an ambiguous SIMPLE name: keep a candidate only if its | COMMENT |
| LOW | src/mcp/tools.ts | 2601 | // Concurrency.swift / the abstract base. Used below to bias overloaded | COMMENT |
| LOW | src/mcp/tools.ts | 2661 | if (!isPreciseToken(t)) { | COMMENT |
| LOW | src/mcp/tools.ts | 2701 | // Step 2: Group nodes by file, score by relevance | COMMENT |
| LOW | src/mcp/tools.ts | 2741 | } | COMMENT |
| LOW | src/mcp/tools.ts | 2861 | COMMENT | |
| LOW | src/mcp/tools.ts | 2921 | // existing low-value/generated/score tiebreaks. | COMMENT |
| LOW | src/mcp/tools.ts | 2941 | // the answer) AND (b) matched by ≥2 DISTINCT query terms must not be buried by | COMMENT |
| LOW | src/mcp/tools.ts | 3161 | // base+subclasses "family" file like Django's compiler.py — collapse it). | COMMENT |
| LOW | src/mcp/tools.ts | 3261 | : 'skeleton (signatures only — codegraph_explore a name for its full body; do NOT Read)'; | COMMENT |
| LOW | src/mcp/tools.ts | 3321 | // Sort by start line, then merge overlapping/adjacent ranges (within the | COMMENT |
| LOW | src/mcp/tools.ts | 3501 | // total output cap — so selection (which ranks by importance) keeps the | COMMENT |
| LOW | src/mcp/index.ts | 321 | // Background init so the initialize response stays fast (#172). | COMMENT |
| LOW | src/resolution/callback-synthesizer.ts | 41 | const FLUTTER_SETSTATE_RE = /\bsetState\s*\(/; // Flutter: setState((){…}) / this.setState | COMMENT |
| LOW | src/resolution/callback-synthesizer.ts | 61 | // a dispatcher to same-named registrars (`.append`/`.add`/`.push`/`.insert`, | COMMENT |
| LOW | src/resolution/callback-synthesizer.ts | 1381 | // ObjC's `[self sendEventWithName:@"X" body:...]` shape (bracket syntax, | COMMENT |
| LOW | src/resolution/callback-synthesizer.ts | 2261 | }); | COMMENT |
| 58 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | __tests__/integration/full-pipeline.test.ts | 89 | // ── init ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | __tests__/integration/full-pipeline.test.ts | 95 | // ── indexAll ──────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | __tests__/integration/full-pipeline.test.ts | 104 | // ── resolveReferences ──────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | __tests__/integration/full-pipeline.test.ts | 117 | // ── searchNodes ────────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | __tests__/integration/full-pipeline.test.ts | 126 | // ── getCallers / getCallees ────────────────────────────────── | COMMENT |
| MEDIUM⚡ | __tests__/integration/full-pipeline.test.ts | 135 | // ── buildContext ───────────────────────────────────────────── | COMMENT |
| MEDIUM⚡ | __tests__/integration/full-pipeline.test.ts | 143 | // ── sync (add + modify + remove in one pass) ───────────────── | COMMENT |
| MEDIUM | src/resolution/callback-synthesizer.ts | 2112 | // ── Object-literal registry dispatch ───────────────────────────────────────── | COMMENT |
| MEDIUM | src/resolution/callback-synthesizer.ts | 2269 | // ── RTK Query generated-hook → endpoint ────────────────────────────────────── | COMMENT |
| MEDIUM | src/resolution/callback-synthesizer.ts | 2327 | // ── Pinia useStore().action() dispatch bridge ──────────────────────────────── | COMMENT |
| MEDIUM | src/resolution/callback-synthesizer.ts | 2411 | // ── Vuex string-keyed dispatch / commit bridge ─────────────────────────────── | COMMENT |
| MEDIUM | src/resolution/callback-synthesizer.ts | 2501 | // ── Celery task dispatch (Python) ───────────────────────────────────────────── | COMMENT |
| MEDIUM | src/resolution/callback-synthesizer.ts | 2597 | // ── Spring application events (Java) ────────────────────────────────────────── | COMMENT |
| MEDIUM | src/resolution/callback-synthesizer.ts | 2720 | // ── MediatR request/notification dispatch (C#/.NET) ─────────────────────────── | COMMENT |
| MEDIUM | src/resolution/callback-synthesizer.ts | 2720 | // ── MediatR request/notification dispatch (C#/.NET) ─────────────────────────── | COMMENT |
| MEDIUM | src/resolution/callback-synthesizer.ts | 2837 | // ── Sidekiq job dispatch (Ruby) ─────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/resolution/callback-synthesizer.ts | 2928 | // ── Erlang behaviour-callback dispatch ──────────────────────────────────────── | COMMENT |
| MEDIUM | src/resolution/callback-synthesizer.ts | 3294 | // ── Laravel events (PHP) ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/resolution/name-matcher.ts | 1055 | // ── Local-variable receiver-type inference (#1108) ────────────────────────── | COMMENT |
| MEDIUM | src/resolution/name-matcher.ts | 1055 | // ── Local-variable receiver-type inference (#1108) ────────────────────────── | COMMENT |
| MEDIUM | src/resolution/frameworks/react-native.ts | 65 | // ─── Native-side extraction ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/resolution/frameworks/react-native.ts | 244 | // ─── Map building ─────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | src/resolution/frameworks/react-native.ts | 360 | // ─── Resolver ─────────────────────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | __tests__/segment-vocab.test.ts | 50 | export function resolveDeferredThisMemberRefs(): void {} | CODE |
| LOW | src/directory.ts | 212 | export function findIndexedSubprojectRoots( | CODE |
| LOW | src/project-config.ts | 312 | export function loadIncludeIgnoredPatterns(rootDir: string): string[] { | CODE |
| LOW | src/project-config.ts | 359 | export function addIncludeIgnoredPatterns(rootDir: string, patterns: string[]): number { | CODE |
| LOW | src/upgrade/update-check.ts | 239 | export function checkForUpdateInBackground( | CODE |
| LOW | src/upgrade/index.ts | 208 | export function parseLatestTagFromLocation(location: string | undefined): string | null { | CODE |
| LOW | src/upgrade/index.ts | 490 | function selfHealInstalledSurfaces(deps: UpgradeDeps): void { | CODE |
| LOW | src/upgrade/index.ts | 557 | export function buildWindowsUpgradeScript(bundleRoot: string, version: string, arch: string): string { | CODE |
| LOW | src/bin/command-supervision.ts | 54 | export function installCommandSupervision(label: string, watchdog: WatchdogOptions = {}): CommandSupervision { | CODE |
| LOW | src/mcp/daemon.ts | 615 | export function acquireLockViaExclusiveOpen(pidPath: string, info: DaemonLockInfo): boolean { | CODE |
| LOW | src/mcp/daemon-paths.ts | 69 | export function getDaemonSocketCandidates(projectRoot: string): string[] { | CODE |
| LOW | src/mcp/stdin-teardown.ts | 26 | export function treatStdinFailureAsShutdown( | CODE |
| LOW | src/mcp/startup-handshake.ts | 40 | export function parseStartupHandshakeTimeoutMs(raw: string | undefined): number { | CODE |
| LOW | src/mcp/startup-handshake.ts | 53 | export function armStartupHandshakeTimeout( | CODE |
| LOW | src/mcp/tools.ts | 303 | function exploreLineNumbersEnabled(): boolean { | CODE |
| LOW | src/mcp/tools.ts | 336 | function resolveCatchUpGateTimeoutMs(): number { | CODE |
| LOW | src/mcp/proxy.ts | 417 | function startPpidWatchdogNoSocket(onDeath: () => void): void { | CODE |
| LOW | src/mcp/liveness-watchdog.ts | 178 | export function installMainThreadWatchdog(options: WatchdogOptions = {}): WatchdogHandle | null { | CODE |
| LOW | src/resolution/callback-synthesizer.ts | 906 | async function goCrossFileMethodContainsEdges(queries: QueryBuilder, onYield: MaybeYield): Promise<Edge[]> { | CODE |
| LOW | src/resolution/callback-synthesizer.ts | 3176 | async function erlangBehaviourDispatchEdges(queries: QueryBuilder, ctx: ResolutionContext, onYield: MaybeYield): Promise | CODE |
| LOW | src/resolution/import-resolver.ts | 441 | function loadCppIncludeDirsFromCompileDB(projectRoot: string): string[] | null { | CODE |
| LOW | src/resolution/import-resolver.ts | 550 | function loadCppIncludeDirsHeuristic(projectRoot: string): string[] { | CODE |
| LOW | src/resolution/import-resolver.ts | 1480 | function resolvePythonModuleMember( | CODE |
| LOW | src/resolution/import-resolver.ts | 1589 | function resolveModuleImportToFile( | CODE |
| LOW | src/resolution/import-resolver.ts | 1674 | function resolvePythonAbsoluteModule( | CODE |
| LOW | src/resolution/import-resolver.ts | 1824 | function resolveJavaImportedReference( | CODE |
| LOW | src/resolution/import-resolver.ts | 1898 | function resolveGoCrossPackageReference( | CODE |
| LOW | src/resolution/name-matcher.ts | 29 | function resolveAmbiguousNameCeiling(): number { | CODE |
| LOW | src/resolution/name-matcher.ts | 802 | function inferCppAutoInitializerType( | CODE |
| LOW | src/resolution/name-matcher.ts | 1006 | function inferJavaFieldReceiverType( | CODE |
| LOW | src/resolution/name-matcher.ts | 1078 | function normalizeInferredTypeName(raw: string): string | null { | CODE |
| LOW | src/resolution/name-matcher.ts | 1093 | function localReceiverTypePatterns(language: Language, r: string): RegExp[] { | CODE |
| LOW | src/resolution/name-matcher.ts | 1400 | function inferPhpAssignedPropertyType( | CODE |
| LOW | src/resolution/swift-objc-bridge.ts | 76 | export function objcSelectorForSwiftMethod( | CODE |
| LOW | src/resolution/swift-objc-bridge.ts | 160 | export function objcAccessorsForSwiftProperty( | CODE |
| LOW | src/resolution/swift-objc-bridge.ts | 196 | export function swiftBaseNamesForObjcSelector(selector: string): string[] { | CODE |
| LOW | src/resolution/frameworks/rust.ts | 14 | function getCachedCargoWorkspaceCrateMap(context: ResolutionContext): Map<string, string> { | CODE |
| LOW | src/resolution/frameworks/nestjs.ts | 532 | function collectRouterModuleRegistrations(safe: string, out: Map<string, string>): void { | CODE |
| LOW | src/resolution/frameworks/fabric.ts | 84 | function deriveComponentNameFromManager(className: string): string { | CODE |
| LOW | src/resolution/frameworks/fabric.ts | 145 | function extractLegacyViewManagerNodes(filePath: string, source: string): Node[] { | CODE |
| LOW | src/resolution/frameworks/fabric.ts | 225 | function extractJvmViewManagerNodes(filePath: string, source: string): Node[] { | CODE |
| LOW | src/resolution/frameworks/index.ts | 124 | export function registerFrameworkResolver(resolver: FrameworkResolver): void { | CODE |
| LOW | src/resolution/frameworks/cargo-workspace.ts | 224 | export function getCargoWorkspaceCrateMap(context: ResolutionContext): Map<string, string> { | CODE |
| LOW | src/resolution/frameworks/java.ts | 424 | function extractSpringValueBindings( | CODE |
| LOW | src/sync/watcher.ts | 85 | function isWatchResourceExhaustion(err: unknown): boolean { | CODE |
| LOW | src/sync/worktree.ts | 93 | export function detectWorktreeIndexMismatch( | CODE |
| LOW | src/installer/targets/shared.ts | 142 | export function replaceOrAppendMarkedSection( | CODE |
| LOW | src/installer/targets/opencode.ts | 263 | function cleanupLegacyWindowsState(): WriteResult['files'] { | CODE |
| LOW | src/installer/targets/claude.ts | 289 | function isLegacyCodegraphHookCommand(command: unknown): boolean { | CODE |
| LOW | src/installer/targets/claude.ts | 322 | function removeHookCommandsMatching( | CODE |
| LOW | src/extraction/index.ts | 318 | function loadIncludeIgnoredMatcher(rootDir: string): Ignore | null { | CODE |
| LOW | src/extraction/index.ts | 482 | function collectIncludedFilesForRoot(rootDir: string): Set<string> { | CODE |
| LOW | src/extraction/index.ts | 725 | function gitlinkEmbeddedRepoSkipped( | CODE |
| LOW | src/extraction/index.ts | 747 | export function discoverEmbeddedRepoRoots(rootDir: string): string[] { | CODE |
| LOW | src/extraction/index.ts | 827 | export function findUnindexedIgnoredRepos(rootDir: string): string[] { | CODE |
| LOW | src/extraction/index.ts | 1380 | function resurrectRefFromDroppedEdge( | CODE |
| LOW | src/extraction/grammars.ts | 541 | export function getUnavailableGrammarErrors(): Partial<Record<Language, string>> { | CODE |
| LOW | src/extraction/wasm-runtime-flags.ts | 63 | export function processHasWasmRuntimeFlags( | CODE |
| LOW | src/extraction/wasm-runtime-flags.ts | 92 | export function relaunchWithWasmRuntimeFlagsIfNeeded(scriptPath: string): void { | CODE |
| LOW | src/extraction/languages/c-cpp.ts | 13 | function findDeclaratorQualifiedId(declarator: SyntaxNode): SyntaxNode | undefined { | CODE |
| 6 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/context/index.ts | 450 | // Step 1: Extract potential symbol names from query | COMMENT |
| LOW⚡ | src/context/index.ts | 454 | // Step 2: Look up exact matches for extracted symbols | COMMENT |
| LOW | src/context/index.ts | 539 | // Step 3: Run text search for natural language term matching | COMMENT |
| LOW | src/context/index.ts | 588 | // Step 4: Merge results, taking the max score when duplicates appear | COMMENT |
| LOW | src/mcp/tools.ts | 2523 | // Step 1: Find relevant context with generous parameters. | COMMENT |
| LOW | src/mcp/tools.ts | 2701 | // Step 2: Group nodes by file, score by relevance | COMMENT |
| LOW | src/mcp/tools.ts | 3001 | // Step 3: Build relationship map | COMMENT |
| LOW | src/mcp/tools.ts | 3057 | // Step 4: Read contiguous file sections | COMMENT |
| LOW | src/installer/index.ts | 92 | // Step 1: which agent targets? Asked FIRST so the user knows what | COMMENT |
| LOW | src/installer/index.ts | 103 | // Step 2: install the codegraph npm package on PATH (always offered; | COMMENT |
| LOW | src/installer/index.ts | 131 | // Step 3: where the per-agent config files should land. | COMMENT |
| LOW | src/installer/index.ts | 162 | // Step 4: auto-allow permissions (only meaningful for Claude; | COMMENT |
| LOW | src/installer/index.ts | 231 | // Step 5: per-target install loop. | COMMENT |
| LOW | src/installer/index.ts | 269 | // Step 6: install wires up agents only — it deliberately does NOT index. | COMMENT |
| LOW | src/installer/index.ts | 446 | // Step 1: which location — asked FIRST, the one decision the user | COMMENT |
| LOW | src/installer/index.ts | 470 | // Step 2: which agents. Default is every agent, so the user doesn't | COMMENT |
| LOW | src/installer/index.ts | 485 | // Step 3: sweep + per-agent feedback. | COMMENT |
| LOW | src/installer/index.ts | 501 | // Step 4: for local uninstall, the index dir is separate — point at | COMMENT |
| LOW | src/installer/index.ts | 563 | // Step 5: summary. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | src/context/index.ts | 450 | // Step 1: Extract potential symbol names from query | COMMENT |
| LOW⚡ | src/context/index.ts | 454 | // Step 2: Look up exact matches for extracted symbols | COMMENT |
| LOW | src/context/index.ts | 539 | // Step 3: Run text search for natural language term matching | COMMENT |
| LOW | src/context/index.ts | 588 | // Step 4: Merge results, taking the max score when duplicates appear | COMMENT |
| LOW | src/mcp/tools.ts | 2523 | // Step 1: Find relevant context with generous parameters. | COMMENT |
| LOW | src/mcp/tools.ts | 2701 | // Step 2: Group nodes by file, score by relevance | COMMENT |
| LOW | src/mcp/tools.ts | 3001 | // Step 3: Build relationship map | COMMENT |
| LOW | src/mcp/tools.ts | 3057 | // Step 4: Read contiguous file sections | COMMENT |
| LOW | src/installer/index.ts | 92 | // Step 1: which agent targets? Asked FIRST so the user knows what | COMMENT |
| LOW | src/installer/index.ts | 103 | // Step 2: install the codegraph npm package on PATH (always offered; | COMMENT |
| LOW | src/installer/index.ts | 131 | // Step 3: where the per-agent config files should land. | COMMENT |
| LOW | src/installer/index.ts | 162 | // Step 4: auto-allow permissions (only meaningful for Claude; | COMMENT |
| LOW | src/installer/index.ts | 231 | // Step 5: per-target install loop. | COMMENT |
| LOW | src/installer/index.ts | 269 | // Step 6: install wires up agents only — it deliberately does NOT index. | COMMENT |
| LOW | src/installer/index.ts | 446 | // Step 1: which location — asked FIRST, the one decision the user | COMMENT |
| LOW | src/installer/index.ts | 470 | // Step 2: which agents. Default is every agent, so the user doesn't | COMMENT |
| LOW | src/installer/index.ts | 485 | // Step 3: sweep + per-agent feedback. | COMMENT |
| LOW | src/installer/index.ts | 501 | // Step 4: for local uninstall, the index dir is separate — point at | COMMENT |
| LOW | src/installer/index.ts | 563 | // Step 5: summary. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | __tests__/extraction.test.ts | 1985 | print(name); | CODE |
| HIGH | __tests__/extraction.test.ts | 5780 | fs.writeFileSync(path.join(tempDir, 'app/views.py'), `def home(request):\n return None\n`); | CODE |
| HIGH | __tests__/celery-dispatch-synthesizer.test.ts | 50 | return None | CODE |
| HIGH | __tests__/graph.test.ts | 44 | print(): void; | CODE |
| HIGH | __tests__/graph.test.ts | 63 | print(): void { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | src/mcp/tools.ts | 2988 | // the agent rarely needs to see the protobuf scaffold or gomock output | COMMENT |
| MEDIUM | src/mcp/tools.ts | 4517 | // hand-written implementations before the protobuf scaffold). | COMMENT |
| MEDIUM | src/resolution/callback-synthesizer.ts | 1139 | // a protoc-emitted scaffold rather than someone naming a struct | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | __tests__/extraction.test.ts | 6817 | git(libDir, 'config', 'user.email', 'test@test.com'); | CODE |
| LOW | __tests__/extraction.test.ts | 6827 | git(mainDir, 'config', 'user.email', 'test@test.com'); | CODE |
| LOW | __tests__/extraction.test.ts | 6856 | git('config', 'user.email', 'test@test.com'); | CODE |
| LOW | __tests__/extraction.test.ts | 7045 | git(root, 'config', 'user.email', 'test@test.com'); | CODE |
| LOW | __tests__/extraction.test.ts | 7054 | git(path.join(root, 'sub_repo1'), 'config', 'user.email', 'test@test.com'); | CODE |
| LOW | __tests__/sync.test.ts | 168 | git('config', 'user.email', 'test@test.com'); | CODE |
| LOW | __tests__/sync.test.ts | 324 | git('config', 'user.email', 'test@test.com'); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | __tests__/resolution.test.ts | 2050 | // way). Method↔type association is by qualifiedName, robust where the method | COMMENT |
| MEDIUM | scripts/agent-eval/itrun.sh | 67 | # Busy signals. The robust one is the spinner's elapsed-time-in-parens, which | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | __tests__/extraction.test.ts | 7352 | private def helper(): Unit = {} | CODE |
| LOW | __tests__/extraction.test.ts | 8498 | const js = extractFromSource('service.xsjs', 'function handleRequest() { return 1; }'); | CODE |
| LOW | __tests__/extraction.test.ts | 8606 | fs.writeFileSync(path.join(dir, 'pkg', 'foo.py'), `widget = {"n": 1}\ndef helper():\n return 1\n`); | CODE |
| LOW | __tests__/celery-dispatch-synthesizer.test.ts | 56 | `def process_data(x): | CODE |
| LOW | __tests__/celery-dispatch-synthesizer.test.ts | 69 | def handle_request(req): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/build-bundle.sh | 12 | # Usage: | COMMENT |
| LOW | scripts/local-install.sh | 6 | # Usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | assets/generate-language-tiles.py | 167 | CODE |