gabriel / musehub public
feat BREAKING task/phase2-drop-dead-tables #1 / 1
AI Agent gabriel · 124 days ago · May 12, 2026 · Diff

feat: Phase 2 dead table removal — drop muse_objects and muse_tags

Both tables had zero read/write paths in application code: - muse_objects: intended CLI blob cache, never implemented (roadmap E-01) - muse_tags: music-semantic commit tags, superseded by musehub_repos.tags JSON

Migration 0056 drops both tables. ORM classes MuseCliObject and MuseCliTag deleted. Dead re-exports removed from musehub/muse_cli/models.py. models.py tombstone file deleted. Stale docstring in ui.py corrected. All models.py import references updated to remove the deleted module.

sha256:45a8a521ce7cc99c6c43c3ddb4995e64f2aed03f01bb4a988a9249fdbf98e593 sha
+8 ~13 −8 symbols
sha256:04a72574e7b556e8d8dbcdb3f20e2a7fa17ab26ae4f9d560623af522dd1ea8fc snapshot
+8
symbols added
~13
symbols modified
−8
symbols removed
0
dead code introduced
Semantic Changes 29 symbols
+ branch_labels variable variable branch_labels L21–21
+ depends_on variable variable depends_on L22–22
+ down_revision variable variable down_revision L20–20
+ downgrade function function downgrade L30–49
+ annotations import import annotations L15–15
+ op import import op L17–17
+ revision variable variable revision L19–19
+ upgrade function function upgrade L25–27
~ alembic/env.py .py 1 symbol removed
models import import models L15–15
~ musehub/db/database.py .py 1 symbol modified
~ musehub/db/muse_cli_models.py .py 5 symbols removed, 4 symbols modified
MuseCliObject class class MuseCliObject L19–31
__repr__ method method __repr__ L30–31
MuseCliTag class class MuseCliTag L85–104
__repr__ method method __repr__ L103–104
Integer import import Integer L9–9
~ String
~ Text
~ musehub/muse_cli/models.py .py 2 symbols removed, 3 symbols modified
MuseCliObject import import MuseCliObject L9–9
MuseCliTag import import MuseCliTag L9–9
← Older Oldest on task/phase2-drop-dead-tables
All commits
Newer → Latest on task/phase2-drop-dead-tables

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