gabriel / musehub public
feat patch mist task/mist-phase1-intel-pipeline #1 / 1
AI Agent gabriel · 142 days ago · May 1, 2026 · Diff

feat(mist): Phase 1 — wire intel.mist into dispatch pipeline + MistProvider

- Add 'intel.mist' branch in job_types_for_push() for domain_id='mist' - Implement MistProvider: re-extracts symbol anchors from mist.content, refreshes mist.symbol_anchors in the DB, returns mist.anchors intel result - Register MistProvider as 'intel.mist' in _PROVIDER_REGISTRY - 16 TDD tests: dispatch coverage, protocol check, anchor extraction, binary artifact graceful handling, idempotent upsert, full persist pipeline

sha256:6e142baa7e436c09a3a91826163c90cb06cd77683947250d6961afe2f5ed1379 sha
+35 ~2 symbols
sha256:7fc352227b32c833480e7a68bb17ea8abbd355e9a75a16f279eb3700ec3401f1 snapshot
+35
symbols added
~2
symbols modified
0
dead code introduced
Semantic Changes 37 symbols
+ TestJobTypesForPush class class TestJobTypesForPush L101–149
+ test_code_domain_unaffected method method test_code_domain_unaffected L130–135
+ test_midi_domain_unaffected method method test_midi_domain_unaffected L137–142
+ test_mist_domain_always_includes_gc method method test_mist_domain_always_includes_gc L116–120
+ test_mist_domain_always_includes_structural method method test_mist_domain_always_includes_structural L110–114
+ test_mist_domain_dispatches_intel_mist method method test_mist_domain_dispatches_intel_mist L102–108
+ test_mist_domain_does_not_include_intel_code method method test_mist_domain_does_not_include_intel_code L122–128
+ test_none_domain_defaults_to_code method method test_none_domain_defaults_to_code L144–149
+ TestMistProviderCompute class class TestMistProviderCompute L180–377
+ test_anchor_count_matches_symbol_anchors_length method async_method test_anchor_count_matches_symbol_anchors_length L211–230
+ test_binary_artifact_produces_zero_anchors method async_method test_binary_artifact_produces_zero_anchors L233–255
+ test_extracts_anchors_for_python_artifact method async_method test_extracts_anchors_for_python_artifact L182–208
+ test_no_mist_for_repo_returns_empty method async_method test_no_mist_for_repo_returns_empty L258–284
+ test_persist_is_idempotent method async_method test_persist_is_idempotent L347–377
+ test_results_persisted_via_persist_intel_results method async_method test_results_persisted_via_persist_intel_results L312–344
+ test_updates_symbol_anchors_on_mist_row method async_method test_updates_symbol_anchors_on_mist_row L287–309
+ TestProviderRegistry class class TestProviderRegistry L156–173
+ test_intel_mist_is_registered method method test_intel_mist_is_registered L157–162
+ test_intel_mist_satisfies_protocol method method test_intel_mist_satisfies_protocol L164–173
+ _now function function _now L30–31
+ _repo_id function function _repo_id L38–44
+ _seed_mist function async_function _seed_mist L47–94
+ _uid function function _uid L34–35
+ AsyncSession import import AsyncSession L20–20
+ annotations import import annotations L13–13
+ compute_identity_id import import compute_identity_id L23–23
+ compute_repo_id import import compute_repo_id L23–23
+ datetime import import datetime L16–16
+ db import import db L22–22
+ pytest import import pytest L18–18
+ select import import select L19–19
+ timezone import import timezone L16–16
+ uuid import import uuid L15–15
~ musehub/services/musehub_intel_providers.py .py 2 symbols added, 2 symbols modified
+ MistProvider class class MistProvider L236–286
+ compute method async_method compute L251–286
← Older Oldest on task/mist-phase1-intel-pipeline
All commits
Newer → Latest on task/mist-phase1-intel-pipeline

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