feat(mpack-index): extend MusehubMPackIndex to cover commits and snapshots
Renamed MusehubPackIndex → MusehubMPackIndex (alias kept for in-flight callers). Schema changes (migration 0063): object_id → entity_id pack_id → mpack_id +entity_type VARCHAR(16) — 'object', 'commit', or 'snapshot'
process_mpack_index_job now writes index rows for all three entity types in one atomic batch. Fetch and GC queries updated to filter by entity_type='object' so they remain correct against the broader index.
Also fixes WIRE_CONTENT_TYPE import (moved from muse.core.mpack → muse.core.mwp during the rename sweep; musehub/api/routes/wire.py had the stale import).
TDD: tests/test_mpack_index_phase2.py covers PI-5 through PI-8.
sha256:f181d75c143fa6c0bae9455c0391fa8819530d51542b108ce6cb9086bb0115f5
sha
sha256:ab8aec78152e7306611dcd766b8fb3e8690bb0455ab1c343d79de05011a0d822
snapshot
Older
refactor: rename MPackBundle → MPack — the wire artifact is an m…
sha256:da1763fdcdc2ecbc9fe0828a94c58d6c1deb34d525842153669c0902aeba1797
All commits
Newer
fix(worker): handle pack.index alias, content.scan stub, and bro…
sha256:188cec49664631c051b1cec45fa6824ea61063647c496843a15af75a5f8afb99
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:f181d75c143fa6c0bae9455c0391fa8819530d51542b108ce6cb9086bb0115f5 --body "your comment"
No comments yet. Be the first to start the discussion.