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
0 comments
muse hub commit comment sha256:0d0f1e8e12ca5e534d95434172695b0613daa260285c456f0679e254535d2a25 --body "your comment"
No comments yet. Be the first to start the discussion.