Linuxbrew-installed tmux is missing from trusted helper lookup, disabling terminal pets
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 72/100
調査の方向性
utils/path-utils/src/system_commands.rsを読み、特にsystem_directories()とinstallation_roots()を確認してから、system_executable("tmux")がパスを検証する方法を追ってください。信頼できるヘルパーの検索に関する既存のテストを確認し、Linuxの標準Homebrewプレフィックス配下にある実行ファイルのテストを追加してください。Linuxbrewのtmuxを検出でき、信頼できるヘルパーのポリシーが引き続き適用されていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
What version of Codex CLI is running?
codex-cli 0.169.0 (also the npm latest version when checked on November 17, 2026).
What subscription do you have?
Not included; this failure occurs during local terminal capability detection.
Which model were you using?
The identified failure is in local TUI startup/helper discovery, before a model response is needed.
What platform is your computer?
Ubuntu 26.04.1 LTS, x86_64.
Linux 7.0.0-43-generic x86_64 unknown
What terminal emulator and version are you using?
Ghostty 1.4.0, with tmux 3.8 installed through Homebrew on Linux.
Codex doctor report
Relevant excerpt from codex doctor --json, collected in a noninteractive diagnostic subprocess:
{
"codexVersion": "0.169.0",
"installation": {
"current executable": "/home/linuxbrew/.linuxbrew/Caskroom/codex/0.169.0/bin/codex"
},
"terminal.env": {
"terminal": "Ghostty",
"tmux options": "not inspected (PATH helpers are not executed)"
}
}
What issue are you seeing?
Terminal pets do not appear inside tmux even with fullscreen Codex, allow-passthrough all, and a selected pet (rocky). The tmux session reports Ghostty and RGB support.
The installed tmux is discoverable from the shell:
$ command -v tmux
/home/linuxbrew/.linuxbrew/bin/tmux
$ readlink -f /home/linuxbrew/.linuxbrew/bin/tmux
/home/linuxbrew/.linuxbrew/Cellar/tmux/3.8/bin/tmux
There is no tmux executable in the trusted search locations on this machine.
Live tmux state:
$ tmux display-message -p 'fullscreen=#{alternate_on} passthrough=#{allow-passthrough} terminal=#{client_termname} type=#{client_termtype}'
fullscreen=1 passthrough=all terminal=xterm-ghostty type=ghostty 1.4.0
#{client_termfeatures} also includes RGB.
What steps can reproduce the bug?
- On Linux, install tmux through Homebrew into
/home/linuxbrew/.linuxbrew, without another tmux installation in the trusted system locations. - Start tmux in Ghostty or Kitty.
- Set and apply
set -g allow-passthrough allin tmux. - Enable
fullscreen_transcript = trueunder[tui]in Codex's configuration. - Start Codex CLI 0.169.0 and select a terminal pet, for example
/pets rocky. - Observe that pets remain unavailable despite the supported terminal, fullscreen mode, and passthrough setting.
What is the expected behavior?
Codex should discover a tmux installation under the standard Linux Homebrew prefix and enable pets when the other capability checks pass. If that installation is intentionally unsupported, the diagnostic should explain the helper-discovery failure rather than only suggesting fullscreen/passthrough settings that are already enabled.
Additional information
Source inspection in the rust-v0.169.0 tag identifies the failing lookup:
tui/src/tui/tmux.rscallssystem_executable("tmux")and returns default options when it cannot find the helper. That leaveskitty_image_baseunset.utils/path-utils/src/system_commands.rsdeliberately ignores ambientPATH. Itssystem_directories()andinstallation_roots()include macOS Homebrew locations but omit/home/linuxbrew/.linuxbrew/binand/home/linuxbrew/.linuxbrew.- The helper lookup canonicalizes executable paths before validating them, so a symlink in
/usr/local/binpointing to the Linuxbrew installation would still be rejected. pets/image_protocol.rsonly enables the tmux pet protocol when the fullscreen image base is available.
The trusted-helper policy was introduced in #42324. This report concerns coverage of the standard Linux Homebrew prefix while preserving that policy.
The cause above is based on source inspection and the installed executable paths. Installing/copying tmux into another location has not been tested as a workaround.
- 主要言語
- Rust
- スター
- 135k
- フォーク
- 21.4k
- 平均マージ
- 1分
- マージ済み PR(30日)
- 998
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
openai/codex のほかの issue
-
CLI config custom-model enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
app documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
openai/codex#61678 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
app auth bug windows-os
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
app bug
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
ImageGen generate-batch aborts valid JSONL jobs containing a Unicode line separator in poster textオープンbug imagen skills
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
openai/codex#61442 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
bug ui
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
userFRM/egui-charts#3363 ·
メンテナーはふだん 1 日以内に返信
-
ada documentation mobile report
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
physicsdolphin/nv-uefi-unlocker#254 · リアクション 2 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
kindraywind/rustnarok-client#1382 ·
メンテナーはふだん 1 日以内に返信
-
area:accessibility bug good first issue help wanted priority:p3-low size:small
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
NecturaLabs/Canopy#209 ·
-
marketing
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信