[Bug]: fw doctor warns `TURN DRIVER is not armed` for every interactive claude-fw session that never used continuous mode

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

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

評価

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

調査の方向性

Read the turn-driver check at bin/fw:3210 alongside the continuous-run status check at bin/fw:3189, then inspect how bin/claude-fw writes continuous-run.jsonl and how fw continuous status distinguishes never-armed state from an expired directive. Done when fw doctor reports an informational or OK status for interactive sessions that never enabled continuous mode, while still warning when an armed directive has lapsed.

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

説明

area:cli bug severity:low status:fixed-on-bleeding-edge triaged
Bug Description

bin/fw:3189 prints OK Continuous-run wrapper last recorded ARMED from continuous-run.jsonl, written by bin/claude-fw for the budget auto-restart. Since T-3225, bin/fw:3210 then checks the turn driver and, when it is not armed, prints:

WARN  ...but the TURN DRIVER is not armed — the loop takes no turns
         reason: state-unreadable-or-empty
         Arm it:  bin/fw continuous arm --hours N --iterations N

T-3225 fixed a real blind spot (a lapsed directive behind a green line). But the check fires the same way when continuous mode was never wanted: the operator launches claude-fw only for the budget auto-restart, works interactively, and has never run fw continuous arm (.context/working/.continuous-mode.yaml and .next-directive.yaml do not exist; fw continuous status: STOPPED). The advice "Arm it" points to unattended mode, which this operator does not want.

Steps to Reproduce
  1. Start an interactive session with claude-fw (no fw continuous arm ever run in the project).
  2. fw continuous status prints Continuous mode: STOPPED, Reason (live): state-unreadable-or-empty.
  3. fw doctor prints the WARN above.
Expected Behavior

Warn when continuous mode was armed and has lapsed (state file present, directive expired), as T-3225 intends. When it was never armed, an OK or INFO line such as turn driver: not in use (interactive sessions).

Actual Behavior

A permanent WARN for every interactive claude-fw user, with advice to arm unattended mode.

fw doctor output

AI Agent

Claude Code

Operating System

Linux

Additional Context

1.8.11 (e42aa41bf), vendored consumer, Linux (Ubuntu 20.04, systemd 245), Claude Code.

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