mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1761] [MERGED] Add durable tracker row IDs #5267
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#5267
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/1761
Author: @cha1latte
Created: 6/1/2026
Status: ✅ Merged
Merged: 6/1/2026
Merged by: @cha1latte
Base:
refactor← Head:feat/issue-1528-tracker-row-ids📝 Commits (2)
730b0e7Add durable tracker row ids1d36248Address review feedback: tracker row identity fixes📊 Changes
18 files changed (+641 additions, -95 deletions)
View changed files
📝
src/engine/contracts/types/game-state.ts(+11 -1)➕
src/engine/generation/tracker-snapshots.test.ts(+134 -0)📝
src/engine/generation/tracker-snapshots.ts(+3 -2)📝
src/engine/shared/game-state/player-stats.ts(+7 -5)➕
src/engine/shared/game-state/tracker-row-ids.test.ts(+59 -0)➕
src/engine/shared/game-state/tracker-row-ids.ts(+142 -0)📝
src/features/modes/game/components/GameSurface.tsx(+48 -3)📝
src/features/modes/roleplay/components/RoleplayHUD.tsx(+6 -4)📝
src/features/runtime/generation/hooks/use-generate.ts(+6 -39)📝
src/features/runtime/tracker/components/CustomTrackerPanel.tsx(+1 -1)📝
src/features/runtime/tracker/components/PersonaTrackerPanel.tsx(+1 -1)📝
src/features/runtime/tracker/components/TrackerSectionList.tsx(+1 -0)📝
src/features/runtime/tracker/components/quest-tracker/QuestRow.tsx(+1 -1)📝
src/features/runtime/tracker/components/tracker-data-sidebar.stats.tsx(+1 -1)📝
src/features/runtime/tracker/hooks/use-tracker-mutations.ts(+15 -8)➕
src/features/runtime/world-state/lib/tracker-state-edits.test.ts(+119 -0)📝
src/features/runtime/world-state/lib/tracker-state-edits.ts(+81 -28)📝
src/features/runtime/world-state/stores/world-state.store.ts(+5 -1)📄 Description
Linked issue
Closes #1528
Why this change
nameortext, so duplicate stat names, inventory item names, custom field names, or quest objective text could cause manual edits and agent snapshot merges to target the wrong row.What changed
manual-*IDs.Refactor impact
Primary owner:
world-state / engine generation
Impact areas reviewed:
Boundary notes:
Pressure points touched:
GameSurfaceinventory tracker syncValidation
pnpm typecheck,pnpm build,pnpm check:architecture,pnpm check:docs, or fullpnpm checkwhen warranted)pnpm checkpasses locally before PR push/handoff, including the unused-code checkpnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyManual verification notes
Codex verification run from clean worktree
C:\tmp\Marinara-Engine-issue-1528:pnpm test src/features/runtime/world-state/lib/tracker-state-edits.test.tspassed.pnpm test src/engine/generation/tracker-snapshots.test.tspassed.pnpm typecheckpassed.pnpm checkpassed, including line endings, architecture, frontend typecheck, Rust check, docs, and unused-code check.Manual browser/Tauri verification was not run because this is a data-contract and merge-logic change, not a visible UI layout claim.
Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdNo docs changes were made; this is a tracker state contract/compatibility implementation.
UI evidence
N/A. No visual UI behavior or layout claim; row keys changed only to preserve identity after the new durable IDs are present.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.