gabriel / musehub public
fix BREAKING task/activity-canvas-real-domains #1 / 1
AI Agent gabriel · 142 days ago · May 2, 2026 · Diff

fix: activity canvas derives domains from actual repo data; remove commit activity block

- build_activity_canvas now discovers domains from the user's repo domain_ids instead of hardcoding code/music/midi/prose/mpay/mist - new _build_domain_commit_grid replaces _build_code_grid + _build_mist_vcs_grid; counts commits per domain_id - prose row only appears when the user has actual issue/proposal comments (non-zero) - identity and social repos excluded from canvas as internal system domains - domains with zero activity are suppressed — no phantom rows - template: removed Commit Activity heatmap block (human/agent conflation) - template: domain count in canvas header is now dynamic (matches actual rows shown) - template: removed the or dom.domain == 'code' force-show override - updated phase 5 tests to match new suppress-zeros semantics

sha256:8ff661d1808955fef85a42092124a828c19de5c6684e98206e278ace5f66f9d7 sha
+13 ~8 −10 symbols
sha256:dc5d52faf78ac4c433594cfab58fc75fdaaf7d430ccb1e0bfdb2a0fa52cdd49d snapshot
+13
symbols added
~8
symbols modified
−10
symbols removed
0
dead code introduced
Semantic Changes 31 symbols
~ musehub/services/musehub_profile.py .py 3 symbols added, 4 symbols removed, 5 symbols modified
_build_code_grid function async_function _build_code_grid L276–302
_build_mist_domain_grid function async_function _build_mist_domain_grid L361–386
_build_mist_vcs_grid function async_function _build_mist_vcs_grid L389–422
_build_mpay_grid function async_function _build_mpay_grid L339–358
+ _CANVAS_EXCLUDED_DOMAINS variable variable _CANVAS_EXCLUDED_DOMAINS L264–264
+ _build_domain_commit_grid function async_function _build_domain_commit_grid L279–313
+ distinct import import distinct L12–12
~ desc
~ func
~ select
~ text
~ tests/test_mist_phase5_profile_canvas.py .py 6 symbols added, 6 symbols removed, 3 symbols modified
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
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
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
+ test_domain_commit_grid_counts_only_target_domain method async_method test_domain_commit_grid_counts_only_target_domain L206–241
+ test_domain_commit_grid_is_importable method async_method test_domain_commit_grid_is_importable L198–203
+ test_empty_mist_repo_not_in_canvas method async_method test_empty_mist_repo_not_in_canvas L165–176
+ test_no_mist_repos_not_in_canvas method async_method test_no_mist_repos_not_in_canvas L179–189
+ test_canvas_only_includes_active_domains method async_method test_canvas_only_includes_active_domains L278–289
+ test_mist_and_code_both_shown_when_active method async_method test_mist_and_code_both_shown_when_active L250–275
+ test_canvas_empty_for_user_with_no_repos function async_function test_canvas_empty_for_user_with_no_repos L200–204
+ test_canvas_excludes_internal_domains function async_function test_canvas_excludes_internal_domains L247–276
+ test_canvas_prose_only_when_nonzero function async_function test_canvas_prose_only_when_nonzero L279–284
+ test_canvas_shows_only_domains_with_commits function async_function test_canvas_shows_only_domains_with_commits L207–244
← Older Oldest on task/activity-canvas-real-domains
All commits
Newer → Latest on task/activity-canvas-real-domains

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