mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1307] [Feature]: Scenes should carry over the agents (and options) from the previous scene #642
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#642
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 @GetBeholder on GitHub (May 26, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1307
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
Generated scenes do not carry over the agents and other options you had enabled,
so you must re-enable them manually every time a scene is generated, which is long
and tedious. The reporter asked for a preset menu for
/sceneslike the rest ofthe chat systems. Maintainer Marinara [MARI] said a full preset menu is not really
possible because scenes work differently, but committed to making scenes
automatically add the agents you last had in a previous scene.
Proposed behavior
When generating a new scene, automatically carry over the agents (and ideally
other per-scene options) from the previous scene, so they do not have to be
re-enabled manually. Per the maintainer's commitment, at minimum the agents from
the last scene should be applied automatically.
Expected owner or impact area
Refactor branch considerations
From a quick scan (triage pointer, not from the reporter): scene creation already
inherits some state —
src/engine/modes/roleplay/scene/scene-service.tsinheritsactiveLorebookIdsfrom the prior scene/chat (inheritedActiveLorebookIds,~L123-154). Extending that same inheritance to the enabled agents (and other
per-scene options) would implement the maintainer's commitment. Keep it in the
roleplay scene service.
Alternatives considered
A full preset menu for scenes (the reporter's original request). The maintainer
noted scenes work differently, so a full preset menu is not really possible; the
agent carry-over is the agreed approach.
Additional context
Source: forum thread by Era [GS] (2-Star), 5/23/26 7:54 PM. Maintainer Marinara
[MARI] committed: "I will make it so that the scene automatically adds the agents
you last had in a previous scene." A related follow-up about scene
first-generation prompt quality is filed separately.
Template check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked:
@cha1latte commented on GitHub (May 26, 2026):
Triage note: labeling this as
normal-scopebecause the issue is narrowed from a full scene preset menu to reusing the agents/options already selected on the previous scene, and the body points at an existing scene-state inheritance path.Keep this in the normal enhancement backlog with the first slice limited to carrying over prior-scene agents before expanding to additional per-scene options.
@SpicyMarinara commented on GitHub (May 27, 2026):
Agreed, for one Conversation if there are several scenes created for it, this data should automatically carry between them.
@SpicyMarinara commented on GitHub (May 27, 2026):
Implemented on refactor in
981971c1: roleplay scene creation now carries forward the prior scene's agents, tools, and scene options, with scene-service coverage added. Validation: pnpm check, pnpm lint, and pnpm exec vitest run src/engine/modes/roleplay/scene/scene-service.test.ts.