mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1501] Roleplay Writer Agent Review is unreachable and ignores overrides #751
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#751
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?
Originally created by @Xelvanis on GitHub (May 29, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1501
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Roleplay has a
Writer Agent Reviewmodal path, but the current wiring appears unreachable and its continuation payload is ignored.This came out of the Roleplay smoke/audit work for #1486.
Evidence
src/features/modes/roleplay/hooks/use-agent-injection-review.tslistens forwindoweventmarinara:agent-injection-review.rgoversrcfinds no dispatcher formarinara:agent-injection-reviewoutside that listener.generate({ chatId, connectionId: null, agentInjectionOverrides: overrides }).src/engine/contracts/schemas/chat.schema.tsacceptsagentInjectionOverrides, butrgshows no engine-side consumer insrc/engine/generation/start-generation.ts,prompt-assembly.ts, oragent-runner.ts.src/engine/generation/agent-runner.tsexcludesprompt-reviewerfrom pre-generation injection withpipeline.preGenerate((type) => type !== "prompt-reviewer"), andprompt_reviewresults are treated as informational agent results rather than a pause/review contract.Expected
If writer-agent review is a supported Roleplay feature:
If review is no longer supported, the dead modal/hook/schema contract should be removed or hidden so Roleplay does not expose a fake review path.
Actual
The review modal has no apparent production trigger. If triggered manually, Continue sends
agentInjectionOverrides, but generation ignores that field, so edited guidance cannot affect the reply.Suggested Fix
Define the owner contract first, then either:
agentInjectionOverridesreplaces the reviewed injections before prompt assembly/model call, orKeep this in the Roleplay/generation contract layer, not as a UI-only guard.
Related
invokeTauriRoleplay panel architecture finding.@SpicyMarinara commented on GitHub (May 29, 2026):
Resolved on refactor in
a706b274. Writer-agent review now emits an engine event, opens the Roleplay review modal, pauses before the main model call, and resumes with reviewed injection overrides.