Files
3a0d5f0d0b fix(repeat-tool-reminder): stop reminding repeated subagent and job waits (#9195)
* fix(repeat-tool-reminder): stop reminding repeated subagent and job waits

Add a reset tool-name list whose model-direct calls end the agent's
repeat chain without counting, and list wait_agent and job_output in the
dsh base bundle.

Fixes #9194

Co-authored-by: Magolor <25860372+Magolor@users.noreply.github.com>

* fix(repeat-tool-reminder): count failed reset-tool calls

A failed or denied wait does not observe changing state, so only a
successful reset-tool call ends the chain. The reset snapshot now waits
on a running background job.

Co-authored-by: Magolor <25860372+Magolor@users.noreply.github.com>

* fix(base): exclude bookkeeping updates and reset on user answers

The base bundle excludes todo_write, team_task_update, and update_goal
from the repeat chain so they cannot hide a loop between repeated calls,
and resets the chain after ask_user_question.

Co-authored-by: Magolor <25860372+Magolor@users.noreply.github.com>

* refactor(repeat-tool-reminder): rename reset to restartCountAfter

The option name now states its effect: a successful call to a listed
tool restarts the repeat count.

Co-authored-by: Magolor <25860372+Magolor@users.noreply.github.com>

---------

Co-authored-by: Turtle <turtle1999@deepseek.com>
Co-authored-by: Magolor <25860372+Magolor@users.noreply.github.com>
2026-11-27 08:05:18 +00:00
..