mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #2394] [MERGED] Reply as all characters in sequential individual group chat #5577
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#5577
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/2394
Author: @Romuromylus
Created: 6/6/2026
Status: ✅ Merged
Merged: 6/6/2026
Merged by: @Romuromylus
Base:
refactor← Head:fix/sequential-group-all-turns📝 Commits (1)
d9cb012Reply as all characters in sequential individual group chat📊 Changes
1 file changed (+9 additions, -2 deletions)
View changed files
📝
src/engine/generation/start-generation.ts(+9 -2)📄 Description
Linked issue
Closes #2282
Why this change
groupChatMode: "individual"andgroupResponseOrder: "sequential", only one character replied per user send instead of all active characters taking a turn. The sequential branch ofresolveIndividualGroupTurnIdsreturned a single next-in-rotation id while the "smart" branch already returned the full multi-selection. The turn loop,group_turntotal, and clientindex/totalhandling already support N>1, so only the sequential branch under-filled the array.What changed
sequentialGroupTurnOrderinsrc/engine/generation/start-generation.tsreturning the full active-character rotation in turn order, starting at the character after the last visible assistant.resolveIndividualGroupTurnIdsnow returns that full rotation instead of[singleTarget].sequentialGroupTargethelper is unchanged and still used by the merged-mode single-responder and smart-fallback paths.Refactor impact
Primary owner: engine generation
Impact areas reviewed:
src/engine/generation/start-generation.ts(resolveIndividualGroupTurnIds, newsequentialGroupTurnOrder)Boundary notes:
lastVisibleAssistantCharacterIdandactiveCharacterIds. No feature/shared/Rust crossing.Pressure points touched:
runIndividualGroupTurnLoop.Validation
pnpm checkpasses before PR push/handoffManual verification notes
pnpm vitest run src/engine/generation/start-generation.test.ts— 19 passed (3 new: full rotation emits onegroup_turnper active character withtotal: 3; round starts after the last visible assistant;manualorder still emits zero turns).pnpm exec tsc -b— clean.Feature Discoverability
src/features/shell/discovery/Reason:
Docs and release impact
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.