AGENTS.md: extend GitHub rate-limit pacing from writes to reads
Maintainer thường phản hồi trong vòng 1 ngày
@techaurah đang làm issue này rồi.
Từ ngày 27/11/2026.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 72/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ệ
- github, typescript
- Lĩnh vực
- devtools, documentation
Hướng nghiên cứu
Bắt đầu bằng cách đọc AGENTS.md và các công thức kỹ năng board-ops, issue-triage và security-advisory. Cập nhật quy tắc nhịp độ để bao quát các thao tác đọc và ghi kết hợp qua GitHub API, tránh đọc lại ngay sau khi ghi thành công và ưu tiên truy vấn có mục tiêu khi tìm một mục đơn lẻ. Kiểm tra xem có công thức nào nối thao tác ghi với thao tác đọc toàn bộ bảng ngay sau đó hay không; công việc hoàn tất khi hướng dẫn nhất quán giữa AGENTS.md và các công thức bị ảnh hưởng.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
AGENTS.md's pacing rule (added in #2667) covers only writes:
Pace bulk GitHub writes: 1 s between requests, never in parallel, under 80 a minute and 500 an hour.
Reads trip the same secondary rate limit, and nothing tells an agent to pace them. During an advisory triage on 2026-11-27, a card create, two field edits and a verify read ran about a second apart. After that, every follow-up call failed with GraphQL: API rate limit exceeded, even though gh api rate_limit still showed 2,790 of the GraphQL quota left. Two patterns made it worse:
- Read-back after every write. Each edit was followed at once by a verify read. That doubles the request rate, and it buys nothing when the write's exit code already reports success.
- Whole-board dumps used as lookups.
gh project item-list 28 --limit 2000pages through the entire board to check one card's field. A targeted query (node(id:…){fieldValueByName(name:"Status")}) is a single small request.
Proposed amendment
Widen the AGENTS.md rule from writes to all GitHub API traffic, keeping the existing numbers:
- Pace reads as well as writes. The 1 s spacing and the per-minute and per-hour caps apply to the combined stream.
- Don't verify a write by reading it back straight away. Trust the exit code, or verify once later.
- To check one item, prefer a targeted query over a full listing such as
gh project item-list --limit 2000.
Also check whether any skill recipe (board-ops, issue-triage, security-advisory) chains write → immediate full-board read in a way that conflicts with the amended rule.
- Ngôn ngữ chính
- TypeScript
- Star
- 11.3k
- Fork
- 1.6k
- Merge trung bình
- 2 giờ 28 phút
- Pull request đã merge (30 ngày)
- 111
Chuẩn bị môi trường
- Có Dockerfile hoặc 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/inspector
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
modelcontextprotocol/inspector#3073 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
modelcontextprotocol/inspector#3072 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
CLI/mcpdo: a timeout above 2147483647 ms fires after 1 ms, and the error says to raise it furtherĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
modelcontextprotocol/inspector#3071 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
modelcontextprotocol/inspector#3069 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
CLI --tool-args-json silently sends 1e400 as null (round-trip guard missing; mcpdo rejects it)Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
modelcontextprotocol/inspector#3067 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của modelcontextprotocol/inspector
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
danielmiessler/LifeOS#3028 ·
Maintainer thường phản hồi trong vòng 5 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
iOS: last line of a long UITextView text is sometimes not drawn (frame a fraction of a point short)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 90/100
Koenkk/zigbee2mqtt#33855 ·
Maintainer thường phản hồi trong vòng 1 ngày