mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #2206] [MERGED] Fix game party recruit card generation #5470
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#5470
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-Engine/pull/2206
Author: @cha1latte
Created: 6/4/2026
Status: ✅ Merged
Merged: 6/4/2026
Merged by: @cha1latte
Base:
refactor← Head:fix/issue-2134-party-recruit-cards📝 Commits (1)
dda60ecFix game party recruit card generation📊 Changes
5 files changed (+431 additions, -21 deletions)
View changed files
➕
scratch/issue-2134-party-card-proof.mjs(+36 -0)📝
src/engine/modes/game/prompts/gm-prompts.ts(+80 -0)📝
src/features/modes/game/api/game-api.ts(+252 -12)📝
src/features/modes/game/components/GameSurface.tsx(+40 -9)📝
src/features/modes/game/hooks/use-game.ts(+23 -0)📄 Description
Linked issue
Closes #2134
Why this change
[party_change: change="add"]were stored as static boilerplateAdventurersheets instead of context-grounded companion cards.What changed
gameApi.upsertPartyCardthrough the existing LLM JSON path with world, story arc, plot twist, current-state, party-card, and recent-transcript context.party_cardhandling to the game JSON repair apply flow.Refactor impact
Primary owner:
game mode, engine generation
Impact areas reviewed:
Boundary notes:
src/engine.gameApiand focused hooks.Pressure points touched:
gameApiValidation
pnpm typecheck,pnpm build,pnpm check:architecture,pnpm check:docs, or fullpnpm checkwhen warranted)pnpm checkpasses before PR push/handoffManual verification notes
node scratch\issue-2134-party-card-proof.mjspasses.pnpm typecheckpasses.pnpm check:architecturepasses.pnpm checkpasses.Feature Discoverability
Check exactly one:
src/features/shell/discovery/because this PR adds or materially changes a user-discoverable feature, workflow, setting, mode, panel, import path, agent, media capability, or advanced tool.Reason:
Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdUI evidence
N/A. No visible layout change; the sheet regenerate control already existed and is now wired to the repaired generation path.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.