[GH-ISSUE #5125] [Issue]: Inventory Tracker can lose or duplicate data on partial updates #2833

Closed
opened 2026-10-21 05:56:29 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @SpicyMarinara on GitHub (Aug 16, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5125

Originally assigned to: @SpicyMarinara on GitHub.

Summary

The structured Roleplay Inventory Tracker can erase groups omitted from an agent response, duplicate a locked carried item after equipping it, persist invalid quantities after numeric overflow, and remain hidden for existing users whose saved panel order predates the section.

Expected behavior

Partial agent output updates only emitted groups; equipping an item moves it out of carried inventory even when names differ only by normalization; quantities remain finite; existing layouts gain the Inventory section on migration.

Actual behavior

Omitted groups may be replaced with empty arrays, lock merging can restore a carried duplicate after it was equipped, oversized quantities serialize as null, and persisted UI store version 93 does not rerun section-order normalization.

Additional context

Found while reviewing the feature introduced for #5105. Existing implementation PR: #5117.

Originally created by @SpicyMarinara on GitHub (Aug 16, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5125 Originally assigned to: @SpicyMarinara on GitHub. ## Summary The structured Roleplay Inventory Tracker can erase groups omitted from an agent response, duplicate a locked carried item after equipping it, persist invalid quantities after numeric overflow, and remain hidden for existing users whose saved panel order predates the section. ## Expected behavior Partial agent output updates only emitted groups; equipping an item moves it out of carried inventory even when names differ only by normalization; quantities remain finite; existing layouts gain the Inventory section on migration. ## Actual behavior Omitted groups may be replaced with empty arrays, lock merging can restore a carried duplicate after it was equipped, oversized quantities serialize as null, and persisted UI store version 93 does not rerun section-order normalization. ## Additional context Found while reviewing the feature introduced for #5105. Existing implementation PR: #5117.
bsakaguchi 2026-10-21 05:56:29 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Aug 16, 2026):

@SpicyMarinara is taking this through the existing fix in #5117.

<!-- gh-comment-id:5306316951 --> @SpicyMarinara commented on GitHub (Aug 16, 2026): @SpicyMarinara is taking this through the existing fix in #5117.
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#2833
No description provided.