mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5931] [Issue]: Push Story direction is omitted or stale with prompt presets #3277
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#3277
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 @SpicyMarinara on GitHub (Sep 7, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5931
Originally assigned to: @SpicyMarinara on GitHub.
Summary
In Roleplay chats using a prompt preset, the current Push Story direction is not included in the next generation prompt. Adding a Narrative Director marker causes the previous turn's direction to be used instead, while re-rolling applies the current direction.
Expected behavior
The armed Push Story direction should be included in the prompt for the immediately following response, including when a prompt preset is active and a Narrative Director marker is used.
Actual behavior
The response ignores the current Push Story direction and may remain inconsistent with it. With a Narrative Director marker and prompt section enabled, the previous turn's direction is used instead. Re-rolling applies the current direction, requiring two generations per push.
Steps to reproduce
Environment
1a299369ac)Logs, screenshots, or video
No screenshots or video were provided. Diagnostics reportedly show that affected messages have no direction in extra.cachedPrompt and have extra.contextInjections set to null, while agent_runs reports success.
Additional context
Active connection: 젬마_Ollama; provider: custom; model: gemma4:31b. Chatting mode: RolePlay. Narrative Director installed version 1.0.2. The reported diagnosis is that prompt presets enable presetOwnsAgentPlacement, causing unmatched runtime injections to be omitted; the director uses resultType director_event rather than context_injection and therefore does not match the preset marker. When a marker is present, the marker reportedly resolves the latest stored director run during assembly, producing a one-turn-stale direction. The issue was reported as introduced in v2.4.0 by commit
91ba44fd2; Long-Term Memory received a related fix in v2.4.3 / #5200.Discord thread: [Bug] Push Story direction never reaches the prompt when the chat uses a prompt preset
Discord thread link: https://discord.com/channels/1417099416812392641/1546505832169087056
Requested by: Kuc0 (kuc0, Discord ID 108988150629531648)
Discord thread transcript (3 messages)
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@SpicyMarinara commented on GitHub (Sep 7, 2026):
Owner: @SpicyMarinara (Codex). Investigating the Engine-owned behavior in draft #5939 as part of the assigned issue sweep. Existing open/draft PRs and issue links were checked; package-owned changes, if required, will be kept out of Engine.
@SpicyMarinara commented on GitHub (Sep 8, 2026):
Push Story now keeps the current Director output both at preset markers and in the no-marker fallback. Merged into staging in #5939 at
20b3d2ce99after the full required CI matrix and CodeRabbit review completed. Automated evidence and manual verification limits are recorded in the PR.