github / github/copilot-cli

Claude Sonnet 5 delegated to a lesser agent to perform a code review

Ouverte
#4,270 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
area:agents area:models
Langage dominant
Shell
Étoiles
11.2k
Forks
1.9k
Merge moyen
14 h 16 min
PR mergées (30 j)
6

Description

### Describe the bug

I asked Claude Sonnet 5 to perform a code review. I specifically chose Claude Sonnet 5 for deep reasoning. The agent proceeded to review the structure of my project and then delegate to a lesser agent:

"Good, all directories exist. I'll launch a general-purpose agent to perform this code review, since it involves reading through before/after/project directories, comparing changes, and producing a structured markdown report — genuinely multi-step work."

"General-purpose(gpt-5.4) Perform code review for issue 44206"

The code review produced was of little use. I corrected the agent and requested Sonnet 5 to perform the review itself:

"I would like to start this code review over. I see that you delegated to gpt-5.4 and I do not want a weaker model doing the review. Please execute the review prompt in file 44206-review-prompt2.txt."

Sonnet replied "I'll perform this review myself directly (no sub-agent delegation this time). Let me examine the before/after directories to identify actual changed files."

Sonnet completed the review the second time and the quality was as expected.

### Affected version

GitHub Copilot CLI 1.0.75

### Steps to reproduce the behavior

_No response_

### Expected behavior

I expected that when selecting the agent that it perform the work itself.

### Additional context

_No response_

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Reproduisez le comportement dans GitHub Copilot CLI 1.0.75 en utilisant le scénario de revue et le prompt 44206-review-prompt2.txt, en comparant les répertoires before, after et project. Suivez l’endroit où l’agent sélectionné décide de déléguer, puis vérifiez que Sonnet effectue lui-même la revue demandée, sans transfert involontaire vers un agent de moindre capacité.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
github, shell
Domaine
ai, cli
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
Calme
Clarté
Plutôt claire
Accessibilité débutants
42/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.