mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #2551] [Issue]: manual edits to character tracker do not persist #1261
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#1261
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 @stclaire on GitHub (Jun 13, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2551
Originally assigned to: @SpicyMarinara on GitHub.
Summary
When a manual edit is made to the character tracker, for example changing the outfit listed for a character, it fails to persist at the next agent run.
Expected behavior
After the agent runs next, the updated text should remain (unless something in the most recent prompt triggers new text).
Actual behavior
After the agent runs next, it reverts to the text that was present before the manual edit.
Steps to reproduce
Environment
Build:
3663484Logs, screenshots, or video
Additional context
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 (Jun 13, 2026):
That is not how it's supposed to work, if we were to disable that, if you edit the trackers manually once, they would never update again. I assume this is not what you'd like. The edit is saved and used for the next generation as a base, but the newly generated trackers will replace the old ones. If you mean some trackers shouldn't update because the character state didn't change, it's worth mentioning in the prompt to only update a selected state if an actual change occurs.
@stclaire commented on GitHub (Jun 13, 2026):
It's using the original generated text, prior to the manual edit, as the base for the next generation. Because the text post subsequent-generation is identical, word for word, to the original generated text.
It should use the manual edit text as a base, as you said.
@SpicyMarinara commented on GitHub (Jun 14, 2026):
Codex is investigating the follow-up in branch : manual tracker edits should be used as the base context for the next tracker generation, even though newly generated tracker output may replace the old value afterward.
@SpicyMarinara commented on GitHub (Jun 14, 2026):
Follow-up fix is in draft PR #2558: https://github.com/Pasta-Devs/Marinara-Engine/pull/2558
The tracker agent context now prefers the active visible tracker snapshot for the matching assistant message, so manual edits are used as the base for the next tracker generation instead of stale committed tracker state.