materialize OVERRIDES rel and bump ontology to 13#143
Merged
Conversation
Store subtype→supertype override pairs in Kuzu, admit OVERRIDES in neighbors/meta, align describe copy and tests with override_axis rollup, and refresh operator/agent docs for ontology 13. Co-authored-by: Cursor <cursoragent@cursor.com>
Per-direction max preserves stored inbound [:OVERRIDES] after the dispatch-up rollup reuses the same key; extend fixture and docs. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
plans/PLAN-HINTS.md(stored[:OVERRIDES]edges,ONTOLOGY_VERSION13,EdgeType+neighbors+ tests + README). Background:propose/HINTS-ROAD-SIGNS-PROPOSE.md§6 / §7.17.(subtype_method)-[:OVERRIDES]->(supertype_declared_method)inbuild_ast_graph.py(oneIMPLEMENTS/EXTENDShop, matchingsignature, deduped + deterministic order). Schema drop/create wired;counts_jsonincludesoverrides.ast_java.ONTOLOGY_VERSIONto 13; extendskuzu_queries._EDGE_TYPESsometa()edge counts includeOVERRIDES.OVERRIDEStomcp_v2.EdgeType, updatesNodeRecord.edge_summaryand server tool copy so storedOVERRIDESis valid inneighbors; virtual keys unchanged.tests/test_mcp_v2_compose.py, plus schema / MCP enum updates.AGENTS.md,docs/AGENT-GUIDE.md,.cursor/rules/*,CODEBASE_REQUIREMENTS.mdnow reference ontology 13 and theOVERRIDES/neighborsstory.Re-index / ontology
Ontology 13 — full graph rebuild required (
java-codebase-rag reprocessdefault orbuild_ast_graph.py); indexes built before this version are belowKuzuGraph’s required ontology check.Manual evidence
Expected:
OVERRIDES count: 3on that fixture.Test plan
.venv/bin/ruff check .PATH="<repo>/.venv/bin:$PATH" .venv/bin/python -m pytest tests -v(457 passed, 10 skipped; CLI subprocess tests need venv-firstPATHon hosts that shadowjava-codebase-rag)Made with Cursor