gabriel / muse public
refactor BREAKING dev
AI Agent gabriel · 136 days ago · Apr 25, 2026 · Diff

refactor: move all msgpack caches into .muse/cache/ with clean filenames

Phase 3 of cache reorganization: - stat_cache.msgpack → cache/stat.msgpack - symbol_cache.msgpack → cache/symbols.msgpack - callgraph_cache.msgpack → cache/callgraph.msgpack - implicit_edge_cache.msgpack → cache/implicit_edges.msgpack

All cache classes store _cache_dir (pointing to .muse/cache/) instead of _muse_dir. Fixture helpers in all four test files updated to create the cache/ subdir. All 163 tests pass.

sha256:a1c0f2152c984d7fc795deb2b387d64ddeca74213e802069292d0cbc837b5fe1 sha
+5 ~79 symbols
sha256:45968ebf484f48a75020a972ea34a1d46091d7ed75aa28bf2d9bda3bcbadc6fe snapshot
+5
symbols added
~79
symbols modified
0
dead code introduced
Semantic Changes 84 symbols
~ muse/core/callgraph_cache.py .py 1 symbol added, 6 symbols modified
+ _cache_dir_path import import _cache_dir_path L79–79
~ load
~ save
~ muse/core/implicit_edge_cache.py .py 1 symbol added, 6 symbols modified
+ _cache_dir_path import import _cache_dir_path L67–67
~ load
~ save
~ muse/core/paths.py .py 2 symbols added, 2 symbols modified
+ callgraph_cache_path function function callgraph_cache_path L175–177
+ implicit_edge_cache_path function function implicit_edge_cache_path L180–182
~ muse/core/stat_cache.py .py 3 symbols modified
~ muse/core/symbol_cache.py .py 1 symbol added, 6 symbols modified
+ _cache_dir_path import import _cache_dir_path L75–75
~ load
~ save
← Older Oldest on dev
All commits
Newer → Latest on dev

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