triage
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseTriage
问题分流
Move issues on the project backlog through a small state machine of triage roles.
Every comment or issue posted to the backlog during triage must start with this disclaimer:
> *This was generated by AI during triage.*通过一套由分流角色构成的小型状态机来推进项目待办事项中的问题流转。
在分流过程中发布到待办事项的每条评论或问题必须以以下免责声明开头:
> *This was generated by AI during triage.*Reference docs
参考文档
- AGENT-BRIEF.md — how to write durable agent briefs
- OUT-OF-SCOPE.md — how the knowledge base works
.out-of-scope/
- AGENT-BRIEF.md — 如何编写实用的Agent任务简报
- OUT-OF-SCOPE.md — 知识库的运作方式
.out-of-scope/
Roles
角色
Two category roles:
- — something is broken
bug - — new feature or improvement
enhancement
Five state roles:
- — maintainer needs to evaluate
needs-triage - — waiting on reporter for more information
needs-info - — fully specified, ready for an AFK agent
ready-for-agent - — needs human implementation
ready-for-human - — will not be actioned
wontfix
Every triaged issue should carry exactly one category role and one state role. If state roles conflict, flag it and ask the maintainer before doing anything else.
These are canonical role names — the actual label strings used on the backlog may differ. The mapping should have been provided to you - run if not.
/setup-matt-pocock-skillsState transitions: an unlabeled issue normally goes to first; from there it moves to , , , or . returns to once the reporter replies. The maintainer can override at any time — flag transitions that look unusual and ask before proceeding.
needs-triageneeds-infoready-for-agentready-for-humanwontfixneeds-infoneeds-triage两种分类角色:
- — 功能异常/缺陷
bug - — 新功能或优化
enhancement
五种状态角色:
- — 需由维护者评估
needs-triage - — 等待提交者补充信息
needs-info - — 已明确需求,可交由AFK Agent处理
ready-for-agent - — 需由人工实现
ready-for-human - — 不予处理
wontfix
每个完成分流的问题都应恰好带有一个分类角色和一个状态角色。若状态角色存在冲突,请先标记并咨询维护者后再进行后续操作。
这些是标准角色名称——待办事项中实际使用的标签文本可能有所不同。相关映射关系应已提供给你,若未提供,请执行。
/setup-matt-pocock-skills状态流转规则:未标记的问题通常首先进入状态;从该状态可流转至、、或状态。当提交者回复后,状态将转回状态。维护者可随时覆盖上述规则——若遇到异常的状态流转,请先标记并咨询维护者后再继续。
needs-triageneeds-infoready-for-agentready-for-humanwontfixneeds-infoneeds-triageInvocation
调用方式
The maintainer invokes and describes what they want in natural language. Interpret the request and act. Examples:
/triage- "Show me anything that needs my attention"
- "Let's look at #42"
- "Move #42 to ready-for-agent"
- "What's ready for agents to pick up?"
维护者通过调用并以自然语言描述需求。请解读请求并执行操作。示例:
/triage- "显示所有需要我关注的内容"
- "查看#42号问题"
- "将#42号问题移至ready-for-agent状态"
- "哪些任务已准备好交由Agent处理?"
Show what needs attention
展示需关注的内容
Query the backlog and present three buckets, oldest first:
- Unlabeled — never triaged.
- — evaluation in progress.
needs-triage - with reporter activity since the last triage notes — needs re-evaluation.
needs-info
Show counts and a one-line summary per issue. Let the maintainer pick.
查询待办事项并按以下三个类别展示,按创建时间从早到晚排序:
- 未标记 — 从未进行过分流处理。
- — 评估中。
needs-triage - 且自上次分流记录后提交者有新操作 — 需重新评估。
needs-info
展示每个类别的问题数量以及每个问题的单行摘要,由维护者选择处理对象。
Triage a specific issue
分流单个特定问题
-
Gather context. Read the full issue (body, comments, labels, reporter, dates). Parse any prior triage notes so you don't re-ask resolved questions. Explore the codebase using the project's domain glossary, respecting ADRs in the area. Readand surface any prior rejection that resembles this issue.
.out-of-scope/*.md -
Recommend. Tell the maintainer your category and state recommendation with reasoning, plus a brief codebase summary relevant to the issue. Wait for direction.
-
Reproduce (bugs only). Before any grilling, attempt reproduction: read the reporter's steps, trace the relevant code, run tests or commands. Report what happened — successful repro with code path, failed repro, or insufficient detail (a strongsignal). A confirmed repro makes a much stronger agent brief.
needs-info -
Grill (if needed). If the issue needs fleshing out, run asession.
/grill-with-docs -
Apply the outcome:
- — post an agent brief comment (AGENT-BRIEF.md).
ready-for-agent - — same structure as an agent brief, but note why it can't be delegated (judgment calls, external access, design decisions, manual testing).
ready-for-human - — post triage notes (template below).
needs-info - (bug) — polite explanation, then close.
wontfix - (enhancement) — write to
wontfix, link to it from a comment, then close (OUT-OF-SCOPE.md)..out-of-scope/ - — apply the role. Optional comment if there's partial progress.
needs-triage
-
收集上下文信息。阅读问题的完整内容(正文、评论、标签、提交者、日期)。解析之前的分流记录,避免重复询问已解决的问题。利用项目领域术语表探索代码库,遵循该领域的ADR(架构决策记录)。阅读文件,找出与当前问题类似的过往拒绝案例。
.out-of-scope/*.md -
给出建议。向维护者说明你推荐的分类和状态,并附上理由,以及与该问题相关的代码库简要概述。等待进一步指示。
-
复现问题(仅针对bug)。在询问提交者之前,尝试复现问题:阅读提交者提供的步骤,追踪相关代码,运行测试或命令。报告结果——成功复现并提供代码路径、复现失败,或信息不足(这是状态的强烈信号)。确认复现的问题能让Agent任务简报更精准。
needs-info -
询问补充信息(如有需要)。若问题需要进一步明确细节,启动会话。
/grill-with-docs -
执行处理结果:
- — 发布Agent任务简报评论(参考AGENT-BRIEF.md)。
ready-for-agent - — 采用与Agent任务简报相同的结构,但需注明无法委托给Agent的原因(如需要主观判断、外部访问权限、设计决策、手动测试等)。
ready-for-human - — 发布分流记录(模板如下)。
needs-info - (bug)——给出礼貌的解释后关闭问题。
wontfix - (enhancement)——写入
wontfix目录,在评论中链接至该文件后关闭问题(参考OUT-OF-SCOPE.md)。.out-of-scope/ - — 应用该状态角色。若有部分进展,可选择性发布评论。
needs-triage
Quick state override
快速状态覆盖
If the maintainer says "move #42 to ready-for-agent", trust them and apply the role directly. Confirm what you're about to do (role changes, comment, close), then act. Skip grilling. If moving to without a grilling session, ask whether they want to write an agent brief.
ready-for-agent若维护者要求“将#42号问题移至ready-for-agent状态”,请直接执行状态变更。先确认你即将执行的操作(角色变更、发布评论、关闭问题),再进行操作。跳过询问补充信息步骤。若未经过询问补充信息步骤就将问题移至状态,请询问维护者是否需要编写Agent任务简报。
ready-for-agentNeeds-info template
补充信息请求模板
markdown
undefinedmarkdown
undefinedTriage Notes
Triage Notes
What we've established so far:
- point 1
- point 2
What we still need from you (@reporter):
- question 1
- question 2
Capture everything resolved during grilling under "established so far" so the work isn't lost. Questions must be specific and actionable, not "please provide more info".What we've established so far:
- point 1
- point 2
What we still need from you (@reporter):
- question 1
- question 2
将询问补充信息过程中已明确的所有内容记录在“目前已确认的信息”部分,避免工作成果丢失。提出的问题必须具体且可执行,不能是“请提供更多信息”这类模糊表述。Resuming a previous session
恢复之前的会话
If prior triage notes exist on the issue, read them, check whether the reporter has answered any outstanding questions, and present an updated picture before continuing. Don't re-ask resolved questions.
若该问题已有过往分流记录,请先阅读这些记录,检查提交者是否已回复未解决的问题,并在继续处理前展示最新情况。不要重复询问已解决的问题。