github / github/copilot-cli

[bug]copilot-cli bug report: One prompt triggered autopilot mode infinite loop

Open
#3,010 0 comments 0 reactions 0 assignees View on GitHub
area:agents area:tools
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### Describe the bug

Image

Image

Image

Image

Image

After completing a simple task, copilot is unable to stop itself, continuous loop trying to call a "task_complete" tool which does not exist,it used up all my credit limit at once.

### Affected version

_No response_

### Steps to reproduce the behavior

_No response_

### Expected behavior

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported autopilot-mode loop in copilot-cli, using the screenshots and the repeated "task_complete" tool call as the failure clues. Trace the autopilot completion path and verify that a simple completed task stops without repeatedly invoking a nonexistent tool or consuming further credits.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.