GitNexus/gitnexus/scripts
Gergo Magyar d3c3572768 fix(routes): close the wrapper identity gaps found in review
- CommonJS wrappers captured as their assignment (`exports.x = function`,
  `module.exports.x = () =>`) produce facts again: findFunction follows the
  assignment's right side.
- Name-only fallback considers only definitions that can be the target: an
  unresolvable import names a module-level export, an undeclared global a
  top-level function. Nested and unexported helpers no longer erase a
  wrapper's edges.
- Only possible wrappers and module-level functions are emitted, and the
  routes phase builds the index only when routes and candidate calls exist.
- A rebound binding (later assignment, `var` initializer over a function
  declaration, reassigned export) proves no wrapper across files.
- `(<T>x) = ...` is a write; transparent wrappers skip type arguments.
- Calls inside recovered syntax are still collected; instance-field
  initializers resolve after the module body, so a later declaration is
  visible.
- Local exports are always recorded, so a star export conflicting with a
  non-callable export is ambiguous, and fully resolved barrel frames are
  shared across walks.
- HTTP hooks run per file under a guard; a failing file or one without a
  ParsedFile still records its function names so fallback declines.
- namesFetch is iterative, large patterns no longer spread into push, the
  facts cache is keyed by the name node, and the provider context cache
  checks its ParsedFile.

Tests cover each case; the behavior rows fail on the previous source.
The TS-only call cases no longer branch inside the test file, call targets
are asserted exactly, the function-type list is drift-checked, and the
persistence test joins the cross-platform worker list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 19:12:11 +00:00
..
bench feat(mcp): reduce response size and query overhead (#3621) 2026-10-18 17:32:09 +01:00
spikes feat(ingestion): M0 — taint/PDG substrate (schema + seams + spikes) (#2080) (#2092) 2026-06-08 18:56:10 +01:00
arm64-prebuild.cjs fix(install): restore Linux ARM64 npm installation (#3601) 2026-10-16 15:28:35 +01:00
assert-native-parsers.mjs fix(install): restore Linux ARM64 npm installation (#3601) 2026-10-16 15:28:35 +01:00
assert-publish-fts-coverage.cjs fix(lbug): ship FTS per-platform and recover in-place native aborts (#3274) 2026-09-14 08:52:24 +01:00
assert-publish-grammar-coverage.cjs fix(embeddings): keep ONNX off the install and analyze critical path (#3287) 2026-09-15 12:11:47 +01:00
assert-web-assets.mjs fix(build): build the web UI from prepack, not from every npm ci (#3166) 2026-09-04 13:28:11 +01:00
bench-scope-resolution.ts refactor(ingestion): delete legacy call-resolution DAG + heritage processor (RING4-1, #942) (#2023) 2026-06-04 11:07:37 +01:00
build-tree-sitter-grammars.cjs feat(indexing): add Objective-C semantic indexing support (#3179) 2026-09-09 09:40:21 +00:00
build-web.js fix(build): build the web UI from prepack, not from every npm ci (#3166) 2026-09-04 13:28:11 +01:00
build.js chore: compile first-party packages with TypeScript 7 (#3311) 2026-09-17 22:16:00 +01:00
cross-platform-shard.ts fix(taint): report inline and factory handler flows (#3612) 2026-10-17 20:22:58 +00:00
cross-platform-tests.ts fix(routes): close the wrapper identity gaps found in review 2026-10-19 19:12:11 +00:00
ensure-fts.ts fix(lbug): ship FTS per-platform and recover in-place native aborts (#3274) 2026-09-14 08:52:24 +01:00
execution-reporter.ts chore(deps): consolidate open dependabot updates (#3496) 2026-10-06 07:23:35 +00:00
install-duckdb-extension.mjs fix(fts): diagnose Windows FTS missing-dependency load failures (#2374, Phase 1) (#2383) 2026-07-06 21:27:37 +01:00
prepare-tree-sitter-bundle.cjs fix(install): restore Linux ARM64 npm installation (#3601) 2026-10-16 15:28:35 +01:00
rebuild-bundled-grammar-prebuilds.cjs fix(install): restore Linux ARM64 npm installation (#3601) 2026-10-16 15:28:35 +01:00
run-benchmarks.ts fix(ci): require every test to execute across the CI matrix (#3479) 2026-10-06 07:34:17 +03:00
run-cross-platform.ts fix(ci): require every test to execute across the CI matrix (#3479) 2026-10-06 07:34:17 +03:00
shard-arg.ts fix(ci): shard platform-sensitive matrix + spawn built CLI to fix Windows cross-platform timeout (#2394) 2026-07-08 09:09:11 +01:00
sync-plugin-manifests.mjs feat: add Factory AI (Droid) integration (#2543) 2026-09-24 19:12:40 +01:00
test-completeness.ts fix(ci): require every test to execute across the CI matrix (#3479) 2026-10-06 07:34:17 +03:00