[GH-ISSUE #2167] [Issue]: Spotify DJ agent prompt dropped the "no active playback -> start playing" instruction #1075

Closed
opened 2026-10-21 05:26:22 +07:00 by bsakaguchi · 0 comments
Owner

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

Originally assigned to: @Xelvanis on GitHub.

Summary

The Spotify DJ agent's Rule 1 in the legacy app told the agent to start playback when nothing was playing. The refactor removed that clause, so on an idle player with no manualRetry/forceFreshPick constraint the prompt no longer instructs the agent to begin a track and it can return action "none".

Expected behavior

Rule 1 retains the legacy clause: "If there is no active playback or no current track, choose fitting music and call spotify_play."

Actual behavior

Rule 1 jumps straight from "ALWAYS check current playback first" to the manualRetry/forceFreshPick clause; the cold-start sentence is gone entirely. On an empty player with no retry constraint, the agent can follow the "if the existing track still fits, keep it... otherwise none" branch and emit "none", leaving music silent.

Steps to reproduce

  1. Connect Spotify with nothing currently playing.
  2. Trigger the Spotify DJ agent without a manualRetry/forceFreshPick constraint.
  3. The agent may return action "none" instead of proactively picking and playing a track.

Impact area

  • React-free engine behavior, contracts, agents, or capability ports
  • Runtime systems: generation, world-state, visuals, tracker, or haptics

Environment

  • Branch or commit: refactor @ 93555d4b
  • Run mode: Tauri desktop
  • OS + version: Windows 11
  • Node + pnpm versions: n/a (static parity audit, main vs refactor)
  • Rust version, if relevant: n/a
  • Remote Runtime URL configured? not relevant
  • Provider, model, or integration, if relevant: Spotify DJ agent

Regression notes

Worked in legacy (main @ c49f1d95). main: packages/shared/src/constants/agent-prompts.ts:489. refactor @ 93555d4b: src/engine/contracts/constants/agent-prompts.ts:500 (clause removed). No relocation found anywhere in src/ or src-tauri/.

Originally created by @Romuromylus on GitHub (Jun 4, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2167 Originally assigned to: @Xelvanis on GitHub. ## Summary The Spotify DJ agent's Rule 1 in the legacy app told the agent to start playback when nothing was playing. The refactor removed that clause, so on an idle player with no manualRetry/forceFreshPick constraint the prompt no longer instructs the agent to begin a track and it can return action "none". ## Expected behavior Rule 1 retains the legacy clause: "If there is no active playback or no current track, choose fitting music and call spotify_play." ## Actual behavior Rule 1 jumps straight from "ALWAYS check current playback first" to the manualRetry/forceFreshPick clause; the cold-start sentence is gone entirely. On an empty player with no retry constraint, the agent can follow the "if the existing track still fits, keep it... otherwise none" branch and emit "none", leaving music silent. ## Steps to reproduce 1. Connect Spotify with nothing currently playing. 2. Trigger the Spotify DJ agent without a manualRetry/forceFreshPick constraint. 3. The agent may return action "none" instead of proactively picking and playing a track. ## Impact area - [x] React-free engine behavior, contracts, agents, or capability ports - [x] Runtime systems: generation, world-state, visuals, tracker, or haptics ## Environment - Branch or commit: refactor @ 93555d4b - Run mode: Tauri desktop - OS + version: Windows 11 - Node + pnpm versions: n/a (static parity audit, main vs refactor) - Rust version, if relevant: n/a - Remote Runtime URL configured? not relevant - Provider, model, or integration, if relevant: Spotify DJ agent ## Regression notes Worked in legacy (main @ c49f1d95). main: `packages/shared/src/constants/agent-prompts.ts:489`. refactor @ 93555d4b: `src/engine/contracts/constants/agent-prompts.ts:500` (clause removed). No relocation found anywhere in src/ or src-tauri/.
bsakaguchi 2026-10-21 05:26:22 +07:00
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#1075
No description provided.