test: 添加 Label 优先原则到 Agent Issue pick up 规则 — Closes #120
CI / test (pull_request) Successful in 23s

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
2026-06-08 14:22:14 +08:00
parent 7494cf3502
commit 41ecca25f3
5 changed files with 12 additions and 0 deletions
+2
View File
@@ -116,6 +116,8 @@ python scripts/agent_poller.py --action list
2. 给原 Issue 加上 `blocked` 标签(通过 Gitea API PUT /issues/{num}/labels
- `blocked-check` 会自动检测阻塞解除,但**设置阻塞必须是手动的,且与创建 Issue 原子执行**
**Label 优先原则**Issue 的 label 反映创建者(尤其是人类)的显式意图,Agent 必须尊重。`product-code` → Dev-Agent 域,`test-code` → QE-Agent 域。即使内容看似不在自身常规范围,只要 label 指定了自己的域就必须 pick up。Label 与内容冲突时,先 pick up 并评论确认,不直接跳过。
**处理范围**Dev-Agent 负责处理**所有非纯测试开发**相关的 Issue。具体来说:
| 处理 | 跳过 |