gabriel / muse public
refactor BREAKING harmony task/harmony-decompose #8 / 13
AI Agent gabriel · 20 days ago · May 22, 2026 · Diff

refactor(harmony): Phase 5 — extract resolutions.py

Move resolution CRUD and GC out of the harmony god-object into a focused muse/core/harmony/resolutions.py.

- resolutions.py: _MAX_RESOLUTION_BYTES, _resolution_to_dict, _dict_to_resolution, save_resolution, load_resolution, list_resolutions, increment_applied_count, best_resolution, gc_stale (250 lines) - __init__.py: re-exports all extracted symbols; duplicated bodies removed

707/707 harmony tests green.

sha256:1878da37bc07f1961cafe0f911bd4d538d1572cd18db3222e50d884612f4960e sha
sha256:5bb9a9314954a88975054754e89e7bae0dec860ce46b8ecbf931a188730ccd96 snapshot

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