refactor(harmony): Phase 1 — extract types.py
Convert muse/core/harmony.py (flat file, 2210 lines) to muse/core/harmony/ package. Phase 1 moves all dataclasses, TypedDicts, and open constant namespaces to types.py.
New layout ---------- muse/core/harmony/ __init__.py — full public API (re-exports types + all logic inline) types.py — ConflictType, ResolutionStrategy, PolicyAction, PolicyScope, AuditEventType, EscalationStatus, AgentProvenance, PolicyCondition, ConflictPattern, Resolution, Policy, ResolutionProposal, EscalationRecord, _PatternDict, _ResolutionDict, _PolicyConditionDict, _PolicyDict, AuditEvent, _EscalationDict, + type aliases (_ConflictDescription, _AuditMetadata, _ProvenanceDict)
Deleted ------- muse/core/harmony.py — replaced by the package
External callers unchanged -------------------------- All existing `from muse.core.harmony import X` statements continue to work without modification — __init__.py re-exports the full prior API. Verified: muse/cli/commands/commit.py, merge.py, harmony.py, muse/core/bridge/harmony_shelf.py, muse/core/harmony_engine.py.
Test result: 707 passed / 0 failed (baseline: 707 passed)
Semantic Changes
86 symbols
0 comments
muse hub commit comment sha256:5656b6361255f887ab64af2a48127c0dfbfec071a9dbaaa975c2a3267d733c0f --body "your comment"
No comments yet. Be the first to start the discussion.