gabriel / musehub public
feat patch mist task/mist-phase5-profile-canvas #1 / 1
AI Agent gabriel · 142 days ago · May 1, 2026 · Diff

feat(mist): phase 5 — mist domain in profile activity canvas

- Add _build_mist_vcs_grid() to musehub_profile.py — counts commits to repos with domain_id='mist' owned by handle, filtered to the 52-week window (same pattern as _build_code_grid with domain_id filter) - Add _grid_to_domain('mist', mist_grid) to build_activity_canvas return list, making 'mist' a first-class activity domain alongside code/midi - Canvas now returns 6 domains; empty/missing mist repos yield a zero grid

All 72 mist-domain tests pass (phases 1–5).

sha256:7d8fe38df0a34cbffa2cfd50ea9d3e354cb7eef70a79cc894cc86e8a66f07dd2 sha
+29 ~1 symbols
sha256:d31908d12f1ae5e514e3e00262bf55ea732196e4d3f0bc175eef0405ca77da47 snapshot
+29
symbols added
~1
symbol modified
0
dead code introduced
Semantic Changes 30 symbols
+ TestBuildMistVcsGrid class class TestBuildMistVcsGrid L202–251
+ test_mist_vcs_grid_counts_only_mist_domain_repos method async_method test_mist_vcs_grid_counts_only_mist_domain_repos L212–251
+ test_mist_vcs_grid_is_importable method async_method test_mist_vcs_grid_is_importable L204–209
+ TestMistCanvasEmptyRepo class class TestMistCanvasEmptyRepo L163–195
+ test_empty_mist_repo_yields_zero_grid method async_method test_empty_mist_repo_yields_zero_grid L165–179
+ test_no_mist_repos_yields_zero_grid method async_method test_no_mist_repos_yields_zero_grid L182–195
+ TestMistCanvasInclusion class class TestMistCanvasInclusion L107–156
+ test_build_activity_canvas_includes_mist_domain method async_method test_build_activity_canvas_includes_mist_domain L109–122
+ test_mist_domain_grid_has_correct_length method async_method test_mist_domain_grid_has_correct_length L125–139
+ test_mist_domain_total_reflects_commits method async_method test_mist_domain_total_reflects_commits L142–156
+ TestMistCanvasRegression class class TestMistCanvasRegression L258–291
+ test_all_five_original_domains_still_present method async_method test_all_five_original_domains_still_present L260–276
+ test_canvas_has_six_domains_total method async_method test_canvas_has_six_domains_total L279–291
+ _handle function function _handle L36–37
+ _make_repo function function _make_repo L44–58
+ _repo_id function function _repo_id L40–41
+ _seed_mist_repo_no_commits function async_function _seed_mist_repo_no_commits L91–100
+ _seed_mist_repo_with_commits function async_function _seed_mist_repo_with_commits L61–88
+ AsyncSession import import AsyncSession L26–26
+ annotations import import annotations L20–20
+ compute_identity_id import import compute_identity_id L29–29
+ compute_repo_id import import compute_repo_id L29–29
+ datetime import import datetime L23–23
+ db import import db L28–28
+ pytest import import pytest L25–25
+ timedelta import import timedelta L23–23
+ timezone import import timezone L23–23
+ uuid import import uuid L22–22
~ musehub/services/musehub_profile.py .py 1 symbol added, 1 symbol modified
+ _build_mist_vcs_grid function async_function _build_mist_vcs_grid L388–421
← Older Oldest on task/mist-phase5-profile-canvas
All commits
Newer → Latest on task/mist-phase5-profile-canvas

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