GitNexus/gitnexus/test
samuel mbabhazi 0e7b3d6fad
fix(mcp): report cross-function explain lines 1-based (#3635)
* fix(mcp): report cross-function explain lines 1-based

The interprocedural branch of explain passed the endpoints' and hops'
graph startLine through unchanged. Those are 0-based (tree-sitter rows),
so every cross-function source, sink and hop sat one line above the
function's declaration in an editor, while the intra-procedural findings
of the same response were already 1-based. source.line, sink.line and
hops[].line now go through toDisplayLine like context, query and impact
(#2377), and the response note says these are declaration lines.

The interproc integration block asserts the exact fixture lines: handle on
line 7 of source.ts, runIt on line 6 of sink.ts.

Fixes #3491

* fix(review): remove repaired accuracy allowance

---------

Co-authored-by: Gergő Magyar <gergomagyar@icloud.com>
Co-authored-by: Gergo Magyar <gergomagyar0@gmail.com>
2026-10-20 08:54:52 +01:00
..
fixtures fix(routes): resolve Express registrations made through helper parameters (#3629) 2026-10-18 22:13:10 +01:00
helpers fix(taint): report inline and factory handler flows (#3612) 2026-10-17 20:22:58 +00:00
integration fix(mcp): report cross-function explain lines 1-based (#3635) 2026-10-20 08:54:52 +01:00
unit chore(vendor): update tree-sitter-dart to 1.0.0-g0038280 (#3633) 2026-10-19 15:41:34 +01:00
utils feat(storage): add configurable index storage and content retention tiers (#3060) 2026-09-12 20:31:55 +00:00