livepilot 1.10.7 → 1.10.9

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 (135) hide show
  1. package/CHANGELOG.md +254 -0
  2. package/README.md +19 -17
  3. package/bin/livepilot.js +146 -28
  4. package/installer/install.js +117 -11
  5. package/m4l_device/LivePilot_Analyzer.amxd +0 -0
  6. package/m4l_device/livepilot_bridge.js +1 -1
  7. package/mcp_server/__init__.py +1 -1
  8. package/mcp_server/atlas/__init__.py +39 -7
  9. package/mcp_server/atlas/tools.py +56 -15
  10. package/mcp_server/composer/layer_planner.py +27 -0
  11. package/mcp_server/composer/prompt_parser.py +15 -6
  12. package/mcp_server/connection.py +11 -3
  13. package/mcp_server/corpus/__init__.py +14 -4
  14. package/mcp_server/evaluation/fabric.py +62 -1
  15. package/mcp_server/m4l_bridge.py +63 -12
  16. package/mcp_server/project_brain/automation_graph.py +23 -1
  17. package/mcp_server/project_brain/builder.py +2 -0
  18. package/mcp_server/project_brain/models.py +20 -1
  19. package/mcp_server/project_brain/tools.py +10 -3
  20. package/mcp_server/runtime/execution_router.py +16 -2
  21. package/mcp_server/runtime/remote_commands.py +6 -0
  22. package/mcp_server/sample_engine/models.py +22 -3
  23. package/mcp_server/semantic_moves/__init__.py +1 -0
  24. package/mcp_server/semantic_moves/compiler.py +9 -1
  25. package/mcp_server/semantic_moves/device_creation_compilers.py +47 -0
  26. package/mcp_server/semantic_moves/mix_compilers.py +170 -0
  27. package/mcp_server/semantic_moves/mix_moves.py +1 -1
  28. package/mcp_server/semantic_moves/models.py +5 -0
  29. package/mcp_server/semantic_moves/tools.py +154 -35
  30. package/mcp_server/server.py +147 -17
  31. package/mcp_server/services/singletons.py +68 -0
  32. package/mcp_server/session_continuity/models.py +13 -0
  33. package/mcp_server/session_continuity/tools.py +2 -0
  34. package/mcp_server/session_continuity/tracker.py +93 -0
  35. package/mcp_server/splice_client/client.py +29 -8
  36. package/mcp_server/tools/_analyzer_engine/__init__.py +39 -0
  37. package/mcp_server/tools/_analyzer_engine/context.py +103 -0
  38. package/mcp_server/tools/_analyzer_engine/flucoma.py +23 -0
  39. package/mcp_server/tools/_analyzer_engine/sample.py +122 -0
  40. package/mcp_server/tools/_motif_engine.py +19 -4
  41. package/mcp_server/tools/analyzer.py +25 -180
  42. package/mcp_server/tools/clips.py +240 -2
  43. package/mcp_server/tools/midi_io.py +10 -0
  44. package/mcp_server/tools/tracks.py +1 -1
  45. package/mcp_server/tools/transport.py +59 -4
  46. package/mcp_server/translation_engine/tools.py +8 -4
  47. package/package.json +25 -3
  48. package/remote_script/LivePilot/__init__.py +36 -9
  49. package/remote_script/LivePilot/arrangement.py +12 -2
  50. package/remote_script/LivePilot/browser.py +16 -6
  51. package/remote_script/LivePilot/devices.py +10 -5
  52. package/remote_script/LivePilot/notes.py +13 -2
  53. package/remote_script/LivePilot/server.py +51 -13
  54. package/remote_script/LivePilot/version_detect.py +7 -4
  55. package/server.json +20 -0
  56. package/.claude-plugin/marketplace.json +0 -21
  57. package/.mcp.json.disabled +0 -9
  58. package/.mcpbignore +0 -60
  59. package/AGENTS.md +0 -46
  60. package/BUGS.md +0 -1570
  61. package/CODE_OF_CONDUCT.md +0 -27
  62. package/CONTRIBUTING.md +0 -131
  63. package/SECURITY.md +0 -48
  64. package/livepilot/.Codex-plugin/plugin.json +0 -8
  65. package/livepilot/.claude-plugin/plugin.json +0 -8
  66. package/livepilot/agents/livepilot-producer/AGENT.md +0 -313
  67. package/livepilot/commands/arrange.md +0 -47
  68. package/livepilot/commands/beat.md +0 -77
  69. package/livepilot/commands/evaluate.md +0 -49
  70. package/livepilot/commands/memory.md +0 -22
  71. package/livepilot/commands/mix.md +0 -44
  72. package/livepilot/commands/perform.md +0 -42
  73. package/livepilot/commands/session.md +0 -13
  74. package/livepilot/commands/sounddesign.md +0 -43
  75. package/livepilot/skills/livepilot-arrangement/SKILL.md +0 -155
  76. package/livepilot/skills/livepilot-composition-engine/SKILL.md +0 -107
  77. package/livepilot/skills/livepilot-composition-engine/references/form-patterns.md +0 -97
  78. package/livepilot/skills/livepilot-composition-engine/references/transition-archetypes.md +0 -102
  79. package/livepilot/skills/livepilot-core/SKILL.md +0 -184
  80. package/livepilot/skills/livepilot-core/references/ableton-workflow-patterns.md +0 -831
  81. package/livepilot/skills/livepilot-core/references/automation-atlas.md +0 -272
  82. package/livepilot/skills/livepilot-core/references/device-atlas/00-index.md +0 -110
  83. package/livepilot/skills/livepilot-core/references/device-atlas/distortion-and-character.md +0 -687
  84. package/livepilot/skills/livepilot-core/references/device-atlas/drums-and-percussion.md +0 -753
  85. package/livepilot/skills/livepilot-core/references/device-atlas/dynamics-and-punch.md +0 -525
  86. package/livepilot/skills/livepilot-core/references/device-atlas/eq-and-filtering.md +0 -402
  87. package/livepilot/skills/livepilot-core/references/device-atlas/midi-tools.md +0 -963
  88. package/livepilot/skills/livepilot-core/references/device-atlas/movement-and-modulation.md +0 -874
  89. package/livepilot/skills/livepilot-core/references/device-atlas/space-and-depth.md +0 -571
  90. package/livepilot/skills/livepilot-core/references/device-atlas/spectral-and-weird.md +0 -714
  91. package/livepilot/skills/livepilot-core/references/device-atlas/synths-native.md +0 -953
  92. package/livepilot/skills/livepilot-core/references/device-knowledge/00-index.md +0 -34
  93. package/livepilot/skills/livepilot-core/references/device-knowledge/automation-as-music.md +0 -204
  94. package/livepilot/skills/livepilot-core/references/device-knowledge/chains-genre.md +0 -173
  95. package/livepilot/skills/livepilot-core/references/device-knowledge/creative-thinking.md +0 -211
  96. package/livepilot/skills/livepilot-core/references/device-knowledge/effects-distortion.md +0 -188
  97. package/livepilot/skills/livepilot-core/references/device-knowledge/effects-space.md +0 -162
  98. package/livepilot/skills/livepilot-core/references/device-knowledge/effects-spectral.md +0 -229
  99. package/livepilot/skills/livepilot-core/references/device-knowledge/instruments-synths.md +0 -243
  100. package/livepilot/skills/livepilot-core/references/m4l-devices.md +0 -352
  101. package/livepilot/skills/livepilot-core/references/memory-guide.md +0 -107
  102. package/livepilot/skills/livepilot-core/references/midi-recipes.md +0 -402
  103. package/livepilot/skills/livepilot-core/references/mixing-patterns.md +0 -578
  104. package/livepilot/skills/livepilot-core/references/overview.md +0 -290
  105. package/livepilot/skills/livepilot-core/references/sample-manipulation.md +0 -724
  106. package/livepilot/skills/livepilot-core/references/sound-design-deep.md +0 -140
  107. package/livepilot/skills/livepilot-core/references/sound-design.md +0 -393
  108. package/livepilot/skills/livepilot-devices/SKILL.md +0 -169
  109. package/livepilot/skills/livepilot-evaluation/SKILL.md +0 -156
  110. package/livepilot/skills/livepilot-evaluation/references/capability-modes.md +0 -118
  111. package/livepilot/skills/livepilot-evaluation/references/evaluation-contracts.md +0 -121
  112. package/livepilot/skills/livepilot-evaluation/references/memory-promotion.md +0 -110
  113. package/livepilot/skills/livepilot-mix-engine/SKILL.md +0 -123
  114. package/livepilot/skills/livepilot-mix-engine/references/mix-critics.md +0 -143
  115. package/livepilot/skills/livepilot-mix-engine/references/mix-moves.md +0 -105
  116. package/livepilot/skills/livepilot-mixing/SKILL.md +0 -157
  117. package/livepilot/skills/livepilot-notes/SKILL.md +0 -130
  118. package/livepilot/skills/livepilot-performance-engine/SKILL.md +0 -122
  119. package/livepilot/skills/livepilot-performance-engine/references/performance-safety.md +0 -98
  120. package/livepilot/skills/livepilot-release/SKILL.md +0 -130
  121. package/livepilot/skills/livepilot-sample-engine/SKILL.md +0 -105
  122. package/livepilot/skills/livepilot-sample-engine/references/sample-critics.md +0 -87
  123. package/livepilot/skills/livepilot-sample-engine/references/sample-philosophy.md +0 -51
  124. package/livepilot/skills/livepilot-sample-engine/references/sample-techniques.md +0 -131
  125. package/livepilot/skills/livepilot-sound-design-engine/SKILL.md +0 -168
  126. package/livepilot/skills/livepilot-sound-design-engine/references/patch-model.md +0 -119
  127. package/livepilot/skills/livepilot-sound-design-engine/references/sound-design-critics.md +0 -118
  128. package/livepilot/skills/livepilot-wonder/SKILL.md +0 -79
  129. package/m4l_device/LivePilot_Analyzer.amxd.pre-presentation-backup +0 -0
  130. package/m4l_device/LivePilot_Analyzer.maxpat +0 -2705
  131. package/m4l_device/LivePilot_Analyzer.maxproj +0 -53
  132. package/manifest.json +0 -91
  133. package/mcp_server/splice_client/protos/app_pb2.pyi +0 -1153
  134. package/scripts/generate_tool_catalog.py +0 -106
  135. package/scripts/sync_metadata.py +0 -349
