Skip to content

feat(kg): add fixed code graph query verbs#209

Merged
edheltzel merged 1 commit into
mainfrom
feat/kg-graph-query-205
Jun 28, 2026
Merged

feat(kg): add fixed code graph query verbs#209
edheltzel merged 1 commit into
mainfrom
feat/kg-graph-query-205

Conversation

@edheltzel

Copy link
Copy Markdown
Owner

Closes #205

Summary

  • add code graph traversal library for callers, callees, and bounded trace over code_edges
  • expose recall callers, recall callees, and recall trace fixed verbs
  • add friendly code graph capability guards for old/missing schema on index/query verbs
  • cover resolved, unresolved, trace, and guard behavior in command tests

Verification

  • bun test tests/commands/code-graph.test.ts tests/lib/code-indexer.test.ts
  • RECALL_DB_PATH=.tmp-recall-kg-205.db bun src/index.ts index src --project Recall
  • RECALL_DB_PATH=.tmp-recall-kg-205.db bun src/index.ts callers indexCode -p Recall
  • RECALL_DB_PATH=.tmp-recall-kg-205.db bun src/index.ts callees runIndexCode -p Recall
  • RECALL_DB_PATH=.tmp-recall-kg-205.db bun src/index.ts trace runIndexCode indexCode -p Recall
  • codegraph callers indexCode
  • codegraph callees runIndexCode
  • bun run lint
  • bun run build
  • bun test

@edheltzel edheltzel merged commit 5dff182 into main Jun 28, 2026
2 checks passed
edheltzel added a commit that referenced this pull request Jun 28, 2026
…-context

* origin/main:
  feat(kg): add code graph query verbs (#209)

# Conflicts:
#	src/index.ts
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.

Phase 2a: code-graph query layer — callers/callees/trace + capability guard

1 participant