/MRS-Specification-RFC#2-design-principles
Separation of Concerns: Semantic Model vs Representations
MRS is a semantic model plus protocols for safe editing. It may be represented in multiple ways depending on the audience and task.
Rationale: The architecture should not depend on a single file format. What matters is stable identity, deterministic application, and human-auditable changes.
Reliability consequence: Asking agents to emit complete, valid score fragments creates high failure rates from accidental omissions, calculation errors, and hallucinated references. Typed operations with orchestrator-derived fields eliminate entire error classes.
Orchestrator Authority
The orchestrator is the sole authority for:- UUID minting: Agents use temporary IDs; orchestrator assigns final UUIDs
- Derived field computation: Orchestrator computes
:at,:beat-start, etc. - Canonical state management: Single source of truth
- Validation and application: Progressive validation before state mutation
Stable Identity Over Positional Reference
Every measure, event, and span carries a stable UUIDv7 identifier. Measure numbers are display properties for human navigation, not structural identity.Progressive Validation
Operations are validated in stages before application:Task-Adaptive Context
Agents receive context views tailored to their specific task, not fixed “near/far” rings.
Rationale: Fixed rings may include irrelevant content and omit critical content. A countermelody task needs the melody it responds to, not “nearby measures at melodic-skeleton reduction.”