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

senior-dev ends 'unsubmitted' (exit 2) after a passing verification

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

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

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

評価

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

調査の方向性

Start with internal/seniordev/app/solo.go:320-335 and trace how soloCheckUnsubmitted, the nudge cap, verification status, and exit code determine the final outcome. Reproduce with the senior-dev command and the minimal Go repository described in the issue. Done means a passing verification produces exit 0, or a distinct result clearly stating that work passed but was not submitted, with an e2e test covering it.

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

説明

area:headless bug sev:serious

Seen on: dev 837b2b0.

Behaviour

A headless senior-dev run fixed the code and its verification passed, but the run ended unsubmitted with terminal_trigger: nudge-cap and exit 2. A run whose verification passed on a clean tree should count as done (or say plainly that the model never submitted), not exit as a failure.

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. Make a small repo with a failing test: 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, add a failing _test.go, commit.
  5. codeaf senior-dev --json "make go test ./... pass"; echo exit=$?.
  6. Read the last JSON record: terminal_trigger, the verification result, exit code.

Evidence

  • Last record: verification passed, unsubmitted, terminal_trigger: "nudge-cap", exit 2.
  • internal/seniordev/app/solo.go:320-335: after soloMaxNudges the outcome is nudge-cap and stage unsubmitted, even when soloCheckUnsubmitted returned a passing verification.

Guessed cause

A guess from reading the code, not a confirmed diagnosis. The worker model (a qwen / deepseek mix) never called submit within the nudge cap; a passing verification with a clean tree is not treated as a submission.

Acceptance

  • e2e: a senior-dev run whose verification passes ends with exit 0 (or a distinct exit and a line that says the work passed but was not submitted).

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

🤖 Generated with Claude Code

主要言語
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 を短くまとめたダイジェスト。