Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#1,550 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
git, go
Ambito
devtools, security

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Go
Stelle
115
Fork
14
Merge medio
9h 35m
PR unite (30g)
752

Preparare l'ambiente

Non abbiamo ancora controllato i file di configurazione di questo progetto. Parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Agent-Field/CodeAF

Tutte le issue di Agent-Field/CodeAF

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.