[PR #6389] [CLOSED] fix: preserve inventory after incomplete agent updates #7160

Closed
opened 2026-10-23 04:17:04 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/6389
Author: @SpicyMarinara
Created: 9/19/2026
Status: ❌ Closed

Base: staging ← Head: codex/sept19-late-sweep


📝 Commits (8)

  • e863018 chore: start September 19 evening issue sweep
  • 1bdcb56 fix: follow VN speech and retain mobile activity edits; allow Termux build headroom
  • 124f138 Merge remote-tracking branch 'origin/staging' into codex/sept19-evening-sweep
  • 93ae2e2 docs: keep ruleset API status aligned with the new server combat support
  • 696e35b test: follow the Termux build helper in the launcher regression
  • b2d2e27 docs: explain Termux minimum heap precedence on small devices
  • 0532fe8 fix(docs): use reader theme colors for inline code
  • 99f4711 chore: begin follow-up issue sweep for tracker safety and settings

📊 Changes

24 files changed (+748 additions, -88 deletions)

View changed files

📝 CHANGELOG.md (+5 -0)
📝 android/README.md (+1 -1)
📝 docs/TROUBLESHOOTING.md (+6 -0)
📝 docs/development/optional-agent-packages.md (+5 -5)
📝 e2e/core-flows.e2e.ts (+22 -1)
📝 e2e/roleplay-vn.e2e.ts (+119 -2)
➕ e2e/translation-long-output.e2e.ts (+95 -0)
📝 packages/client/src/components/chat/ChatArea.tsx (+18 -1)
📝 packages/client/src/components/chat/ChatMessage.tsx (+105 -69)
📝 packages/client/src/components/chat/ChatRoleplaySurface.tsx (+55 -0)
📝 packages/client/src/components/chat/ConversationPresenceCard.tsx (+7 -3)
📝 packages/client/src/components/panels/SettingsPanel.tsx (+47 -0)
➕ packages/client/src/lib/roleplay-vn-tts.ts (+69 -0)
📝 packages/client/src/lib/tts-dialogue.ts (+1 -0)
📝 packages/client/src/lib/tts-service.ts (+1 -0)
📝 packages/client/src/localization/locales/en.json (+5 -0)
📝 packages/client/src/stores/ui.store.ts (+15 -0)
📝 packages/client/src/styles/globals.css (+6 -0)
📝 packages/server/src/routes/scene.routes.ts (+1 -0)
📝 scripts/regressions/connection-test-parameters.regression.ts (+49 -1)

...and 4 more files

📄 Description

Linked issues

Investigates #6387 and #6388. Follow-up to #6383; merge after that sweep.

Why this change

An incomplete Inventory Tracker update must preserve saved items. Chat settings should remain usable while generation is active, including on Android/Termux.

Work in progress

Trace the shared result parser and persistence boundary, reproduce the destructive update, and check the settings rendering/request path. Keep fixes narrow and reuse existing helpers. Package-owned changes, if necessary, will be submitted in Marinara-Agents.

Validation

  • Manually verify saved inventory survives an interrupted or malformed agent response.
  • Manually verify chat settings remain accessible during active generation on Android/Termux.
  • Read and followed CONTRIBUTING.md.

Automated regression results and remaining reproduction gaps will be recorded before this PR is marked ready.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Pasta-Devs/Marinara-Engine/pull/6389 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 9/19/2026 **Status:** ❌ Closed **Base:** `staging` ← **Head:** `codex/sept19-late-sweep` --- ### 📝 Commits (8) - [`e863018`](https://github.com/Pasta-Devs/Marinara-Engine/commit/e863018c3dce6352dd8eae5f94bd99c96e4eef66) chore: start September 19 evening issue sweep - [`1bdcb56`](https://github.com/Pasta-Devs/Marinara-Engine/commit/1bdcb56dec982a7799d32fde00538cb6c750ec12) fix: follow VN speech and retain mobile activity edits; allow Termux build headroom - [`124f138`](https://github.com/Pasta-Devs/Marinara-Engine/commit/124f1388bd63b9318ca629f94fbc0afe4e724cfc) Merge remote-tracking branch 'origin/staging' into codex/sept19-evening-sweep - [`93ae2e2`](https://github.com/Pasta-Devs/Marinara-Engine/commit/93ae2e2dca63020ec31f984e1cb8dc779cfe6e41) docs: keep ruleset API status aligned with the new server combat support - [`696e35b`](https://github.com/Pasta-Devs/Marinara-Engine/commit/696e35b79d9bb8808ed8eb80ced8cbdef9ae4b47) test: follow the Termux build helper in the launcher regression - [`b2d2e27`](https://github.com/Pasta-Devs/Marinara-Engine/commit/b2d2e275342e58ef69f92575b52e27a3d8b56088) docs: explain Termux minimum heap precedence on small devices - [`0532fe8`](https://github.com/Pasta-Devs/Marinara-Engine/commit/0532fe8ca28e18a8dad78dff6ca7a6bfe043be96) fix(docs): use reader theme colors for inline code - [`99f4711`](https://github.com/Pasta-Devs/Marinara-Engine/commit/99f47113642478d3d9bb7da8029c45cc7d1def11) chore: begin follow-up issue sweep for tracker safety and settings ### 📊 Changes **24 files changed** (+748 additions, -88 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+5 -0) 📝 `android/README.md` (+1 -1) 📝 `docs/TROUBLESHOOTING.md` (+6 -0) 📝 `docs/development/optional-agent-packages.md` (+5 -5) 📝 `e2e/core-flows.e2e.ts` (+22 -1) 📝 `e2e/roleplay-vn.e2e.ts` (+119 -2) ➕ `e2e/translation-long-output.e2e.ts` (+95 -0) 📝 `packages/client/src/components/chat/ChatArea.tsx` (+18 -1) 📝 `packages/client/src/components/chat/ChatMessage.tsx` (+105 -69) 📝 `packages/client/src/components/chat/ChatRoleplaySurface.tsx` (+55 -0) 📝 `packages/client/src/components/chat/ConversationPresenceCard.tsx` (+7 -3) 📝 `packages/client/src/components/panels/SettingsPanel.tsx` (+47 -0) ➕ `packages/client/src/lib/roleplay-vn-tts.ts` (+69 -0) 📝 `packages/client/src/lib/tts-dialogue.ts` (+1 -0) 📝 `packages/client/src/lib/tts-service.ts` (+1 -0) 📝 `packages/client/src/localization/locales/en.json` (+5 -0) 📝 `packages/client/src/stores/ui.store.ts` (+15 -0) 📝 `packages/client/src/styles/globals.css` (+6 -0) 📝 `packages/server/src/routes/scene.routes.ts` (+1 -0) 📝 `scripts/regressions/connection-test-parameters.regression.ts` (+49 -1) _...and 4 more files_ </details> ### 📄 Description ## Linked issues Investigates #6387 and #6388. Follow-up to #6383; merge after that sweep. ## Why this change An incomplete Inventory Tracker update must preserve saved items. Chat settings should remain usable while generation is active, including on Android/Termux. ## Work in progress Trace the shared result parser and persistence boundary, reproduce the destructive update, and check the settings rendering/request path. Keep fixes narrow and reuse existing helpers. Package-owned changes, if necessary, will be submitted in Marinara-Agents. ## Validation - [ ] Manually verify saved inventory survives an interrupted or malformed agent response. - [ ] Manually verify chat settings remain accessible during active generation on Android/Termux. - [ ] Read and followed `CONTRIBUTING.md`. Automated regression results and remaining reproduction gaps will be recorded before this PR is marked ready. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:17:04 +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#7160
No description provided.