mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1731] fix(gacha-forge): voice player dialogue through persona assignments #1714
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#1714
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/1731
Author: @SpicyMarinara
Created: 10/26/2026
Status: 🔄 Open
Base:
staging← Head:feat/gacha-persona-tts📝 Commits (4)
8b7d064chore: start Gacha Forge persona speech for #1730f3ece9afix(gacha-forge): reuse persona voices for story and sent lettersf4737f7fix(gacha-forge): bind speech to acknowledged message IDs8cbe6fdfix(gacha-forge): hold sends through failure recovery📊 Changes
17 files changed (+1395 additions, -89 deletions)
View changed files
📝
.github/workflows/pull-request-checks.yml(+1 -0)➕
artifacts/gacha-forge-1.24.1.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/gacha-forge/CHANGELOG.md(+4 -0)📝
packages/gacha-forge/README.md(+2 -0)📝
packages/gacha-forge/bundle-patches.json(+80 -0)📝
packages/gacha-forge/client.js(+130 -21)📝
packages/gacha-forge/manifest.json(+5 -5)📝
packages/gacha-forge/server.mjs(+2 -2)📝
packages/gacha-forge/src/chat-continuity-client.mjs(+127 -18)➕
tests/gacha-forge-persona-voices.regression.mjs(+738 -0)📝
tests/package-gacha-forge-audio.e2e.ts(+264 -1)📄 Description
Linked issue
Closes #1730
Why this change
Mari requested that personas use the existing Connections → Text-to-Speech assignments for both sent messages and generated persona dialogue. Engine support is merged in Pasta-Devs/Marinara-Engine#8370. Gacha Forge still dropped the existing persona ID from its story cast and had no voice path for sent character messages.
What changed
characterIdused by character cards, so the existing audio controller can find its explicit voice.Package and security impact
Only
gacha-forgeis affected. Existing client/server entrypoints, permissions, Engine compatibility (>=2.5.1 <4.0.0, Capability API 1.385), dependencies and storage lifecycle are unchanged.No new persisted persona, voice, message or settings fields.
playerMessageIdis response metadata for an already-existing saved row. Voice-session tokens and attempt bookkeeping remain in memory and are not sent as request fields or stored in documents.Validation
Tested head:
8cbe6fdbc94e30745b19dc20642f5b7dfc47d7ef. Committed source and artifact hashes match the validated bytes.npm ci,npm run check, catalog lane routing, package locales, full catalog/archive validation, release-notes regression andgit diff --check: passed. Existing repository lint warnings remain; zero errors.Review repairs
Dottore’s f3 full review identified two LOW reconciliation defects: an old same-text attempt could steal a new row, and failed-reply recovery could reverse speech order. Both were reproduced and repaired. CodeRabbit then exposed why voice-session priority was insufficient when only a late historical row existed; the repair now uses the server’s authoritative saved ID instead of guessing. The pre-build test-helper omission was also reproduced and fixed. Independent final identity review found no further defect. Its f473 Dottore re-review was Viable With Notes and explicitly passed both original contracts; those threads were resolved. The remaining timing question was then reproduced with the actual Vigor-refresh/template/Enter path: B could be admitted while A failure recovery awaited a read. The existing busy flag now spans that promise, with exact operation ownership protecting newer work. Independent guard review passed.
A successful send still stashes its acknowledged row synchronously before starting its history refresh; only failed reconciliation needs the extended hold. The native ordering and cleanup controls exercise this distinction.
The optional helper-naming suggestion is retained as a nonfunctional note: the small token accessor initializes its per-run state explicitly, and send/session controls cover that behavior.
Initial browser fixture navigation/readiness errors were corrected without removing assertions or increasing timeouts. Original failure logs and traces are retained. Local tests use synthetic speech and loopback model fixtures; physical-device and external-provider playback remain manual checks.
Manual verification tasks
Documentation impact
Package guidance and catalog/in-game version notes explain persona speech. Existing Engine Connections instructions apply. No Engine guide, community UI catalog or storage migration changes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.