tasks: a landing refusal names an untracked file the task never touched as a clash
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Accessibilité débutants
- 82/100
Piste de recherche
Recherchez your own uncommitted work in dans internal/session et suivez la manière dont le refus lors de l’atterrissage détermine les chemins à nommer. Ajoutez un test d’atterrissage déterministe pour un commit avec des changements reportés contenant un fichier non suivi et une modification d’un fichier suivi, tandis que la tâche ne modifie que le fichier suivi. Le travail est terminé lorsque le refus nomme strutil.go, mais pas mine.txt.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
What happened
2026-10-05, staging-20261005-7e30335645c8 (no code change from dev@f81638787). Found in the v0.7.1 staging happy-path pass.
The repository was on branch work. It had an uncommitted edit to strutil.go and an untracked mine.txt. A /task changed strutil.go and strutil_test.go, and its landing was refused, correctly, with:
did not merge cleanly and was kept: your own uncommitted work in strutil.go, mine.txt is in the same files, so your tree was left exactly as it was
The task never touched mine.txt. That file was only carried into the "world this task started from" commit at the base of the task's branch. The sentence names it as a clash anyway, so the person goes looking for a conflict in a file that has none. Nothing was lost; the tree was verified unchanged by shasum.
Replication
Deterministic (no model). A landing test whose task branch starts with the carried-changes commit (an untracked file plus an edit to a tracked file) and whose work changes only the tracked file. Assert that the refusal names only the tracked file.
Field. OPENROUTER_API_KEY:
- In a repository on
workwithstrutil.gocommitted, add an untrackedmine.txtand append a comment tostrutil.go. /task add a Reverse function with a table test to strutil.go.- Expand the landing card.
Cost is about $0.05.
Where
The landing refusal that builds your own uncommitted work in … (search that string in internal/session). It appears to list every path in the carried-changes commit rather than the intersection with the paths the task's own commits changed.
The fix
The sentence names only files that both the person's uncommitted work and the task's own changes touched: here strutil.go.
Acceptance
- Unit: the refusal for the case above names
strutil.goand notmine.txt.
- Langage dominant
- Go
- Étoiles
- 115
- Forks
- 14
- Merge moyen
- 9 h 3 min
- PR mergées (30 j)
- 517
Préparer son environnement
Nous n'avons pas encore vérifié les fichiers d'installation de ce projet. Commencez par son README, et consultez notre guide de la première contribution pour les étapes générales.
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de Agent-Field/CodeAF
-
tasks: a stopped task's commit is signed with the chat model, not the model that did the workOuvertearea:session bug sev:papercut
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Agent-Field/CodeAF#1768 ·
Les mainteneurs répondent en général sous 1 jour
-
area:chat bug sev:papercut
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
Agent-Field/CodeAF#1742 ·
Les mainteneurs répondent en général sous 1 jour
-
area:build bug sev:papercut
Difficulté 2/5 1-3 heures Accessibilité débutants 88/100
Agent-Field/CodeAF#1679 ·
Les mainteneurs répondent en général sous 1 jour
-
area:session bug sev:serious
Difficulté 2/5 1-3 heures Accessibilité débutants 85/100
Agent-Field/CodeAF#1678 ·
Les mainteneurs répondent en général sous 1 jour
-
area:chat bug sev:papercut
Difficulté 2/5 1-3 heures Accessibilité débutants 86/100
Agent-Field/CodeAF#1592 ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de Agent-Field/CodeAF
Issues similaires
-
bug from-studio
Difficulté 2/5 1-3 heures Accessibilité débutants 63/100
esengine/DeepSeek-Reasonix#12355 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 85/100
Les mainteneurs répondent en général sous 1 jour
-
needs-triage
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
gke-labs/kube-agents#2612 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
bluesky-social/indigo#1496 ·
Les mainteneurs répondent en général sous 2 jours
-
Difficulté 2/5 1-3 heures Accessibilité débutants 86/100
Gentleman-Programming/gentle-ai#5371 ·
Les mainteneurs répondent en général sous 1 jour