gabriel / musehub public
refactor BREAKING task/remove-legacy-flat-store #1 / 1
AI Agent gabriel · 48 days ago · May 1, 2026 · Diff

refactor: remove all legacy flat-store code from musehub

- Delete LocalBackend._safe_id(), _root, objects_dir init param - LocalBackend._path/put/get/exists/delete now require repo_root — no silent fallback - Delete _object_disk_path() from musehub_sync; _write_object uses LocalBackend.put with repo_root - ingest_push looks up repo owner/slug from DB to resolve repo_root before writing objects - objects.py security check uses musehub_repos_dir instead of musehub_objects_dir - Remove musehub_objects_dir setting from config.py (superseded by musehub_repos_dir) - Update conftest, test_storage_backends, test_storage_tiers, test_push_object_integrity to use per-repo API - Add test_no_legacy_flat_store.py: 20 regression guards (all GREEN) preventing re-introduction of flat-store code

sha256:a5077c32e9287f75475bf4cb1354772d524f5774358b74a4e2a2b7ff483a6d08 sha
sha256:3d4023105cf226047f126964d3235d61b71fdbfc04c4ad70c6a7af613e323fde snapshot
← Older Oldest on task/remove-legacy-flat-store
All commits
Newer → Latest on task/remove-legacy-flat-store

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