mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #6185] [Issue]: Support incremental tracker item operations #3449
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#3449
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 14, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6185
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Add incremental tracker operations for adding, updating, and removing individual items without requiring the entire tracker contents to be regenerated. The system should continue supporting full tracker replacement for models that output the complete structure.
Expected behavior
Agents and users should be able to add, update, or remove individual tracker items through explicit operations, while existing full-output tracker updates remain supported.
Actual behavior
Updating a tracker currently requires or may result in outputting and replacing the entire tracker, increasing token usage and making item-level deletion or modification less efficient.
Steps to reproduce
Environment
Logs, screenshots, or video
Not provided in the Discord context.
Additional context
The requested operations include add, update, and remove, with update changes scoped to a specific item, such as an item ID. The report is intentionally limited to incremental tracker operations and does not request a new structured collection tracker. The maintainer indicated that both incremental and full tracker formats should be supported because some models may still output the entire JSON.
Discord thread: [Feature Request] Could Trackers Support Structured Lists and Add/Update/Remove Operations?
Discord thread link: https://discord.com/channels/1417099416812392641/1548866884600864850
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)
Discord thread transcript (6 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 14, 2026):
Basically, replace the prompt with an instruction that the model should return only the values that are actually updated/removed; leaving the ones that don't get updated alone.
@SpicyMarinara commented on GitHub (Sep 14, 2026):
Codex is handling this assigned issue on behalf of @SpicyMarinara in the staging sweep branch fix/assigned-sweep-6180-6186. No existing issue-linked branch, open PR, or project item was found. I will verify the affected flow and reuse the existing implementation where possible.
@SpicyMarinara commented on GitHub (Sep 14, 2026):
Confirmed that changing only the instruction would be unsafe: the current handlers replace emitted lists, so a shorter list would remove untouched rows. #6188 keeps that legacy full-list format and adds one explicit per-list form: {"updates":[changed rows],"removed":[existing names or character IDs]}. It reuses the existing row shapes, field locks, and persistence paths. The companion Agents PR Pasta-Devs/Marinara-Agents#849 updates the four tracker prompts to prefer this only when the host advertises support; older hosts retain full-list output. No new tracker type or generic collection UI.
@SpicyMarinara commented on GitHub (Sep 14, 2026):
Fixed on staging by #6188 and Pasta-Devs/Marinara-Agents#849. Explicit updates/removals preserve untouched rows and locked values while legacy full-list output remains supported. World State, Character Tracker, Custom Tracker, and Inventory Tracker 1.1.0 prefer incremental output when the host supports it.