mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1156] [MERGED] fix(gacha-forge): 1.8.9 — the story is told with each character's sex, with art or without #1319
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#1319
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/1156
Author: @SonaGat3
Created: 9/30/2026
Status: ✅ Merged
Merged: 9/30/2026
Merged by: @SonaGat3
Base:
staging← Head:feature/gacha-forge-1.8.9📝 Commits (4)
9594465fix(gacha-forge): 1.8.9 — the story is told with each character's sex, with art or without649a2c7fix(gacha-forge): 1.8.9 — a sex that could not be saved waits before it is asked again191b90fMerge branch 'staging' into feature/gacha-forge-1.8.9b75b0f1fix(gacha-forge): 1.8.9 — one rule for every way a character can be left without a saved sex📊 Changes
12 files changed (+150 additions, -122 deletions)
View changed files
➕
artifacts/gacha-forge-1.8.9.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/gacha-forge/CHANGELOG.md(+4 -0)📝
packages/gacha-forge/README.md(+2 -0)📝
packages/gacha-forge/client.js(+2 -2)📝
packages/gacha-forge/manifest.json(+5 -5)📝
packages/gacha-forge/server.mjs(+95 -91)📄 Description
Linked issue
Closes #1155
Why this change
stagingcarries Gacha Forge 1.8.8. A player reported a unit drawn as a woman and narrated as aman. Its description did not settle the question, and the two sides read different sources:
appearance, and a field derived from it(
identitySex) tells a group scene how to count its subjects.formatCastPool— the one cast formatter, used by the chapterplanner, every scene and the Character Story — sent name, rarity, role, affinity, description,
personality and clothes. So it guessed.
That same formatter already solved this for clothes: it sends the derived outfit line the picture
paints from, with the comment "so the prose and the picture cannot disagree". The sex was left out.
Two gaps sat behind the report:
other, which a group picture counted as a woman and the storycould not read at all.
never had it for anyone.
What changed
carry
(she/her)or(he/him):- Ilsa Verge (she/her) — 4★ · Normally wears: …. The index line matters as much as the sheet —the planner writes every node's guide from it, and a wrong pronoun there reaches the scenes.
Nothing is added when the field is absent.
maleorfemaleonly. One reader (unitSex) servesthe picture and the story, and reads a stored
otheras female — which is how every group picturealready counted it, so no drawing changes and the story follows the picture.
the featured banner's JSON — ask for it in the call that already writes the sheet, so it costs no
extra call and cannot disagree with the
appearancewritten beside it. It is optional in thevalidator, like every field that is not the fight: a sheet without it is still a unit, and the
field stays absent rather than empty.
fillCastSexesasks about every character ofthe world that has none, in one call, the first time the story is told (the planner and the scene
ask); once every character has one, the call is never made again.
/lore-statusreads the samecast to count tokens and never pays for it.
that comes back short would hand a character somebody else's sex.
the model leaving them out, a write losing its revision, a document gone, an error: the fill
counts the units whose sex is on disk when it ends, and anything short of all of them waits ten
minutes before it is tried again. The same answer is never paid for on every scene.
Not touched, on purpose: the chat (the unit already receives its whole
appearanceand speaks inthe first person) and the protagonist (the narrator already gets the persona's description).
Generated outputs
packages/gacha-forge/client.js,server.mjs,manifest.json, the artifact zip, the catalogfamily and the release-notes sidecars were re-derived by
node scripts/build-gacha-forge-package.mjsfrom the committed payload bytes. Nothing washand-edited; re-running the builder after the commit leaves the tree clean.
Package and security impact
capabilityApi, theenginerange, permissions, contribution slots, assets,builtAgainstandrestartRequiredare unchanged. The only manifest field that moved isversion, verified bydiffing against the
stagingmanifest with the hash lines filtered out.through the Engine profile's own main connection like every other structured call, sends each
character's name, description, personality and appearance (clipped), and asks for
maleorfemaleper character number. No new external service. Worlds whose cast already has the field never make it.identitySex,maleorfemale. It already existed for unitsin worlds with art; it is now written for every unit. Nothing else is stored.
client.js1,434,802 → 1,435,025 bytes (the player changelog line),server.mjs492,537 → 495,733, artifact 7,827,496 → 7,830,915. All art is byte-identical (245 of 247 payload
files unchanged).
Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
origin/staging;git ls-files --eol | grep -c w/crlf→ 0;git diff --check "origin/staging...HEAD"clean; the build is reproducible.byte-identical; only
manifest.jsondiffers, which every installer rewrites.pull-request-checks.ymlatorigin/staging, so its 25 steps cannot go stale: 24 of 25green. ⚠️
npm run test:securityfails on Windows for a reason unrelated to this change(
catalog-path-safety.regression.mjsexpects a POSIX path and getsD:\tmp\package\assets\icon.png); its log never names gacha-forge, and it failed identically on aclean
stagingcheckout for every earlier Gacha Forge PR.probe — all green (738 s).
sheet read
Ilsa Verge — 4★ · Normally wears…while her derived sex was female, and now readsIlsa Verge (she/her); in a world with images off, the planner's sheet readAki Vale — 4★ Tank, Waterwith no call to fill it, and now one call fills the two charactersthat lacked it (and only them), the same plan already carries their pronouns, the value is saved
on each unit, and the next scene makes no extra call. Then each way of failing, in its own world:
the call failing, a write that cannot land, a model that leaves a character out, a short list (no
one is given a sex by position), a keyed answer arriving out of order, and a storage error thrown
inside the fill — in every one the plan and the scene still come out and the following scene makes
no second call.
slow-lane call: otherwise it eats another check's queued answer and shifts six unrelated call
counts.
the field, so those worlds never make the new call.
a cast of eleven — and a chapter was forged: the ledger shows one
cast-sexes 1call,okon itsfirst attempt, 13 tokens received, 6.5 s, before the
chapter-plancall; the unit came backmale; and the scenes that followed made no further call.Documentation impact
packages/gacha-forge/README.mdgains the 1.8.9 paragraph;packages/gacha-forge/CHANGELOG.mdgains 1.8.9. The repository README is unchanged.
UI evidence (if applicable)
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.