Skip to content

describe: override-axis edge_summary rollup for method symbols (PR-1)#110

Merged
HumanBean17 merged 1 commit into
masterfrom
cursor/describe-override-rollup-pr1
May 13, 2026
Merged

describe: override-axis edge_summary rollup for method symbols (PR-1)#110
HumanBean17 merged 1 commit into
masterfrom
cursor/describe-override-rollup-pr1

Conversation

@HumanBean17
Copy link
Copy Markdown
Owner

Scope

Implements PR-1 from plans/PLAN-DESCRIBE-OVERRIDE-ROLLUP.md (propose/DESCRIBE-OVERRIDE-ROLLUP-PROPOSE.md).

Behaviour

  • Read-path only: KuzuGraph.override_axis_rollup_for(method_id) adds virtual edge_summary keys for non-static method symbols: OVERRIDDEN_BY, OVERRIDDEN_BY.DECLARES_CLIENT, OVERRIDDEN_BY.EXPOSES, OVERRIDES (omitted when count is zero).
  • mcp_v2._edge_summary_for_node: merges override rollup in a disjoint elif from type rollup (constructors unchanged).
  • Docs: docs/AGENT-GUIDE.md, README.md, server.py describe strings.

Tests

Five new tests in tests/test_mcp_v2_compose.py (names per plan) plus tests/fixtures/override_axis_rollup_smoke/ for abstract+route and diamond scenarios. test_describe_method_symbol_no_composed_keys now only asserts absence of type-side DECLARES.* composed keys.

Manual validation

.venv/bin/ruff check .
.venv/bin/python -m pytest tests -q

(382 passed, 7 skipped in this environment.)

Re-index / ontology

None — no schema or indexer changes.

Made with Cursor

Co-authored-by: Cursor <cursoragent@cursor.com>
@HumanBean17 HumanBean17 merged commit 37738eb into master May 13, 2026
1 check passed
@HumanBean17 HumanBean17 deleted the cursor/describe-override-rollup-pr1 branch May 23, 2026 18:36
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