# Tasks: Fix Musical Coherence ## Task List - [x] T1: Fix BASS_PATTERN_8BARS in scripts/compose.py — 4-note sparse i-iv-i-V pattern - [x] T2: Fix _resolve_chord_tones() in src/composer/melody_engine.py — single octave constraint - [x] T3: Fix EMOTION_PROGRESSIONS in src/composer/chords.py — m7/7 instead of min/maj - [x] T4: Fix build_pad_track() in scripts/compose.py — arpeggiated eighth-note movement - [x] T5: Fix _build_master_fxchain() in src/reaper_builder/__init__.py — correct Ozone plugin path - [x] T6: Fix _build_midi_source() delta-encoding bug — note-off in sorted event stream - [x] T7: Update tests to match new expected behavior - [x] T8: Run `python -m pytest tests/ -q` — 298 passed - [x] T9: Generate RPP with `python scripts/compose.py --bpm 95 --key Am --output output/musical_test.rpp --seed 42` - [x] T10: Verify generated RPP has correct note positions and content