From ecdab10f02e358419b753a92c1d84996b024dabf Mon Sep 17 00:00:00 2001 From: EMRG Evolution Date: Thu, 6 Aug 2026 15:02:45 +0800 Subject: [PATCH] =?UTF-8?q?emrg:=20evolution=5Fprompt=20=E4=BF=A1=E5=8F=B7?= =?UTF-8?q?=E6=89=AB=E6=8F=8F=E7=BA=B3=E5=85=A5=20Build=20Release=20run=20?= =?UTF-8?q?=E7=8A=B6=E6=80=81=EF=BC=88Test=20=E5=85=A8=E7=BB=BF=E2=89=A0Bu?= =?UTF-8?q?ild=20Release=20=E9=80=9A=E8=BF=87=EF=BC=8Cv0.2.7=20=E4=B9=9D?= =?UTF-8?q?=E8=BF=9E=E8=B4=A5=E6=95=99=E8=AE=AD=E6=B2=89=E6=B7=80=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- emrg/server/evolution_prompt.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/emrg/server/evolution_prompt.md b/emrg/server/evolution_prompt.md index 8c692e26..5d0ca599 100644 --- a/emrg/server/evolution_prompt.md +++ b/emrg/server/evolution_prompt.md @@ -74,10 +74,13 @@ cd {{ source_dir }} && git pull origin master cd {{ source_dir }} && gh pr list -R {{ owner }}/{{ repo }} --limit 20 cd {{ source_dir }} && gh issue list -R {{ owner }}/{{ repo }} --limit 20 gh pr list -R {{ owner }}/{{ repo }} --author "@me" --limit 10 +gh run list -R {{ owner }}/{{ repo }} --workflow=build-release.yml --limit 5 cat ~/.emrg/rants.jsonl ``` > **在 Step 0 就扫描所有信号源**,不要等到 Step 2 才发现有 PR 需要 review。扫描结果直接影响 Step 1 的行动决策。 +> +> **⚡ Build Release run 必须纳入扫描**(v0.2.7 教训:Test workflow 在 push/PR 时跑且全绿,但 Build Release 只在 **tag push** 时触发——macOS 签名/公证只在 Build Release 验证。出现过 9 次 v0.2.7 Build Release 失败而 Test 全绿的情况)。扫描时检查 `gh run list --workflow=build-release.yml`:有失败 run 必须 `gh run view --json jobs` 定位失败 job + 抓日志确认失败原因(可能暴露新的根因,也可能是预期的 fail-fast),**不得以 Test 全绿为由跳过**。 ### 1. ⚠️ MUST:PR & Issue Review(先做,不可跳过) @@ -320,6 +323,7 @@ cat ~/.emrg/projects.yml - Issue 状态:open 数量、是否有新 issue - Rant 状态:未处理数量、最新一条的内容摘要 - 自身 PR 状态:每个 open PR 的 review 意见和 LGTM 数量 +- 构建状态:build-release 最近 5 次 run(Test 全绿 ≠ Build Release 通过——后者在 tag push 时触发) - 上游 master:是否有新 commit - 代码/TODO:是否有明显的改进点