[GH-ISSUE #2134] [Issue]: Game mode — recruited party members get a blank "Adventurer" stub instead of an LLM-grounded card #1045

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

Originally created by @Romuromylus on GitHub (Jun 4, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2134

Originally assigned to: @cha1latte on GitHub.

Summary

Severity: major. When the GM emits a [party_change: change=add], the refactor stamps a fixed boilerplate character card instead of generating a world-grounded one with an LLM, so new companions arrive as identical blank stubs.

Expected behavior

As in main: a [party_change: ... change="add"] runs buildPartyRecruitCardPrompt against the connection to synthesize a card (class, abilities, strengths/weaknesses, voice, personal stake) grounded in the world, story arc, plot twists, current state, and recent transcript. A malformed card can also be regenerated (purpose: "regenerate").

Actual behavior

The recruit path useRecruitPartyMember -> gameApi.upsertPartyCard calls buildGameCard(name) with no LLM involvement, returning a static template: class "Adventurer", abilities ["Attack","Assist"], empty shortDescription, empty strengths/weaknesses, all six attributes flat 10. buildPartyRecruitCardPrompt and the regenerate variant do not exist anywhere in the refactor.

Steps to reproduce

  1. Start a game session; have the GM recruit a new companion ([party_change: character="X" change="add"]).
  2. Open the new member's character sheet.
  3. Refactor: generic "Adventurer", two stock abilities, all stats 10, no description. Main: a characterized, world-fit card.

Impact area

  • Game mode
  • React-free engine behavior, contracts, agents, or capability ports

Environment

  • Branch or commit: refactor @ 14894608
  • Run mode: Tauri desktop
  • Compared against: main @ c49f1d95 (legacy web app)

Regression notes

Worked in the legacy web app.

  • main: packages/server/src/services/game/gm-prompts.ts:1210 (buildPartyRecruitCardPrompt), wired at packages/server/src/routes/game.routes.ts:4781.
  • refactor: src/features/modes/game/api/game-api.ts:2083 (upsertPartyCard) -> game-api.ts:1176 (buildGameCard, static template). No buildPartyRecruitCardPrompt in src/engine/modes/game/prompts/gm-prompts.ts.
Originally created by @Romuromylus on GitHub (Jun 4, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2134 Originally assigned to: @cha1latte on GitHub. ## Summary **Severity: major.** When the GM emits a `[party_change: change=add]`, the refactor stamps a fixed boilerplate character card instead of generating a world-grounded one with an LLM, so new companions arrive as identical blank stubs. ## Expected behavior As in main: a `[party_change: ... change="add"]` runs `buildPartyRecruitCardPrompt` against the connection to synthesize a card (class, abilities, strengths/weaknesses, voice, personal stake) grounded in the world, story arc, plot twists, current state, and recent transcript. A malformed card can also be regenerated (`purpose: "regenerate"`). ## Actual behavior The recruit path `useRecruitPartyMember` -> `gameApi.upsertPartyCard` calls `buildGameCard(name)` with no LLM involvement, returning a static template: class `"Adventurer"`, abilities `["Attack","Assist"]`, empty `shortDescription`, empty strengths/weaknesses, all six attributes flat `10`. `buildPartyRecruitCardPrompt` and the regenerate variant do not exist anywhere in the refactor. ## Steps to reproduce 1. Start a game session; have the GM recruit a new companion (`[party_change: character="X" change="add"]`). 2. Open the new member's character sheet. 3. Refactor: generic "Adventurer", two stock abilities, all stats 10, no description. Main: a characterized, world-fit card. ## Impact area - [x] Game mode - [x] React-free engine behavior, contracts, agents, or capability ports ## Environment - Branch or commit: `refactor` @ `14894608` - Run mode: Tauri desktop - Compared against: `main` @ `c49f1d95` (legacy web app) ## Regression notes Worked in the legacy web app. - main: `packages/server/src/services/game/gm-prompts.ts:1210` (`buildPartyRecruitCardPrompt`), wired at `packages/server/src/routes/game.routes.ts:4781`. - refactor: `src/features/modes/game/api/game-api.ts:2083` (`upsertPartyCard`) -> `game-api.ts:1176` (`buildGameCard`, static template). No `buildPartyRecruitCardPrompt` in `src/engine/modes/game/prompts/gm-prompts.ts`.
bsakaguchi 2026-10-21 05:25:33 +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-Engine#1045
No description provided.