[PR #1920] [MERGED] fix(slurp2): forgiving wardrobe import, memory people stay out of collabs (0.4.12) #2030

Closed
opened 2026-11-07 16:38:53 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/1920
Author: @Gunterlie
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/30/2026
Merged by: @Gunterlie

Base: staging ← Head: fix/slurp-wardrobe-import-memory-people


📝 Commits (4)

  • ef4cc9c fix(slurp2): forgiving wardrobe import, memory people stay out of collabs (0.4.12)
  • a1a4840 fix(slurp2): keep wardrobe looks finished before a cut reply; format
  • 7ccb374 fix(slurp2): salvage a bare-array wardrobe reply cut before its ]
  • c2cf12a Merge remote-tracking branch 'origin/staging' into fix/slurp-wardrobe-import-memory-people

📊 Changes

22 files changed (+413 additions, -265 deletions)

View changed files

➕ artifacts/slurp2-0.4.12.zip (+0 -0)
📝 catalog/catalog.json (+8 -8)
📝 catalog/notes.json (+6 -6)
📝 catalog/v2/catalog.json (+8 -8)
📝 catalog/v2/notes.json (+6 -6)
📝 catalog/v3/catalog.json (+8 -8)
📝 catalog/v3/notes.json (+6 -6)
📝 packages/slurp2/CHANGELOG.md (+6 -0)
📝 packages/slurp2/client.js (+2 -2)
📝 packages/slurp2/manifest.json (+5 -5)
📝 packages/slurp2/server.mjs (+204 -204)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/creators/SlpWardrobeManager.tsx (+3 -1)
📝 packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts (+9 -1)
📝 packages/slurp2/src/engine/packages/client/src/slp/locales/en.json (+1 -0)
📝 packages/slurp2/src/engine/packages/server/src/slp/data/creators/slp-ltm-recall.ts (+1 -1)
📝 packages/slurp2/src/engine/packages/server/src/slp/features/creators/slp-wardrobe-import-service.ts (+2 -1)
📝 packages/slurp2/src/engine/packages/server/src/slp/modules/continuity/slp-continuity-prompt.ts (+6 -1)
📝 packages/slurp2/src/engine/packages/server/src/slp/modules/creators/slp-wardrobe-import.ts (+101 -4)
📝 packages/slurp2/src/engine/packages/server/src/slp/modules/settings/slp-settings.ts (+1 -1)
📝 scripts/build-feature-packages.mjs (+1 -1)

...and 2 more files

📄 Description

Pull request

Linked issue

Closes #1919

Why this change

A player on 0.4.11 reports three problems: the wardrobe import never finds a look (also from pasted text), the "Legacy wardrobe note" source cannot be picked, and all Creators suddenly collab with each other, also with Storylines off and with inactive Creators.

What changed

  • Wardrobe import (slp-wardrobe-import.ts, slp-wardrobe-import-service.ts): each model look is tidied before the strict draft schema runs — list aliases (outfits, wardrobe, items, a bare look), title for name, unknown keys dropped, name/summary/description/evidence clipped at a word end, tags as a comma string, lower-cased, clipped and capped at 12, unknown suitability → both, <think> blocks stripped. A look still needs a name, a description and source evidence; nothing is invented. Output budget raised from 2,048 to at least 8,192 tokens (existing Math.max(resolveStoredMaxTokens(...), N) pattern).
  • Legacy source (SlpWardrobeManager.tsx, en.json): the disabled option reads "Legacy wardrobe note (empty)" when the Creator has no note.
  • Memory people (slp-continuity-prompt.ts, slp-ltm-recall.ts, slp-settings.ts): the memory block gets a rule that people named in memory are from the Creator's life off Slurp and never become a collab, tag or guest unless the brief names them. Recall default changes from whole to relevant; an explicit whole choice is kept.
  • slurp2 0.4.11 → 0.4.12: CHANGELOG, What's new entry, rebuilt client.js, server.mjs, manifest, artifact and catalogs.

Package and security impact

  • Affected package IDs: slurp2
  • Engine compatibility impact: none
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: none; stored memoryRecall values are kept

Validation

  • node scripts/validate-catalog.mjs passes locally
  • git diff --check passes locally
  • Rebuild every affected manifest, payload, artifact, and catalog entry
  • Installed or updated the affected package through Marinara Engine
  • Checked supported modes, restart behavior, and uninstall cleanup
  • Read and followed CONTRIBUTING.md

Manual verification notes

Agent-run (not ticked above): npm run test:slurp:regressions 326/326 pass against a clean Engine staging (8e8f14636); node scripts/typecheck-packages.mjs slurp2 clean; architecture regression passes; validate-catalog.mjs and git diff --check pass. New regression case in tests/slurp2-wardrobe.regression.ts covers an untidy reply and a look without evidence. Not live-tested on an Engine.

Documentation impact

  • No documentation changes needed
  • Updated this README catalog and package guidance
  • Updated linked Marinara Engine documentation

UI evidence (if applicable)

One option label text change only; no screenshot.


