refactor: replace MusehubCommit/Snapshot.repo_id with MusehubCommitRef/SnapshotRef joins
Remove all query-site references to the removed repo_id column on MusehubCommit and MusehubSnapshot. Every SELECT that filtered by commit.repo_id now joins through MusehubCommitRef (or MusehubSnapshotRef) to resolve repo membership.
Fixes issue #61 — muse clone after push from a shutil.copytree'd repo returned an empty bundle because the global content-addressed object model was violated by the now-removed repo_id column.
Files updated: sitemap, topics, ui (hero stats), ui_agents, ui_blame, ui_commits, ui_proposals, ui_releases, ui_symbols, ui_topics, ui_user_profile, ui_view, users, services/musehub_symbol_indexer, deploy/backfill_intel_jobs, deploy/backfill_move_to_address, tests (gc, gc_background_tasks, bundle_push_async, identity_repo_phase2/3, commit_meta_promotion, object_store_canonical, push_commit_created_at).
0 comments
muse hub commit comment sha256:cf5be13b6b7093777bdf3edec21500eb05383f7447f2d0a0f32d31878c0bbbe3 --body "your comment"
No comments yet. Be the first to start the discussion.