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

feat: Phase 2 — migrate stat_cache to .muse/cache/

- paths.py: add stat_cache_path(root) → .muse/cache/stat_cache.msgpack - stat_cache.py: rename _muse_dir → _cache_dir; load() derives cache_dir from muse_dir / 'cache'; save() calls mkdir(parents=True) so the dir is auto-created on existing repos that pre-date Phase 1 - tests: _make_muse_dir creates cache/ subdir; all path assertions and corrupt-file fixtures updated to .muse/cache/ location

sha256:0a7a735bcc546c1c7980087427be5dcd7e967890a390ef1bbd504d8fa9ed1271 sha
+4 ~19 −2 symbols
sha256:ef2ecaf5098e7da63d9d4c98f7775af450c51f7887e1babd9205e36eb795ff04 snapshot
+4
symbols added
~19
symbols modified
−2
symbols removed
0
dead code introduced
Semantic Changes 25 symbols
~ muse/core/paths.py .py 1 symbol added
+ stat_cache_path function function stat_cache_path L165–167
~ muse/core/stat_cache.py .py 1 symbol added, 5 symbols modified
+ _cache_dir_path import import _cache_dir_path L81–81
~ load
~ save
~ tests/test_core_stat_cache.py .py 2 symbols added, 2 symbols removed, 12 symbols modified
← 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:0a7a735bcc546c1c7980087427be5dcd7e967890a390ef1bbd504d8fa9ed1271 --body "your comment"