gabriel / muse public
fix patch task/fix-restore-pack-fallback #1 / 1
AI Agent gabriel · 21 days ago · May 18, 2026 · Diff

fix: restore_object falls back to pack store for packed objects

When Phase 2 pack consolidation is active, objects live in pack files rather than loose under objects/sha256/. restore_object was only checking _object_path_with_fallback (loose store) and returning False on miss, causing apply_manifest to warn about missing objects during clone.

read_object already has the pack fallback via read_object_from_packs. Replicate that fallback in restore_object: when the loose path is absent, extract bytes from packs, persist to loose store (so the path-based copy path below can proceed), then continue as normal.

sha256:c971936fae98dc0787baba859a252251c64dab8b52aec0230418e3effcf33bd4 sha
sha256:16404a787f0d594561ef739a0e18eaf524205dcb8d05f5b0f165b8c5d7c38ebd snapshot
← Older Oldest on task/fix-restore-pack-fallback
All commits
Newer → Latest on task/fix-restore-pack-fallback

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