mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #3905] [MERGED] Fix Individual Conversation prompt scoping #6152
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#6152
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/3905
Author: @SpicyMarinara
Created: 7/21/2026
Status: ✅ Merged
Merged: 7/21/2026
Merged by: @SpicyMarinara
Base:
staging← Head:agent/3887-individual-conversation-prompt-scope📝 Commits (2)
c467c8bScope individual Conversation prompts to responder5a92a82Merge branch 'staging' into agent/3887-individual-conversation-prompt-scope📊 Changes
4 files changed (+189 additions, -35 deletions)
View changed files
📝
packages/server/src/routes/generate.routes.ts(+67 -19)📝
packages/server/src/routes/generate/conversation-context-block.ts(+40 -6)📝
packages/server/src/routes/generate/conversation-prompt-formatting.ts(+4 -9)📝
scripts/regressions/prompt.regression.ts(+78 -1)📄 Description
Closes #3887
Why
Individual Conversation group generations were receiving a mixture of Grouped-mode and target-character instructions. Character identity could resolve to the full group before the responder was selected, the status block described every character as "your" status, and Output Format contained both group-wide and single-character rules.
What changed
This is a group DM with other participants.context line in Individual mode without the multi-speaker/prefix rulesYour current statusto the responder and list other participants' statuses separatelyRespond only as <character>.in Individual Output FormatRoot cause
The Conversation system prompt and current-context block were assembled before the per-character generation target was known. The final provider-bound macro pass could scope unresolved character macros, but the prompt had already replaced
{{charName}}with the group list and the shared status block had no target-specific variant. The Output Format helper also appended Individual guidance on top of the Grouped contract instead of choosing one contract.Validation
pnpm regression:promptpnpm checkManual verification
Summary by CodeRabbit
New Features
Bug Fixes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.