livepilot 1.26.0 → 1.26.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (191) hide show
  1. package/CHANGELOG.md +41 -0
  2. package/README.md +1 -1
  3. package/installer/codex.js +87 -9
  4. package/livepilot/.Codex-plugin/plugin.json +8 -0
  5. package/livepilot/.claude-plugin/plugin.json +8 -0
  6. package/livepilot/.mcp.json +8 -0
  7. package/livepilot/agents/livepilot-producer/AGENT.md +314 -0
  8. package/livepilot/commands/arrange.md +47 -0
  9. package/livepilot/commands/beat.md +81 -0
  10. package/livepilot/commands/evaluate.md +51 -0
  11. package/livepilot/commands/memory.md +22 -0
  12. package/livepilot/commands/mix.md +47 -0
  13. package/livepilot/commands/perform.md +42 -0
  14. package/livepilot/commands/session.md +13 -0
  15. package/livepilot/commands/sounddesign.md +58 -0
  16. package/livepilot/rubrics/default_preset_check.md +82 -0
  17. package/livepilot/rubrics/layer_accumulation.md +79 -0
  18. package/livepilot/rubrics/layer_precision.md +79 -0
  19. package/livepilot/rubrics/modulation_presence.md +63 -0
  20. package/livepilot/rubrics/sound_design_depth.md +40 -0
  21. package/livepilot/skills/livepilot-arrangement/SKILL.md +164 -0
  22. package/livepilot/skills/livepilot-composition-engine/SKILL.md +151 -0
  23. package/livepilot/skills/livepilot-composition-engine/references/form-patterns.md +97 -0
  24. package/livepilot/skills/livepilot-composition-engine/references/transition-archetypes.md +102 -0
  25. package/livepilot/skills/livepilot-core/SKILL.md +261 -0
  26. package/livepilot/skills/livepilot-core/references/ableton-workflow-patterns.md +831 -0
  27. package/livepilot/skills/livepilot-core/references/affordances/_schema.md +160 -0
  28. package/livepilot/skills/livepilot-core/references/affordances/devices/auto-filter.yaml +133 -0
  29. package/livepilot/skills/livepilot-core/references/affordances/devices/chorus-ensemble.yaml +91 -0
  30. package/livepilot/skills/livepilot-core/references/affordances/devices/compressor.yaml +98 -0
  31. package/livepilot/skills/livepilot-core/references/affordances/devices/convolution-reverb.yaml +113 -0
  32. package/livepilot/skills/livepilot-core/references/affordances/devices/corpus.yaml +84 -0
  33. package/livepilot/skills/livepilot-core/references/affordances/devices/drift.yaml +105 -0
  34. package/livepilot/skills/livepilot-core/references/affordances/devices/echo.yaml +108 -0
  35. package/livepilot/skills/livepilot-core/references/affordances/devices/eq-eight.yaml +95 -0
  36. package/livepilot/skills/livepilot-core/references/affordances/devices/glue-compressor.yaml +88 -0
  37. package/livepilot/skills/livepilot-core/references/affordances/devices/granulator-iii.yaml +104 -0
  38. package/livepilot/skills/livepilot-core/references/affordances/devices/hybrid-reverb.yaml +83 -0
  39. package/livepilot/skills/livepilot-core/references/affordances/devices/operator.yaml +98 -0
  40. package/livepilot/skills/livepilot-core/references/affordances/devices/ping-pong-delay.yaml +104 -0
  41. package/livepilot/skills/livepilot-core/references/affordances/devices/poli.yaml +98 -0
  42. package/livepilot/skills/livepilot-core/references/affordances/devices/saturator.yaml +98 -0
  43. package/livepilot/skills/livepilot-core/references/affordances/devices/shifter.yaml +77 -0
  44. package/livepilot/skills/livepilot-core/references/affordances/devices/simpler.yaml +113 -0
  45. package/livepilot/skills/livepilot-core/references/affordances/devices/utility.yaml +95 -0
  46. package/livepilot/skills/livepilot-core/references/affordances/devices/vinyl-distortion.yaml +92 -0
  47. package/livepilot/skills/livepilot-core/references/affordances/devices/wavetable.yaml +98 -0
  48. package/livepilot/skills/livepilot-core/references/artist-vocabularies.md +389 -0
  49. package/livepilot/skills/livepilot-core/references/automation-atlas.md +272 -0
  50. package/livepilot/skills/livepilot-core/references/concepts/_schema.md +158 -0
  51. package/livepilot/skills/livepilot-core/references/concepts/artists/akufen.yaml +116 -0
  52. package/livepilot/skills/livepilot-core/references/concepts/artists/aphex-twin.yaml +133 -0
  53. package/livepilot/skills/livepilot-core/references/concepts/artists/arca-sophie.yaml +131 -0
  54. package/livepilot/skills/livepilot-core/references/concepts/artists/autechre.yaml +130 -0
  55. package/livepilot/skills/livepilot-core/references/concepts/artists/basic-channel.yaml +140 -0
  56. package/livepilot/skills/livepilot-core/references/concepts/artists/basinski.yaml +126 -0
  57. package/livepilot/skills/livepilot-core/references/concepts/artists/boards-of-canada.yaml +124 -0
  58. package/livepilot/skills/livepilot-core/references/concepts/artists/burial.yaml +127 -0
  59. package/livepilot/skills/livepilot-core/references/concepts/artists/com-truise-tycho.yaml +121 -0
  60. package/livepilot/skills/livepilot-core/references/concepts/artists/daft-punk.yaml +117 -0
  61. package/livepilot/skills/livepilot-core/references/concepts/artists/dj-premier-rza.yaml +119 -0
  62. package/livepilot/skills/livepilot-core/references/concepts/artists/gas.yaml +134 -0
  63. package/livepilot/skills/livepilot-core/references/concepts/artists/hawtin.yaml +127 -0
  64. package/livepilot/skills/livepilot-core/references/concepts/artists/isolee-luomo.yaml +130 -0
  65. package/livepilot/skills/livepilot-core/references/concepts/artists/j-dilla.yaml +133 -0
  66. package/livepilot/skills/livepilot-core/references/concepts/artists/jeff-mills.yaml +120 -0
  67. package/livepilot/skills/livepilot-core/references/concepts/artists/johannsson-richter.yaml +132 -0
  68. package/livepilot/skills/livepilot-core/references/concepts/artists/madlib.yaml +124 -0
  69. package/livepilot/skills/livepilot-core/references/concepts/artists/moodymann-theo-parrish.yaml +121 -0
  70. package/livepilot/skills/livepilot-core/references/concepts/artists/oneohtrix-point-never.yaml +126 -0
  71. package/livepilot/skills/livepilot-core/references/concepts/artists/photek-source-direct.yaml +120 -0
  72. package/livepilot/skills/livepilot-core/references/concepts/artists/rashad-spinn-traxman.yaml +122 -0
  73. package/livepilot/skills/livepilot-core/references/concepts/artists/robert-henke.yaml +113 -0
  74. package/livepilot/skills/livepilot-core/references/concepts/artists/shackleton.yaml +124 -0
  75. package/livepilot/skills/livepilot-core/references/concepts/artists/skream-mala.yaml +119 -0
  76. package/livepilot/skills/livepilot-core/references/concepts/artists/stars-of-the-lid.yaml +119 -0
  77. package/livepilot/skills/livepilot-core/references/concepts/artists/tim-hecker.yaml +122 -0
  78. package/livepilot/skills/livepilot-core/references/concepts/artists/villalobos.yaml +135 -0
  79. package/livepilot/skills/livepilot-core/references/concepts/genres/ambient.yaml +137 -0
  80. package/livepilot/skills/livepilot-core/references/concepts/genres/boom_bap.yaml +124 -0
  81. package/livepilot/skills/livepilot-core/references/concepts/genres/deep-minimal.yaml +130 -0
  82. package/livepilot/skills/livepilot-core/references/concepts/genres/deep_house.yaml +130 -0
  83. package/livepilot/skills/livepilot-core/references/concepts/genres/detroit_techno.yaml +116 -0
  84. package/livepilot/skills/livepilot-core/references/concepts/genres/disco.yaml +123 -0
  85. package/livepilot/skills/livepilot-core/references/concepts/genres/downtempo.yaml +129 -0
  86. package/livepilot/skills/livepilot-core/references/concepts/genres/drone.yaml +133 -0
  87. package/livepilot/skills/livepilot-core/references/concepts/genres/drum-and-bass.yaml +119 -0
  88. package/livepilot/skills/livepilot-core/references/concepts/genres/dub-techno.yaml +132 -0
  89. package/livepilot/skills/livepilot-core/references/concepts/genres/dub.yaml +129 -0
  90. package/livepilot/skills/livepilot-core/references/concepts/genres/dubstep.yaml +120 -0
  91. package/livepilot/skills/livepilot-core/references/concepts/genres/experimental.yaml +136 -0
  92. package/livepilot/skills/livepilot-core/references/concepts/genres/footwork.yaml +119 -0
  93. package/livepilot/skills/livepilot-core/references/concepts/genres/hip-hop.yaml +132 -0
  94. package/livepilot/skills/livepilot-core/references/concepts/genres/house.yaml +126 -0
  95. package/livepilot/skills/livepilot-core/references/concepts/genres/hyperpop.yaml +128 -0
  96. package/livepilot/skills/livepilot-core/references/concepts/genres/idm.yaml +134 -0
  97. package/livepilot/skills/livepilot-core/references/concepts/genres/lo_fi.yaml +129 -0
  98. package/livepilot/skills/livepilot-core/references/concepts/genres/microhouse.yaml +138 -0
  99. package/livepilot/skills/livepilot-core/references/concepts/genres/minimal-techno.yaml +116 -0
  100. package/livepilot/skills/livepilot-core/references/concepts/genres/modern-classical.yaml +123 -0
  101. package/livepilot/skills/livepilot-core/references/concepts/genres/soul.yaml +125 -0
  102. package/livepilot/skills/livepilot-core/references/concepts/genres/synthwave.yaml +123 -0
  103. package/livepilot/skills/livepilot-core/references/concepts/genres/techno.yaml +123 -0
  104. package/livepilot/skills/livepilot-core/references/concepts/genres/trap.yaml +120 -0
  105. package/livepilot/skills/livepilot-core/references/concepts/genres/uk-garage.yaml +121 -0
  106. package/livepilot/skills/livepilot-core/references/device-atlas/00-index.md +110 -0
  107. package/livepilot/skills/livepilot-core/references/device-atlas/distortion-and-character.md +687 -0
  108. package/livepilot/skills/livepilot-core/references/device-atlas/drums-and-percussion.md +753 -0
  109. package/livepilot/skills/livepilot-core/references/device-atlas/dynamics-and-punch.md +525 -0
  110. package/livepilot/skills/livepilot-core/references/device-atlas/eq-and-filtering.md +402 -0
  111. package/livepilot/skills/livepilot-core/references/device-atlas/midi-tools.md +963 -0
  112. package/livepilot/skills/livepilot-core/references/device-atlas/movement-and-modulation.md +874 -0
  113. package/livepilot/skills/livepilot-core/references/device-atlas/space-and-depth.md +571 -0
  114. package/livepilot/skills/livepilot-core/references/device-atlas/spectral-and-weird.md +714 -0
  115. package/livepilot/skills/livepilot-core/references/device-atlas/synths-native.md +953 -0
  116. package/livepilot/skills/livepilot-core/references/device-knowledge/00-index.md +34 -0
  117. package/livepilot/skills/livepilot-core/references/device-knowledge/automation-as-music.md +204 -0
  118. package/livepilot/skills/livepilot-core/references/device-knowledge/chains-genre.md +173 -0
  119. package/livepilot/skills/livepilot-core/references/device-knowledge/creative-thinking.md +211 -0
  120. package/livepilot/skills/livepilot-core/references/device-knowledge/effects-distortion.md +188 -0
  121. package/livepilot/skills/livepilot-core/references/device-knowledge/effects-space.md +162 -0
  122. package/livepilot/skills/livepilot-core/references/device-knowledge/effects-spectral.md +229 -0
  123. package/livepilot/skills/livepilot-core/references/device-knowledge/instruments-synths.md +243 -0
  124. package/livepilot/skills/livepilot-core/references/genre-vocabularies.md +382 -0
  125. package/livepilot/skills/livepilot-core/references/m4l-devices.md +352 -0
  126. package/livepilot/skills/livepilot-core/references/memory-guide.md +178 -0
  127. package/livepilot/skills/livepilot-core/references/midi-recipes.md +402 -0
  128. package/livepilot/skills/livepilot-core/references/mixing-patterns.md +578 -0
  129. package/livepilot/skills/livepilot-core/references/overview.md +300 -0
  130. package/livepilot/skills/livepilot-core/references/pack-knowledge.md +319 -0
  131. package/livepilot/skills/livepilot-core/references/sample-manipulation.md +724 -0
  132. package/livepilot/skills/livepilot-core/references/sound-design-deep.md +140 -0
  133. package/livepilot/skills/livepilot-core/references/sound-design.md +393 -0
  134. package/livepilot/skills/livepilot-corpus-builder/SKILL.md +379 -0
  135. package/livepilot/skills/livepilot-creative-director/SKILL.md +462 -0
  136. package/livepilot/skills/livepilot-creative-director/references/anti-repetition-rules.md +214 -0
  137. package/livepilot/skills/livepilot-creative-director/references/creative-brief-template.md +222 -0
  138. package/livepilot/skills/livepilot-creative-director/references/hybrid-compilation.md +185 -0
  139. package/livepilot/skills/livepilot-creative-director/references/move-family-diversity-rule.md +258 -0
  140. package/livepilot/skills/livepilot-creative-director/references/phase-6-execution.md +409 -0
  141. package/livepilot/skills/livepilot-creative-director/references/the-four-move-rule.md +192 -0
  142. package/livepilot/skills/livepilot-devices/SKILL.md +213 -0
  143. package/livepilot/skills/livepilot-devices/references/load_browser_item-uri-grammar.md +82 -0
  144. package/livepilot/skills/livepilot-evaluation/SKILL.md +195 -0
  145. package/livepilot/skills/livepilot-evaluation/references/capability-modes.md +176 -0
  146. package/livepilot/skills/livepilot-evaluation/references/evaluation-contracts.md +121 -0
  147. package/livepilot/skills/livepilot-evaluation/references/memory-promotion.md +110 -0
  148. package/livepilot/skills/livepilot-mix-engine/SKILL.md +144 -0
  149. package/livepilot/skills/livepilot-mix-engine/references/mix-critics.md +143 -0
  150. package/livepilot/skills/livepilot-mix-engine/references/mix-moves.md +105 -0
  151. package/livepilot/skills/livepilot-mixing/SKILL.md +164 -0
  152. package/livepilot/skills/livepilot-notes/SKILL.md +130 -0
  153. package/livepilot/skills/livepilot-performance-engine/SKILL.md +122 -0
  154. package/livepilot/skills/livepilot-performance-engine/references/performance-safety.md +98 -0
  155. package/livepilot/skills/livepilot-release/SKILL.md +151 -0
  156. package/livepilot/skills/livepilot-sample-engine/SKILL.md +117 -0
  157. package/livepilot/skills/livepilot-sample-engine/references/sample-critics.md +87 -0
  158. package/livepilot/skills/livepilot-sample-engine/references/sample-philosophy.md +51 -0
  159. package/livepilot/skills/livepilot-sample-engine/references/sample-techniques.md +131 -0
  160. package/livepilot/skills/livepilot-sound-design-engine/SKILL.md +247 -0
  161. package/livepilot/skills/livepilot-sound-design-engine/references/patch-model.md +119 -0
  162. package/livepilot/skills/livepilot-sound-design-engine/references/sound-design-critics.md +118 -0
  163. package/livepilot/skills/livepilot-wonder/SKILL.md +143 -0
  164. package/m4l_device/LivePilot_Analyzer.amxd +0 -0
  165. package/m4l_device/LivePilot_Elektron.amxd +0 -0
  166. package/m4l_device/LivePilot_Elektron.maxpat +758 -0
  167. package/m4l_device/livepilot_bridge.js +1 -1
  168. package/m4l_device/livepilot_elektron_bridge.js +82 -0
  169. package/mcp_server/__init__.py +1 -1
  170. package/mcp_server/composer/develop/apply.py +1 -1
  171. package/mcp_server/composer/full/apply.py +32 -6
  172. package/mcp_server/composer/full/brief_builder.py +9 -0
  173. package/mcp_server/evaluation/feature_extractors.py +152 -8
  174. package/mcp_server/m4l_bridge.py +5 -0
  175. package/mcp_server/mix_engine/state_builder.py +19 -2
  176. package/mcp_server/mix_engine/tools.py +22 -0
  177. package/mcp_server/runtime/execution_router.py +6 -0
  178. package/mcp_server/runtime/mcp_dispatch.py +18 -0
  179. package/mcp_server/runtime/remote_commands.py +2 -0
  180. package/mcp_server/server.py +11 -7
  181. package/mcp_server/sound_design/tools.py +33 -0
  182. package/mcp_server/tools/_agent_os_engine/evaluation.py +7 -44
  183. package/mcp_server/tools/_agent_os_engine/models.py +2 -1
  184. package/mcp_server/tools/_conductor.py +5 -2
  185. package/mcp_server/tools/_evaluation_contracts.py +1 -1
  186. package/mcp_server/tools/_snapshot_normalizer.py +32 -3
  187. package/package.json +20 -5
  188. package/remote_script/LivePilot/__init__.py +1 -1
  189. package/remote_script/LivePilot/server.py +63 -2
  190. package/requirements.txt +3 -3
  191. package/server.json +3 -3
