Skip to content

Preserve declaration coordinates and reuse saved graph reachability - #140

Merged
ictechgy merged 1 commit into
mainfrom
feature/declaration-coordinate-evidence
Oct 9, 2026
Merged

ictechgy merged 1 commit into
mainfrom
feature/declaration-coordinate-evidence

Conversation

@ictechgy

@ictechgy ictechgy commented Oct 9, 2026

Copy link
Copy Markdown
Owner

Compiled method debug locations can identify executable instructions rather than declaration headers. This change preserves those locations and adds separate declaration coordinates with a raw source hash. Kotlin metadata names prevent binding JVM-renamed functions to unrelated source headers. Plain and compact snapshots retain the new facts; saved queries continue to work without source files. Ambiguous, synthetic, implicit-constructor, and incomplete header matches remain omitted.

Repeated MCP queries reuse reachability for their fixed snapshot. The cache belongs to one snapshot session, and complete responses are checked against uncached queries and an independently installed release.

Validation: JVM suite 1,329 tests with zero failures (23 environment skips), 90% coverage gate, final affected index/export/CLI suites, CLI/agent contracts, 44-retained/4-reportable Android fixture oracle, self-analysis budget, and 40 required compiler-position integrations with zero skips passed. GLM and Claude reviews were adjudicated against executable synthetic cases.

A fixed synthetic saved graph was queried in seven alternating resident-session pairs against the independently installed 0.20.0 release. Each session used 30 warmups and 50 timed queries; complete tool responses and an independent adjacency/reachability oracle agreed. The median paired query-time ratio was 0.600 (95% paired bootstrap interval 0.570–0.639), and sampled session peak RSS ratio was 0.642 (0.608–0.662). Tool artifacts and input hashes were unchanged during measurement. This is an own-release control; external PSI/index-store superiority is not claimed.

@ictechgy
ictechgy merged commit 5568601 into main Oct 9, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant