gabriel / musehub public
refactor BREAKING task/remove-repo-id-from-commit-snapshot #1 / 1
AI Agent gabriel · 26 days ago · May 14, 2026 · Diff

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).

sha256:cf5be13b6b7093777bdf3edec21500eb05383f7447f2d0a0f32d31878c0bbbe3 sha
sha256:aab642ad49ef7e418346c2461cc87998be221ed8936292a8ac9f5844a9a46d8a snapshot
← Older Oldest on task/remove-repo-id-from-commit-snapshot
All commits
Newer → Latest on task/remove-repo-id-from-commit-snapshot

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:cf5be13b6b7093777bdf3edec21500eb05383f7447f2d0a0f32d31878c0bbbe3 --body "your comment"