Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đã đóng Phù hợp với người mới
#2,523 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
92/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript
Lĩnh vực
documentation

Hướng nghiên cứu

Cập nhật .claude/skills/test-servers/SKILL.md tại tham chiếu quanh dòng 201. Trước tiên, so sánh đường dẫn với các import trong scripts/pack-and-verify.mjs và scripts/smoke-cli.mjs, sau đó thay đổi skill để nêu scripts/lib/ensure-test-servers.mjs. Hoàn tất khi skill trỏ đến helper hiện có và không còn tham chiếu nào không có tiền tố trong .claude/skills.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
11.1k
Fork
1.6k
Merge trung bình
5 giờ 29 phút
Pull request đã merge (30 ngày)
158

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của modelcontextprotocol/inspector

Tất cả issue của modelcontextprotocol/inspector

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.