Skip to content

Agent questions/blocks in the tmux pane never reach dashboard Attention (operator forced to tmux attach) #69

Open

Description

@dpvlv

Summary

When a pack agent becomes blocked and waits for input in its tmux pane — instead of routing the question through pack_dashboard_request.sh clarify — the operator has no way to see or answer it from the dashboard Attention panel. The swarm silently stalls: the board card sits in the agent's lane, Attention stays empty, and the only way to discover and resolve the block is to manually tmux attach to the pane and answer there.

This defeats the purpose of the dashboard, which is meant to be the single place an operator watches and responds to swarm activity without touching terminals.

Environment

  • macOS (Darwin), tmux 3.x
  • claude 2.1.252 (Sonnet), bypass permissions on
  • bb v1.13.219
  • four-pack (specifier → coder → refactorer → architect)

What happens

  1. A pack runs normally; the card advances specifier → coder → refactorer → architect.
  2. The architect hits a blocking condition that requires an operator decision (in my case: a Gradle verification step could not resolve an internal Artifactory host until VPN was connected).
  3. Instead of calling pack_dashboard_request.sh clarify, the agent surfaces the question in its own pane using the model's native in-pane prompt.
  4. The dashboard Attention field stays empty. .swarmforge/dashboard/clarifications/pending/ and .../requests/pending/ receive nothing.
  5. The card is stuck in the architect lane with no visible reason. Nothing in the dashboard indicates the swarm is waiting on a human.
  6. The agent does not resume on its own even after the underlying condition clears (VPN connected). It only proceeds after the operator manually tmux attaches and answers the in-pane prompt.

Expected

Any time an agent is waiting for operator input, it should appear in the dashboard Attention panel and be answerable from there — never require attaching a terminal. The constitution already mandates this:

swarmforge/constitution/articles/handoffs.prompt (L12–14):

When blocked by ambiguity, contradiction, or test/specification conflict, ask the operator with pack_dashboard_request.sh clarify ./tmp/question.txt. Do not ask in the pane.

So the intended behavior is well-defined; the problem is there is nothing that enforces or detects violations of it.

Root cause / analysis

  • The Attention panel is fed only by pack_dashboard_request.sh clarify → .swarmforge/dashboard/clarifications/pending/ (rendered by pack_web.bb). If an agent asks any other way, Attention has no signal.
  • The rule "do not ask in the pane" lives in the prompt, but a prompt is not a guarantee. When the model uses its own native ask/permission UI (or any runtime prompt) it blocks in-pane and the constitution rule can't intercept it.
  • There is no watchdog that notices a pane has gone interactive/idle-waiting. A pane blocked on input looks the same to the dashboard as a pane doing long work — both just sit in the lane.
  • The Lieutenant is not a workaround: it is a host-level overseer explicitly barred from doing project work, and it uses the same clarify/answer mechanism, so it cannot answer a pack agent's in-pane prompt either.

Net effect: a single in-pane block silently halts the whole pack with zero dashboard visibility.

Suggested directions (any subset)

  1. Pane-block watchdog → Attention. Detect when a role pane is waiting for input (e.g. pane_current_command back to the shell mid-task, or the model's known "waiting for input" pane markers / idle with a pending prompt) and auto-raise an Attention entry that links to the pane, so the operator at least sees "architect is blocked in-pane" without attaching.
  2. Bridge operator answers back to the pane. Let an Attention answer be delivered into the blocked pane (send-keys) so the operator can resolve native/in-pane prompts from the dashboard.
  3. Harden agent launch to forbid native ask UIs. Where possible, launch agents in a mode that disables the model's in-pane question/permission menus so the only path to ask is clarify (making the constitution rule actually enforceable rather than advisory).
  4. Surface the stall itself. Even without full bridging, flag a card whose pane has been input-idle for N seconds as "needs operator" in the dashboard, instead of it silently sitting in-lane.

Repro notes

  • Trigger any operator-decision block in a pack agent (an unresolvable host / a design ambiguity the model decides to ask about).
  • Observe: card sits in the agent lane, pack_web Attention empty, clarifications/pending empty, and the swarm only advances after a manual tmux attach + answer.

Related

Activity

  1. added a commit that references this issue on Sep 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions