gabriel / muse public
feat BREAKING phase6 dev #82 / 100
AI Agent gabriel · 20 days ago · May 21, 2026 · Diff

feat(phase6): migrate caches and indices from msgpack to plain JSON

- cache_base.py: replace msgpack with json; add binary-format guard (raw[0] > 0x7F → cache miss) - stat_cache: _CACHE_VERSION 3→4, _CACHE_FILENAME stat.msgpack→stat.json - callgraph_cache: _CACHE_VERSION 1→2, filename callgraph.msgpack→callgraph.json - symbol_cache: _CACHE_VERSION 1→2, filename symbols.msgpack→symbols.json - implicit_edge_cache: _CACHE_VERSION 1→2, filename implicit_edges.msgpack→implicit_edges.json - _invariants.py: _FILE_CACHE_VERSION 1→2, filename invariants.msgpack→invariants.json - test_history.py: _HISTORY_VERSION 1→2, filename test_history.msgpack→test_history.json - indices.py: _index_path uses .json; _read_msgpack→_read_json; serialise with json not msgpack - paths.py: all cache/index path helpers return .json filenames - tests: add test_phase6_caches_indices_json.py (20 tests); update existing test files to reflect new extensions and versions

sha256:0d0f1e8e12ca5e534d95434172695b0613daa260285c456f0679e254535d2a25 sha
sha256:9ee81dd8770e0d39b71da464942ae702ed1b5fe9534d9cc31f2c01a36d90daa8 snapshot

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