Skip to content

Migrate graph storage from KuzuDB to LadybugDB#302

Merged
HumanBean17 merged 2 commits into
masterfrom
propose/ladybug-migrate
Jun 8, 2026
Merged

Migrate graph storage from KuzuDB to LadybugDB#302
HumanBean17 merged 2 commits into
masterfrom
propose/ladybug-migrate

Conversation

@HumanBean17

Copy link
Copy Markdown
Owner

Summary

  • Replace the archived kuzu dependency with its maintained fork ladybug (same core team, MIT licensed, actively developed).
  • This PR currently contains the proposal (propose/active/LADYBUG-DB-MIGRATE-PROPOSE.md) and the implementation plan (plans/active/PLAN-LADYBUG-DB-MIGRATE.md).
  • The implementation will be a single PR with purely mechanical renames across 43 Python files and 11 markdown docs: import kuzuimport ladybug, KuzuGraphLadybugGraph, kuzu_queriesladybug_queries, --kuzu-path--ladybug-path, code_graph.kuzucode_graph.lbug.

Key decisions

Decision Choice Rationale
Compatibility shim Clean break Repo allows breaking changes
kuzu_type rename graph_type Engine-agnostic, avoids future rename
Dependency pin ladybug>=0.17.1,<0.18 Mirrors existing strict minor pin
DB file extension .lbug Short, unique, no collisions
Ontology bump None required No enrichment semantics change

Test plan

  • Full test suite passes after mechanical rename (.venv/bin/python -m pytest tests -v)
  • Graph builder smoke produces valid .lbug database from bank-chat fixture
  • grep -ri "kuzu" --include="*.py" returns zero hits
  • grep -ri "kuzu" --include="*.md" AGENTS.md README.md docs/ tests/README.md returns zero hits
  • .venv/bin/ruff check . passes

🤖 Generated with Claude Code

HumanBean17 and others added 2 commits June 8, 2026 23:10
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@HumanBean17 HumanBean17 merged commit d36ed2f into master Jun 8, 2026
1 check 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