refactor
BREAKING
harmony
task/harmony-decompose
#8 / 13
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
+45
−9
symbols
sha256:5bb9a9314954a88975054754e89e7bae0dec860ce46b8ecbf931a188730ccd96
snapshot
+45
symbols added
−9
symbols removed
0
dead code introduced
Semantic Changes
54 symbols
+
_MAX_RESOLUTION_BYTES
variable
variable _MAX_RESOLUTION_BYTES L40–40 ← moved from muse/core/harmony/__init__.py
+
_dict_to_resolution
function
function _dict_to_resolution L61–79 ← moved from muse/core/harmony/__init__.py
+
_resolution_to_dict
function
function _resolution_to_dict L46–59 ← moved from muse/core/harmony/__init__.py
+
save_resolution
function
function save_resolution L85–130 ← moved from muse/core/harmony/__init__.py
−
_MAX_RESOLUTION_BYTES
variable
variable _MAX_RESOLUTION_BYTES L183–183 → moved to muse/core/harmony/resolutions.py
−
_dict_to_resolution
function
function _dict_to_resolution L219–237 → moved to muse/core/harmony/resolutions.py
−
_resolution_to_dict
function
function _resolution_to_dict L204–217 → moved to muse/core/harmony/resolutions.py
−
save_resolution
function
function save_resolution L291–336 → moved to muse/core/harmony/resolutions.py
Older
refactor(harmony): Phase 4 — extract patterns.py
sha256:cd613942f08fb261f6d94b89e93abaed26e6d4d57dba4de2aa0ff9f40be8c435
All commits
Newer
refactor(harmony): Phase 6 — extract audit.py
sha256:f85ef10979de86932a635d67bc0363742979e3d858f64b84f225f9a3368f5b01
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:1878da37bc07f1961cafe0f911bd4d538d1572cd18db3222e50d884612f4960e --body "your comment"
No comments yet. Be the first to start the discussion.