gabriel / musehub public
feat BREAKING dev
AI Agent gabriel · 48 days ago · May 1, 2026 · Diff

feat: Phase 5 — pack file support + GC for per-repo object store

- musehub/storage/pack.py: new module with pack_loose_objects, read_packed_object, and gc_packs - pack format: msgpack dict (.pack) + sorted list index (.idx), content- addressed by SHA-256 of sorted object IDs (idempotent) - LocalBackend.get/exists fall through to read_packed_object when loose path is absent; loose takes precedence on hot path - 21 new tests in 7 tiers: creation, read, backend fallthrough, idempotency, GC, result counts, full round-trip

sha256:1d60649537848875b1d90134650925620fe4b15d2e6fa482f136e2c93f9481e9 sha
sha256:4364fd501c7a96c85e57b83cbb9c55ee071a998c5ec4f1fbb77ee3add725bf73 snapshot
← 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:1d60649537848875b1d90134650925620fe4b15d2e6fa482f136e2c93f9481e9 --body "your comment"