GitNexus/docs
Gergő Magyar a0586d967f
feat(embeddings): preserve AST chunk coverage (#3817)
* feat(embeddings): preserve AST chunk coverage

Index long callable tails without duplicating class bodies. Preserve unchanged input reuse and include local model identity in cache checks.

Refs #702

* fix(embeddings): clean up benchmark failures

Protect fixture setup and model initialization with cleanup. Remove
fixtures even when sidecar disposal fails, and cover failure paths.
Clarify the one-time refresh for legacy non-git indexes.

Refs #3817

* fix(embeddings): address projection regressions

Preserve Kotlin/C++ class declarations, strip property bodies, and
keep fallback File nodes out of source hydration. Bump the class
projection revision so stale cached inputs regenerate.

Keep clone fixtures byte-identical under Windows Git settings.
Run paired model benchmarks directly instead of adding skipped CI tests.

Refs #3817

Note: pre-existing failures in setup.test.ts, setup-skills.test.ts,
and auto-sync.test.ts are not addressed by this PR.

* fix(embeddings): preserve empty declarations

Empty direct-member declarations have no member start offset. Keep
the whole declaration and invalidate v2 class projections so corrected
inputs regenerate. Clarify named lookup and single-candidate fallback.

Refs #3817

* chore(bench): standardize chunking artifacts

Move the paired benchmark and record measured baselines under bench/.
Remove the implementation plan from the PR and update its references.

* ci: run embedding chunk benchmarks directly

Build the comparison revision and candidate in ci-tests, then retain
paired source-aware measurements. Remove the benchmark integration test.

* fix: close embedding review and CI gaps

Filter constructor-default and heritage lambdas plus C# expression
getters from class inputs. Bump the class fingerprint to invalidate
cached v3 projections and cover the cases with real parsers.

Install the optional embedding runtime before CI benchmarking and
serialize the native lifecycle test under lbug-db.

Refs #702

* fix(ci): isolate native benchmark revisions

Independent LadybugDB addons segfault at process exit when loaded together. Run each revision in its own child process, preserve paired sampling, and require clean teardown before writing results.

Give Kotlin regression fixtures unique names for the execution audit.

* feat(embeddings): adapt cAST splitting

Reuse existing parsers without adding a chunking dependency. Refresh
source-backed layout hashes even when retained snippets fit the budget.

Refs #702

* perf(embeddings): speed up AST chunking

* docs: remove chunking optimization report

---------

Co-authored-by: Gergo Magyar <gergomagyar0@gmail.com>
2026-11-05 14:08:43 +00:00
..
languages docs: simplify guides and verify receiver gaps (#3694) 2026-10-23 09:06:03 +01:00
optimize fix(taint): avoid false positives for guarded Git arguments (#3703) 2026-10-24 15:37:26 +01:00
plans feat: add the test scenario map and a Vitest 5 mutation runner (#3686) 2026-10-27 16:46:58 +00:00
cli-reference.md feat(embeddings): preserve AST chunk coverage (#3817) 2026-11-05 14:08:43 +00:00
deployment.md feat(web): resolve a root-relative GITNEXUS_BACKEND_URL against the page origin (#3640) 2026-10-24 08:45:24 +01:00
editor-setup.md feat(opencode): ship hooks as auto-loaded global plugin for full support (#3619) 2026-10-28 13:45:08 +00:00
mcp-reference.md feat(taint): add AdonisJS request and Lucid models (#3727) 2026-11-02 11:04:56 +00:00
wiki-generation.md fix(wiki): configure limits and retry truncated pages (#3775) 2026-10-31 13:24:37 +00:00