- Resolve PSP folder paths from the same bundle set the manifest lists
(visible ROM, unslotted, newest per folder), so GET/PUT/DELETE can no
longer hit a slotted history bundle or a hidden ROM's bundle.
- Split validate_path's base-directory case out of its startswith guard,
so CodeQL recognizes the guard as a py/path-injection sanitizer.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>