feat(storage): phase 5 — stage index uses plain JSON, not binary msgpack
- code_stage_path() returns .muse/code/stage.json (was stage.msgpack) - write_stage() writes UTF-8 JSON with atomic fsync+rename - read_stage() parses JSON; returns {} silently for old msgpack bytes (byte > 0x7F guard) - _STAGE_VERSION bumped to 3 to invalidate any existing msgpack stage files - Removed obsolete stage.json → stage.msgpack migration block - test_phase5_stage_index_json.py: 16 new tests covering all Phase 5 requirements - test_code_stage.py: updated legacy migration test to reflect JSON-as-primary
Issue: #12
sha256:3ffc2032aee173bfba8c74b0a4ca26a68acb6618c0eee270ac23ff73277d8e0c
sha
sha256:789d3b51b399b29afac4f617286819ddc915da9fcdac3e085d657f1803e7df61
snapshot
Older
feat(storage): phase 4 — shelf entries use git-header+JSON, no e…
sha256:5cb3eb55c96351accd2253e726ac0d2d101dd39919315e3d00fca4379852e58d
All commits
Newer
feat(phase6): migrate caches and indices from msgpack to plain JSON
sha256:0d0f1e8e12ca5e534d95434172695b0613daa260285c456f0679e254535d2a25
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:3ffc2032aee173bfba8c74b0a4ca26a68acb6618c0eee270ac23ff73277d8e0c --body "your comment"
No comments yet. Be the first to start the discussion.