Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

test-servers skill points to `scripts/ensure-test-servers.mjs`, which does not exist (it lives at `scripts/lib/ensure-test-servers.mjs`)

クローズ 初心者向け
#2,523 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
92/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
javascript
領域
documentation

調査の方向性

.claude/skills/test-servers/SKILL.md の 201 行目付近にある参照を更新します。まずパスを scripts/pack-and-verify.mjs と scripts/smoke-cli.mjs の imports と比較し、その後、skill が scripts/lib/ensure-test-servers.mjs を示すように変更します。.claude/skills 配下にプレフィックスなしの参照が残らず、skill が既存の helper を指していれば完了です。

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

説明

documentation v2

Which version line? v2 — current

Which client? All / shared core (repo dev tooling: .claude/skills/test-servers/SKILL.md)

Inspector version: 2.8.0 — checked at main @ 1e31c78 and v2/main @ 1716af1

Node version: n/a (documentation defect, no runtime involved)

Transport: Not applicable / never connected

MCP server under inspection: n/a

Steps to reproduce

  1. Check out v2/main (or main).
  2. Open .claude/skills/test-servers/SKILL.md. Line 201 on v2/main (line 190 on main) reads:

    Scripts reach this through scripts/ensure-test-servers.mjs, which builds unconditionally (once per process per repo root).

  3. test -e scripts/ensure-test-servers.mjs || echo missing prints missing.
  4. git ls-files | grep ensure-test-servers lists only scripts/lib/ensure-test-servers.mjs and scripts/lib/ensure-test-servers.test.mjs.

Expected behavior

The skill names the helper that the scripts actually import. The repo's own imports use lib/:

  • scripts/pack-and-verify.mjs:62: } from "./lib/ensure-test-servers.mjs";
  • scripts/smoke-cli.mjs:48: import { ensureTestServers } from "./lib/ensure-test-servers.mjs";

The script comments cite it the same way, e.g. scripts/smoke-cli.mjs:40: "scripts/lib/ensure-test-servers.mjs for why presence isn't freshness."

Actual behavior

The skill gives scripts/ensure-test-servers.mjs, a path that has never existed on v2/main: the commits API returns no history for it. This skill is model-invoked, and its description says it applies "when a fixture keeps serving stale code after an edit". That is the case where an agent follows this sentence to the helper, and it gets sent to a file that isn't there.

The lib/ segment seems to have been dropped when the recipe was extracted from AGENTS.md into skills (73447c72d, #2189). Before that commit, AGENTS.md listed ensure-test-servers.mjs under scripts/'s "lib/ shared helpers" in the tree comment, without a directory prefix.

Logs, errors, or screenshots

$ test -e scripts/ensure-test-servers.mjs || echo missing
missing
$ grep -rn 'ensure-test-servers.mjs' .claude/skills
.claude/skills/test-servers/SKILL.md:201:Scripts reach this through `scripts/ensure-test-servers.mjs`, which builds

Already prototyped a fix?

No local change and no diff. A one-line prompt that should produce the fix:

In .claude/skills/test-servers/SKILL.md, change scripts/ensure-test-servers.mjs to scripts/lib/ensure-test-servers.mjs (the path scripts/pack-and-verify.mjs and scripts/smoke-cli.mjs import it from). No other file references the unprefixed path.

Before you submit

  • I searched existing issues and this is not a duplicate. (Searched ensure-test-servers, scripts/ensure-test-servers.mjs, test-servers SKILL.md. #2111 and #2120 cover the rebuild behavior, not this path.)
  • This is not a security vulnerability report.

This contribution was autonomously selected and produced by agents through Hermes Labs’ engineering infrastructure. Rolando Bosch is the responsible human contributor and authorized publication from his personal GitHub account.

主要言語
TypeScript
スター
11.1k
フォーク
1.6k
平均マージ
5時間 38分
マージ済み PR(30日)
152

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

modelcontextprotocol/inspector のほかの issue

modelcontextprotocol/inspector の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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