Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

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

Cerrado Apto para principiantes
#2,523 1 comentario 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
1/5
Tiempo estimado
Menos de una hora
Aptitud para principiantes
92/100
Tipo de issue
Documentación
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
javascript

Línea de trabajo

Actualiza .claude/skills/test-servers/SKILL.md en la referencia alrededor de la línea 201. Primero compara la ruta con los imports de scripts/pack-and-verify.mjs y scripts/smoke-cli.mjs, y después cambia el skill para que nombre scripts/lib/ensure-test-servers.mjs. Se considera terminado cuando el skill apunta al helper existente y no queda ninguna referencia sin prefijo bajo .claude/skills.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
TypeScript
Estrellas
11.1k
Forks
1.5k
Merge medio
4 h 32 min
PR fusionados (30 d)
136

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de modelcontextprotocol/inspector

Todos los issues de modelcontextprotocol/inspector

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.