mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6308] [Issue]: Built-in Tracker Agent Sections are ignored and tracker state is injected at the default context position #3519
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#3519
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 @minikkeuen on GitHub (Sep 18, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6308
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Built-in Tracker Agent Sections added to a preset do not control where tracker data is inserted into the prompt.
The Agent Section remains empty, while the tracker state is still automatically injected at its default position near the end of the context.
Expected behavior
When a built-in Tracker is configured with
Add as Prompt Sectionand its Agent Section is added to a preset, the tracker data should be inserted at that Agent Section's position.If the Agent Section is present, the default automatic tracker injection should not also be used for that tracker.
Actual behavior
The built-in Tracker Agent Section is ignored.
In the assembled prompt, no tracker data appears at the position of the Agent Section. Instead, the tracker state is injected at the normal automatic tracker context position near the end of the Chat History/context.
I confirmed this using
Exact Text Model Requestin Peek Prompt, so this is present in the actual request sent to the model rather than only in Live Preview/Prompt Preview.I reproduced this behavior with Character Tracker, Persona Stats, Inventory Tracker, and Quest Tracker.
Steps to reproduce
Add as Prompt Sectionenabled.Exact Text Model Request.Environment
Logs, screenshots, or video
Screenshots below show:
Exact Text Model Request, where the Agent Section is empty and the tracker state is instead injected at the default context position.Additional context
The current implementation appears to explicitly exclude built-in tracker types from normal Agent marker expansion and instead handles them through the separate committed tracker context injection path. This may explain why the Agent Section exposed by the preset editor does not affect their placement.
Template check
@SpicyMarinara commented on GitHub (Sep 18, 2026):
Implementation owner: Codex working for @SpicyMarinara in the September 18 issue sweep. No open or draft PR is linked to this issue. I am tracing the existing implementation and will link the draft PR here; fixes will reuse the existing paths and include focused regression evidence.
@SpicyMarinara commented on GitHub (Sep 18, 2026):
Implemented and merged into staging in #6310 (
be8ac7334d). All 41 checks passed on the final reviewed commit. Available on staging; this does not claim a stable release.