mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1957] [MERGED] Otome Hearth 0.6.0: each love interest's plush is the animal that fits them, drawn as SVG #2046
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#2046
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/1957
Author: @SpicyMarinara
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/30/2026
Merged by: @SpicyMarinara
Base:
staging← Head:feat/otome-plush-svg-1954📝 Commits (6)
5db0df1feat(otome-forge): each love interest's plush is the animal that fits them, drawn as SVG (#1954)8832d5cfix(otome-forge): the plush allow-list refuses inherited attribute names instead of throwing (#1954)29c08b4Merge staging (0.5.2: banners follow the Heat) into 0.6.0f3f4ffeMerge staging (0.5.3: what the protagonist knows, canon worlds, rest) into 0.6.008b898bfix(otome-forge): the plush allow-list skips comments as tokens, refuses repeats, caps what it keeps (#1954)29e2efffix(otome-forge): the plush allow-list reads x1..y2 as names and takes no comments at all (#1954)📊 Changes
23 files changed (+887 additions, -248 deletions)
View changed files
➕
artifacts/otome-forge-0.6.0.zip(+0 -0)📝
catalog/preview/catalog.json(+8 -8)📝
catalog/preview/notes.json(+6 -6)📝
catalog/preview/v2/catalog.json(+8 -8)📝
catalog/preview/v2/notes.json(+6 -6)📝
catalog/preview/v3/catalog.json(+8 -8)📝
catalog/preview/v3/notes.json(+6 -6)📝
packages/otome-forge/CHANGELOG.md(+4 -0)📝
packages/otome-forge/README.md(+7 -5)📝
packages/otome-forge/client.js(+40 -40)📝
packages/otome-forge/manifest.json(+5 -5)📝
packages/otome-forge/server.mjs(+127 -125)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/components/PlushShelf.tsx(+24 -12)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/screens/dates/ClawMachine.tsx(+10 -8)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/shared/api-types.ts(+9 -0)📝
packages/otome-forge/src/engine/packages/client/src/features/otome-forge/shared/claw.ts(+9 -4)➕
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/art/plush-svg.ts(+152 -0)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/minigames/claw.ts(+6 -1)➕
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/minigames/plush.ts(+180 -0)📝
packages/otome-forge/src/engine/packages/server/src/services/otome-forge/routes/claw.ts(+19 -4)...and 3 more files
📄 Description
Pull request
Linked issue
Closes #1954
Why this change
What changed
otome-forge0.6.0 (staging-only).minigames/plush.ts):plushArt), and never drawn again.art/plush-svg.ts): the model's SVG never reaches a browser as written.svg, g, path, circle, ellipse, rect, polygon, polyline, line; only the listed attributes, each value matching a pattern (numbers, path data,#rrggbbor a colour name, translate/rotate/scale); well nested under our own<svg>root (namespace and box).schemas/unit.ts normalizePlushArt); a damaged plush is dropped and drawn again.<image>from a data URL, which runs nothing. The Engine's CSP already allowsdata:images.animalcarries the plush.PlushArtdraws it in place of the framed look on the machine, the haul and the shelf, and falls back to the framed look until it exists.Order: staging (with #1952's 0.5.2 and #1956's 0.5.3) is merged in, and the bundle is rebuilt as 0.6.0.
Package and security impact
otome-forge(0.6.0, staging-only).plushArt; units without one read as before.Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
Agent-side checks:
npm run test:otome-forge(492 + 12), the strict typecheck,npm run check,git diff --check,test-catalog-lanes,validate-package-localesandcatalog-release-notes.tests/otome-forge-plush.regression.ts(new):foreignObject, images,use, links, handlers,xlink:href, style attributes, ids,url()paints,matrix, entities, text, CDATA, doctype, unquoted values, uppercase tags, nested or misordered tags, unclosed or extra content, and length or shape limits.tests/otome-forge-claw.regression.ts: unchanged and passing. A round still calls no model.validate-catalog: the sparse worktree leaves out other packages' zips, so CI runs it.8832d5c40. An attribute named like anObject.prototypekey (constructor,toString) made the allow-list throw instead of refusing the SVG; the lookup now uses own keys only, and the tests cover both names.08b898b6f. Comments are skipped as tokens instead of cut out with a regex replace, so the text is never rewritten.08b898b6f. A repeat is refused, since it isn't well-formed XML and the plush would never load.8832d5c40.08b898b6f:tooLongtest;shared/claw.ts.viewBox(twice), and the "first time you open Dates" wording. That wording is still made more accurate.Please verify by hand:
plushprompt once per love interest, and never again once each is drawn.Documentation impact
Owner: @SpicyMarinara (made by Claude).
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.