Cubase-MCP-GAJ3T.MusicGen.R.../prompts/step_16.md

100 lines
5.7 KiB
Markdown

# Step 16: Release0.2.0 hybrid notation; verify exact restart prompt
## Objective and accepted prerequisites
Read reports14/15/15_fix and current accepted hybrid source/tests/docs. Step14
pitch/voicing and corrected Step15 public hybrid paths are accepted after
report/source review and independent158+124 focused tests.
The old report15 D2 fixture blocker is historical; do not call hybrid unsupported.
Final user request: implement the hybrid then tell them when to restart their
LM Studio MCP and provide an updated working prompt for the original2 bars.
No commits, delegation, later prompts, user LM Studio chat/config/process/DAW
changes, new dependency or unrelated feature.
## Release and owned work
- Single source package version0.2.0, necessary package/tests/current doc updates.
- Directly necessary parser defects exposed by final example/acceptance, with
focused regressions. Do not weaken exactness/privacy/atomic tests.
- Real final wheel+sdist under dist/hybrid-0.2.0-20261020.
- Current README/architecture/compatibility with tested hybrid/chord/notation,
restart/fresh-chat and a copy-ready ORIGINAL two-measure prompt.
- prompts/report_16.md.
Do not overwrite historical reports or artifacts. Refresh only local editable
application metadata offline/no-deps/no-build-isolation if necessary for version;
no runtime/development dependency restore/global install.
## Exact final description (must work directly)
Lead guitar in E minor, 4/4, 120 BPM, 2 bars.
Bar 1:
Counts: 1 & 2 & 3 & [4 trip let]
Events: x x x x x x [x x ^]
Notes: E2 E2 E2 E2 E2 E2 E2 E2 E2
Hold the final E2 through the end of bar 2 without retriggering.
This is the original E2 single-note phrase, not the later chord variant.
The final response will tell LM Studio's model to call generate_music with this
description verbatim, new basename and no fabricated formats/profiles/CC.
Actual expectations (seed0):
-8 palm-muted E2 notes then1PH E2; no bar2 retrigger.
-MIDI960 onsets0,480,960,1440,1920,2400,2880,3200,3520; lastoff7680.
-Native480 half-times,8PM+1PH,Measures2/KeyEm/PPQ480/end3840/string6fret4.
-PM26 selector0..30;PH31 selector3520..3550; no CC/programs/effects.
-Original0.1.1 musical byte hashes remain unchanged:
MIDI c1967e698a50b8c22a22e458c3e2dd02d04407d1ad1d61f8a462d790b0810e62
griff e8195e74c60ac93b1a4c92967a0834a64b2a2ebd74f453d6d3640ea465c4104c
-Result interpretation lists all9 exact attacks/pitches/techniques and final hold.
## Required acceptance
1. Full pytest, Ruff lint/format, strict mypy and pip check.
2. Build final current0.2.0 wheel/sdist FROM final source; run the EXACT persisted
wheel noneditably outside checkout with real stdio and verify loaded package
modules/profile resources truly originate there and report0.2.0.
3. Validate original final prompt minimal arguments through SOURCE and exact
wheel, complete JSON TextContent=structuredContent, actual native/MIDI bytes,
independent Mido/XML reader expectations above. Compact variant and explicit
all-tilde second bar must preserve music, not rerender to approximate pattern.
4. Validate corrected playable chord example:
Chords:F#2 F#2 D3 D3 Bb2 Bb2 - - -
Notes:- - - - - - C4 E4 G4; sameEvents/Counts, finalG4 hold.
21 exact musical tones; real native and MIDI. Explicit D2 variant must keep
exact MIDI with allowed fallback, never hiddenD3 revoice/native success.
5. Public exact Em4OverB2,Em4/B,explicit[C3 E3 G3] tests; case/width/compact/
grid ambiguity, duplicate mismatched lanes, rest/continuation/prose conflict,
reserved slide error. Old simple/native/CC/SD3/template/atomic suites intact.
6. Publish ONE original requested E2 riff through a NEW real0.2.0 MCP process
under existing operator root D:\MusicGenOutput with unique descriptive
basename (include hybrid/date to avoid collisions). No unnecessary SD3
template for lead-only. Use fallback=false to require actual native guitar.
Independently reopen/user output and record exact paths/sizes/hashes/
interpretation. Do NOT overwrite prior user files or create sidecars.
7. Recheck final wheel/profile/doc/source identity and no private chat/template/
factory music/manual binary in packages. Clean owned temp processes/stages.
8. Documentation must distinguish implemented o/x/^/-/~ from reserved slides.
Do NOT claim / or backslash slides generated. They return actionable errors
until evidenced target/origin/timing codec support exists.
9. Explain C4=60, chord digit=root octave, slash/Over bass policy, no key retune,
raw explicit pitches may be unplayable physically (truthful native fallback).
Do not conflate compound grouping or countA with pitchA. Prose remains
bounded/local deterministic, not arbitrary language-model understanding.
10. No live LM Studio restart/manipulation. Tell user to restart MCP NOW AFTER
this verified update, then start a fresh chat to refresh schemas/cached tool
descriptions. Their existing configured venv path now resolves0.2.0, no
config edit/reinstall required. Never claim actual live model success.
Tests use original portable/native references read-only, no private template
shipped. Genuine SD3 optional tests can be opt-in if untouched, not required
for this lead-only notation feature. Disclose app/playback certification unrun.
When complete, write your end-of-step report to ./prompts/report_16.md including: what was implemented, test results (pass/fail with details), any issues encountered, and whether you're ready for the next step
One plain triple-backtick fence for entire report. Include exact final build
paths/hash/version, final copied working prompt, actual SOURCE/installed/user
MIDI+griff/interpretation evidence, test counts, preservation/limits and precise
restart/fresh-chat instruction. Stop after verified/report; no next prompt.