Skip to content

fix(doom-loop): improve wording of doom loop reminder#3312

Open
laststylebender14 wants to merge 1 commit into
mainfrom
fix/improve-doom-loop-wording
Open

fix(doom-loop): improve wording of doom loop reminder#3312
laststylebender14 wants to merge 1 commit into
mainfrom
fix/improve-doom-loop-wording

Conversation

@laststylebender14
Copy link
Copy Markdown
Contributor

fixes: #3247

Replace the vague doom loop reminder message with clearer, more actionable language that explicitly directs the agent to change approach rather than repeat the same tool call.

Before:

You appear to be stuck in a repetitive loop, having made N similar calls. This indicates you are not making progress. Please: 1. Reconsider your approach...

After:

You are stuck in a loop: you have made N identical or semantically equivalent tool calls without meaningful progress. For your next step, do NOT repeat the same tool call... You must choose one of these actions: 1. Use a different tool. 2. Use the same tool with materially different arguments... 3. Stop tool use and explain the blocker...

Replace the vague reminder with clearer, more actionable language that
explicitly directs the agent to change approach rather than repeat the
same tool call.

Co-Authored-By: ForgeCode <noreply@forgecode.dev>
@github-actions github-actions Bot added the type: fix Iterations on existing features or infrastructure. label May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: fix Iterations on existing features or infrastructure.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: stuck in a read file loop

1 participant