Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

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

Offen
#1,550 1 Kommentar 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

@santoshkumarradha arbeitet bereits daran.

Seit 27.9.2026.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
48/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
git, go
Bereich
devtools, security

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
Go
Sterne
115
Forks
14
Ø Merge
11 Std. 40 Min.
Gemergte PRs (30 T.)
203

Entwicklungsumgebung

Die Einrichtungsdateien dieses Projekts haben wir noch nicht geprüft. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus Agent-Field/CodeAF

Alle Issues in Agent-Field/CodeAF

Ähnliche Issues

Weitere Issues zu Go

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.