[GH-ISSUE #4360] [Issue]: Agent Run Interval counts only assistant messages instead of all chat messages #2366

Closed
opened 2026-10-21 05:47:39 +07:00 by bsakaguchi · 1 comment
Owner

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

  1. Enable Illustrator, or another agent that exposes Run Interval, in a Roleplay chat.
  2. Set its Run Interval to an observable value such as 2 or 3.
  3. Exchange user and assistant messages while observing when the agent runs.
  4. Notice that only assistant messages advance the interval; user messages do not count.

Environment

  • Marinara Engine version: Not provided
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided

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

  • I DID NOT read this template and provide the requested details.
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 1. Enable Illustrator, or another agent that exposes Run Interval, in a Roleplay chat. 2. Set its Run Interval to an observable value such as 2 or 3. 3. Exchange user and assistant messages while observing when the agent runs. 4. Notice that only assistant messages advance the interval; user messages do not count. ## Environment - Marinara Engine version: Not provided - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## 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 - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 05:47:39 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Jul 31, 2026):

SpicyMarinara is taking this in agent/issue-sweep-4350-4361. Work is tracked in draft PR #4362.

<!-- gh-comment-id:5145470342 --> @SpicyMarinara commented on GitHub (Jul 31, 2026): SpicyMarinara is taking this in `agent/issue-sweep-4350-4361`. Work is tracked in draft PR #4362.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#2366
No description provided.