🔄 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/1920 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/30/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `fix/slurp-wardrobe-import-memory-people` --- ### 📝 Commits (4) - [`ef4cc9c`](https://github.com/Pasta-Devs/Marinara-Agents/commit/ef4cc9c58afca6be06b73fb86e939bcb112f6af3) fix(slurp2): forgiving wardrobe import, memory people stay out of collabs (0.4.12) - [`a1a4840`](https://github.com/Pasta-Devs/Marinara-Agents/commit/a1a4840edad13490122f2efc169e742a30fc4416) fix(slurp2): keep wardrobe looks finished before a cut reply; format - [`7ccb374`](https://github.com/Pasta-Devs/Marinara-Agents/commit/7ccb37476d759c35698d1795a72f477395a3015a) fix(slurp2): salvage a bare-array wardrobe reply cut before its ] - [`c2cf12a`](https://github.com/Pasta-Devs/Marinara-Agents/commit/c2cf12a5854cb129692862e023db39e4fd2e6acf) Merge remote-tracking branch 'origin/staging' into fix/slurp-wardrobe-import-memory-people ### 📊 Changes **22 files changed** (+413 additions, -265 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/slurp2-0.4.12.zip` (+0 -0) 📝 `catalog/catalog.json` (+8 -8) 📝 `catalog/notes.json` (+6 -6) 📝 `catalog/v2/catalog.json` (+8 -8) 📝 `catalog/v2/notes.json` (+6 -6) 📝 `catalog/v3/catalog.json` (+8 -8) 📝 `catalog/v3/notes.json` (+6 -6) 📝 `packages/slurp2/CHANGELOG.md` (+6 -0) 📝 `packages/slurp2/client.js` (+2 -2) 📝 `packages/slurp2/manifest.json` (+5 -5) 📝 `packages/slurp2/server.mjs` (+204 -204) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/creators/SlpWardrobeManager.tsx` (+3 -1) 📝 `packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts` (+9 -1) 📝 `packages/slurp2/src/engine/packages/client/src/slp/locales/en.json` (+1 -0) 📝 `packages/slurp2/src/engine/packages/server/src/slp/data/creators/slp-ltm-recall.ts` (+1 -1) 📝 `packages/slurp2/src/engine/packages/server/src/slp/features/creators/slp-wardrobe-import-service.ts` (+2 -1) 📝 `packages/slurp2/src/engine/packages/server/src/slp/modules/continuity/slp-continuity-prompt.ts` (+6 -1) 📝 `packages/slurp2/src/engine/packages/server/src/slp/modules/creators/slp-wardrobe-import.ts` (+101 -4) 📝 `packages/slurp2/src/engine/packages/server/src/slp/modules/settings/slp-settings.ts` (+1 -1) 📝 `scripts/build-feature-packages.mjs` (+1 -1) _...and 2 more files_ </details> ### 📄 Description # Pull request ## Linked issue Closes #1919 ## Why this change A player on 0.4.11 reports three problems: the wardrobe import never finds a look (also from pasted text), the "Legacy wardrobe note" source cannot be picked, and all Creators suddenly collab with each other, also with Storylines off and with inactive Creators. ## What changed - **Wardrobe import** (`slp-wardrobe-import.ts`, `slp-wardrobe-import-service.ts`): each model look is tidied before the strict draft schema runs — list aliases (`outfits`, `wardrobe`, `items`, a bare look), `title` for `name`, unknown keys dropped, name/summary/description/evidence clipped at a word end, tags as a comma string, lower-cased, clipped and capped at 12, unknown suitability → `both`, `<think>` blocks stripped. A look still needs a name, a description and source evidence; nothing is invented. Output budget raised from 2,048 to at least 8,192 tokens (existing `Math.max(resolveStoredMaxTokens(...), N)` pattern). - **Legacy source** (`SlpWardrobeManager.tsx`, `en.json`): the disabled option reads "Legacy wardrobe note (empty)" when the Creator has no note. - **Memory people** (`slp-continuity-prompt.ts`, `slp-ltm-recall.ts`, `slp-settings.ts`): the memory block gets a rule that people named in memory are from the Creator's life off Slurp and never become a collab, tag or guest unless the brief names them. Recall default changes from `whole` to `relevant`; an explicit `whole` choice is kept. - slurp2 0.4.11 → 0.4.12: CHANGELOG, What's new entry, rebuilt `client.js`, `server.mjs`, manifest, artifact and catalogs. ## Package and security impact - Affected package IDs: `slurp2` - Engine compatibility impact: none - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: none; stored `memoryRecall` values are kept ## Validation - [ ] `node scripts/validate-catalog.mjs` passes locally - [ ] `git diff --check` passes locally - [ ] Rebuild every affected manifest, payload, artifact, and catalog entry - [ ] Installed or updated the affected package through Marinara Engine - [ ] Checked supported modes, restart behavior, and uninstall cleanup - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes Agent-run (not ticked above): `npm run test:slurp:regressions` 326/326 pass against a clean Engine `staging` (8e8f14636); `node scripts/typecheck-packages.mjs slurp2` clean; architecture regression passes; `validate-catalog.mjs` and `git diff --check` pass. New regression case in `tests/slurp2-wardrobe.regression.ts` covers an untidy reply and a look without evidence. Not live-tested on an Engine. ## Documentation impact - [ ] No documentation changes needed - [ ] Updated this README catalog and package guidance - [ ] Updated linked Marinara Engine documentation ## UI evidence (if applicable) One option label text change only; no screenshot. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-07 16:38:53 +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#2030
No description provided.