[GH-ISSUE #2144] [Issue]: Game mode — Spotify DJ no longer starts music on cold start (no-active-playback instruction dropped) #1055

Closed
opened 2026-10-21 05:25:53 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @Romuromylus on GitHub (Jun 4, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2144

Summary

Severity: minor. The Spotify DJ agent prompt lost its cold-start clause, so when Spotify is connected but idle (nothing playing) the agent may return none instead of choosing a track and starting playback.

Expected behavior

As in main, spotify rule 1: "ALWAYS check current playback first. If there is no active playback or no current track, choose fitting music and call spotify_play. If <spotify_dj_constraints> includes manualRetry or forceFreshPick..."

Actual behavior

The refactor's rule 1 drops the "no active playback ... call spotify_play" clause entirely, describing only the manualRetry/forceFreshPick path and the "existing track still fits -> keep it / none" path. No code-side empty-playback auto-play fallback exists.

Steps to reproduce

  1. Connect Spotify but leave it idle (no track loaded).
  2. Start a game turn that should score the scene.
  3. Refactor: the DJ may pick no track (silence). Main: it picks a fitting track and starts playback.

Impact area

  • Game mode
  • React-free engine behavior, contracts, agents, or capability ports

Environment

  • Branch or commit: refactor @ 14894608
  • Run mode: Tauri desktop
  • Compared against: main @ c49f1d95 (legacy web app)

Regression notes

Worked in the legacy web app.

  • main: packages/shared/src/constants/agent-prompts.ts:489 (clause present).
  • refactor: src/engine/contracts/constants/agent-prompts.ts:500 (clause absent).
Originally created by @Romuromylus on GitHub (Jun 4, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2144 ## Summary **Severity: minor.** The Spotify DJ agent prompt lost its cold-start clause, so when Spotify is connected but idle (nothing playing) the agent may return `none` instead of choosing a track and starting playback. ## Expected behavior As in main, spotify rule 1: "ALWAYS check current playback first. **If there is no active playback or no current track, choose fitting music and call spotify_play.** If <spotify_dj_constraints> includes manualRetry or forceFreshPick..." ## Actual behavior The refactor's rule 1 drops the "no active playback ... call spotify_play" clause entirely, describing only the manualRetry/forceFreshPick path and the "existing track still fits -> keep it / none" path. No code-side empty-playback auto-play fallback exists. ## Steps to reproduce 1. Connect Spotify but leave it idle (no track loaded). 2. Start a game turn that should score the scene. 3. Refactor: the DJ may pick no track (silence). Main: it picks a fitting track and starts playback. ## Impact area - [x] Game mode - [x] React-free engine behavior, contracts, agents, or capability ports ## Environment - Branch or commit: `refactor` @ `14894608` - Run mode: Tauri desktop - Compared against: `main` @ `c49f1d95` (legacy web app) ## Regression notes Worked in the legacy web app. - main: `packages/shared/src/constants/agent-prompts.ts:489` (clause present). - refactor: `src/engine/contracts/constants/agent-prompts.ts:500` (clause absent).
bsakaguchi 2026-10-21 05:25:53 +07:00
Author
Owner

@cha1latte commented on GitHub (Jun 4, 2026):

Fixed in #2189

<!-- gh-comment-id:4624796648 --> @cha1latte commented on GitHub (Jun 4, 2026): Fixed in #2189
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#1055
No description provided.