[GH-ISSUE #2551] [Issue]: manual edits to character tracker do not persist #1261

Closed
opened 2026-10-21 05:30:08 +07:00 by bsakaguchi · 4 comments
Owner

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

  1. Create RP with character tracker agent enabled
  2. Wait for agent to generate details
  3. Manually edit field
  4. Trigger next response
  5. Wait for agent to run again
  6. Observe field revert

Environment

  • Marinara Engine version: Release: v1.6.1
    Build: 3663484
  • Install type: (source / installer / docker / termux / other) docker
  • OS + version: Arch Linux
  • Browser or app shell: Chrome on Android

Logs, 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:

  • I DID NOT read this template and provide the requested details.
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 <!-- What is wrong in one or two sentences? --> 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). <!-- What should have happened? --> ## Actual behavior After the agent runs next, it reverts to the text that was present before the manual edit. <!-- What happened instead? --> ## Steps to reproduce 1. Create RP with character tracker agent enabled 2. Wait for agent to generate details 3. Manually edit field 4. Trigger next response 5. Wait for agent to run again 6. Observe field revert ## Environment - Marinara Engine version: Release: v1.6.1 Build: 3663484 - Install type: (source / installer / docker / termux / other) docker - OS + version: Arch Linux - Browser or app shell: Chrome on Android ## Logs, screenshots, or video <!-- Paste relevant logs and add screenshots when possible --> ## Additional context <!-- Optional: related issue links, temporary workaround, etc. --> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:30:08 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@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.

<!-- gh-comment-id:4699708980 --> @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.
Author
Owner

@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.

<!-- gh-comment-id:4699723765 --> @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.
Author
Owner

@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.

<!-- gh-comment-id:4701410530 --> @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.
Author
Owner

@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.

<!-- gh-comment-id:4701431203 --> @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.
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#1261
No description provided.