Cubase Project Migration
Domain: visual_media — Audio, Music & Post-Production Media

Summary: Repair a Cubase project that opens with missing plugins by substituting equivalent installed VSTs, then save the migrated session, export stems, and capture a verification screenshot.

Task prompt:
Goal: Migrate a Cubase project to this computer by replacing all missing/invalid VST plugins with equivalent ones from the available plugins, then export stems and a mixdown.

Software:
- Cubase: \software\Cubase.lnk

Input:
- Cubase project: \input\project.cpr

Before you begin:
1. Generate the list of VST3 plugins installed on this VM and save it to `\output\available_vsts.txt`. In PowerShell:
   `$roots = @('C:\Program Files\Common Files\VST3','C:\Program Files (x86)\Common Files\VST3'); $items = @(); foreach ($r in $roots) { if (Test-Path $r) { $items += Get-ChildItem -Path $r -Recurse -Filter *.vst3 -ErrorAction SilentlyContinue | Select-Object -ExpandProperty Name } }; ($items | Sort-Object -Unique) | Out-File -FilePath '\output\available_vsts.txt' -Encoding ascii`
2. Open the Cubase project at `\input\project.cpr` using the Cubase shortcut at `\software\Cubase.lnk` (e.g. double-click the .lnk, or `Start-Process '\software\Cubase.lnk'`).

Steps:
1. When the "Missing Plugins" dialog appears, note all unavailable VST plugins.
2. For each track with a missing VST instrument or effect:
   a. Open the track's instrument or insert slot.
   b. Replace the missing VST with a functionally equivalent one from the available plugins listed in `\output\available_vsts.txt`.
   c. Choose a preset or patch that best approximates the original sound character (e.g., replace a missing string library with an available string patch).
3. Play back the project and verify all tracks produce audible, artifact-free audio.
4. Export stems: for each track/channel as organized in the project (do NOT split or reorganize tracks — export exactly as the project defines them), solo it and export audio mixdown (WAV, 44.1 kHz or higher) to \output\stems\<track_name>.wav
5. Save the migrated project to \output\migrated_project.cpr
6. Take a screenshot of the Cubase MixConsole or arrange view showing all tracks with their replaced plugins visible:
   save_milestone_screenshot(path="\output\overview.png", description="Cubase project with replaced plugins")

Output files (all saved to \output):
- migrated_project.cpr: Cubase project with all missing VSTs replaced.
- stems/: Per-track solo WAV exports (one per track).
- overview.png: Screenshot of MixConsole or arrange view.


Required actions:
Open `input/project.cpr` in Cubase from `software/Cubase.lnk`.
Replace each missing or invalid VST with a functionally equivalent installed plugin from `input/available_vsts.txt`.
Verify the migrated project plays back with audible, artifact-free tracks.
Export one WAV stem per project-defined track or channel to `output/stems/`.
Save `output/migrated_project.cpr` and capture `output/overview.png` from Cubase.

Software: Cubase

Input files:
name: Cubase project
format: CPR
description: The broken Cubase session that opens with missing plugins on the target VM.
name: Available VST list
format: TXT
description: Agent-visible list of installed VST plugins that can be used as replacements.