gabriel / muse public
refactor BREAKING task/store-phase7-caller-migration #3 / 5
AI Agent gabriel · 119 days ago · May 22, 2026 · Diff

refactor: delete muse/core/store.py — Phase 7 complete

store.py was a 2571-line god object. After phased extraction into muse.core.io, muse.core.refs, muse.core.commits, muse.core.snapshots, muse.core.tags, muse.core.releases, and muse.core.shelf, and migration of all 415 callers to import from those focused modules directly, store.py has no remaining callers and is deleted.

Completes issue #13 — muse/core/store.py no longer exists.

sha256:5a241084dfdc27196595aaccd07f89932ad25c5c863330826d36e854efb72065 sha
−132 symbols
sha256:a460a1ec5abc77a28295e77715ef39782e59292c4e62f639800adfb211490bd4 snapshot
−132
symbols removed
0
dead code introduced
Semantic Changes 132 symbols
~ muse/core/store.py .py 132 symbols removed
ApiChangeSummary import import ApiChangeSummary L85–85
BranchHeads import import BranchHeads L118–118
ChangelogEntry import import ChangelogEntry L85–85
CommitDict import import CommitDict L154–154
CommitReadCorrupt import import CommitReadCorrupt L154–154
CommitReadNotFound import import CommitReadNotFound L154–154
CommitReadOk import import CommitReadOk L154–154
CommitRecord import import CommitRecord L154–154
DetachedHead import import DetachedHead L130–130
FileHotspot import import FileHotspot L85–85
HeadState import import HeadState L130–130
JsonValue import import JsonValue L118–118
LanguageStat import import LanguageStat L85–85
MAX_MSGPACK_BYTES import import MAX_MSGPACK_BYTES L69–69
MAX_PACK_MSGPACK_BYTES import import MAX_PACK_MSGPACK_BYTES L69–69
MUSE_DIR import import MUSE_DIR L118–118
Manifest import import Manifest L118–118
Metadata import import Metadata L118–118
MissingParentError import import MissingParentError L154–154
MsgpackDict import import MsgpackDict L118–118
MsgpackValue import import MsgpackValue L118–118
RefConflictError import import RefConflictError L130–130
RefactorEventSummary import import RefactorEventSummary L85–85
ReleaseChannel import import ReleaseChannel L85–85
ReleaseDict import import ReleaseDict L213–213
ReleaseRecord import import ReleaseRecord L213–213
SemVerTag import import SemVerTag L85–85
SemanticReleaseReport import import SemanticReleaseReport L85–85
SnapshotDict import import SnapshotDict L184–184
SnapshotReadCorrupt import import SnapshotReadCorrupt L184–184
SnapshotReadNotFound import import SnapshotReadNotFound L184–184
SnapshotReadOk import import SnapshotReadOk L184–184
SnapshotRecord import import SnapshotRecord L184–184
SymbolKindCount import import SymbolKindCount L85–85
SymbolicHead import import SymbolicHead L130–130
TagDict import import TagDict L201–201
TagRecord import import TagRecord L201–201
WalkResult import import WalkResult L154–154
_ChannelMap import import _ChannelMap L85–85
_SNAPSHOT_SCHEMA_VERSION import import _SNAPSHOT_SCHEMA_VERSION L184–184
_ZSTD_COMPRESS_THRESHOLD import import _ZSTD_COMPRESS_THRESHOLD L69–69
_ZSTD_MAGIC import import _ZSTD_MAGIC L69–69
_find_commit_by_prefix import import _find_commit_by_prefix L154–154
_float_val import import _float_val L146–146
_int_val import import _int_val L146–146
_known_commits_dirs import import _known_commits_dirs L154–154
_parse_changelog_entries import import _parse_changelog_entries L213–213
_parse_semver_tag import import _parse_semver_tag L213–213
_read_msgpack import import _read_msgpack L69–69
_read_msgpack_dict import import _read_msgpack_dict L69–69
_read_release_or_migrate import import _read_release_or_migrate L213–213
_read_shelf_file import import _read_shelf_file L229–229
_read_tag_or_migrate import import _read_tag_or_migrate L201–201
_resolve_branch_commit_id import import _resolve_branch_commit_id L154–154
_sem_ver_bump_val import import _sem_ver_bump_val L213–213
_str_dict import import _str_dict L146–146
_str_list import import _str_list L146–146
_str_or_none import import _str_or_none L146–146
_str_val import import _str_val L146–146
_validated_store_parents import import _validated_store_parents L69–69
_verify_commit_id import import _verify_commit_id L154–154
_verify_snapshot_id import import _verify_snapshot_id L184–184
_write_json_atomic import import _write_json_atomic L69–69
_write_shelf_header_atomic import import _write_shelf_header_atomic L69–69
_zstd_compress import import _zstd_compress L69–69
build_changelog import import build_changelog L213–213
commit_exists import import commit_exists L154–154
commit_path import import commit_path L154–154
commit_read_is_corrupt import import commit_read_is_corrupt L154–154
commit_read_is_not_found import import commit_read_is_not_found L154–154
commit_read_is_ok import import commit_read_is_ok L154–154
compute_release_id import import compute_release_id L213–213
compute_tag_id import import compute_tag_id L201–201
content_hash import import content_hash L118–118
delete_release import import delete_release L213–213
delete_shelf_entry import import delete_shelf_entry L229–229
delete_tag import import delete_tag L201–201
find_commits_by_prefix import import find_commits_by_prefix L154–154
get_all_branch_heads import import get_all_branch_heads L130–130
get_all_commits import import get_all_commits L154–154
get_all_tags import import get_all_tags L201–201
get_commit_snapshot_manifest import import get_commit_snapshot_manifest L184–184
get_commits_for_branch import import get_commits_for_branch L154–154
get_head_commit_id import import get_head_commit_id L130–130
get_head_snapshot_id import import get_head_snapshot_id L154–154
get_head_snapshot_manifest import import get_head_snapshot_manifest L184–184
get_release_for_tag import import get_release_for_tag L213–213
get_tag_by_name import import get_tag_by_name L201–201
get_tags_for_commit import import get_tags_for_commit L201–201
iter_branch_refs import import iter_branch_refs L130–130
list_releases import import list_releases L213–213
list_shelf_entries import import list_shelf_entries L229–229
logging import import logging L67–67
long_id import import long_id L118–118
overwrite_commit import import overwrite_commit L154–154
parse_semver import import parse_semver L85–85
read_commit import import read_commit L154–154
read_commit_result import import read_commit_result L154–154
read_current_branch import import read_current_branch L130–130
read_head import import read_head L130–130
read_msgpack_file import import read_msgpack_file L69–69
read_ref import import read_ref L130–130
read_release import import read_release L213–213
read_shelf_entry import import read_shelf_entry L229–229
read_snapshot import import read_snapshot L184–184
read_snapshot_result import import read_snapshot_result L184–184
release_path import import release_path L213–213
resolve_any_ref import import resolve_any_ref L130–130
resolve_commit_ref import import resolve_commit_ref L154–154
safe_unpackb import import safe_unpackb L69–69
semver_channel import import semver_channel L85–85
semver_to_str import import semver_to_str L85–85
shelf_entry_path import import shelf_entry_path L229–229
short_id import import short_id L118–118
snapshot_path import import snapshot_path L184–184
snapshot_read_is_corrupt import import snapshot_read_is_corrupt L184–184
snapshot_read_is_ok import import snapshot_read_is_ok L184–184
tag_path import import tag_path L201–201
update_commit_metadata import import update_commit_metadata L154–154
walk_commits_between import import walk_commits_between L154–154
walk_commits_between_result import import walk_commits_between_result L154–154
write_branch_ref import import write_branch_ref L130–130
write_commit import import write_commit L154–154
write_head_branch import import write_head_branch L130–130
write_head_commit import import write_head_commit L130–130
write_release import import write_release L213–213
write_shelf_entry import import write_shelf_entry L229–229
write_snapshot import import write_snapshot L184–184
write_tag import import write_tag L201–201
write_text_atomic import import write_text_atomic L69–69
zstd_decompress_if_needed import import zstd_decompress_if_needed L69–69
logger variable variable logger L101–101

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