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

Planner-declared checks keep an unfilled placeholder (issue_.go)

クローズ
#1,573 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

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

調査の方向性

Start with the planner path that declares per-part checks and inspect the checks column in the run's plandb.db. Reproduce the fan-out using the provided dev build and confirm whether the issue_NN pattern is still unfilled when checks are stored. Done means each part's command names its own file, the unit coverage verifies expansion, and the missing-file check no longer creates a fix task.

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

説明

area:session bug sev:critical

Seen on: dev 837b2b0.

Behaviour

Every per-part check in a fan-out run ran gofmt -l issue_.go …, a file that does not exist. The checks answered does not hold: … names issue_.go, which does not exist, which spawned 10 needless fix: tasks. The run cost 3.5 times its estimate ($0.90 against $0.26). Each part's check should name that part's file.

Replication

  1. Build dev 837b2b0 (git checkout 837b2b0 && make build, binary bin/codeaf), or install the dev build with curl -fsSL https://agentfield.ai/get/devaf | bash.
  2. Use an isolated profile: export HOME=$(mktemp -d), export OPENROUTER_API_KEY, and keep the default model (~deepseek/deepseek-v4-flash-latest, crew on auto).
  3. On a busy machine set task.max_load to 0 (/settings, Tasks) so the busy-machine gate does not hold tasks.
  4. Same repo shape as a 20-file fan-out: R=$(mktemp -d) && cd "$R" && git init -q && printf 'package main\n\nfunc main() {}\n' > main.go && printf 'module demo\n\ngo 1.22\n' > go.mod && git add -A && git commit -qm init, then issue_01.go … issue_20.go, committed.
  5. codeaf, then /task For each issue_NN.go, reverse its string helper, and check each part with gofmt -l and go test.
  6. Read the checks column of the part tasks in the run's plandb.db: the command names issue_.go.

Evidence

  • The checks column of task Reverse in the run's plan store: gofmt -l issue_.go ….
  • Check results: does not hold: … names issue_.go, which does not exist; 10 fix: tasks; $0.90 spent against a $0.26 estimate.
  • Code path not traced in this pass.

Guessed cause

A guess from reading the code, not a confirmed diagnosis. Per-part expansion of the issue_NN pattern is dropped when the planner declares the checks, so the template reaches the checker unfilled.

Acceptance

  • e2e: in the run above every part's check command names that part's own file, and no fix: task is created for a missing-file check.
  • Unit: declared per-part checks are expanded per part before they are stored.

Found while writing the public docs; manual text differences are in #1545.

🤖 Generated with Claude Code

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

環境構築

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

はじめの一歩

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

Agent-Field/CodeAF のほかの issue

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

似ている issue

Go の issue をもっと見る

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

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