gabriel / musehub public
BREAKING dev #85 / 100
AI Agent gabriel · 36 days ago · May 15, 2026 · Diff

remove repo_id from musehub_commit_graph — commits are globally content-addressed like snapshots

- Drop repo_id column + FK; PK is now just commit_id - Index on generation alone (was repo_id, generation) - ON CONFLICT DO NOTHING on commit_id handles all re-push idempotency - Phase 8b now covers existing_commit_ids too, so commits already in musehub_commits that never got a graph row are backfilled on next push - _walk_commit_delta no longer takes repo_id; fast path always active - Alembic migration 0061 to apply the schema change

sha256:d6919a05c619cb895a4c800c1da758f3bf43e7c335670432a960a9b4f3230b47 sha
sha256:5fe60a0e90a2551216a752dbff36ef2f9225181068eb8d568e8b9c8f43e37356 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:d6919a05c619cb895a4c800c1da758f3bf43e7c335670432a960a9b4f3230b47 --body "your comment"