gabriel / muse public
fix task/fix-stale-tag-label-tests #1 / 1
AI Agent gabriel · 18 days ago · Jul 2, 2026 · Diff

fix: update stale tag tests to use label for free-form annotations

muse tag was formalized to strict SemVer version tags; the old free-form namespace:value use case (emotion:joyful, section:verse) moved to muse label. Several tests in test_cli_coverage_gaps.py and test_cli_workflow.py still exercised the old tag syntax:

- TestTagGaps.test_tag_list_for_specific_commit / test_tag_list_all_shows_all_tags: genuinely failed (muse tag add/list reject free-form strings and no longer accept a positional ref). Rewritten to use muse label, which supports both. - TestTagGaps.test_tag_add_unknown_ref_errors / test_tag_list_for_unknown_ref_errors: passed by coincidence (still non-zero exit, but for the wrong reason - bad tag name / bad CLI usage, not the unknown-ref path they were meant to test). Rewritten to isolate the actual ref-resolution error each test targets. - TestTag.test_add_and_list (test_cli_workflow.py): same rename to muse label for the free-form emotion:joyful case.

sha256:502e812e12319e30302d07d165425ceeb21687ad30e8af3a439b1f6de36c64d6 sha
~7 symbols
1120 changed · 1120 in snapshot files
sha256:400737028e7654fbfd90f82a3b86b3c7ce4a40422368b709afe9c0c4d46be8ce snapshot
~7
symbols modified
1120
files changed
1120
files in snapshot
0
dead code introduced
Semantic Changes 7 symbols
Files Changed
+1120
1120 in snapshot
+ .coverage .coverage
+ .museattributes .museattributes
+ .museignore .museignore
+ CLAUDE.md .md
+ README.md .md
+ dev-setup.sh .sh
+ pyproject.toml .toml
← Older Oldest on task/fix-stale-tag-label-tests
All commits
Newer → Latest on task/fix-stale-tag-label-tests

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