refactor
BREAKING
harmony
task/harmony-decompose
#9 / 13
refactor(harmony): Phase 4 — extract patterns.py
Move pattern CRUD, _write_atomic, and serialisation helpers out of the 2210-line harmony __init__.py into a focused muse/core/harmony/patterns.py.
- patterns.py: _MAX_PATTERN_BYTES, _MAX_SCAN, _write_atomic, _pattern_to_dict, _dict_to_pattern, record_pattern, load_pattern, list_patterns, forget_pattern, clear_all (189 lines) - __init__.py: re-exports all extracted symbols; duplicated bodies removed - test_harmony_phase1.py: monkeypatch now targets muse.core.harmony.patterns directly for _MAX_SCAN after it moved out of __init__.py
707/707 harmony tests green.
sha256:cd613942f08fb261f6d94b89e93abaed26e6d4d57dba4de2aa0ff9f40be8c435
sha
sha256:2b850cee18f85af32f3b9aacf941011e1543d8c61da5906ebbcc0604f5cf98b2
snapshot
Older
refactor(harmony): Phase 3 — extract fingerprint.py
sha256:8104248901e3a4babe475281ea319cb8a689b1cfa7131e5893e239da5af4106b
All commits
Newer
refactor(harmony): Phase 5 — extract resolutions.py
sha256:1878da37bc07f1961cafe0f911bd4d538d1572cd18db3222e50d884612f4960e
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:cd613942f08fb261f6d94b89e93abaed26e6d4d57dba4de2aa0ff9f40be8c435 --body "your comment"
No comments yet. Be the first to start the discussion.