Agent's follow up changes reverts the previous changes and causes endless loop
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- swift
- Área
- ai, desktop-dev
Línea de trabajo
Comienza revisando el archivo adjunto github-copilot-for-xcode.log y reproduciendo el problema en Agent mode en un único archivo usando las versiones indicadas de Copilot for Xcode, Xcode y macOS. Rastrea cómo se aplican las ediciones sucesivas; se considera terminado cuando los cambios anteriores se conservan al realizar cambios posteriores y el agente deja de entrar en un bucle de corrección infinito.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Describe the bug
When using agent mode, if the agent needs to make changes in steps, the first set of changes gets reverted by the second set of changes, which causes the agent to attempt to fix it by redoing the first changes, which reverts the second set of changes, and it gets into an endless loop of trying to fix this.
Versions
- Copilot for Xcode: 0.40.0
- Xcode: 16.4
- macOS: 15.5
Steps to reproduce
- Use agent mode to request changes to a single file. The agent needs to make changes in multiple steps. For example, adding a property first, then changing a function to use that property.
- Observe the agent making the first change successfully.
- When the agent then makes the second change, it reverts the first change when applying the second.
- The agent then realizes the first change isn't there, and so it decides to fix this.
- When re-applying the first change, it ends up reverting the second change.
- The agent then realizes this too, and attempts to fix it, which puts it into an endless loop.
Screenshots
Logs
github-copilot-for-xcode.log
Additional context
- Lenguaje dominante
- Swift
- Estrellas
- 6.3k
- Forks
- 2k
- Merge medio
- 3 d 21 h
- PR fusionados (30 d)
- 2
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de github/CopilotForXcode
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
github/CopilotForXcode#181 · 2 reacciones ·
-
Add ability to attach Copilot window only to Xcode projects/workspaces, ignoring standalone files Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
github/CopilotForXcode#945 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 35/100
github/CopilotForXcode#943 ·
-
Luisgerardomartinezlara Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 10/100
github/CopilotForXcode#936 · 2 comentarios ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 10/100
github/CopilotForXcode#934 ·
Todos los issues de github/CopilotForXcode
Issues similares
-
Docs/performance.md says the clipboard panel waits for catchUp; toggleQuickPanel no longer waits Abiertoarea:docs documentation good first issue P2
Dificultad 1/5 1-3 horas Aptitud para principiantes 94/100
uttrflow/uttrflow-swift#1032 ·
-
dock-lock never engages when the Dock is in its default position (missing `orientation` key) Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
-
🎉 Add KinetTask Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
jaywcjlove/awesome-mac#2932 ·
-
tvOS
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
skiptools/skip-fuse-ui#147 ·