mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #2084] [MERGED] fix(inventory-tracker): show incremental updates nested under each group (1.2.2) #2108
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#2108
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/2084
Author: @SpicyMarinara
Created: 11/3/2026
Status: ✅ Merged
Merged: 11/3/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/2077-inventory-nested-updates📝 Commits (1)
48e74d5fix(inventory-tracker): show incremental updates nested under each group (1.2.2)📊 Changes
11 files changed (+51 additions, -22 deletions)
View changed files
➕
artifacts/inventory-tracker-1.2.2.zip(+0 -0)📝
catalog/catalog.json(+6 -6)📝
catalog/notes.json(+6 -0)📝
catalog/v2/catalog.json(+6 -6)📝
catalog/v2/notes.json(+6 -0)📝
catalog/v3/catalog.json(+6 -6)📝
catalog/v3/notes.json(+6 -0)📝
packages/inventory-tracker/CHANGELOG.md(+3 -0)📝
packages/inventory-tracker/agents.json(+1 -1)📝
packages/inventory-tracker/manifest.json(+3 -3)📝
tests/inventory-tracker-contract.regression.mjs(+8 -0)📄 Description
Pull request
Linked issue
Closes #2077 (the package prompt). The Engine's handling of the bare form is Pasta-Devs/Marinara-Engine#8714.
Why this change
The Inventory Tracker prompt introduced its incremental format as a bare
{"updates": [rows], "removed": [...]}envelope without naming a group. Its older full-snapshot example, meanwhile, nests rows undercurrencies,equippedandinventory. Models often returned the bare envelope at the root. The Engine reads only the three group keys, so those results counted as "no change". In the reporter's chat, 30 of 54 runs carried real purchases, drops and removals that were silently lost.What changed
Package:
inventory-tracker1.2.2 (rebuilt artifact and catalog entries).updatesorremovedmay appear at the top level.tests/inventory-tracker-contract.regression.mjsparses that example and checks the nested shape and the no-top-level rule. It fails on 1.2.1.[highlight]because more than half the runs in the report lost real changes.Package and security impact
inventory-trackerValidation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdWhat the agent ran:
node tests/inventory-tracker-contract.regression.mjspasses, and fails against the 1.2.1 prompt.build-agent-catalog.mjs inventory-trackerrebuilds byte-identically.test-catalog-lanes.mjs,validate-package-locales.mjs, the catalog release-notes and generatedAt-determinism regressions, andnpm run check(0 errors).validate-catalog.mjspasses with the referenced artifacts restored. The sparse worktree leaves them out.Manual verification notes
currencies,equippedorinventory.Documentation impact
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.