gabriel / musehub public
feat BREAKING mist task/mist-phase3-snapshot-indexer #1 / 1
AI Agent gabriel · 48 days ago · May 1, 2026 · Diff

feat(mist): Phase 3 — snapshot indexer writes anchors to normalized tables

- New musehub/services/musehub_mist_indexer.py: build_mist_anchor_index(session, repo_id, head_commit_id): walks HEAD commit → snapshot_id → manifest → MusehubObject (content_cache / disk / S3) → extract_mist_symbol_anchors → upserts into musehub_symbol_history_entries (ON CONFLICT DO NOTHING) and musehub_symbol_intel (upsert on repo_id+address); returns mist.anchor_index intel result tuple - musehub_intel_providers.py MistProvider.compute refactored: always calls build_mist_anchor_index first (VCS + API paths); appends mist.anchors blob result only when MusehubMist row exists (API path) - 13 TDD tests: importability, history entry fields, multiple artifacts, binary skip, symbol intel rows, idempotency, missing object graceful skip, commit without snapshot, result tuple shape, MistProvider delegation

sha256:2b25b8ee68018f1375948dc273cae101d091c6f23afc056cf216758c3ba43c94 sha
sha256:e090fe3ec11ac6f1efd543763d17a29fba8fdb3a97c596baf77dade9ed44be64 snapshot
← Older Oldest on task/mist-phase3-snapshot-indexer
All commits
Newer → Latest on task/mist-phase3-snapshot-indexer

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