mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4894] [Issue]: Manual Agent retries diverge from normal settings and tool resolution #2713
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#2713
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 (Aug 11, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4894
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Manual Agent retries resolve settings and tool access through retry-specific copies of normal-generation policy. As those paths drift, a retried Agent can use stale/default settings differently or lose permitted custom and built-in tools that are available during the original generation.
Expected behavior
For the same chat and Agent configuration, manual retries should use normal generation's current effective settings and Agent-only tool/context policy while retaining retry-specific history, target-character/lorebook scope, approvals, Spotify verification/fallback, SSE, persistence, and image behavior.
Actual behavior
The retry route independently reparses settings and attaches only selected tool families. This can diverge from normal generation's manifest defaults, stored overrides, retired-tool cleanup, Music-source overlays, context size, custom-tool validation/allowlisting, and permitted built-in tool composition.
Steps to reproduce
Depending on the Agent, the retry can omit a permitted tool or consume settings that do not match the original generation path.
Environment
stagingbefore the prepared fix (db0c598e3b32c29170d0c865a735fde8c624dd19)Logs, screenshots, or video
No provider or UI log is required to expose the policy drift. A deterministic provider-free regression reproduces the settings and tool/context mismatch at the production resolution boundaries.
Additional context
Narrower historical retry inconsistencies were tracked in closed issues #2990, #2994, and #2998. This issue covers the current broader divergence between normal generation's canonical settings/Agent-tool owners and manual retry.
Acceptance criteria
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked: