mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #4360] [Issue]: Agent Run Interval counts only assistant messages instead of all chat messages #2366
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#2366
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 @SpicyMarinara on GitHub (Jul 31, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/4360
Originally assigned to: @SpicyMarinara on GitHub.
Summary
The Illustrator agent's Run Interval currently counts only assistant messages. The same shared cadence behavior may affect every agent that exposes a Run Interval value.
Expected behavior
Run Interval should count all eligible chat messages, including both user and assistant messages. An agent configured to run every N messages should become eligible after N combined user/assistant messages have been added to the chat.
Actual behavior
The interval advances only for assistant messages. User messages are ignored, so an agent configured for every N messages effectively waits for N assistant responses instead of N total messages.
Steps to reproduce
Environment
Logs, screenshots, or video
Not provided.
Additional context
This should be corrected in the shared agent cadence/orchestration path rather than special-cased for Illustrator. Agent execution may remain at its supported orchestration point, but interval eligibility must be calculated from the combined user and assistant message count. Add regression coverage for the shared behavior so every agent with Run Interval follows the same semantics.
Template check
@SpicyMarinara commented on GitHub (Jul 31, 2026):
SpicyMarinara is taking this in
agent/issue-sweep-4350-4361. Work is tracked in draft PR #4362.