@@ -1,122 +0,0 @@
1
- ---
2
- name: livepilot-performance-engine
3
- description: This skill should be used when the user asks to "perform live", "what's safe to do during a show", "scene handoff", "energy flow", "performance mode", "safe moves", or wants live performance support with safety constraints.
4
- ---
5
-
6
- # Performance Engine — Safety-First Live Performance
7
-
8
- The performance engine enforces a strict safety model for live performance. Every action is classified before execution. Destructive operations are blocked. Risky operations require user confirmation. Only safe operations execute freely.
9
-
10
- ## Safety Classification
11
-
12
- Every performance action falls into one of four tiers.
13
-
14
- ### Safe — Execute Freely
15
-
16
- These actions are non-destructive and audience-invisible if they fail. Execute without asking.
17
-
18
- - `fire_scene` / `fire_clip` — launch scenes or clips (the core of live performance)
19
- - `set_track_send` with small delta — nudge send levels (reverb/delay throws)
20
- - `set_device_parameter` on mapped macros — macro knob adjustments
21
- - `set_track_mute` / `set_track_solo` — mute/solo toggles
22
- - `set_track_volume` with delta <= 3 dB — volume nudges
23
- - `set_track_pan` with delta <= 0.2 — subtle pan shifts
24
- - Filter sweeps via `set_device_parameter` on Auto Filter — smooth frequency movement
25
-
26
- ### Caution — Require User Confirmation
27
-
28
- These actions are audible and may cause a noticeable glitch if wrong. Always ask before executing.
29
-
30
- - `set_tempo` with delta <= 5 BPM — tempo nudge (can destabilize synced elements)
31
- - `toggle_device` — enable/disable effects (may cause pops or silence)
32
- - `set_track_pan` with delta > 0.2 — large pan moves are disorienting live
33
- - `set_track_volume` with delta > 3 dB — large volume jumps
34
-
35
- Present the action to the user: "I will [action]. This may [risk]. Confirm?"
36
-
37
- ### Blocked — Never Execute During Performance
38
-
39
- These actions risk audible disasters, data loss, or session corruption during a live show.
40
-
41
- - `delete_device` / `find_and_load_device` — device chain surgery causes audio interruption
42
- - `create_arrangement_clip` / `create_clip` / `delete_clip` — clip creation/deletion
43
- - `create_midi_track` / `create_audio_track` / `delete_track` — track structure changes
44
- - `add_notes` / `modify_notes` / `remove_notes` — note editing while playing
45
- - `set_clip_loop` / `set_clip_warp_mode` — clip property changes while playing
46
- - `flatten_track` / `freeze_track` — CPU-intensive operations
47
- - Any arrangement-view editing tools
48
-
49
- If the user requests a blocked action during performance mode, explain why it is blocked and suggest a safe alternative: "That requires editing the device chain, which can cause audio dropouts during a live show. Instead, try [safe alternative]."
50
-
51
- ### Unknown — Treat as Blocked
52
-
53
- Any action not explicitly classified above defaults to blocked. Do not experiment with unclassified actions during a live performance.
54
-
55
- ## Performance Loop
56
-
57
- ### Step 1 — Get State
58
-
59
- Call `get_performance_state` to read the current session state:
60
- - Playing status, current tempo, time signature
61
- - Which scenes and clips are currently playing
62
- - Track arm states, solo/mute states
63
- - Current energy level estimate
64
-
65
- ### Step 2 — Get Safe Moves
66
-
67
- Call `get_performance_safe_moves` to get a list of contextually appropriate safe actions based on the current state. The response is filtered by what makes musical sense right now — not just what is technically safe.
68
-
69
- ### Step 3 — Check Safety
70
-
71
- Before executing any user request, call `check_safety(move_type)` to verify the classification. The response confirms: `safe`, `caution`, or `blocked` with an explanation.
72
-
73
- ### Step 4 — Execute Safe/Caution Only
74
-
75
- - Safe: execute immediately
76
- - Caution: present to user, wait for confirmation, then execute
77
- - Blocked: refuse with explanation and alternative
78
-
79
- ### Step 5 — Scene Handoff
80
-
81
- For transitioning between scenes (the primary live performance action), call `plan_scene_handoff(from_scene, to_scene)` to get a transition plan:
82
-
83
- - Which clips change between the scenes
84
- - Recommended launch timing (quantization)
85
- - Volume/send adjustments to smooth the handoff
86
- - Any tempo changes between scenes
87
-
88
- Execute the handoff plan using safe actions only.
89
-
90
- ## Energy Flow
91
-
92
- During a live set, track the energy trajectory:
93
-
94
- 1. `get_performance_state` includes an `energy_estimate` (0.0-1.0)
95
- 2. Use scene ordering to build energy arcs: low-energy scenes for intros/breakdowns, high-energy for drops/peaks
96
- 3. `plan_scene_handoff` accounts for energy delta — large energy jumps get transition suggestions
97
-
98
- ## Performance Mode Entry
99
-
100
- When the user says "performance mode", "going live", or "starting the show":
101
-
102
- 1. Call `get_performance_state` to verify the session is ready
103
- 2. Confirm the safety model with the user: "Performance mode active. I will only execute safe actions freely and ask before caution-level moves. Destructive edits are blocked."
104
- 3. Switch to a response style optimized for speed: short confirmations, no lengthy explanations mid-performance
105
- 4. Prioritize scene launches and safe parameter nudges
106
-
107
- ## Performance Mode Exit
108
-
109
- When the user says "done performing", "show's over", or "exit performance mode":
110
-
111
- 1. Confirm: "Performance mode ended. Full editing capabilities restored."
112
- 2. Resume normal operation with all tools available
113
-
114
- ## Emergency Actions
115
-
116
- If something goes wrong during a live show:
117
-
118
- - `stop_all_clips` — emergency silence (use only if requested)
119
- - `set_master_volume(0.0)` — fade to silence
120
- - `set_track_mute` on the problem track — isolate the issue
121
-
122
- Never call `undo` during a live performance — it may revert a scene launch or clip state in unpredictable ways.
@@ -1,98 +0,0 @@
1
- # Performance Safety Reference
2
-
3
- Complete classification of every LivePilot action for live performance contexts.
4
-
5
- ## Safe Actions (No Confirmation Needed)
6
-
7
- | Action | Tool | Notes |
8
- |--------|------|-------|
9
- | Launch scene | `fire_scene` | Core performance action |
10
- | Launch clip | `fire_clip` | Individual clip triggering |
11
- | Stop clip | `stop_clip` | Individual clip stop |
12
- | Stop track clips | `stop_track_clips` | Clear a track |
13
- | Volume nudge (small) | `set_track_volume` | Delta <= 3 dB only |
14
- | Send nudge | `set_track_send` | Small adjustments to reverb/delay throws |
15
- | Macro nudge | `set_device_parameter` | On mapped macro controls only |
16
- | Filter sweep | `set_device_parameter` | On Auto Filter frequency parameter |
17
- | Mute toggle | `set_track_mute` | Non-destructive, reversible |
18
- | Solo toggle | `set_track_solo` | Non-destructive, reversible |
19
- | Pan nudge (small) | `set_track_pan` | Delta <= 0.2 only |
20
- | Master volume | `set_master_volume` | For overall level control |
21
- | Continue playback | `continue_playback` | Resume from pause |
22
- | Jump to cue | `jump_to_cue` | Navigate arrangement cue points |
23
- | Get state | `get_performance_state` | Read-only, always safe |
24
- | Get playing clips | `get_playing_clips` | Read-only |
25
- | Get scene matrix | `get_scene_matrix` | Read-only |
26
- | Any get_* tool | various | All read-only tools are safe |
27
-
28
- ## Caution Actions (Require Confirmation)
29
-
30
- | Action | Tool | Risk |
31
- |--------|------|------|
32
- | Tempo nudge | `set_tempo` | May destabilize warped audio, synced plugins |
33
- | Device toggle | `toggle_device` | May cause audio pop, click, or silence |
34
- | Large pan move | `set_track_pan` | Disorienting for audience if sudden |
35
- | Large volume jump | `set_track_volume` | Jarring if delta > 3 dB |
36
- | Fire scene clips | `fire_scene_clips` | Selective scene launch, less predictable |
37
- | Set scene tempo | `set_scene_tempo` | Changes tempo on next scene fire |
38
-
39
- ### Confirmation Protocol
40
-
41
- Present as: "[Action description]. Risk: [what could go wrong]. Confirm?"
42
-
43
- Keep confirmations short during performance. One line maximum.
44
-
45
- ## Blocked Actions (Never During Performance)
46
-
47
- ### Device Chain Surgery
48
- - `find_and_load_device` — loading causes audio thread hiccup
49
- - `delete_device` — removing active device causes dropout
50
- - `load_device_by_uri` — same as find_and_load
51
- - `load_browser_item` — browser loading is unpredictable latency
52
-
53
- ### Track Structure
54
- - `create_midi_track` / `create_audio_track` / `create_return_track` — track creation pauses audio engine momentarily
55
- - `delete_track` — data loss, audio interruption
56
- - `duplicate_track` — CPU spike
57
- - `set_track_routing` — routing changes can cause feedback or silence
58
-
59
- ### Clip Editing
60
- - `create_clip` / `delete_clip` / `duplicate_clip` — structural changes while playing
61
- - `set_clip_loop` / `set_clip_warp_mode` / `quantize_clip` — property changes on playing clips
62
- - `add_notes` / `modify_notes` / `remove_notes` — note editing mid-playback
63
-
64
- ### Arrangement Editing
65
- - All `*_arrangement_*` tools — arrangement view editing during performance
66
- - `set_arrangement_automation` — automation lane changes
67
-
68
- ### Heavy Operations
69
- - `freeze_track` / `flatten_track` — CPU-intensive, blocks audio thread
70
- - `start_recording` — may cause unexpected monitoring behavior
71
- - `capture_audio` / `capture_midi` — resource-intensive
72
-
73
- ### Data Operations
74
- - `undo` / `redo` — unpredictable state reversion during live playback
75
- - `memory_learn` / `memory_delete` — non-urgent, save for after the show
76
- - `import_midi_to_clip` — file I/O during performance
77
-
78
- ## Emergency Procedures
79
-
80
- ### Audio Problem
81
- 1. `set_track_mute(track_index, true)` on the problem track
82
- 2. If problem persists: `set_master_volume(0.0)` for fade to silence
83
- 3. Last resort: `stop_all_clips` for emergency silence
84
-
85
- ### Feedback Loop
86
- 1. `set_track_mute` on the suspected track immediately
87
- 2. `set_track_send` to zero on all sends for that track
88
- 3. Gradually unmute after identifying the routing issue
89
-
90
- ### Wrong Scene Launched
91
- 1. Immediately `fire_scene` on the correct scene
92
- 2. Or `stop_all_clips` and restart from the correct point
93
- 3. Do not use `undo` — it may revert more than intended
94
-
95
- ### CPU Spike
96
- 1. `set_track_mute` on the most CPU-heavy tracks (check `get_session_info` for device counts)
97
- 2. `toggle_device` to bypass heavy effects (with caution confirmation skipped in emergency)
98
- 3. If critical: `stop_all_clips` and restart with fewer active tracks
@@ -1,130 +0,0 @@
1
- ---
2
- name: livepilot-release
3
- description: Release checklist for LivePilot — run before ANY push, publish, or "update everything" request. Covers every file, channel, and artifact that references version numbers, tool counts, or project state.
4
- ---
5
-
6
- # LivePilot Release Checklist
7
-
8
- Run this checklist EVERY time the user says "update everything", "push", "release", "make sure everything is current", or similar.
9
-
10
- ## 1. Version Strings (must ALL match)
11
-
12
- - [ ] `package.json` → `"version"`
13
- - [ ] `package-lock.json` → `"version"` (run `npm install --package-lock-only` if stale)
14
- - [ ] `server.json` → `"version"` (TWO locations: top-level and package)
15
- - [ ] `livepilot/.Codex-plugin/plugin.json` → `"version"` (primary Codex manifest)
16
- - [ ] `livepilot/.claude-plugin/plugin.json` → `"version"` (must match Codex plugin)
17
- - [ ] `.claude-plugin/marketplace.json` → `"version"` in plugins array
18
- - [ ] `mcp_server/__init__.py` → `__version__`
19
- - [ ] `remote_script/LivePilot/__init__.py` → `__version__` (log message auto-uses it)
20
- - [ ] `m4l_device/livepilot_bridge.js` → version in ping response
21
- - [ ] `CLAUDE.md` → header line
22
- - [ ] `livepilot/skills/livepilot-core/references/overview.md` → header line
23
- - [ ] `CHANGELOG.md` → latest version header
24
- - [ ] `docs/social-banner.html` → version display
25
- - [ ] `docs/M4L_BRIDGE.md` → ping response example
26
-
27
- **How to check:** `grep -rn "1\.[0-9]\.[0-9]" package.json server.json livepilot/.Codex-plugin/plugin.json livepilot/.claude-plugin/plugin.json .claude-plugin/marketplace.json mcp_server/__init__.py remote_script/LivePilot/__init__.py m4l_device/livepilot_bridge.js CHANGELOG.md CLAUDE.md livepilot/skills/livepilot-core/references/overview.md docs/social-banner.html docs/M4L_BRIDGE.md`
28
-
29
- ## 2. Tool Count (must ALL match)
30
-
31
- Current: **323 tools across 45 domains**.
32
- Core (no M4L): **289**. Bridge (M4L): **30** (backed by 28 bridge commands).
33
-
34
- Verify: `grep -rc "@mcp.tool" mcp_server/tools/ | grep -v ":0" | awk -F: '{sum+=$2} END{print sum}'`
35
-
36
- Files that reference tool count:
37
- - [ ] `README.md` — header ("323 tools. 45 domains"), bridge section ("281 core...36 bridge")
38
- - [ ] `package.json` → `"description"`
39
- - [ ] `server.json` → `"description"`
40
- - [ ] `manifest.json` → `"description"`
41
- - [ ] `livepilot/.Codex-plugin/plugin.json` → `"description"` (primary Codex manifest)
42
- - [ ] `livepilot/.claude-plugin/plugin.json` → `"description"` (must match Codex plugin)
43
- - [ ] `.claude-plugin/marketplace.json` → `"description"`
44
- - [ ] `CLAUDE.md` → "323 tools across 45 domains"
45
- - [ ] `CONTRIBUTING.md` → tool count in intro
46
- - [ ] `livepilot/skills/livepilot-core/SKILL.md` — tool/domain count
47
- - [ ] `livepilot/skills/livepilot-core/references/overview.md` — tool/domain count
48
- - [ ] `docs/manual/index.md` — domain table with correct per-domain counts
49
- - [ ] `docs/manual/getting-started.md` — "281 core tools...36 bridge"
50
- - [ ] `docs/manual/tool-reference.md` — all domains present with correct counts
51
- - [ ] `docs/manual/tool-catalog.md` — all tools present (CI-tested)
52
- - [ ] `docs/manual/tool-catalog-generated.md` — regenerated from source
53
- - [ ] `docs/TOOL_REFERENCE.md` — all domains present with correct counts
54
- - [ ] `docs/M4L_BRIDGE.md` — "281 core tools...36 bridge"
55
- - [ ] `docs/social-banner.html`
56
- - [ ] `tests/test_tools_contract.py` → expected total count
57
- - [ ] `tests/test_skill_contracts.py` → catalog sync test passes
58
-
59
- **How to check:** `grep -rn "168\|139\|135\|127\|115\|107" --include="*.md" --include="*.json" --include="*.py" --include="*.html" . | grep -v node_modules | grep -v .git | grep -v __pycache__ | grep -v CHANGELOG`
60
-
61
- ## 3. Domain Count
62
-
63
- Current: **45 domains**: transport, tracks, clips, notes, devices, scenes, mixing, browser, arrangement, memory, analyzer, automation, theory, generative, harmony, midi_io, perception, agent_os, composition, motif, research, planner, project_brain, runtime, evaluation, mix_engine, sound_design, transition_engine, reference_engine, translation_engine, performance_engine, song_brain, preview_studio, hook_hunter, stuckness_detector, wonder_mode, session_continuity, creative_constraints, device_forge, sample_engine, atlas, composer, experiment, musical_intelligence, semantic_moves.
64
-
65
- - [ ] All files that mention domain count say "45 domains"
66
- - [ ] Domain lists include ALL 45 (especially newer domains — they're the most often omitted)
67
-
68
- ## 4. npm Registry
69
-
70
- - [ ] `npm view livepilot version` matches local version
71
- - [ ] If not: `npm publish`
72
-
73
- ## 5. GitHub
74
-
75
- - [ ] Repo description matches current tool count and features
76
- - [ ] Topics are current (should include: ai, mcp, ableton, livepilot, max-for-live, audio-analysis)
77
- - [ ] Latest release matches current version (`gh release list`)
78
- - [ ] Release notes are current
79
-
80
- ## 6. Plugin Cache
81
-
82
- - [ ] `~/.claude/plugins/cache/dreamrec-LivePilot/livepilot/` has current version directory
83
- - [ ] Old version directories removed
84
- - [ ] `~/.claude/plugins/installed_plugins.json` → `livepilot@dreamrec-LivePilot` entry: update `version`, `installPath`, `gitCommitSha`, `lastUpdated`
85
-
86
- ## 7. Social/Promotional Assets
87
-
88
- - [ ] `docs/social-banner.html` — tool count, version, domain list
89
- - [ ] `docs/social-banner.png` — regenerated from HTML (must match)
90
- - [ ] GitHub repo social preview image (Settings > Social preview)
91
-
92
- ## 8. Documentation Content
93
-
94
- - [ ] `README.md` — features match current capabilities, "Coming" section is accurate
95
- - [ ] `docs/manual/getting-started.md` — install instructions current
96
- - [ ] `docs/manual/tool-reference.md` — all 45 domains listed, all 323 tools present
97
- - [ ] `docs/TOOL_REFERENCE.md` — all 45 domains present with correct counts
98
- - [ ] `docs/M4L_BRIDGE.md` — architecture accurate, core/bridge counts correct
99
-
100
- ## 9. Derived Artifacts
101
-
102
- - [ ] `m4l_device/LivePilot_Analyzer.amxd` — frozen JS matches source? All commands present?
103
- - [ ] If `livepilot_bridge.js` changed → amxd needs rebuilding in Max editor
104
-
105
- ## 10. Code Consistency
106
-
107
- - [ ] `@mcp.tool()` count matches documented tool count: `grep -r "@mcp.tool" mcp_server/tools/ | wc -l`
108
- - [ ] No dead imports or unused code in recently changed files
109
- - [ ] Remote script version matches MCP server version
110
- - [ ] All tests pass: `python3 -m pytest tests/ -v`
111
-
112
- ## 11. Automated Checks
113
-
114
- - [ ] `python scripts/sync_metadata.py --check` — all metadata in sync
115
- - [ ] `python -m pytest tests/test_command_boundary_audit.py` — no invalid TCP targets
116
- - [ ] `python -m pytest tests/test_move_annotations.py` — all moves annotated
117
- - [ ] `python -m pytest tests/test_capability.py` — capability contract works
118
- - [ ] `python -m pytest tests/test_capability_probe.py` — doctor probe works
119
-
120
- ## 12. Release Smoke Board
121
-
122
- - [ ] Run through `docs/manual/release-smoke-board.md` scenarios against real Ableton session
123
- - [ ] All preview modes correctly labeled (audible/metadata/analytical)
124
- - [ ] Persistence survives server restart
125
-
126
- ## Quick Verify Command
127
-
128
- ```bash
129
- echo "=== Versions ===" && grep -h '"version"' package.json server.json manifest.json livepilot/.Codex-plugin/plugin.json livepilot/.claude-plugin/plugin.json .claude-plugin/marketplace.json | head -8 && grep __version__ mcp_server/__init__.py remote_script/LivePilot/__init__.py && echo "=== Tool count ===" && grep -rc "@mcp.tool" mcp_server/ | grep -v ":0" | awk -F: '{sum+=$2} END{print "Total:", sum}' && echo "=== Tests ===" && python3 -m pytest tests/ -q 2>&1 | tail -1
130
- ```
@@ -1,105 +0,0 @@
1
- ---
2
- name: livepilot-sample-engine
3
- description: >
4
- This skill should be used when the user asks to "sample", "chop",
5
- "slice a loop", "find me a sample", "load a sample", "flip this",
6
- "resample", "vocal chop", "found sound", "texture from", "turn this into",
7
- "break", "one-shot", "load into Simpler", or when get_sample_opportunities
8
- finds gaps in the song's sample usage.
9
- ---
10
-
11
- # Sample Engine — AI Sample Manipulation for Ableton Live
12
-
13
- The Sample Engine is LivePilot's intelligence layer for sample discovery,
14
- analysis, critique, and creative manipulation. It turns raw samples into
15
- musical elements through 29 techniques drawn from Dilla, Burial, Amon Tobin,
16
- Four Tet, and DJ Premier.
17
-
18
- ## Philosophy: Surgeon vs Alchemist
19
-
20
- Every sample workflow is guided by one of two philosophies:
21
-
22
- - **Surgeon** — Precision. Match key, align tempo, carve frequencies, blend
23
- seamlessly. The sample should sound like it was always part of the track.
24
- - **Alchemist** — Transformation. Reverse, stretch, destroy, rebuild.
25
- The original creator shouldn't recognize their sample.
26
- - **Auto** (default) — Context decides. Building a clean layer? Surgeon.
27
- Stuck and need surprise? Alchemist. The critics and intent determine which.
28
-
29
- ## 6 MCP Tools
30
-
31
- | Tool | Purpose |
32
- |------|---------|
33
- | `analyze_sample` | Build SampleProfile — material type, key, BPM, recommendations |
34
- | `evaluate_sample_fit` | 6-critic battery — key, tempo, frequency, role, vibe, intent fit |
35
- | `search_samples` | Search Splice library, Ableton browser, and local filesystem |
36
- | `suggest_sample_technique` | Recommend techniques from the 29-recipe library |
37
- | `plan_sample_workflow` | End-to-end plan: analyze + critique + technique + compiled steps |
38
- | `get_sample_opportunities` | Analyze song for where samples could improve it |
39
-
40
- ## Workflow Modes
41
-
42
- ### Direct Request
43
- User asks to do something specific with a sample:
44
- ```
45
- "Chop this vocal into a rhythm"
46
- -> analyze_sample -> evaluate_sample_fit(intent="rhythm")
47
- -> suggest_sample_technique -> execute
48
- ```
49
-
50
- ### Discovery Mode
51
- User wants to find and use a sample:
52
- ```
53
- "Find me a dark vocal for this track"
54
- -> search_samples(query="dark vocal") -> present candidates
55
- -> user picks -> analyze -> critique -> plan -> execute
56
- ```
57
-
58
- ### Wonder Mode Integration
59
- When stuck, Wonder Mode can suggest sample-based variants:
60
- - 6 sample-domain semantic moves in the registry
61
- - Compiled plans require agent to supply `file_path` from prior `search_samples` results
62
- - Diagnosis detects: no_organic_texture, stale_drums, dense_but_static
63
- - Note: Wonder does not yet auto-call `search_samples` — the agent must chain the calls
64
-
65
- ## Golden Rules
66
-
67
- 1. **Always analyze before loading** — `analyze_sample` tells you what
68
- the material is before you commit to a technique
69
- 2. **Always critique before executing** — `evaluate_sample_fit` catches
70
- key clashes, tempo mismatches, and frequency masking before they happen
71
- 3. **Respect the intent** — "rhythm" and "texture" need different approaches
72
- even for the same sample
73
- 4. **Start from the nearest technique** — don't improvise a workflow when
74
- a proven recipe exists in the library
75
- 5. **Present both plans** — surgeon and alchemist. Let the user choose.
76
-
77
- ## Material Types
78
-
79
- | Type | Detection | Best Simpler Mode | Best Warp Mode |
80
- |------|-----------|-------------------|----------------|
81
- | vocal | "vocal", "vox", "voice" in name | Slice (Region) | Complex Pro |
82
- | drum_loop | "drum", "break", "beat" in name | Slice (Transient) | Beats |
83
- | instrument_loop | "guitar", "piano", "synth" | Slice (Beat) | Complex Pro |
84
- | one_shot | "kick", "snare", "clap", short | Classic | Complex |
85
- | texture | "ambient", "pad", "drone" | Classic | Texture |
86
- | foley | "foley", "field", "recording" | Classic | Texture |
87
- | fx | "fx", "riser", "sweep" | Classic | Complex |
88
- | full_mix | full mix, long duration | Slice (Beat) | Complex Pro |
89
-
90
- ## 6 Sample Critics
91
-
92
- Each scores 0.0-1.0 on one dimension of fitness:
93
-
94
- 1. **Key Fit** — Circle-of-fifths distance from song key
95
- 2. **Tempo Fit** — BPM match including half/double time
96
- 3. **Frequency Fit** — Spectral overlap with existing mix
97
- 4. **Role Fit** — Does this fill a missing role in the song?
98
- 5. **Vibe Fit** — Taste graph alignment (if evidence exists)
99
- 6. **Intent Fit** — Does the material serve the stated goal?
100
-
101
- ## Reference Docs
102
-
103
- - `references/sample-techniques.md` — Full 29-technique catalog
104
- - `references/sample-critics.md` — Critic scoring details
105
- - `references/sample-philosophy.md` — Surgeon vs Alchemist guide
@@ -1,87 +0,0 @@
1
- # Sample Critics — Scoring Reference
2
-
3
- ## Key Fit Critic
4
-
5
- Uses circle-of-fifths distance between sample key and song key.
6
-
7
- | Distance | Score | Relationship | Action |
8
- |----------|-------|-------------|--------|
9
- | 0 fifths | 1.0 | Same key | Load directly |
10
- | 1 fifth | 0.85 | Relative major/minor, dominant/subdominant | Layer with care |
11
- | 2 fifths | 0.7 | Closely related | Works for most intents |
12
- | 3 fifths | 0.55 | Moderately distant | Transpose or use as texture |
13
- | 4 fifths | 0.4 | Distant | Heavy filtering needed |
14
- | 5+ fifths | 0.25-0.3 | Chromatic clash | Intentional tension only |
15
- | Unknown | 0.0 | Key not detected | Verify by ear |
16
-
17
- **Weight adjustment:** For "texture" intent, key_fit weight drops 50% (pitch matters less).
18
-
19
- ## Tempo Fit Critic
20
-
21
- Compares sample BPM against session tempo including half/double time relationships.
22
-
23
- | Deviation | Score | Action |
24
- |-----------|-------|--------|
25
- | <1% | 1.0 | Exact match, no warping |
26
- | <2% | 0.95 | Near-exact, minimal warp |
27
- | <5% | 0.8 | Light warp, quality preserved |
28
- | <10% | 0.6 | Moderate warp, choose mode carefully |
29
- | <15% | 0.4 | Significant — use Texture mode for ambient |
30
- | >15% | 0.2 | Extreme — texture use only |
31
- | Half time | 0.9 | Set warp to half-time |
32
- | Double time | 0.9 | Set warp to double-time |
33
- | Unknown | 0.0 | Estimate from onsets or verify |
34
-
35
- ## Frequency Fit Critic
36
-
37
- Requires M4L bridge spectral data. Without it, returns neutral 0.5.
38
-
39
- | Situation | Score | Action |
40
- |-----------|-------|--------|
41
- | Fills empty frequency gap | 1.0 | Perfect complement |
42
- | Partial overlap, manageable | 0.7 | Suggest EQ carving |
43
- | Heavy masking | 0.3 | Aggressive filtering or texture use |
44
- | Full spectrum into dense mix | 0.1 | Transformation source only |
45
-
46
- ## Role Fit Critic
47
-
48
- Cross-references material_type against existing track names/roles.
49
-
50
- | Situation | Score | Action |
51
- |-----------|-------|--------|
52
- | Fills missing role | 1.0 | "No percussion texture — this fills the gap" |
53
- | Complements existing | 0.7 | "Adds variety to palette" |
54
- | Redundant | 0.3 | "Already 3 synth layers — use as texture" |
55
-
56
- ## Vibe Fit Critic
57
-
58
- Uses TasteGraph when evidence exists (>0 entries). Otherwise neutral 0.5.
59
-
60
- Compares brightness, density, complexity of sample against user's taste profile.
61
-
62
- ## Intent Fit Critic
63
-
64
- Compatibility matrix — how well the material serves the stated intent:
65
-
66
- | Material \ Intent | rhythm | texture | layer | melody | vocal | atmosphere | transform |
67
- |-------------------|--------|---------|-------|--------|-------|------------|-----------|
68
- | vocal | 0.6 | 0.6 | 0.8 | 0.9 | 1.0 | 0.5 | 0.9 |
69
- | drum_loop | 1.0 | 0.5 | 0.6 | 0.2 | — | 0.3 | 0.9 |
70
- | instrument_loop | 0.5 | 0.6 | 1.0 | 1.0 | 0.3 | 0.5 | 0.9 |
71
- | one_shot | 0.9 | 0.4 | 0.3 | 0.5 | — | 0.3 | 0.8 |
72
- | texture | 0.2 | 1.0 | 0.7 | 0.3 | 0.2 | 1.0 | 0.8 |
73
- | foley | 0.5 | 0.8 | 0.4 | — | — | 0.9 | 0.8 |
74
- | fx | 0.3 | 0.7 | 0.3 | — | — | 0.8 | 0.7 |
75
-
76
- ## Composite Score
77
-
78
- Default weights:
79
- ```
80
- overall = key_fit(0.20) + tempo_fit(0.20) + frequency_fit(0.20)
81
- + role_fit(0.15) + vibe_fit(0.10) + intent_fit(0.15)
82
- ```
83
-
84
- Weights shift by intent:
85
- - **texture/atmosphere:** key_fit 0.10, tempo_fit 0.10, frequency_fit 0.25
86
- - **rhythm:** tempo_fit 0.25, key_fit 0.10
87
- - **melody:** key_fit 0.30, intent_fit 0.20
@@ -1,51 +0,0 @@
1
- # Surgeon vs Alchemist — The Dual Philosophy
2
-
3
- ## When to be a Surgeon
4
-
5
- The sample should serve the song without drawing attention to itself.
6
-
7
- - **Building a clean layer** — matching key, tempo, frequency
8
- - **Adding percussion variety** — break layering under existing drums
9
- - **Key-matched melodic layers** — transpose and blend
10
- - **Chord stab extraction** — isolate and retrigger cleanly
11
- - **User says:** "blend", "layer", "match", "fit", "complement"
12
-
13
- **Surgeon priorities:** Key accuracy > tempo precision > frequency carving > volume balance
14
-
15
- ## When to be an Alchemist
16
-
17
- The sample is raw material for transformation. The result should surprise.
18
-
19
- - **Stuck on a boring section** — inject chaos via destruction
20
- - **Need organic texture** — reverse, stretch, scatter
21
- - **Vocal as instrument** — chop syllables into rhythm
22
- - **One-sample challenge** — constraint breeds creativity
23
- - **User says:** "flip", "destroy", "mangle", "transform", "surprise me"
24
-
25
- **Alchemist priorities:** Novelty > texture > emotion > originality
26
-
27
- ## Auto Mode Decision Tree
28
-
29
- ```
30
- User said "blend/layer/match/fit"? -> Surgeon
31
- User said "flip/destroy/mangle/weird"? -> Alchemist
32
- Wonder Mode (stuck rescue)? -> Alchemist
33
- Intent is "texture" or "atmosphere"? -> Alchemist
34
- Intent is "layer" or "melody"? -> Surgeon
35
- Intent is "rhythm"? -> Both available, lean Surgeon for drums, Alchemist for vocals
36
- Intent is "transform" or "challenge"? -> Alchemist
37
- No clear signal? -> Present both, let user choose
38
- ```
39
-
40
- ## The Masters
41
-
42
- | Producer | Philosophy | Signature |
43
- |----------|-----------|-----------|
44
- | J Dilla | Both | Surgical chop points, alchemical timing/swing |
45
- | Burial | Alchemist | Ghostly vocal fragments, vinyl crackle as instrument |
46
- | Amon Tobin | Alchemist | 80+ samples per track, serial destruction |
47
- | Four Tet | Alchemist | Found-sound countermelody, collage composition |
48
- | DJ Premier | Surgeon | Perfect stab isolation, rhythmic precision |
49
- | Madlib | Alchemist | Blind crate digging, cross-genre flipping |
50
- | RZA | Both | Cinematic soul sampling with dialogue and detuning |
51
- | Bon Iver | Surgeon | Pitch-shifted vocal stacks, harmonic layering |