mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #2167] [Issue]: Spotify DJ agent prompt dropped the "no active playback -> start playing" instruction #1075
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#1075
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
Impact area
Environment
93555d4bRegression 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/.