[Bug]: consumer CLAUDE.md says `handover.sh` without `--commit` is a "manual commit", but it commits and pushes by default

オープン 初心者向け
#113 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
82/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
shell
領域
cli

調査の方向性

agents/handover/handover.shを読んでデフォルトの動作を確認し、その後lib/templates/claude-project.mdのhandoverの手順とクイックリファレンスを更新してください。利用者向けの手順で、デフォルトのcommit-and-pushの動作と、commitせずにhandoverを生成する方法が正確に説明されていれば完了です。

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

説明

area:context bug severity:medium status:received triaged
Bug Description

agents/handover/handover.sh sets AUTO_COMMIT=true (line 299); --commit is described as "(default)" (line 318) and --no-commit turns it off. So fw handover alone commits the handover and pushes it.

The CLAUDE.md written into consumer projects (lib/templates/claude-project.md) says the opposite:

# Create handover (manual commit)            (line 352)
./agents/handover/handover.sh
# Create handover and auto-commit via git agent
./agents/handover/handover.sh --commit       (line 356)

and its Quick Reference lists "Generate handover | fw handover" next to "Handover + commit | fw handover --commit".

An agent that follows CLAUDE.md runs fw handover expecting to fill the [TODO] sections first, and finds the skeleton already committed and pushed. In our case: commit "Session handover ..." with empty [TODO]s, and "Pushed to ✓".

Steps to Reproduce
  1. Fresh fw init project with at least one commit; note git rev-list --count HEAD.
  2. fw handover (no flag), as the CLAUDE.md "manual commit" line suggests.
  3. git rev-list --count HEAD is one higher; git log -1 shows "Session handover ...". With a remote configured, it is also pushed.
Expected Behavior

The template matches the code: e.g. "fw handover — generate, commit and push (default)" and "fw handover --no-commit — generate only, commit by hand after filling the [TODO]s".

Actual Behavior

The documented "manual commit" form commits and pushes an unfilled handover.

fw doctor output

AI Agent

Claude Code

Operating System

Linux

Additional Context

Seen on 1.8.14 in a real project (commit and push), reproduced on 1.8.15 in a throwaway container (commit; no remote there). handover.sh and claude-project.md are unchanged on bleeding-edge (0c3b8b6c3).

主要言語
Shell
スター
16
フォーク
6
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

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

DimitriGeelen/agentic-engineering-framework のほかの issue

DimitriGeelen/agentic-engineering-framework の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

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

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