Skip to main content
The orchestrator translates human-friendly references (measure numbers, rehearsal marks) to UUIDs for structural operations. See: /MRS-Specification-RFC#14-query-resolution

Why Query Resolution?

UUIDs provide stable identity, but humans think in:
  • Measure numbers (“measure 45”)
  • Rehearsal marks (“4 bars after B”)
  • Structural positions (“the development section”)
Query resolution bridges human intent and structural identity.

Query Types

Measure Number Resolution

Rehearsal Mark Resolution

Rehearsal Mark with Offset

“4 measures after rehearsal B”

Range Resolution

Section Resolution

Requires form analysis overlay.

Reverse Resolution

UUID to display information:
Useful for:
  • Generating human-readable error messages
  • Creating display hints in Working Sets
  • Logging and debugging

Resolution in Working Sets

Working Set Envelopes include display hints derived from query resolution:
The display hint is informational only—never used for structural reference.

Resolution Errors

Usage in Task Instructions

Human task instructions use friendly references:
“Add a clarinet countermelody from rehearsal B to 8 bars after B”
The orchestrator resolves:
  1. “rehearsal B” → #uuid "018c3f40-0020-..."
  2. “8 bars after B” → #uuid "018c3f40-0028-..."
And creates a Working Set with those UUIDs in scope.

Query Capabilities

Agents may request resolution:
Query request from agent: