Test: enforce local MCP tool annotations and bounded responses
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 55/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- node.js, typescript
Línea de trabajo
Start by reading the MCP tool registry and response helpers in-tree, then inspect the existing MCP tests to see how registered tools and local-mode behavior are exercised. Add table-driven contract coverage for tool annotations, bounded responses, and network-free --local paths, documenting intentional exceptions. Done means exclusions are explained, oversized output demonstrates honest truncation, stateful tools are not mislabeled read-only, and existing MCP tests pass.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Context
vg serve exposes many tools to agents. Response compaction and token ceilings exist, but a registry-level contract test would stop a new tool from becoming unbounded or mis-advertising side effects (readOnlyHint, network/open-world hints).
What to do
Add a table-driven test over registered tools that verifies, as applicable to the shipped server:
- graph/read tools advertise honest read-only hints
- tools do not falsely claim “no side effects” if they write local short-lived state
- large list/object responses are bounded and report truncation/
total(or equivalent) --localpaths do not invoke model downloads or hosted-doc fall-through in the test harness
Document intentional exceptions (e.g. compression/memory tools) in the test comments.
Acceptance
- Covers registered tools or clearly explains exclusions
- Oversized response demonstrates honest truncation
- Stateful tools are not incorrectly labeled read-only
- No real network access in the test
- Existing MCP tests stay green; DCO sign-off
Mentoring notes
Start from MCP tool registry / response helpers in-tree. Contract tests only — not a tool redesign.
- Lenguaje dominante
- TypeScript
- Estrellas
- 4
- Forks
- 3
- Merge medio
- 1 d 22 h
- PR fusionados (30 d)
- 76
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de vibgrate/cli
-
documentation good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
bug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
Los mantenedores suelen responder en 1 día
-
enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
Todos los issues de vibgrate/cli
Issues similares
-
area: documentation status: in progress type: documentation
Dificultad 1/5 Menos de una hora Aptitud para principiantes 76/100
Oddmash/oddmash-ui#222 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 79/100
appium/appium-wincore-driver#169 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
india-ultimate/hub#715 ·
Los mantenedores suelen responder en 1 día
-
documentation Entwickler
Dificultad 1/5 Menos de una hora Aptitud para principiantes 89/100
Los mantenedores suelen responder en 1 día