@@ -0,0 +1,118 @@
1
+ # Sound Design Critics Reference
2
+
3
+ Each critic runs during `analyze_sound_design(track_index)` and produces an issue object with `critic`, `severity` (0.0-1.0), `block`, and `evidence`.
4
+
5
+ ## static_timbre
6
+
7
+ Detects sounds that do not evolve over time. A static timbre lacks movement, making it sound flat and lifeless in a mix.
8
+
9
+ **Thresholds:**
10
+ - severity >= 0.7: No detectable spectral change over a 4-bar window. Crest factor of spectral flux < 0.5 dB
11
+ - severity >= 0.4: Minimal change (spectral flux < 1.5 dB). Some subtle movement present
12
+ - severity < 0.4: Adequate movement detected, likely intentional sustain character
13
+
14
+ **Evidence format:**
15
+ ```json
16
+ {
17
+ "spectral_flux_db": 0.3,
18
+ "analysis_window_bars": 4,
19
+ "brightest_moment_db": -8.2,
20
+ "dullest_moment_db": -8.5
21
+ }
22
+ ```
23
+
24
+ **Typical fix:** modulation_injection — add LFO to filter cutoff (rate 0.1-2 Hz, depth 20-40%).
25
+
26
+ ## no_modulation_sources
27
+
28
+ Detects patches with zero modulation sources: no LFOs, no envelopes beyond amp/filter ADSR, no automation, no macro mappings.
29
+
30
+ **Thresholds:**
31
+ - severity >= 0.7: Zero modulation sources on a melodic/pad/lead instrument
32
+ - severity >= 0.4: No modulation on a bass or rhythmic element (some genres keep bass static intentionally)
33
+ - severity < 0.4: Drum hits and one-shots (modulation not expected)
34
+
35
+ **Evidence format:**
36
+ ```json
37
+ {
38
+ "lfo_count": 0,
39
+ "envelope_count": 1,
40
+ "automation_lanes": 0,
41
+ "macro_mappings": 0,
42
+ "instrument_type": "pad"
43
+ }
44
+ ```
45
+
46
+ **Typical fix:** modulation_injection — enable device LFO if available, or add Auto Filter with LFO. For pads, map LFO to filter cutoff and/or oscillator pitch (subtle detune).
47
+
48
+ ## modulation_flatness
49
+
50
+ Detects modulation sources that exist but operate with such narrow ranges they produce no audible effect.
51
+
52
+ **Thresholds:**
53
+ - severity >= 0.7: Modulation depth < 5% of parameter range on all targets
54
+ - severity >= 0.4: Modulation depth 5-15% — present but barely perceptible
55
+ - severity < 0.4: Depth > 15%, audible modulation
56
+
57
+ **Evidence format:**
58
+ ```json
59
+ {
60
+ "modulation_source": "LFO 1",
61
+ "target_parameter": "Filter Cutoff",
62
+ "depth_percent": 3.2,
63
+ "parameter_range": [20, 20000],
64
+ "effective_range": [850, 920]
65
+ }
66
+ ```
67
+
68
+ **Typical fix:** Increase modulation depth to 20-40% for filter targets, 5-15% for pitch targets, 10-30% for amplitude targets.
69
+
70
+ ## missing_filter
71
+
72
+ Detects raw oscillator output with no filter or spectral shaping in the signal path. Unfiltered signals often sound harsh and sit poorly in a mix.
73
+
74
+ **Thresholds:**
75
+ - severity >= 0.7: No filter device in the signal chain, and the source is a harmonically rich waveform (saw, square, FM)
76
+ - severity >= 0.4: Filter present but fully open (cutoff at maximum, no resonance)
77
+ - severity < 0.4: Filter active and shaping the spectrum
78
+
79
+ **Evidence format:**
80
+ ```json
81
+ {
82
+ "has_filter": false,
83
+ "source_waveform": "sawtooth",
84
+ "harmonic_content": "rich",
85
+ "device_chain": ["Wavetable"]
86
+ }
87
+ ```
88
+
89
+ **Typical fix:** filter_shaping — add Auto Filter (low-pass, cutoff around 2-5 kHz, resonance 20-40%) or enable the instrument's built-in filter.
90
+
91
+ ## spectral_imbalance
92
+
93
+ Detects patches with too much energy concentrated in one frequency region, or significant spectral gaps.
94
+
95
+ **Thresholds:**
96
+ - severity >= 0.7: Single band > 12 dB above the mean, or a gap > 12 dB below
97
+ - severity >= 0.4: Imbalance 6-12 dB in one or more regions
98
+ - severity < 0.4: Balanced spectrum appropriate for the instrument role
99
+
100
+ **Evidence format:**
101
+ ```json
102
+ {
103
+ "peak_band": "high_mid",
104
+ "peak_deviation_db": 14.2,
105
+ "gap_band": "low_mid",
106
+ "gap_deviation_db": -8.5,
107
+ "band_levels_db": {
108
+ "sub": -22.0,
109
+ "low": -14.5,
110
+ "low_mid": -20.1,
111
+ "mid": -11.6,
112
+ "high_mid": -2.4,
113
+ "high": -8.9
114
+ }
115
+ }
116
+ ```
117
+
118
+ **Typical fix:** filter_shaping to tame the peak (EQ cut or filter sweep), or oscillator_tuning to fill the gap (add sub oscillator, adjust waveform).
@@ -0,0 +1,143 @@
1
+ ---
2
+ name: livepilot-wonder
3
+ description: >
4
+ This skill should be used when the user asks to "surprise me",
5
+ "make it magical", "I'm stuck", "give me options", "take it somewhere",
6
+ or when stuckness confidence is high. Provides the Wonder Mode
7
+ stuck-rescue workflow with honest variant labeling and preview-first UX.
8
+ ---
9
+
10
+ # Wonder Mode — Stuck-Rescue Workflow
11
+
12
+ Wonder Mode is a **preview-first stuck-rescue workflow**. It diagnoses
13
+ why a session is stuck, generates genuinely distinct executable options,
14
+ and lets the user preview, compare, and commit.
15
+
16
+ ## Atlas-first reflex (v1.23.x+, MANDATORY before any creative move)
17
+
18
+ Before producing ANY creative response, query the user's atlas overlays. The corpus contains 337 entries across 3 namespaces, plus 3,917 parameter-level JSON sidecars — far richer than anything inferable from training data alone.
19
+
20
+ **Query order:**
21
+
22
+ 1. **`extension_atlas_search(namespace="packs", query=<intent>)`** — pack identity, signature workflows, hidden gems, anti-patterns, notable presets with macro deep-data, demo projects
23
+ 2. **`extension_atlas_search(namespace="packs", query=<intent>, entity_type="cross_pack_workflow")`** — multi-pack signature recipes (15 entries: dub-techno spectral drone bed, BoC decayed pad, Mica Levi orchestral dread, etc.)
24
+ 3. **`extension_atlas_search(namespace="m4l-devices", query=<sonic descriptor>)`** — M4L instrument/effect/midi-effect device catalog (155 entries)
25
+ 4. **`atlas_search(...)`** — bundled atlas (Core Library, fallback)
26
+
27
+ **Multi-grain traversal:**
28
+
29
+ When an aesthetic-level query lands a pack-level result, AUTO-DRILL: pack → its `notable_presets` → those preset macro states → load via `load_browser_item`. Don't stop at "I found a relevant pack" — drill to the actual preset/parameter level the user can immediately use.
30
+
31
+ ```python
32
+ # Example — agent received "take it somewhere unexpected, surprise me"
33
+ hit = extension_atlas_search(namespace="packs", query="take it somewhere unexpected hidden gem")
34
+ # → cross-pack workflows + packs with hidden_gems body fields surface
35
+
36
+ workflow = extension_atlas_get("packs", "dub_techno_spectral_drone_bed")
37
+ # → reveals signal_flow: HDG → PitchLoop89 cross-feedback → Convolution Reverb
38
+
39
+ drone_lab = extension_atlas_get("packs", "drone_lab")
40
+ # → notable_presets reveals Razor Wire Drone with macros Filter Control=108, Movement=53...
41
+
42
+ # Now propose variants with concrete preset names + macro values, not vague descriptions
43
+ ```
44
+
45
+ **When the user mentions a producer or pack by name:**
46
+
47
+ - "BoC sublime pad" → atlas hit: `boc_decayed_pad` cross-pack-workflow + `inspired_by_nature` pack
48
+ - "Henke spectral chain" → atlas hit: `pitchloop89` + `granulator_iii` + 2 Henke cross-pack workflows
49
+ - "Mica Levi orchestral dread" → atlas hit: `mica_levi_orchestral_dread` workflow + the orchestral suite packs
50
+ - "Drone Lab" → atlas hit: `drone_lab` pack + 4 Drone Lab demo_project entries
51
+
52
+ The atlas knows the user's installed library at parameter depth. **Producer-anchor queries land specific moves, not vague descriptions.**
53
+
54
+ **Anti-pattern surfacing:**
55
+
56
+ Every pack entry has an `anti_patterns` body field listing "don't reach for this when X." Surface the relevant anti-pattern when proposing a move so the user knows the move's domain. (E.g. "Drone Lab is sustain-only — don't use for percussive content.")
57
+
58
+ **For deliberately rule-breaking creative requests** ("eclectic", "ignore the limits", "weird combo", "mix incompatible aesthetics"): enter **Eclectic Mode** inside Wonder. Anti-patterns become prompt tension rather than guardrails: keep hard safety and protected-user constraints, then generate variants that intentionally combine one normally-avoided source with one identity-preserving source. Do not route to a private or missing skill.
59
+
60
+ ## When to Trigger
61
+
62
+ - User says "I'm stuck", "surprise me", "make it magical", "give me options"
63
+ - `detect_stuckness` confidence > 0.5
64
+ - 3+ consecutive undos in action ledger
65
+ - Multiple plausible next moves with no clear winner
66
+ - **`livepilot-creative-director` delegates divergence to Wonder** (first-pass creative intent, not only rescue)
67
+
68
+ ## Two contexts — Stuck-Rescue vs Creative-Director Divergence
69
+
70
+ Wonder Mode now serves two callers:
71
+
72
+ 1. **Stuck-rescue** (original): a specific session is stuck and needs
73
+ rescue. The "fewer than 3 variants is correct" honesty rule applies —
74
+ you are not obligated to fabricate options that don't exist.
75
+
76
+ 2. **Creative-director first-pass**: the director is running standard
77
+ divergence before any commit. Here, actively WIDEN across `move.family`
78
+ before accepting fewer than 3 variants. Only fall back after honestly
79
+ re-reading concept packets, anti-preferences, and recent memory. The
80
+ context comes in via the `wonder_session_id` metadata or the caller's
81
+ explicit framing.
82
+
83
+ ## When NOT to Trigger
84
+
85
+ - Exact operational requests ("set track 3 volume to -6dB")
86
+ - Narrow deterministic edits ("quantize this clip")
87
+ - Performance-safe-only context (unless explicitly requested)
88
+
89
+ ## The Workflow
90
+
91
+ 1. `enter_wonder_mode` — get diagnosis + 1-3 variants
92
+ 2. Explain the diagnosis in **musical language**, not tool language
93
+ 3. Present variants honestly:
94
+ - Executable variants: can be previewed and committed
95
+ - Analytical variants (`analytical_only: true`): directional ideas only
96
+ 4. `create_preview_set` with `wonder_session_id` for executable variants
97
+ 5. `render_preview_variant` for each executable variant
98
+ 6. `compare_preview_variants` — present recommendation with reasons
99
+ 7. User chooses:
100
+ - `commit_preview_variant` — applies the variant, records outcome
101
+ - `discard_wonder_session` — rejects all, keeps creative thread open
102
+
103
+ ## Honesty Rules
104
+
105
+ - **Never describe an analytical variant as previewable**
106
+ - **Never fabricate distinctness** by relabeling the same move — and
107
+ specifically, two variants with the same `move.family` are not distinct
108
+ - **Fewer than 3 variants is correct** when fewer distinct moves exist —
109
+ but on creative-director first-pass, widen across `move.family` values
110
+ FIRST before accepting that conclusion (see `livepilot-creative-director`
111
+ references/move-family-diversity-rule.md)
112
+ - 1 executable + 2 analytical is an honest, useful result
113
+ - The `variant_count_actual` field tells you how many are real
114
+
115
+ ## Presenting Results
116
+
117
+ For each variant, explain:
118
+ - What it changes (in musical terms)
119
+ - What it preserves (sacred elements)
120
+ - Why it matters for this specific session
121
+ - Whether it's executable or analytical-only
122
+
123
+ For the recommendation, explain:
124
+ - Why this one over the others
125
+ - What risk it introduces
126
+ - What sacred elements it preserves
127
+
128
+ ## Creative Intelligence (consult before generating variants)
129
+
130
+ Wonder Mode should produce musically interesting results, not just technically correct ones. Before generating or applying any variant, read the shared device-knowledge references (they live in the `livepilot-core` skill, not in this one):
131
+
132
+ 1. `livepilot-core/references/device-knowledge/automation-as-music.md` — automation shapes and macro gestures
133
+ 2. `livepilot-core/references/device-knowledge/creative-thinking.md` — emotional-to-technical mapping
134
+ 3. `livepilot-core/references/device-knowledge/chains-genre.md` — if the session has a genre identity
135
+
136
+ When reviewing Wonder variants, aim for musical depth:
137
+ - **Filter arcs** — evolving filter across sections adds movement
138
+ - **Space arcs** — reverb/delay sends breathing with density
139
+ - **Micro-modulation** — subtle LFOs on sustained sounds
140
+ - **Macro gestures** — coordinated multi-parameter moves at transitions
141
+
142
+ Note: these are agent-level guidelines, not enforced by the Wonder engine.
143
+ The engine generates variants from semantic moves; the agent adds musical polish.
Binary file