mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #8714] [Issue]: Inventory Tracker results with a bare updates/removed envelope are dropped as a successful no-change #8471
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#8471
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 (Nov 3, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8714
Originally assigned to: @SpicyMarinara on GitHub.
Summary
The Inventory Tracker agent often returns its changes as a bare root envelope,
{"updates":[...],"removed":[...]}, with no group. The host reads onlycurrencies,equippedandinventory, so it applies nothing, logs nothing, and records the run as a success. This is the Engine half of Pasta-Devs/Marinara-Agents#2077, which found 30 of 54 runs in one chat carrying real changes that were dropped this way.Expected behavior
Actual behavior
buildLockedInventoryTrackerPatch(packages/server/src/routes/generate/generate-route-utils.ts) returns{ changed: false }when none of the three groups is present.agent-executor.tstolerates a bare envelope only for single-group trackers (SINGLE_GROUP_TRACKER_KEYS).Steps to reproduce
resultDatahas a top-levelupdatesorremovedchanged nothing, and are recorded as successes.Environment
Additional context
The package prompt is being fixed in Marinara-Agents to show the grouped shape (#2077). This issue is the host's handling, which must hold even when a model returns the bare form anyway.