fix(lib): the shared docs lookup scripts need Bash 4 but do not say so or probe for it
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 80/100
調査の方向性
lib/docs-raw.sh と lib/fetch-docs.sh を grep で調べ、${...,,} による大文字・小文字変換の展開を検出して、それらを移植性のある小文字化(tr '[:upper:]' '[:lower:]' や [[ =~ ]] による case folding のパターン)に置き換え、次にこれらのスクリプトの重複コピーをプラグイン内で再同期するところから始める。代替案としては、両プラグインの prerequisites.json に Bash 4+ を宣言し、/discovery:check スキルがバージョンを調べるようにしたうえで、マルチエージェントの README の "Bash 3.2 or later" という行を修正する。lib/docs-raw.test.sh と fetch-docs のテストを実行する(可能であれば Bash 3.2 の下で、または ,, の lint を通して)。スクリプトが合格するか、チェックスキルがバージョン要件を報告したら完了。
索引モデルが issue の本文から書いたものです。
説明
No related issue: follow-up from the #6481 Codex review (part of #6020).
Summary
lib/docs-raw.sh (${BASH_REMATCH[1],,}) and lib/fetch-docs.sh (${line,,}, ${H_CTYPE,,} and others) use Bash 4 case conversion. Stock macOS Bash 3.2 exits with bad substitution, so on such a host every docs lookup fails: /discovery:read-docs errors, and the docs-fetcher raw reads in research-sweep and drift-audit fall back to WebFetch. Neither the discovery nor the multi-agent prerequisites.json declares Bash 4, and /discovery:check does not probe the version. The multi-agent README's "Bash 3.2 or later" line is about the role resolver, but a reader can take it to cover the new scripts.
Fix
Pick one: replace the ,, expansions with a portable lowercase (tr '[:upper:]' '[:lower:]' or a case-folding [[ =~ ]] pattern) in the canonical lib/ scripts and re-sync the copies; or declare Bash 4+ in both plugins' prerequisites and have the check skills report it.
Verification
- Run
lib/docs-raw.test.shand the fetch-docs tests under Bash 3.2 (or with a,,lint), or the check skill reports the version.
Related
- #6481
- #6020
- 主要言語
- Shell
- スター
- 22
- フォーク
- 2
- 平均マージ
- 8時間 25分
- マージ済み PR(30日)
- 944
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
melodic-software/claude-code-plugins のほかの issue
-
good first issue priority: low
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
melodic-software/claude-code-plugins#7530 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
needs-human priority: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
melodic-software/claude-code-plugins#7455 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
priority: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
melodic-software/claude-code-plugins#7351 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
agent-ready priority: high work-class: scoped
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
melodic-software/claude-code-plugins#7312 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
priority: medium
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
melodic-software/claude-code-plugins#7288 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
melodic-software/claude-code-plugins の issue をすべて見る
似ている issue
-
Standalone Unix updater reports success when curl fails (`curl | sh` masks the exit status); Windows path is unaffected対応中かも @akhil9tiet が今日担当しました。 オープンbug CLI windows-os
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
openai/codex#54465 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
ChrisTitusTech/dwm-titus#397 ·
メンテナーはふだん 1 日以内に返信
-
good first issue help wanted language:fr translation
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
mrvi0/cli-cheatsheet#268 ·