[PR #3346] [MERGED] Remove manual group transcript prompt #5890

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

📋 Pull Request Information

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

Base: staging ← Head: agent/remove-manual-group-transcript


📝 Commits (1)

  • eac0aca Remove manual group transcript prompt

📊 Changes

2 files changed (+20 additions, -33 deletions)

View changed files

📝 packages/server/src/routes/generate.routes.ts (+0 -33)
📝 scripts/regressions/prompt.regression.ts (+20 -0)

📄 Description

Linked issue

No linked issue yet. This was opened as an urgent prompt-pipeline bugfix from maintainer/user report; an issue should be opened or linked before this PR is submitted for review.

Why this change

Manual group character triggers were appending a hidden duplicated recent transcript system block to the generation prompt. That block could override the normal chat history and included an instruction to ignore the latest visible reply, causing characters to respond to stale or confusing context.

What changed

  • Removed the manual group recent transcript prompt builder from generation routing.
  • Removed both prompt insertion points that appended the hidden <recent_group_transcript> block.
  • Added a prompt regression guard so the duplicate transcript prompt and exact leaked instruction do not return unnoticed.

Validation

  • pnpm check passes locally
  • Container (Docker / Podman) built and ran without issue
  • Ran the app, clicked through the changes manually
  • Checked edge cases (light + dark mode, mobile viewport, empty states, error paths)
  • Above manual verification completed (describe below)
  • Read and followed CONTRIBUTING.md

Manual verification notes

Automated checks run locally by Codex:

  • rg "recent_group_transcript|Recent visible group transcript|manual character trigger|ignore the user's latest visible reply|buildManualGroupRecentTranscript|buildManualGroupTranscriptInstruction" packages scripts returned no matches.
  • pnpm regression:prompt passed.
  • pnpm check passed.

No browser/manual click-through was performed; this is a server prompt assembly change with a regression guard.

Docs and release impact

  • No docs changes needed
  • Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed
  • Version/release files updated (only if this PR includes a version bump)

Prompt behavior only; no user-facing docs or release metadata updated.

UI evidence (if applicable)

Not applicable; no UI changes.


🔄 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/3346 **Author:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Created:** 7/7/2026 **Status:** ✅ Merged **Merged:** 7/7/2026 **Merged by:** [@SpicyMarinara](https://github.com/SpicyMarinara) **Base:** `staging` ← **Head:** `agent/remove-manual-group-transcript` --- ### 📝 Commits (1) - [`eac0aca`](https://github.com/Pasta-Devs/Marinara-Engine/commit/eac0aca08cc8bbb590b91380986edeff36f96536) Remove manual group transcript prompt ### 📊 Changes **2 files changed** (+20 additions, -33 deletions) <details> <summary>View changed files</summary> 📝 `packages/server/src/routes/generate.routes.ts` (+0 -33) 📝 `scripts/regressions/prompt.regression.ts` (+20 -0) </details> ### 📄 Description ## Linked issue No linked issue yet. This was opened as an urgent prompt-pipeline bugfix from maintainer/user report; an issue should be opened or linked before this PR is submitted for review. ## Why this change Manual group character triggers were appending a hidden duplicated recent transcript system block to the generation prompt. That block could override the normal chat history and included an instruction to ignore the latest visible reply, causing characters to respond to stale or confusing context. ## What changed - Removed the manual group recent transcript prompt builder from generation routing. - Removed both prompt insertion points that appended the hidden `<recent_group_transcript>` block. - Added a prompt regression guard so the duplicate transcript prompt and exact leaked instruction do not return unnoticed. ## Validation - [ ] `pnpm check` passes locally - [ ] Container (Docker / Podman) built and ran without issue - [ ] Ran the app, clicked through the changes manually - [ ] Checked edge cases (light + dark mode, mobile viewport, empty states, error paths) - [ ] Above manual verification completed (describe below) - [ ] Read and followed `CONTRIBUTING.md` ### Manual verification notes Automated checks run locally by Codex: - `rg "recent_group_transcript|Recent visible group transcript|manual character trigger|ignore the user's latest visible reply|buildManualGroupRecentTranscript|buildManualGroupTranscriptInstruction" packages scripts` returned no matches. - `pnpm regression:prompt` passed. - `pnpm check` passed. No browser/manual click-through was performed; this is a server prompt assembly change with a regression guard. ## Docs and release impact - [ ] No docs changes needed - [ ] Updated docs (README / CONTRIBUTING / android/README / CHANGELOG) as needed - [ ] Version/release files updated (only if this PR includes a version bump) Prompt behavior only; no user-facing docs or release metadata updated. ## UI evidence (if applicable) Not applicable; no UI changes. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-23 04:04:51 +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#5890
No description provided.