[GH-ISSUE #1900] Expression and Spotify agents no longer preserve legacy special execution isolation #925

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

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

Originally assigned to: @SpicyMarinara on GitHub.

Summary

The refactor narrows special-agent individual execution compared with legacy. Expression and Spotify agents no longer appear to be forced through individual execution by shouldRunAgentIndividually; only lorebook-keeper is isolated there.

Evidence

Refactor behavior:

  • src/engine/agents-runtime/executor/agent-executor.ts returns true from shouldRunAgentIndividually only for lorebook-keeper.
  • Single-agent routing still has special prompt paths for expression agents and game-mode Spotify agents.
  • Non-game Spotify appears to fall back to standard agent message construction in the current executor path.

Legacy behavior:

  • Legacy shouldRunAgentIndividually isolated expression, lorebook-keeper, and spotify.
  • Legacy Spotify prompt construction handled both roleplay and game context paths.

Impact

Expression and Spotify agents may be batched in cases where legacy isolated them. Spotify prompt behavior may also differ outside game mode. This can change prompt shape, result parsing, and special-agent reliability.

Expected

Decide whether expression and Spotify agents still require individual execution in the refactor. Also verify whether Spotify should preserve legacy roleplay/game prompt handling or whether game-only special handling is intentional.

Notes

This is a parity finding from static inspection, not a confirmed app-level behavior repro.

Originally created by @Xelvanis on GitHub (Jun 2, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1900 Originally assigned to: @SpicyMarinara on GitHub. ### Summary The refactor narrows special-agent individual execution compared with legacy. Expression and Spotify agents no longer appear to be forced through individual execution by `shouldRunAgentIndividually`; only `lorebook-keeper` is isolated there. ### Evidence Refactor behavior: - `src/engine/agents-runtime/executor/agent-executor.ts` returns true from `shouldRunAgentIndividually` only for `lorebook-keeper`. - Single-agent routing still has special prompt paths for expression agents and game-mode Spotify agents. - Non-game Spotify appears to fall back to standard agent message construction in the current executor path. Legacy behavior: - Legacy `shouldRunAgentIndividually` isolated `expression`, `lorebook-keeper`, and `spotify`. - Legacy Spotify prompt construction handled both roleplay and game context paths. ### Impact Expression and Spotify agents may be batched in cases where legacy isolated them. Spotify prompt behavior may also differ outside game mode. This can change prompt shape, result parsing, and special-agent reliability. ### Expected Decide whether expression and Spotify agents still require individual execution in the refactor. Also verify whether Spotify should preserve legacy roleplay/game prompt handling or whether game-only special handling is intentional. ### Notes This is a parity finding from static inspection, not a confirmed app-level behavior repro.
Author
Owner

@SpicyMarinara commented on GitHub (Jun 2, 2026):

Fixed on refactor in a4ba3c90: expression and Spotify agents are isolated for individual execution again, and Spotify now uses the special compact prompt path for both roleplay and game turns. Verification passed: typecheck, architecture, docs, build, cargo check, diff check.

<!-- gh-comment-id:4601637246 --> @SpicyMarinara commented on GitHub (Jun 2, 2026): Fixed on refactor in a4ba3c90: expression and Spotify agents are isolated for individual execution again, and Spotify now uses the special compact prompt path for both roleplay and game turns. Verification passed: typecheck, architecture, docs, build, cargo check, diff check.
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#925
No description provided.