mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #8318] [Issue]: Macros can execute twice and trigger multiple one-time memories #8246
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#8246
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 (Oct 25, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8318
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Macros may run twice during a single turn, causing multiple memory-flash outcomes to fire even when each memory has a tracker intended to allow it only once.
Expected behavior
Only one memory flash should trigger after a single turn, and each memory tracker should prevent that memory from triggering again.
Actual behavior
After the first turn, two memories were shown as triggered. Debugging with Prof Mari indicated that some macros can be executed twice.
Steps to reproduce
Environment
Logs, screenshots, or video
Screenshots: https://cdn.discordapp.com/attachments/1563908422062317598/1563908422351589457/image.png?ex=6adf56b7&is=6ade0537&hm=8ba8e1fff24500a12a89a55b3af6d268a98c335aa52a5db35d55d80085d0a3f0 and https://cdn.discordapp.com/attachments/1563908422062317598/1563908422938923170/image.png?ex=6adf56b8&is=6ade0538&hm=79f0aed7b9ab930ef4925363a27ed22c2aaad9dbf327087d0ad6c3bd389c4e74. Support Diagnostics: build 2.5.0+c56501495a8b, commit
c56501495a; no application logs provided.Additional context
The card is inspired by The Hangover and uses a die roll to select possible memories. Each memory has a tracker so it should occur only once. The issue was observed after the first turn while debugging with Prof Mari.
Discord thread: Post History Instructions is run multiple times
Discord thread link: https://discord.com/channels/1417099416812392641/1563908422062317598
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
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 (Oct 25, 2026):
Implementation owner: @SpicyMarinara (Codex). I am tracing the live prompt path and preserving a deterministic failing regression before changing production code. The current reproduced defect is that resolving an unrelated deferred character name also evaluates unused character fields, including Post History Instructions, against the live chat-variable map. I will link the early draft PR here and keep the reported card/device reproduction separate from the controlled regression.