Is this a reproducible bug?
Current behavior
With current Qwen Code main running in a Herdr pane, Herdr reports idle during both an active turn and an execution-approval prompt. During the active turn, pane get showed terminal_title_stripped: "◐︎ Fix login button on mobile" with agent_status: "idle". At the approval prompt it showed terminal_title_stripped: "✳︎ Fix login button on mobile" with agent_status: "idle". In both cases, agent explain --json returned matched_rule: null and state: "idle".
Expected behavior
The active turn should report working, and the execution-approval prompt should report blocked, regardless of Qwen Code's display language.
Reproduction
- Build Herdr at
952729ee03e0939d7a9d893f87f24179cf0eb7cb and Qwen Code at 02f1e90a0afa0f163119ad64ad357a1db03ae58e (npm install creates dist/cli.js).
- Start the Herdr server, create a workspace, and note its root pane ID (shown below as
w2:p1).
- Run
herdr pane run w2:p1 env HERDR_AGENT=qwen node /path/to/qwen-code/dist/cli.js --approval-mode default.
- Run
herdr pane run w2:p1 '!sleep 15', then immediately run herdr pane get w2:p1 and herdr agent explain w2:p1 --json.
- After the turn settles, run
herdr pane run w2:p1 '请调用 run_shell_command 执行 touch /tmp/herdr-clean-blocked-evidence,请勿使用其他工具。'. At the approval prompt, run the same pane get and agent explain commands. Do not approve the command.
Impact
Herdr's pane status, workspace rollup, waits, and notifications can treat a busy or blocked Qwen session as idle, so delegated work may appear complete while it is still running or waiting for input.
Environment
- Herdr version: master
952729ee03e0939d7a9d893f87f24179cf0eb7cb
- Update channel (stable or preview): preview source build
- Operating system: macOS 15.1.1 arm64
- Terminal: Herdr managed pane through the headless server API
- Shell, if relevant: zsh 5.9
- Relevant config, if any: Qwen Code
ui.showStatusInTitle=true (default), Chinese display locale
Is this a reproducible bug?
Current behavior
With current Qwen Code main running in a Herdr pane, Herdr reports
idleduring both an active turn and an execution-approval prompt. During the active turn,pane getshowedterminal_title_stripped: "◐︎ Fix login button on mobile"withagent_status: "idle". At the approval prompt it showedterminal_title_stripped: "✳︎ Fix login button on mobile"withagent_status: "idle". In both cases,agent explain --jsonreturnedmatched_rule: nullandstate: "idle".Expected behavior
The active turn should report
working, and the execution-approval prompt should reportblocked, regardless of Qwen Code's display language.Reproduction
952729ee03e0939d7a9d893f87f24179cf0eb7cband Qwen Code at02f1e90a0afa0f163119ad64ad357a1db03ae58e(npm installcreatesdist/cli.js).w2:p1).herdr pane run w2:p1 env HERDR_AGENT=qwen node /path/to/qwen-code/dist/cli.js --approval-mode default.herdr pane run w2:p1 '!sleep 15', then immediately runherdr pane get w2:p1andherdr agent explain w2:p1 --json.herdr pane run w2:p1 '请调用 run_shell_command 执行 touch /tmp/herdr-clean-blocked-evidence,请勿使用其他工具。'. At the approval prompt, run the samepane getandagent explaincommands. Do not approve the command.Impact
Herdr's pane status, workspace rollup, waits, and notifications can treat a busy or blocked Qwen session as idle, so delegated work may appear complete while it is still running or waiting for input.
Environment
952729ee03e0939d7a9d893f87f24179cf0eb7cbui.showStatusInTitle=true(default), Chinese display locale