instruments
instruments
¶
Instrument resolver — produces per-agent per-sheet instrument assignments.
Resolution order: 1. Start with defaults for each phase type (recon, plan, work, etc.) 2. Apply per-agent overrides 3. For each sheet, resolve the primary + full fallback chain 4. Emit per_sheet_instruments and per_sheet_instrument_config in the score YAML 5. Every sheet gets the full instrument catalog as its tail — no dead ends
Classes¶
InstrumentResolver
¶
Resolves per-sheet instrument assignments with deep fallback chains.
Produces a matrix of primary instruments and fallback chains for every sheet in the cycle. Free-tier models are the defaults; paid models are power-ups available in the fallback chain.
Functions¶
resolve
¶
Resolve instrument assignments for an agent.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
agent_def
|
dict[str, Any]
|
Agent definition with optional instrument overrides. |
required |
defaults
|
dict[str, Any]
|
Global defaults with instrument definitions per tier. |
required |
Returns:
| Type | Description |
|---|---|
dict[str, Any]
|
Dict with keys:
|