Nightly triage: sweep unboarded issues onto the board and run the board audit
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ó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- github, github-actions, typescript
- Lĩnh vực
- ci-cd, developer-experience, tooling
Hướng nghiên cứu
The workflow is described in the issue body and references existing scripts like /issue-triage. Start by examining the repository's .github/workflows/ for similar workflows (e.g., sdk-watch.yml). Review AGENTS.md for security rules and the scripts/ directory for existing helpers. The acceptance criteria list specific deliverables: a scheduled workflow, a deterministic classification helper in scripts/*.mjs with tests, and updates to documentation. Focus on understanding the board audit query and the credential setup for the model job.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Problem
New issues reach the board only when a maintainer runs /issue-triage by hand, currently every day or two. Until then, a user-submitted issue has no card. It is invisible to the board, to its priority ordering and to every Status-filtered view, whether or not it is urgent. The same gap delays the dependabot and SDK-watch issues, which leave boarding to triage.
Goal
A nightly workflow that runs /issue-triage's pass 1 and its board audit, so that every open issue has a card by morning. Pass 2 (assigning a milestone, which is the approval) stays human, as the skill requires: "Pass 2 is a human judgment call and is never done unprompted."
Blocked on
#2462's credential. Board writes need org Projects write access, which GITHUB_TOKEN cannot hold. The GitHub App described there (Projects read & write, Issues read & write) covers this workflow too.
Design
The work splits into a deterministic half and a judgment half. That split, together with AGENTS.md's rule that no model runs in a write-capable job, gives the workflow the same three-job shape as sdk-watch.yml.
1. sweep — deterministic, holds the credential, no model.
- Find open issues with no card on either board, using the recipe in
/issue-triage(the union of #28 and #11, filtered to this repo). It must check that the listing is complete (.items | length == .totalCount), because #28 already has more items than the default--limitreturns. - Apply the labels deterministically where the form already determines them:
- A Feature request already carries
enhancement+v2. - A Bug report carries
bug, and its version label comes from the form'sversion-linedropdown, parsed from the issue body. - An issue whose type or version cannot be determined mechanically is left for the model (below), or flagged. It is never guessed.
- A Feature request already carries
- Board it:
v2→ #28,v1→ #11, with StatusIncoming. Leave the milestone unset.- The one exception is an issue that already has a milestone, which goes to
Todo, as the skill describes.
- The one exception is an issue that already has a milestone, which goes to
- Hand the new card list to
analyze.
2. analyze — the model, contents: read only.
- Score each new v2 issue with the priority rubric (two axes plus the listed bonuses), and suggest a type label where the form did not determine one.
- Return structured output only (
--json-schema). Restrict the available tools (--tools, not only--allowedTools), give it noBashand noWebFetch, and let it post nothing. These are the rulesAGENTS.mdlays down forsdk-watch's analysis job. - ⚠️ Issue bodies are untrusted, third-party input. Unlike
sdk-watch, whose upstreams are first-party, anyone with a GitHub account can write the text this model reads. That is the caseAGENTS.mdsays would change the trade-off: "Point the analysis at an upstream outside this org, or feed it third-party content, and the trade changes." So this job must not haveANTHROPIC_API_KEYreadable through a tool it needs. Use workload identity federation, or a dedicated CI-scoped key with a spend cap, asAGENTS.mdnames for exactly this case. Decide which before building it.
3. apply — holds the credential, no model.
- Validate every value
analyzereturned before writing it:- the Priority must be one of the four options
- the type must be one of the five labels
- each axis must be an integer from 1 to 5
- the total must match its parts, recomputed here rather than trusted
- Then set Priority and post the score comment in the format
/issue-triagespecifies. - A value that fails validation is left unset and reported, never coerced.
4. The board audit — report only.
- Run the audit query from
/issue-triageand fail the job when any check is non-zero, so drift becomes a red run instead of something the next manual pass has to notice. - ⚠️ Actions logs on this public repo are public, and the boards are private. The audit output (issue numbers per defect class, Status, Priority) and anything else read from the board must go only to a place with the board's own audience. Print counts only to the log, or write the detail somewhere private. The same applies to the sweep's own logging.
Out of scope
- Pass 2: milestones and moving cards out of
Incoming. - Fixing audit findings automatically. Report them; a person fixes them.
- GHSA drafts, which are #2462.
Acceptance
- Scheduled workflow with
sweep→analyze→apply(+ audit), permissions scoped per job as above, with tests pinning:analyze's permissions and tool whitelist- that
analyzecontains no write step - that
applyvalidates before it writes
- Deterministic label/board classification in a
scripts/*.mjshelper, with a sibling*.test.mjs, covering:- both forms
- both boards
- the already-milestoned →
Todoexception - the incomplete-listing guard
- Credential decision for the model key recorded (federation, or a dedicated capped key).
- Nothing read from the private boards reaches a public log beyond counts.
-
/issue-triageandAGENTS.mdupdated to say the sweep runs nightly, and what is still manual (pass 2).
- 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