Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

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

オープン
#1,550 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
git, go
領域
devtools, security

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Go
スター
115
フォーク
14
平均マージ
9時間 37分
マージ済み PR(30日)
755

環境構築

このプロジェクトの環境構築ファイルはまだ確認していません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Agent-Field/CodeAF のほかの issue

Agent-Field/CodeAF の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。