gabriel / musehub public
refactor task/phase3-db-walk-dag-async #1 / 1
AI Agent gabriel · 38 days ago · May 9, 2026 · Diff

refactor: replace DB-query BFS with walk_dag_async (issue #40 phase 3)

Migrate all Category B (async DB-query) inline walk sites to walk_dag_async: - _walk_new_commits (musehub_symbol_indexer): two DFS branches (stop_at and bulk) replaced with walk_dag_async + async adjacency closures - _resolve_ancestor_manifest (musehub_proposals): depth-limited while-frontier and while-fid walks replaced with two walk_dag_async calls (max_nodes=200) - _is_ancestor_db (musehub_wire): batched while-frontier BFS replaced with walk_dag_async + scalar_one_or_none adjacency (max_nodes=max_hops)

Add 9 TDD tests (P3-1 through P3-9): 4 structural + 5 behavioural. All 28 unit tests across phases 1-3 green.

sha256:d226e4e736f25f8e3f7182f6ed791be3dbf9eef202bad61d980e449a697194a9 sha
sha256:e5a021c99afbbbfcb78189ee70d4e7c36a94edce509afba754d6aa13f1fdb0a4 snapshot
← Older Oldest on task/phase3-db-walk-dag-async
All commits
Newer → Latest on task/phase3-db-walk-dag-async

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:d226e4e736f25f8e3f7182f6ed791be3dbf9eef202bad61d980e449a697194a9 --body "your comment"