[PR #930] [MERGED] feat: Add Quartermaster agent #1198

Closed
opened 2026-10-21 05:05:15 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/930
Author: @newfiesledneck
Created: 9/18/2026
Status: ✅ Merged
Merged: 9/26/2026
Merged by: @SpicyMarinara

Base: staging ← Head: Quartermaster


📝 Commits (10+)

  • 7918451 Scaffold Quartermaster capability package
  • 9aec0ac fix: set restartRequired for Quartermaster's routes permission
  • 03b66ed feat: add Quartermaster's first inventory data model slice
  • fd758c2 fix: normalize CRLF on read so the build is deterministic
  • 1d3d2a4 fix: style the roleplay-tracker toolbar button, bump to a dev version
  • 05fc998 feat: self-managed floating panel for the character sheet UI
  • ba354c4 fix: use real version bumps for dev-iteration builds, not a prerelease suffix
  • 26a0db3 fix: theme-matched panel, DELETE body bug, and add-form state loss
  • 1a8651e feat: equip slots and item locations
  • 825429f feat: item descriptions, saved outfits, and appearance-feed mode

📊 Changes

72 files changed (+18168 additions, -4 deletions)

View changed files

📝 .github/workflows/pull-request-checks.yml (+3 -0)
📝 CONTRIBUTING.md (+5 -0)
📝 README.md (+3 -1)
➕ artifacts/quartermaster-0.1.0.zip (+0 -0)
➕ artifacts/quartermaster-0.1.1.zip (+0 -0)
➕ artifacts/quartermaster-0.1.10.zip (+0 -0)
➕ artifacts/quartermaster-0.1.11.zip (+0 -0)
➕ artifacts/quartermaster-0.1.12.zip (+0 -0)
➕ artifacts/quartermaster-0.1.13.zip (+0 -0)
➕ artifacts/quartermaster-0.1.14.zip (+0 -0)
➕ artifacts/quartermaster-0.1.15.zip (+0 -0)
➕ artifacts/quartermaster-0.1.16.zip (+0 -0)
➕ artifacts/quartermaster-0.1.17.zip (+0 -0)
➕ artifacts/quartermaster-0.1.18.zip (+0 -0)
➕ artifacts/quartermaster-0.1.19.zip (+0 -0)
➕ artifacts/quartermaster-0.1.2.zip (+0 -0)
➕ artifacts/quartermaster-0.1.20.zip (+0 -0)
➕ artifacts/quartermaster-0.1.21.zip (+0 -0)
➕ artifacts/quartermaster-0.1.22.zip (+0 -0)
➕ artifacts/quartermaster-0.1.3.zip (+0 -0)

...and 52 more files

📄 Description

Linked issue

Closes #923

Related: #1089 (Relationship Tracker, merged to staging), Pasta-Devs/Marinara-Engine#6725 (Engine menu and documentation).

Why this change

Roleplay needs a durable, editable inventory and outfit manager that follows narration without replacing the whole inventory each turn. Quartermaster adds that optional tracker to the official staging catalogue.

What changed

  • Adds Quartermaster 0.1.22: persona inventory, equipment slots, named storage, saved outfits, optional item/outfit art, appearance context, export/import, recent-change reverts and inventory restoration.
  • Adds the generated armored Professor Mari cover, preview entries in both Engine lanes, release notes, installation and per-chat activation guidance. Relationship Tracker's companion preview is validated alongside it.
  • Guards dialog and chat transitions against late responses, cleans up child dialogs, reports export errors, and prevents failed outfit creation from replacing another outfit's portrait.
  • Uses request-local results for image uploads and outfit creation. Late inventory reads cannot undo a completed edit or replace a newer read. These fixes add no network requests or polling.
  • Keeps both new agents in staging previews until the next Engine main release after v2.4.6, tracked in #1091.

Package and security impact

  • Quartermaster supports Engine >=2.4.6 <4.0.0, Capability API 1.14, and the Roleplay persona inventory.
  • Permissions: agent-runtime, chat-read, chat-write, network, prompt-context, routes, storage, ui. Chat-write supports the optional appearance macro; network supports Engine image generation. Storage is package-owned per chat/owner. Host route registration enforces the existing privileged-access gate.
  • Installation and runtime updates require restart. The package builder derives the manifest hashes, deterministic archive and catalogue outputs. Shared catalogue routing keeps the preview out of stable listings.

Validation

Passed npm run check (0 errors; 849 existing repository warnings), catalogue lane/provenance checks, package locales, full catalogue/manifest/archive/hash validation, release-note regression, and git diff --check.

The runnable lifecycle regression exercises current and stale asynchronous results, chat switches including returning to the same chat, concurrent upload/save outcomes, older inventory reads, dialog cleanup, detached elements, export failures, and failed/successful outfit saves. It reproduced the upload-result and stale-read bugs before the fixes. It runs in the existing catalogue CI job.

Local and GitHub CodeRabbit findings were traced against the code. Valid findings were fixed with regression coverage. The catalogue URL warning was rejected because the Engine resolves canonical official archive/cover URLs to the catalogue's staging source branch; Relationship Tracker's actual public download verifies this path. The local suggestion to keep the creation form open after an optional portrait-upload failure is intentionally declined: the outfit has already been saved, the dock retains the upload error, and its existing Edit Outfit portrait control provides retry. Keeping the creation form open would let Save create a duplicate outfit.

Runtime verification

Both packages passed actual public staging download through Agents → Download Agents, restart/activation, and cover display at 1440px and 390px. Both tracker interfaces opened, and Quartermaster exported the equipped test sword without page errors. Offline-catalogue activation also passed. Menu uninstall cleans up registration, chat selection and agent configuration; reinstall preserves saved inventory/relationship data without silently reactivating the removed agent in a chat. All checks used isolated synthetic data. Publication proof is recorded in the PR comments and #1089. Required GitHub checks and the final full CodeRabbit review completed before the staging merge.

  • Manually verify install/update through Agents → Download Agents and restart.
  • Manually verify inventory and outfit editing in a Roleplay chat.
  • Manually verify optional image generation with the desired provider.
  • Manually verify mobile dock interaction and uninstall/reinstall persistence.

Documentation impact

Updated the root README, package README/CHANGELOG, artwork direction, and coordinated-release checklist. Engine guide updates are in Pasta-Devs/Marinara-Engine#6725; their translation follow-up is Pasta-Devs/Marinara-Engine#6726. Stable publication is not part of this staging merge.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Agents/pull/930 **Author:** [@newfiesledneck](https://github.com/newfiesledneck) **Created:** 9/18/2026 **Status:** ✅ Merged **Merged:** 9/26/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `Quartermaster` --- ### 📝 Commits (10+) - [`7918451`](https://github.com/Pasta-Devs/Marinara-Agents/commit/791845187a3ead636819ae5f03862eef1d266531) Scaffold Quartermaster capability package - [`9aec0ac`](https://github.com/Pasta-Devs/Marinara-Agents/commit/9aec0ac2b79dc28b1b48919a225d06ae544b5681) fix: set restartRequired for Quartermaster's routes permission - [`03b66ed`](https://github.com/Pasta-Devs/Marinara-Agents/commit/03b66eda53971e550b62863912f207a154830c62) feat: add Quartermaster's first inventory data model slice - [`fd758c2`](https://github.com/Pasta-Devs/Marinara-Agents/commit/fd758c2b492519a41f8638489374679982019842) fix: normalize CRLF on read so the build is deterministic - [`1d3d2a4`](https://github.com/Pasta-Devs/Marinara-Agents/commit/1d3d2a4b2f58dce5b954771f18fc98d03f53c4cb) fix: style the roleplay-tracker toolbar button, bump to a dev version - [`05fc998`](https://github.com/Pasta-Devs/Marinara-Agents/commit/05fc9988145fefc6d97ab3c2edeb1688fdcf02ac) feat: self-managed floating panel for the character sheet UI - [`ba354c4`](https://github.com/Pasta-Devs/Marinara-Agents/commit/ba354c4a832a87fc3503451bd0567f70fa717024) fix: use real version bumps for dev-iteration builds, not a prerelease suffix - [`26a0db3`](https://github.com/Pasta-Devs/Marinara-Agents/commit/26a0db393e9191d78166a7facdc3af17de26682c) fix: theme-matched panel, DELETE body bug, and add-form state loss - [`1a8651e`](https://github.com/Pasta-Devs/Marinara-Agents/commit/1a8651e1428a0f1a5e24e85ba7e3514cc67641c3) feat: equip slots and item locations - [`825429f`](https://github.com/Pasta-Devs/Marinara-Agents/commit/825429f2f5a3336e9d37061d831393edb5a6ca24) feat: item descriptions, saved outfits, and appearance-feed mode ### 📊 Changes **72 files changed** (+18168 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/pull-request-checks.yml` (+3 -0) 📝 `CONTRIBUTING.md` (+5 -0) 📝 `README.md` (+3 -1) ➕ `artifacts/quartermaster-0.1.0.zip` (+0 -0) ➕ `artifacts/quartermaster-0.1.1.zip` (+0 -0) ➕ `artifacts/quartermaster-0.1.10.zip` (+0 -0) ➕ `artifacts/quartermaster-0.1.11.zip` (+0 -0) ➕ `artifacts/quartermaster-0.1.12.zip` (+0 -0) ➕ `artifacts/quartermaster-0.1.13.zip` (+0 -0) ➕ `artifacts/quartermaster-0.1.14.zip` (+0 -0) ➕ `artifacts/quartermaster-0.1.15.zip` (+0 -0) ➕ `artifacts/quartermaster-0.1.16.zip` (+0 -0) ➕ `artifacts/quartermaster-0.1.17.zip` (+0 -0) ➕ `artifacts/quartermaster-0.1.18.zip` (+0 -0) ➕ `artifacts/quartermaster-0.1.19.zip` (+0 -0) ➕ `artifacts/quartermaster-0.1.2.zip` (+0 -0) ➕ `artifacts/quartermaster-0.1.20.zip` (+0 -0) ➕ `artifacts/quartermaster-0.1.21.zip` (+0 -0) ➕ `artifacts/quartermaster-0.1.22.zip` (+0 -0) ➕ `artifacts/quartermaster-0.1.3.zip` (+0 -0) _...and 52 more files_ </details> ### 📄 Description ## Linked issue Closes #923 Related: #1089 (Relationship Tracker, merged to staging), Pasta-Devs/Marinara-Engine#6725 (Engine menu and documentation). ## Why this change Roleplay needs a durable, editable inventory and outfit manager that follows narration without replacing the whole inventory each turn. Quartermaster adds that optional tracker to the official staging catalogue. ## What changed - Adds Quartermaster 0.1.22: persona inventory, equipment slots, named storage, saved outfits, optional item/outfit art, appearance context, export/import, recent-change reverts and inventory restoration. - Adds the generated armored Professor Mari cover, preview entries in both Engine lanes, release notes, installation and per-chat activation guidance. Relationship Tracker's companion preview is validated alongside it. - Guards dialog and chat transitions against late responses, cleans up child dialogs, reports export errors, and prevents failed outfit creation from replacing another outfit's portrait. - Uses request-local results for image uploads and outfit creation. Late inventory reads cannot undo a completed edit or replace a newer read. These fixes add no network requests or polling. - Keeps both new agents in staging previews until the next Engine main release after v2.4.6, tracked in #1091. ## Package and security impact - Quartermaster supports Engine >=2.4.6 <4.0.0, Capability API 1.14, and the Roleplay persona inventory. - Permissions: agent-runtime, chat-read, chat-write, network, prompt-context, routes, storage, ui. Chat-write supports the optional appearance macro; network supports Engine image generation. Storage is package-owned per chat/owner. Host route registration enforces the existing privileged-access gate. - Installation and runtime updates require restart. The package builder derives the manifest hashes, deterministic archive and catalogue outputs. Shared catalogue routing keeps the preview out of stable listings. ## Validation Passed npm run check (0 errors; 849 existing repository warnings), catalogue lane/provenance checks, package locales, full catalogue/manifest/archive/hash validation, release-note regression, and git diff --check. The runnable lifecycle regression exercises current and stale asynchronous results, chat switches including returning to the same chat, concurrent upload/save outcomes, older inventory reads, dialog cleanup, detached elements, export failures, and failed/successful outfit saves. It reproduced the upload-result and stale-read bugs before the fixes. It runs in the existing catalogue CI job. Local and GitHub CodeRabbit findings were traced against the code. Valid findings were fixed with regression coverage. The catalogue URL warning was rejected because the Engine resolves canonical official archive/cover URLs to the catalogue's staging source branch; Relationship Tracker's actual public download verifies this path. The local suggestion to keep the creation form open after an optional portrait-upload failure is intentionally declined: the outfit has already been saved, the dock retains the upload error, and its existing Edit Outfit portrait control provides retry. Keeping the creation form open would let Save create a duplicate outfit. ### Runtime verification Both packages passed actual public staging download through Agents → Download Agents, restart/activation, and cover display at 1440px and 390px. Both tracker interfaces opened, and Quartermaster exported the equipped test sword without page errors. Offline-catalogue activation also passed. Menu uninstall cleans up registration, chat selection and agent configuration; reinstall preserves saved inventory/relationship data without silently reactivating the removed agent in a chat. All checks used isolated synthetic data. Publication proof is recorded in the PR comments and #1089. Required GitHub checks and the final full CodeRabbit review completed before the staging merge. - [ ] Manually verify install/update through Agents → Download Agents and restart. - [ ] Manually verify inventory and outfit editing in a Roleplay chat. - [ ] Manually verify optional image generation with the desired provider. - [ ] Manually verify mobile dock interaction and uninstall/reinstall persistence. ## Documentation impact Updated the root README, package README/CHANGELOG, artwork direction, and coordinated-release checklist. Engine guide updates are in Pasta-Devs/Marinara-Engine#6725; their translation follow-up is Pasta-Devs/Marinara-Engine#6726. Stable publication is not part of this staging merge. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-21 05:05:15 +07:00
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-Agents#1198
No description provided.