triage
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
Chinese<!-- markdownlint-disable MD013 -->
<!-- markdownlint-disable MD013 -->
Triage
问题分流
Move issues on the tracker through a small state machine of triage roles. A PR
is an issue with attached code — same roles, same states, same machine.
The tracker and label vocabulary come from ; run
if missing.
docs/agents/issue-tracker.mdbootstrapEvery comment or issue an agent posts during triage must start with:
text
> *This was generated by AI during triage.*将追踪器上的问题通过问题分流角色的小型状态机进行流转。PR是附带代码的问题——适用相同的角色、状态与状态机。
追踪器与标签词汇来自;若缺失请运行。
docs/agents/issue-tracker.mdbootstrapAgent在分流过程中发布的每条评论或问题必须以以下内容开头:
text
> *This was generated by AI during triage.*Roles
角色
Two category roles: (something is broken), (new feature
or improvement).
bugenhancementFive state roles:
- — maintainer must evaluate
needs-triage - — waiting on reporter
needs-info - — fully specified, an AFK agent can take it
ready-for-agent - — needs a human
ready-for-human - — will not be actioned
wontfix
Every triaged issue carries exactly one category role and one state role. If
state roles conflict, flag it and ask the maintainer before doing anything.
These are canonical roles. The actual label strings come from
(mapped by onto whatever the repo
already uses). Don't apply the defaults verbatim if the repo renamed a role.
docs/agents/issue-tracker.mdbootstrap两类分类角色:(功能故障)、(新功能或改进)。
bugenhancement五类状态角色:
- — 需维护人员评估
needs-triage - — 等待反馈者回复
needs-info - — 已完全明确,离线Agent可接手处理
ready-for-agent - — 需人工处理
ready-for-human - — 不会采取行动
wontfix
每个完成分流的问题需恰好带有一个分类角色和一个状态角色。若状态角色存在冲突,请先标记并询问维护人员后再进行操作。
这些是标准角色。实际标签字符串来自(通过映射到仓库已使用的标签)。若仓库重命名了角色,请不要直接使用默认标签。
docs/agents/issue-tracker.mdbootstrapState transitions
状态转换
An unlabeled issue → → one of , ,
, . returns to once the
reporter replies. The maintainer can override at any time — flag unusual
transitions and ask before proceeding.
needs-triageneeds-infoready-for-agentready-for-humanwontfixneeds-infoneeds-triage未标记的问题 → → 转换为、、、中的一种。当反馈者回复后,状态将转回。维护人员可随时覆盖操作——若遇到异常转换,请先标记并询问后再继续。
needs-triageneeds-infoready-for-agentready-for-humanwontfixneeds-infoneeds-triageInvocation
调用方式
The maintainer describes what they want in natural language ("show me anything
that needs my input", "triage #42", "is this ready for an agent?"). Interpret
and act.
维护人员用自然语言描述需求(如“展示所有需要我介入的内容”、“分流#42号问题”、“这个问题是否已准备好交给Agent处理?”)。需解读并执行相应操作。
Agent-ready briefs
Agent就绪简要说明
When moving an issue to , attach a brief an AFK agent can act
on cold: the goal in the domain's vocabulary, the seams to test at, the files
likely in scope, and the acceptance criteria. A brief that assumes conversation
context is not ready.
ready-for-agent当将问题转为状态时,需附上一份可供离线Agent直接处理的简要说明:用领域术语描述目标、需测试的环节、可能涉及的文件以及验收标准。依赖对话上下文的简要说明不符合就绪要求。
ready-for-agentBoundaries
边界范围
Categorises and transitions issues; writes briefs. Does not implement.
仅负责问题的分类与状态转换、撰写简要说明,不负责功能实现。