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

session: standing execution falsely reports branch isolation while committing to main

Abierto
#1,550 1 comentario 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
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
git, go

Línea de trabajo

Start in internal/session and reproduce the standing-task flow described in the issue. Inspect the completion claim alongside git reflog, git status, and git log -1 on main. Done means branch-isolated runs use a separate worktree or branch, validate the resulting git ref, and leave main unchanged.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

area:session bug sev:critical
Summary

Standing task firings report that changes were committed to an isolated branch, but commits are written directly to the active working tree branch (main).

Observed Behavior

A standing task firing completes with the summary message: "committed on branch vet-fix, not merged". Running git reflog and git status in the repository reveals the commit was applied directly to main.

Expected Behavior

If a task run claims branch isolation or is granted permission only for branch commits, the engine must enforce worktree isolation on a separate git branch and never modify main.

Reproduction Steps
  1. Set up a standing task with instructions to commit fixes to a branch without merging.
  2. Allow the task to fire.
  3. Review the completion report claiming commits landed on a separate branch.
  4. Run git log -1 on the host repository's main branch. The commit is present directly on main.
Root Cause / Location

internal/session accepts the LLM's prose output claim as truth without validating git ref state or enforcing an isolated git worktree before landing changes.

—
Drafted with CodeAF · reviewed and owned by the author

Lenguaje dominante
Go
Estrellas
115
Forks
14
Merge medio
9 h 35 min
PR fusionados (30 d)
752

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.