mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1712] [MERGED] feat(quartermaster): hidden items, description lock, feed options (0.1.29) #1705
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#1705
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/1712
Author: @newfiesledneck
Created: 10/25/2026
Status: ✅ Merged
Merged: 10/26/2026
Merged by: @SpicyMarinara
Base:
staging← Head:feat/quartermaster📝 Commits (6)
7265323feat(quartermaster): hidden items, description lock, feed options (0.1.29)63f3b34Merge remote-tracking branch 'upstream/staging' into feat/quartermasterd1bffffMerge branch 'staging' into feat/quartermaster1c8fc55fix(quartermaster): keep pending-change answers in their own chat (0.1.30)915c2d3docs(quartermaster): correct the resolvePending comment (0.1.31)a7c5dc1Merge branch 'staging' into feat/quartermaster📊 Changes
23 files changed (+3563 additions, -383 deletions)
View changed files
➕
artifacts/quartermaster-0.1.29.zip(+0 -0)➕
artifacts/quartermaster-0.1.30.zip(+0 -0)➕
artifacts/quartermaster-0.1.31.zip(+0 -0)📝
catalog/catalog.json(+8 -8)📝
catalog/notes.json(+18 -18)📝
catalog/v2/catalog.json(+8 -8)📝
catalog/v2/notes.json(+18 -18)📝
catalog/v3/catalog.json(+8 -8)📝
catalog/v3/notes.json(+18 -18)📝
eslint.config.mjs(+5 -0)📝
packages/quartermaster/CHANGELOG.md(+20 -0)📝
packages/quartermaster/README.md(+94 -10)📝
packages/quartermaster/client.js(+1004 -77)📝
packages/quartermaster/manifest.json(+5 -5)📝
packages/quartermaster/server.mjs(+586 -85)📝
packages/quartermaster/src/00-api.js(+29 -3)📝
packages/quartermaster/src/05-state.js(+142 -5)📝
packages/quartermaster/src/10-dock.js(+345 -57)📝
packages/quartermaster/src/11-wardrobe.js(+165 -7)➕
packages/quartermaster/src/13-pending.js(+303 -0)...and 3 more files
📄 Description
Pull request
Linked issue
Closes #1667 Closes #1668
Why this change
#1667: players want to keep some items and outfits secret from the agent, such as a surprise gift, a disguise or a hidden stash. Until now, every item went into the agent's context, and the agent could rewrite or remove any of them. And metagame its existence. This provides a way(with supporting features) for users to hide items/outfits as they see fit, which also as a bonus reduces tokens sent in the prompt when an item is hidden.
#1668: the appearance feed could only send outfit descriptions or a list of equipped item names. Image prompts (Illustrator, outfit portraits) often need the items' descriptions too. This provides more options for users to choose from for what details are sent and resolved in the macro.
Quick delete: Provides a way for users to quickly delete multiple hidden items for management. That was the main intent, but it also works for other purposes outside of just hidden item management, deleting an item took three clicks (⋯ → Delete → confirm). An optional per-device quick-Delete button makes cleaning up a large inventory quicker.
-Supporting changes were made to build out the features from the issues, so they could work with various use cases rather than just the specific ones reported in the issue.
What changed
Hidden items and outfits
Hidden Items settings (per chat)
-Changes the agent tries to make to a hidden item wait for review in a popup that shows only the changed fields, old next to new. Closing the popup moves the change to a Pending Item Changes section in the dock.
Description lock
Feed appearance
Other
Generated outputs: packages/quartermaster/client.js, server.mjs and manifest.json; artifacts/quartermaster-0.1.29.zip; and the Quartermaster entries in catalog/. All of these were rebuilt with scripts/build-quartermaster-package.mjs. Both changelogs and the README are updated.
Package and security impact
The executable code changed in both client.js and server.mjs.
New and changed routes, all under the existing /api/quartermaster prefix:
hide/show for items and outfits
description lock
pending-change review (resolve and mark seen)
the Build Wardrobe hidden-item choices
The routes check their input the same way the existing ones do.
The settings route rejects an unknown access mode, and Import replaces one with the default.
The pending review route rejects any decision other than accept or keep.
An unknown Build Wardrobe choice counts as Skip.
New per-chat settings, plus a per-chat list of pending changes.
Data saved by earlier versions loads with the defaults.
Export/Import carries the new fields and settings, but leaves pending changes out.
Quick delete is stored in the browser's localStorage under marinara.quartermaster.quickDelete.
The usual update/install + restart for quartermaster.
Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
In addition to manually running the validation steps, Automated checks were performed as part of my usual update process, These passed locally before the commit:
npm run check
node scripts/test-catalog-lanes.mjs
node scripts/validate-package-locales.mjs
node scripts/validate-catalog.mjs
node scripts/tests/catalog-release-notes.regression.mjs
node scripts/tests/vendored-engine.regression.mjs
node tests/quartermaster-modal-lifecycle.regression.mjs (31 tests)
git diff --check
New regression tests. They cover:
the agent's view of hidden items, and the rule that worn items are visible
all four access modes
the agent taking off worn hidden items
outfits equipping and removing their hidden pieces
the description lock on every agent route
asking first, then settling, including stale and deleted items
the Build Wardrobe hidden choices
all seven feed modes
snapshot rebuilds with default slot, hidden state and lock
Export/Import
Bag Hidden tab filtering
pending popup behavior: opening, deferring, and stale accept → override
Six deliberate breakages of the new logic were each caught by these tests.
Manual testing in Marinara Engine. Quartermaster 0.1.29 was installed from the dev catalog and tested in Roleplay chats:
Hiding and showing items and outfits. The Hidden tab, and the setting that also shows hidden items in their usual tab. Hidden labels in the Tracker Panel. A narrow dock.
Agent context: hidden items are left out; worn hidden items are included, whether equipped by hand or through an outfit; taking them off hides them again.
Over several turns:
each access mode
the ask popup, with accept and keep
locked and unlocked descriptions
Pending changes: the stale-item and deleted-item reviews. Pending changes stay with their own chat when switching chats.
The Build Wardrobe hidden-item step (overwrite / keep / skip).
Quick delete. Each feed appearance mode. The new settings layout and tooltips.
Not tested by hand: hiding a worn item. The dock doesn't allow it, since worn items can't be edited. The server rule (hiding takes the item off) is covered by a regression test.
Documentation impact
The Quartermaster README now has a "Hidden Items & Locked Descriptions" section. Its Bag tabs, Settings, Build Wardrobe, Appearance Macro and Tracker Panel sections are updated, and both changelogs have 0.1.29 entries.
UI evidence (if applicable)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.