tasks: a stopped task's commit is signed with the chat model, not the model that did the work
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 78/100
Línea de trabajo
Empieza por internal/session/stoprun.go, en keptWork(..., a.signsGitWork()), y por internal/session/beltfacts.go, donde signsGitWork devuelve el modelo de conversación. Lee las pruebas de sesión para detener una ejecución y añade un caso determinista con modelos de worker y de conversación distintos. El trabajo está terminado cuando el tráiler del commit conservado no menciona el modelo de chat; ejecuta las pruebas de sesión pertinentes.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What happened
2026-10-05, dev@f81638787 (dev-20261005-f816387875e5), engine road. The chat model was ~deepseek/deepseek-v4-flash-latest and the task worker z-ai/glm-5.3-flash. Found in the v0.7.1 happy-path pass.
Stop a running /task (with x on its page, or /stop). The commit on its kept branch is signed with the chat model:
Assisted-by: CodeAF (deepseek-v4-flash-latest)
codeaf logs shows only z-ai/glm-5.3-flash worked that task, and the crew line says worker glm-5.3-flash. Tasks that finish and land carry a bare Assisted-by: CodeAF, so the same setting signs two ways depending on how the task ended.
Replication
Field. OPENROUTER_API_KEY. On a repository on a non-protected branch, run /task add a Levenshtein function with table tests. Stop it after about 20 s, then run git log -1 --format=%B task/<slug>. Cost is about $0.05.
Deterministic (no model). A session test that stops a run whose worker model differs from the agent's model, then reads the kept commit's trailer.
Where
keptWork(..., a.signsGitWork()) in internal/session/stoprun.go. signsGitWork in internal/session/beltfacts.go returns the conversation's model (a.Model()).
The fix
A stopped run's commit is signed the way a landed one is: by the model that did the work, or with the bare trailer when that is what the landing path writes. It is never signed with the chat model.
Acceptance
- Unit: stopping a run whose worker is model A, in a conversation on model B, writes a trailer that does not name B.
- Lenguaje dominante
- Go
- Estrellas
- 115
- Forks
- 14
- Merge medio
- 9 h 3 min
- PR fusionados (30 d)
- 517
Preparar el entorno
Aún no hemos revisado los archivos de configuración de este proyecto. Empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 Agent-Field/CodeAF
-
area:session bug sev:papercut
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Agent-Field/CodeAF#1779 ·
Los mantenedores suelen responder en 1 día
-
area:chat bug sev:papercut
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Agent-Field/CodeAF#1742 ·
Los mantenedores suelen responder en 1 día
-
area:build bug sev:papercut
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Agent-Field/CodeAF#1679 ·
Los mantenedores suelen responder en 1 día
-
area:session bug sev:serious
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Agent-Field/CodeAF#1678 ·
Los mantenedores suelen responder en 1 día
-
area:chat bug sev:papercut
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
Agent-Field/CodeAF#1592 ·
Los mantenedores suelen responder en 1 día
Todos los issues de Agent-Field/CodeAF
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
war-and-code/dircue#200 ·
Los mantenedores suelen responder en 1 día
-
actor/human kind/bug priority/important-soon triage-accepted
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
kelos-dev/kelos#1804 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
`date` → `date-time` (and `time` → `date-time`) is classified as a widening, but a date is not a valid date-timePosiblemente ocupada @reuvenharrison la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
fix: invalid GPU spec in SparkApplication is silently ignoredPosiblemente ocupada @pratik-naik003 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
kubeflow/spark-operator#3223 ·
Los mantenedores suelen responder en 5 días