gabriel / musehub public
fix patch objects task/land-rc22c #7 / 12
AI Agent gabriel · 2 days ago · Nov 14, 2026 · Diff

fix(objects): completeness repair repoints rows whose mpack is gone; --bytes scan batched

Staging gabriel/muse-zsh: 43 object rows point into an mpack (96d74d2b, 2026-05-26) that does not exist in R2 (no index entries); 42 were reported unlinked and refused by --repair. The bytes survive in the repo's working copies (hash-verified). Repair now restores such rows from verified --repair-from bytes: stores a loose blob and repoints storage_uri ONLY when the current location yields nothing, then links. The --bytes check reads in batches of 200 through read_objects_bytes_required (it ran one object at a time and timed out on staging).

(applied from sha256:3f4b109607c262ce5c89f8c4b99f648295d8ae32b5cb3bb20690d360baabe44a on task/intel-rc15-release)

sha256:4a3b59d1812fc38ecfb6f736bba7018f73dfc578fb4fcea6d150a23aa4b85499 sha
+1 ~2 symbols
sha256:b3f488153687d27096539c5d793b2f78c98ad6a2b57bd2c736d3df5ce42dc8be snapshot
+1
symbol added
~2
symbols modified
0
dead code introduced
Semantic Changes 3 symbols
~ tests/test_object_completeness.py .py 1 symbol added
+ test_repair_repoints_a_row_whose_mpack_is_gone_using_verified_bytes function async_function test_repair_repoints_a_row_whose_mpack_is_gone_using_verified_bytes L124–147

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