refactor(harmony): Phase 8 — extract escalations + engine into package submodules
- Add muse/core/harmony/escalations.py with _MAX_ESCALATION_BYTES, _escalation_to_dict, _dict_to_escalation, record_escalation, load_escalation, list_escalations, resolve_escalation - Add muse/core/harmony/engine.py — move harmony_engine.py into the package with relative imports; exposes EngineStatus, HarmonyPlugin, DefaultPlugin, EngineConfig, EngineResult, find_similar, resolve - Delete muse/core/harmony_engine.py (now muse.core.harmony.engine) - Update 5 call sites: cli/commands/harmony.py (3 sites), plugins/code_harmony.py, tests/test_harmony_engine.py, tests/test_code_harmony_plugin.py - Trim __init__.py: remove unused stdlib imports (datetime, json, os, tempfile, Mapping, dc_replace) and unused muse.core.types names (JsonValue, load_json_file, long_id); only logging + pathlib remain - All 707 harmony tests pass
0 comments
muse hub commit comment sha256:340607e5ffa9f61ae5150b14dde6ebfa3085efe24cba3d01840a765e244f97f2 --body "your comment"
No comments yet. Be the first to start the discussion.