fix(performance): go-faster Step 1 reports no Python when the Bash tool runs zsh
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 3/5
- 見積もり時間
- 半日
- 初心者へのやさしさ
- 72/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
調査の方向性
Start at plugins/performance/skills/go-faster/SKILL.md around the preamble that sources harness-lib.sh, then plugins/performance/scripts/harness-lib.sh harness_require_python (type -P). Make that lookup portable or wrap the preamble in bash -c, and scan other harness-lib.sh callers. Point the go-faster-sweeper at scripts/harness-lib.sh not lib/. Done when the preamble resolves python3 from a zsh Bash-tool shell and a stay-quiet test covers that.
索引モデルが issue の本文から書いたものです。
説明
Problem
/performance:go-faster Step 1 reports PY=unresolved ("no python3 or python on PATH runs") on a host where python3 runs, when the Bash tool's shell is zsh. The skill then stops.
The preamble at plugins/performance/skills/go-faster/SKILL.md:35 runs ( source "${CLAUDE_PLUGIN_ROOT}/scripts/harness-lib.sh" && harness_require_python ... ) in the Bash tool's own shell. harness_require_python (plugins/performance/scripts/harness-lib.sh:184-197) resolves each candidate with type -P, which is bash-only. zsh prints type: bad option: -P, every candidate is skipped, and the function dies.
A second defect from the same run: the dispatching session reported this to the go-faster-sweeper agent, and the sweeper could not reproduce it because it looked for harness-lib.sh in the plugin's lib/ directory. The file lives in scripts/.
Evidence
- 2026-10-04, WSL2 host, Bash tool shell zsh: the preamble printed the HARNESS FAIL line;
command -v python3gave/home/kyle/.local/bin/python3(3.14.7);bash -c 'source .../scripts/harness-lib.sh && harness_require_python && echo $HARNESS_PYTHON'printed that same path. - The sweep's report lists the finding as
session-work-4, "not reproduced: harness-lib.sh is not in this plugin's lib directory".
Fix
- Run the preamble under bash explicitly (
bash -c '...'), or makeharness_require_pythonportable (command -vplus an absolute-path check in place oftype -P). Check the plugin's otherharness-lib.shcallers for the same shape. - Point the sweeper at
scripts/harness-lib.shwherever it resolves the library. - A stay-quiet test: the preamble resolves Python when run from zsh.
Related
- #6234 (go-faster from a worktree-isolated session), a different failure in the same skill.
- 主要言語
- Shell
- スター
- 22
- フォーク
- 2
- 平均マージ
- 8時間 44分
- マージ済み PR(30日)
- 926
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
melodic-software/claude-code-plugins のほかの issue
-
status: ready
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
melodic-software/claude-code-plugins#8537 ·
メンテナーはふだん 1 日以内に返信
-
priority: medium status: confirmed
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
melodic-software/claude-code-plugins#8507 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
melodic-software/claude-code-plugins#8476 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area: security needs-human priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
melodic-software/claude-code-plugins#8472 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
melodic-software/claude-code-plugins#8434 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
melodic-software/claude-code-plugins の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
package-update
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
cov-lineages/pangolin#583 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
obra/superpowers#2567 ·
メンテナーはふだん 2 日以内に返信