[PR #858] [MERGED] fix(slurp2): 0.0.11 let AI Creator drafts omit gender and tags #1161

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Agents/pull/858
Author: @Gunterlie
Created: 9/14/2026
Status: ✅ Merged
Merged: 9/14/2026
Merged by: @Gunterlie

Base: staging ← Head: fix/slurp2-0.0.11-draft-discovery


📝 Commits (3)

  • 76ac451 fix(slurp2): let AI Creator drafts omit gender and tags (0.0.11)
  • 819ccbc fix(slurp2): ask AI drafts for a gender and three tags
  • 7273123 fix(slurp2): only default omitted draft tags

📊 Changes

17 files changed (+135 additions, -44 deletions)

View changed files

➕ artifacts/slurp2-0.0.11.zip (+0 -0)
📝 catalog/catalog.json (+8 -8)
📝 catalog/notes.json (+6 -0)
📝 catalog/v2/catalog.json (+8 -8)
📝 catalog/v2/notes.json (+6 -0)
📝 catalog/v3/catalog.json (+8 -8)
📝 catalog/v3/notes.json (+6 -0)
📝 packages/slurp2/CHANGELOG.md (+4 -0)
📝 packages/slurp2/client.js (+1 -1)
📝 packages/slurp2/manifest.json (+5 -5)
📝 packages/slurp2/server.mjs (+3 -3)
📝 packages/slurp2/src/engine/packages/client/src/components/slurp/slurp2-release.ts (+8 -1)
📝 packages/slurp2/src/engine/packages/server/src/services/slurp/slurp-stage-profile-draft.service.ts (+5 -3)
📝 packages/slurp2/src/engine/packages/server/src/services/slurp/slurp-stage-profile-normalize.ts (+5 -1)
📝 scripts/build-feature-packages.mjs (+1 -1)
➕ tests/slurp2-draft-discovery-optional.regression.ts (+51 -0)
📝 tests/slurp2-release-notes.regression.ts (+10 -5)

📄 Description

Pull request

Important

This contribution targets staging. Only SpicyMarinara may promote staging to main.

Linked issue

Closes #857

Why this change

Generating a Creator with AI failed when the model's answer left out gender or tags, and drafts with a null gender or fewer than three tags could not be saved. Both are optional on a Creator, but the draft schema refused a missing key, and the retry failed the same way. Existing Creators without a gender or tags were not affected.

What changed

  • The draft prompt and its retry prompt now ask for a gender of male, female, or other (other when unclear, never null) and three to eight tags from the allowed list. Before, the prompt invited a null gender and set no tag minimum, while creating a Creator requires a gender and at least three tags, so drafts could not be saved or were skipped in bulk creation.
  • normalizeNoodlerStageProfileDraft defaults gender to null and tags to [] when the model leaves them out. Invalid values are still refused, so the retry prompt stays useful.
  • New tests/slurp2-draft-discovery-optional.regression.ts.
  • Publishes slurp2 0.0.11: manifest, build version, client/server payloads, ZIP artifact, catalog entries, and release notes.

Package and security impact

  • Affected package IDs: slurp2
  • Engine compatibility impact: unchanged
  • New or changed permissions/entrypoints: none
  • Restart, storage, update, or uninstall impact: none; normal update from 0.0.10

Validation

Run on commit 819ccbc2:

  • node scripts/validate-catalog.mjs passes locally
  • git diff --check passes locally
  • Rebuilt every affected manifest, payload, artifact, and catalog entry (slurp2 0.0.11)
  • npm run typecheck:packages — 0 errors; npm run check — 0 errors (baseline warnings)
  • node scripts/test-catalog-lanes.mjs, node scripts/validate-package-locales.mjs, node scripts/tests/catalog-release-notes.regression.mjs — passed
  • All tests/slurp2-*.regression.ts — passed, including the new draft test
  • tests/slurp-*.regression.ts — the same 11 baseline failures as on staging; no new failures

The Noodle package browser job is expected to fail: Engine staging retired PUT /api/characters/personas/:id/activate (410), which that Noodle e2e setup still calls. It is not a required check.

Summary by CodeRabbit

  • New Features

    • Released Slurp Remastered version 0.0.11.
  • Bug Fixes

    • AI Creator drafts now continue successfully when generated results omit optional gender or tag information.
    • Missing values are handled with appropriate defaults while invalid values continue to be rejected.
  • Documentation

    • Added release notes for version 0.0.11, dated September 14, 2026.

🔄 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/858 **Author:** [@Gunterlie](https://github.com/Gunterlie) **Created:** 9/14/2026 **Status:** ✅ Merged **Merged:** 9/14/2026 **Merged by:** [@Gunterlie](https://github.com/Gunterlie) **Base:** `staging` ← **Head:** `fix/slurp2-0.0.11-draft-discovery` --- ### 📝 Commits (3) - [`76ac451`](https://github.com/Pasta-Devs/Marinara-Agents/commit/76ac451a5f9b17d0faa92e3117de82dd3b7867d8) fix(slurp2): let AI Creator drafts omit gender and tags (0.0.11) - [`819ccbc`](https://github.com/Pasta-Devs/Marinara-Agents/commit/819ccbc2f8ca95b3e35cca4751e04e7a863fa221) fix(slurp2): ask AI drafts for a gender and three tags - [`7273123`](https://github.com/Pasta-Devs/Marinara-Agents/commit/7273123cf876770e2a730ef0ff80d83622f86eba) fix(slurp2): only default omitted draft tags ### 📊 Changes **17 files changed** (+135 additions, -44 deletions) <details> <summary>View changed files</summary> ➕ `artifacts/slurp2-0.0.11.zip` (+0 -0) 📝 `catalog/catalog.json` (+8 -8) 📝 `catalog/notes.json` (+6 -0) 📝 `catalog/v2/catalog.json` (+8 -8) 📝 `catalog/v2/notes.json` (+6 -0) 📝 `catalog/v3/catalog.json` (+8 -8) 📝 `catalog/v3/notes.json` (+6 -0) 📝 `packages/slurp2/CHANGELOG.md` (+4 -0) 📝 `packages/slurp2/client.js` (+1 -1) 📝 `packages/slurp2/manifest.json` (+5 -5) 📝 `packages/slurp2/server.mjs` (+3 -3) 📝 `packages/slurp2/src/engine/packages/client/src/components/slurp/slurp2-release.ts` (+8 -1) 📝 `packages/slurp2/src/engine/packages/server/src/services/slurp/slurp-stage-profile-draft.service.ts` (+5 -3) 📝 `packages/slurp2/src/engine/packages/server/src/services/slurp/slurp-stage-profile-normalize.ts` (+5 -1) 📝 `scripts/build-feature-packages.mjs` (+1 -1) ➕ `tests/slurp2-draft-discovery-optional.regression.ts` (+51 -0) 📝 `tests/slurp2-release-notes.regression.ts` (+10 -5) </details> ### 📄 Description # Pull request > [!IMPORTANT] > This contribution targets `staging`. Only `SpicyMarinara` may promote `staging` to `main`. ## Linked issue Closes #857 ## Why this change Generating a Creator with AI failed when the model's answer left out `gender` or `tags`, and drafts with a null gender or fewer than three tags could not be saved. Both are optional on a Creator, but the draft schema refused a missing key, and the retry failed the same way. Existing Creators without a gender or tags were not affected. ## What changed - The draft prompt and its retry prompt now ask for a gender of male, female, or other (other when unclear, never null) and three to eight tags from the allowed list. Before, the prompt invited a null gender and set no tag minimum, while creating a Creator requires a gender and at least three tags, so drafts could not be saved or were skipped in bulk creation. - `normalizeNoodlerStageProfileDraft` defaults `gender` to `null` and `tags` to `[]` when the model leaves them out. Invalid values are still refused, so the retry prompt stays useful. - New `tests/slurp2-draft-discovery-optional.regression.ts`. - Publishes slurp2 `0.0.11`: manifest, build version, client/server payloads, ZIP artifact, catalog entries, and release notes. ## Package and security impact - Affected package IDs: `slurp2` - Engine compatibility impact: unchanged - New or changed permissions/entrypoints: none - Restart, storage, update, or uninstall impact: none; normal update from 0.0.10 ## Validation Run on commit `819ccbc2`: - [x] `node scripts/validate-catalog.mjs` passes locally - [x] `git diff --check` passes locally - [x] Rebuilt every affected manifest, payload, artifact, and catalog entry (`slurp2` 0.0.11) - `npm run typecheck:packages` — 0 errors; `npm run check` — 0 errors (baseline warnings) - `node scripts/test-catalog-lanes.mjs`, `node scripts/validate-package-locales.mjs`, `node scripts/tests/catalog-release-notes.regression.mjs` — passed - All `tests/slurp2-*.regression.ts` — passed, including the new draft test - `tests/slurp-*.regression.ts` — the same 11 baseline failures as on `staging`; no new failures The `Noodle package browser` job is expected to fail: Engine staging retired `PUT /api/characters/personas/:id/activate` (410), which that Noodle e2e setup still calls. It is not a required check. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Released Slurp Remastered version 0.0.11. * **Bug Fixes** * AI Creator drafts now continue successfully when generated results omit optional gender or tag information. * Missing values are handled with appropriate defaults while invalid values continue to be rejected. * **Documentation** * Added release notes for version 0.0.11, dated September 14, 2026. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-21 05:04:09 +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#1161
No description provided.