Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

tasks: a stopped task's commit is signed with the chat model, not the model that did the work

Abierto Apto para principiantes
#1,768 0 comentarios 0 reacciones 0 asignados Ver en GitHub

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
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
go
Área
cli, testing

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

area:session bug sev:papercut

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

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Agent-Field/CodeAF

Todos los issues de Agent-Field/CodeAF

Issues similares

Más issues de Go

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.