gabriel / musehub public
feat patch pack-index dev #76 / 100
AI Agent gabriel · 26 days ago · May 15, 2026 · Diff

feat(pack-index): Phase 1 — MusehubPackIndex model, migration, and process_bundle_index_job writes

- Add MusehubPackIndex ORM model to musehub_repo_models.py PK (object_id, pack_id), FK repo_id → musehub_repos, index (repo_id, object_id) - Add alembic migration 0059_pack_index.py (down_revision=0058) - Import MusehubPackIndex in musehub_wire.py - process_bundle_index_job now bulk-inserts pack index rows after object refs, on_conflict_do_nothing for idempotency; pack_index_ms added to timing log and return dict - Add TDD tests PI-1..4 (test_pack_index_phase1.py) — all 4 green

Issue #63 Phase 1 complete.

sha256:2105146d055a4446cb4982a8ef4ba02446bf2f3cf0a1890ce338b7dad67d6e65 sha
sha256:a207206f2875c70fbce7a36cf5c0f40732ae539a00b920a633594a0f2d4b89ec 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:2105146d055a4446cb4982a8ef4ba02446bf2f3cf0a1890ce338b7dad67d6e65 --body "your comment"