mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1968] [MERGED] Fix Character Tracker player persona rows #5364
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#5364
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/1968
Author: @cha1latte
Created: 6/2/2026
Status: ✅ Merged
Merged: 6/2/2026
Merged by: @cha1latte
Base:
refactor← Head:fix/issue-1949-tracker-user📝 Commits (2)
1859fc5Fix character tracker persona rows69aca06Refresh PR discovery metadata📊 Changes
5 files changed (+223 additions, -19 deletions)
View changed files
➕
src/engine/generation/tracker-snapshots.test.ts(+88 -0)📝
src/engine/generation/tracker-snapshots.ts(+39 -12)➕
src/engine/shared/game-state/present-character-filter.test.ts(+30 -0)➕
src/engine/shared/game-state/present-character-filter.ts(+51 -0)📝
src/features/runtime/generation/hooks/use-generate.ts(+15 -7)📄 Description
Linked issue
Closes #1949
Why this change
{{user}}or the active player persona as a normal present-character row when the model returns it, which lets the player persona appear in the character tracker and be recreated after deletion.What changed
{{user}},{{userName}}, the active persona id, or the active persona name.{{user}}state.Refactor impact
Primary owner:
Impact areas reviewed:
chat.gameState.presentCharactersandgame-state-snapshotsrowsBoundary notes:
Pressure points touched:
Validation
pnpm typecheck,pnpm build,pnpm check:architecture,pnpm check:docs, or fullpnpm checkwhen warranted)pnpm checkpasses before PR push/handoffManual verification notes
pnpm test -- src/engine/shared/game-state/present-character-filter.test.ts src/engine/generation/tracker-snapshots.test.tspassed.pnpm typecheckpassed.pnpm checkpassed.node C:\Users\celia\.codex\tools\marinara-proof-gate.mjs scratch\bugfix-verification.jsonpassed locally.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. The bug is in tracker-state filtering/persistence, not visible layout; the focused regression tests prove the affected state path.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.