[PR #3539] [MERGED] Fix Echo delivery, advanced prompts, Noodle profiles, and galleries #5986

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

📋 Pull Request Information

Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/3539
Author: @SpicyMarinara
Created: 7/12/2026
Status: ✅ Merged
Merged: 7/13/2026
Merged by: @SpicyMarinara

Base: staging ← Head: fix/echo-queue-advanced-prompts


📝 Commits (3)

  • d3752c1 fix echo delivery and advanced character prompts
  • 6fab998 fix Noodle profiles and generated image galleries
  • 3f1f8d5 preserve every Illustrator gallery target

📊 Changes

31 files changed (+945 additions, -161 deletions)

View changed files

📝 CHANGELOG.md (+6 -0)
📝 docs/characters/creating-and-editing-characters.md (+3 -1)
📝 e2e/core-flows.e2e.ts (+45 -0)
📝 packages/client/src/components/chat/EchoChamberPanel.tsx (+17 -8)
📝 packages/client/src/components/noodle/NoodleView.tsx (+11 -2)
📝 packages/client/src/hooks/use-generate.ts (+5 -7)
➕ packages/client/src/lib/echo-chamber-queue.ts (+58 -0)
📝 packages/client/src/stores/agent.store.ts (+48 -9)
📝 packages/client/src/stores/ui.store.ts (+6 -0)
📝 packages/server/src/routes/conversation-calls.routes.ts (+14 -0)
📝 packages/server/src/routes/gallery.routes.ts (+12 -0)
📝 packages/server/src/routes/generate.routes.ts (+84 -53)
📝 packages/server/src/routes/generate/dry-run-route.ts (+12 -5)
📝 packages/server/src/routes/generate/illustrator-references.ts (+17 -4)
📝 packages/server/src/routes/generate/retry-agents-route.ts (+59 -45)
📝 packages/server/src/routes/noodle.routes.ts (+28 -2)
📝 packages/server/src/services/generation/character-prompt-context.ts (+11 -9)
📝 packages/server/src/services/generation/conversation-selfie-command-runtime.ts (+14 -0)
📝 packages/server/src/services/generation/game-gm-prompt-runtime.ts (+2 -0)
➕ packages/server/src/services/image/generated-image-entity-gallery.ts (+115 -0)

...and 11 more files

📄 Description

Why

Several independent regressions were making Roleplay agent output feel abrupt, dropping character-authored prompt controls in Conversation/Game, breaking Noodle profile lifecycle behavior, and leaving generated character art outside entity galleries.

Closes #3533
Closes #3535
Closes #3537
Closes #3538

What changed

  • Restored atomic, staggered Echo Chamber delivery with persistence-race and inactive-chat guards.
  • Injected character System Prompts, Post-History Instructions, and Depth Prompts into live Conversation and Game generation as well as Prompt Preview.
  • Bounded generated Noodle profile fields and isolated malformed rows so valid profiles still apply.
  • Persisted the last selected Noodle persona without clearing it during async hydration.
  • Synchronized renamed character-card names and avatars into Noodle while preserving generated profile copy and settings.
  • Copied generated Illustrator and Conversation selfie images into each depicted character/persona gallery, including retry and Conversation Call paths.
  • Updated CHANGELOG and character prompt documentation.

Automated validation completed

  • pnpm regression:roleplay
  • pnpm regression:noodle
  • pnpm regression:issues
  • pnpm regression:prompt
  • pnpm check
  • pnpm smoke:ui (35 passed, 23 intentional viewport skips)

Manual verification for reviewers

  • Manually verify Echo reactions arrive one at a time in a live Roleplay provider run.
  • Manually inspect Conversation and Game Peek Prompt output with all three character Advanced fields populated.
  • Manually refresh Noodle with a provider returning an overlong formatted profile name.
  • Manually rename an invited character and confirm old/new Noodle timeline surfaces use the live account name.
  • Manually generate Roleplay, Game, Conversation, and Conversation Call images and inspect each target gallery.

Summary by CodeRabbit

  • Bug Fixes

    • Noodle profile refreshes now tolerate malformed or overly long generated fields.
    • The last selected Noodle persona now persists across refreshes and restarts.
    • Character renames correctly refresh names and avatars.
    • Generated chat and illustration images now appear in relevant character and persona galleries.
    • Echo Chamber reactions are restored with ordered, one-at-a-time delivery.
    • Advanced character prompts now apply consistently in Conversation and Game modes.
  • Documentation

    • Clarified Advanced prompt behavior across supported chat modes.

🔄 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/3539 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/12/2026 **Status:** ✅ Merged **Merged:** 7/13/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `fix/echo-queue-advanced-prompts` --- ### 📝 Commits (3) - [`d3752c1`](https://github.com/Pasta-Devs/Marinara-Engine/commit/d3752c19f979e2c6fccd263ac93232e575aff696) fix echo delivery and advanced character prompts - [`6fab998`](https://github.com/Pasta-Devs/Marinara-Engine/commit/6fab998689d362015d864fb3ae6a6b8487fffc14) fix Noodle profiles and generated image galleries - [`3f1f8d5`](https://github.com/Pasta-Devs/Marinara-Engine/commit/3f1f8d5d0fcf7ea3cf9aaf16d621907481fecc39) preserve every Illustrator gallery target ### 📊 Changes **31 files changed** (+945 additions, -161 deletions) <details> <summary>View changed files</summary> 📝 `CHANGELOG.md` (+6 -0) 📝 `docs/characters/creating-and-editing-characters.md` (+3 -1) 📝 `e2e/core-flows.e2e.ts` (+45 -0) 📝 `packages/client/src/components/chat/EchoChamberPanel.tsx` (+17 -8) 📝 `packages/client/src/components/noodle/NoodleView.tsx` (+11 -2) 📝 `packages/client/src/hooks/use-generate.ts` (+5 -7) ➕ `packages/client/src/lib/echo-chamber-queue.ts` (+58 -0) 📝 `packages/client/src/stores/agent.store.ts` (+48 -9) 📝 `packages/client/src/stores/ui.store.ts` (+6 -0) 📝 `packages/server/src/routes/conversation-calls.routes.ts` (+14 -0) 📝 `packages/server/src/routes/gallery.routes.ts` (+12 -0) 📝 `packages/server/src/routes/generate.routes.ts` (+84 -53) 📝 `packages/server/src/routes/generate/dry-run-route.ts` (+12 -5) 📝 `packages/server/src/routes/generate/illustrator-references.ts` (+17 -4) 📝 `packages/server/src/routes/generate/retry-agents-route.ts` (+59 -45) 📝 `packages/server/src/routes/noodle.routes.ts` (+28 -2) 📝 `packages/server/src/services/generation/character-prompt-context.ts` (+11 -9) 📝 `packages/server/src/services/generation/conversation-selfie-command-runtime.ts` (+14 -0) 📝 `packages/server/src/services/generation/game-gm-prompt-runtime.ts` (+2 -0) ➕ `packages/server/src/services/image/generated-image-entity-gallery.ts` (+115 -0) _...and 11 more files_ </details> ### 📄 Description ## Why Several independent regressions were making Roleplay agent output feel abrupt, dropping character-authored prompt controls in Conversation/Game, breaking Noodle profile lifecycle behavior, and leaving generated character art outside entity galleries. Closes #3533 Closes #3535 Closes #3537 Closes #3538 ## What changed - Restored atomic, staggered Echo Chamber delivery with persistence-race and inactive-chat guards. - Injected character System Prompts, Post-History Instructions, and Depth Prompts into live Conversation and Game generation as well as Prompt Preview. - Bounded generated Noodle profile fields and isolated malformed rows so valid profiles still apply. - Persisted the last selected Noodle persona without clearing it during async hydration. - Synchronized renamed character-card names and avatars into Noodle while preserving generated profile copy and settings. - Copied generated Illustrator and Conversation selfie images into each depicted character/persona gallery, including retry and Conversation Call paths. - Updated CHANGELOG and character prompt documentation. ## Automated validation completed - pnpm regression:roleplay - pnpm regression:noodle - pnpm regression:issues - pnpm regression:prompt - pnpm check - pnpm smoke:ui (35 passed, 23 intentional viewport skips) ## Manual verification for reviewers - [ ] Manually verify Echo reactions arrive one at a time in a live Roleplay provider run. - [ ] Manually inspect Conversation and Game Peek Prompt output with all three character Advanced fields populated. - [ ] Manually refresh Noodle with a provider returning an overlong formatted profile name. - [ ] Manually rename an invited character and confirm old/new Noodle timeline surfaces use the live account name. - [ ] Manually generate Roleplay, Game, Conversation, and Conversation Call images and inspect each target gallery. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Noodle profile refreshes now tolerate malformed or overly long generated fields. * The last selected Noodle persona now persists across refreshes and restarts. * Character renames correctly refresh names and avatars. * Generated chat and illustration images now appear in relevant character and persona galleries. * Echo Chamber reactions are restored with ordered, one-at-a-time delivery. * Advanced character prompts now apply consistently in Conversation and Game modes. * **Documentation** * Clarified Advanced prompt behavior across supported chat modes. <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:05:56 +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#5986
No description provided.