mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[GH-ISSUE #857] [Issue]: Slurp2 AI Creator drafts fail when the model omits gender or tags #451
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#451
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?
Originally created by @Gunterlie on GitHub (Sep 14, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Agents/issues/857
Summary
Generating a Creator with AI fails when the model's answer leaves out
genderortags.Affected package
slurp2Expected behavior
Gender and tags are optional on a Creator. A generated draft without them should succeed with no gender and no tags, the same as a Creator created or edited by hand.
Actual behavior
normalizeNoodlerStageProfileDraftdoes not defaultgenderortags. The draft is then parsed withslurpGeneratedDiscoveryProfileSchema, wheregenderisz.enum(...).nullable()(a missing key is refused) andtagsis a required array. The draft fails, the retry fails the same way, and the user gets a draft error.Existing Creators without a gender or tags are not affected: the stored profile reader and the create/edit route default both fields.
Steps to reproduce
genderortagskeys.Verified locally:
normalizeNoodlerStageProfileDraft+slurpGeneratedDiscoveryProfileSchemareject{ displayName, handle, bio, stagePersonality }atgenderandtags.Environment
c33be391, before 0.0.10)Logs, screenshots, or video
Zod issues at paths
genderandtagswhen parsing the generated draft.Additional context
Fix: default
gendertonullandtagsto[]in the draft normalizer, released as slurp2 0.0.11.@Gunterlie commented on GitHub (Sep 14, 2026):
Fixed in staging by #858 (merge commit
687d005f3), released as slurp2 0.0.11.