Skip to content

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

Closed

Description

@roli-lpci

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

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.

Activity

  1. changed the title [-]test-servers skill points to , which does not exist (it lives at )[/-] [+]test-servers skill points to `scripts/ensure-test-servers.mjs`, which does not exist (it lives at `scripts/lib/ensure-test-servers.mjs`)[/+] on Sep 29, 2026
  2. added
    v2Issues and PRs for v2
    documentationImprovements or additions to documentation
    on Oct 12, 2026
  3. cliffhall commented on Oct 12, 2026

    @cliffhall
    Member

    Triage: Priority Low (total 2)

    • Severity 1 — wrong path in .claude/skills/test-servers/SKILL.md (scripts/ensure-test-servers.mjs → scripts/lib/ensure-test-servers.mjs); still present on v2/main
    • Urgency 1 — nothing waits on it
    • Bonuses: none

    Board: #28, Status Incoming (awaiting maintainer review — no milestone yet).

  4. added this to the v2.11.0 milestone on Oct 12, 2026
  5. self-assigned this
    on Oct 12, 2026
  6. added a commit that references this issue on Oct 12, 2026
  7. cliffhall commented on Oct 12, 2026

    @cliffhall
    Member

    Fixed by #2678.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentationv2Issues and PRs for v2

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions