-
Notifications
You must be signed in to change notification settings - Fork 16
新增 update-triage SKILL,以及对应的 Github Workflow,解决 triage issue 的仓库级别 SKILL 的自进化 #134
Copy link
Copy link
Closed
Labels
area:skillsCodex skills and agent behavior guidanceCodex skills and agent behavior guidancearea:workflowGitHub workflows and Python automation scriptsGitHub workflows and Python automation scriptsdocumentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestready-to-implementSpec is ready for implementationSpec is ready for implementationrepro:highHigh-confidence or easily reproducible issueHigh-confidence or easily reproducible issuetriagedIssue has been reviewed and categorizedIssue has been reviewed and categorized
Description
Metadata
Metadata
Assignees
Labels
area:skillsCodex skills and agent behavior guidanceCodex skills and agent behavior guidancearea:workflowGitHub workflows and Python automation scriptsGitHub workflows and Python automation scriptsdocumentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or requestready-to-implementSpec is ready for implementationSpec is ready for implementationrepro:highHigh-confidence or easily reproducible issueHigh-confidence or easily reproducible issuetriagedIssue has been reviewed and categorizedIssue has been reviewed and categorized
update-triage 是一个 triage 自我改进流程:从最近被 triage 过的 issue 里收集 maintainer 的后续修正信号,然后把稳定、重复的模式沉淀到 repo-local triage 规则里。
它主要更新:
不会改:
流程大概是:
python3 .agents/srcipts/aggregate_triage_feedback.py
脚本默认看最近 7 天,找带 triaged label 且最近有更新的 issue。
对这些 issue 收集:
明确排除 closed-as-duplicate 信号,因为那归 update-dedupe。
读脚本输出的 JSON,找重复模式,比如:
如果证据足够,就最小化修改 triage-issue-repo,必要时改 label config。
如果只是单个 one-off override,不更新规则。
最后要求提交到本地分支 feat/update-triage,入口脚本会做 write-surface guard,通过后才 push/open PR。
核心原则是:只把 maintainer 反复纠正出来的 repo-specific 经验写进 local companion skill,不动跨仓库 core triage contract。