AGENTS.md: the dependency lockstep bullet and the npm test annotation are stale
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
- 1-3 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ệ
- typescript
- Lĩnh vực
- documentation
Hướng nghiên cứu
Bắt đầu với các phần Dependencies và Development setup trong AGENTS.md, sau đó đối chiếu chúng với guard verify:dep-lockstep và các script test và coverage của workspace. Cập nhật mục dependency để nêu quy tắc «một range ở mọi nơi» và ghi tên guard, đồng thời sửa chú thích npm test mà không thay đổi đoạn Before pushing không liên quan. Kiểm tra xem PR của #4871 đã chạm vào một trong hai dòng đó chưa.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Found while writing the knowledge skills (#4872, PR #4921). Two statements in AGENTS.md no longer match the repository, and AGENTS.md says of itself that every rule in it is true of the repository as it stands.
1. Dependencies: the shared-devDependency bullet contradicts the guard
AGENTS.md → Dependencies says:
When you bump a devDependency that several TypeScript workspaces declare (
typescript,vitest,@vitest/coverage-v8,@types/node, …), bump it in every workspace that declares it. Their ranges already differ; do not widen the skew.
Since #4864, npm run verify:dep-lockstep (in validate:guards, so in CI) fails when two declarations of a package in SHARED_DEV_DEPENDENCIES (typescript, vitest, @vitest/coverage-v8, prettier, @types/node) carry different ranges. The ranges no longer differ, and "do not widen the skew" understates a rule that is now "one range everywhere it is declared". The local-dev skill describes the guard, so an agent gets a different instruction depending on whether the skill loaded. Copilot raised this on PR #4921 (round 3).
Expected: the bullet states the lockstep rule the guard enforces and names the guard.
2. Development setup: npm test is annotated "with coverage"
The command block says:
npm test -w src/<server> # one workspace (vitest, with coverage)
Each workspace's test script is vitest run. Coverage is the separate coverage script (vitest run --coverage).
Expected: the annotation drops "with coverage", or the block lists npm run coverage -w src/<server> on its own line.
Not included
The Before pushing paragraph saying CI does not run ruff check is also stale (python.yml runs scripts/validate-py.mjs, which does), but #4871's PR rewrites that section, so it is left to that change.
Branch
Targets v2/main. If #4871's PR is still open when this is picked up, check whether it already touched either line.
- Ngôn ngữ chính
- TypeScript
- Star
- 91k
- Fork
- 11.8k
- Merge trung bình
- 6 giờ 47 phút
- Pull request đã merge (30 ngày)
- 74
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của modelcontextprotocol/servers
-
mcp-server-fetch: `fetch` prompt returns JSON-RPC error code 0 with the raw exception text for an invalid URLCó thể đã có người làm @DawnofGenX đã nhận 6 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
modelcontextprotocol/servers#4914 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
CLAUDE.md: tool-naming rule (kebab-case) disagrees with filesystem and memory serversCó thể đã có người làm @liang0417 đã nhận 7 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
modelcontextprotocol/servers#4892 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Filesystem README recommends deprecated MCP Roots protocol for restricting directory accessCó thể đã có người làm @its-amann đã nhận 12 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
modelcontextprotocol/servers#4844 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Docs: `fetch` installs npm packages during a tool call, which is worth stating for deploymentsCó thể đã có người làm @teddiesloco đã nhận 16 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
modelcontextprotocol/servers#4830 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Docs: tool descriptions for browser-embedding servers do not mention the browser's own background trafficCó thể đã có người làm @AbhiPra24 đã nhận 13 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
modelcontextprotocol/servers#4829 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của modelcontextprotocol/servers
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
wardian-app/Wardian#1603 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Sign the pledgeĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
input-output-hk/devx-updates#168 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
github/docs#46222 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
agent-ready area: config area: skills type: chore upstream: brain-kit
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
-
dev experience frontend good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
cuttle-cards/cuttle#1403 ·
Maintainer thường phản hồi trong vòng 1 ngày