anthropics / anthropics/claude-code

Agent Teams (tmux mode) forces pane-border-status on, overriding user config

オープン
#89,202 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
area:agents bug platform:windows
主要言語
Python
スター
145k
フォーク
23.1k
PR マージ指標
PR 指標を取得中

説明

## Problem

When Claude Code spawns a teammate in tmux/psmux split-pane mode, it sets the pane title
(as covered by #21677/#31107) - that part is fine and wanted. The problem is a side effect:
`pane-border-status` gets forced to "top" globally, even when the user has explicitly set it
to "off" (both live via `set-option -g pane-border-status off` and in `.tmux.conf`/`.psmux.conf`).

Confirmed this is NOT a tmux/psmux-side behavior: manually setting a pane title via
`select-pane -T "test"` on a non-teammate pane does not touch `pane-border-status` at all -
it stays off. Only teammate-spawned panes flip it on, and re-flip it on every new teammate
spawn even after being manually turned back off mid-session (no server restart involved).

## Requested fix

Set the pane title without touching `pane-border-status`, or gate that call behind a
settings.json flag independent of the title-setting behavior in #21677/#31107 - some users
want the title shown without a border/header line.

## Environment

- Windows 11, psmux (tmux-compatible multiplexer) as `teammateMode: "tmux"` backend
- Requires `CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=true` (Agent Teams / tmux mode is gated
behind this experimental flag)
- Reproducible: set `pane-border-status off`, spawn a teammate, observe it reset to "top"

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start by reproducing the issue with CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=true, teammateMode: "tmux", and pane-border-status off in the tmux/psmux configuration. Trace the teammate-spawn path and verify that a pane title can still be shown while pane-border-status remains off, including after multiple teammate spawns.

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

評価

領域
cli
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
活発
明瞭さ
おおむね明確
初心者へのやさしさ
55/100

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

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