✅ test(skills): add Darwin optimization prompts
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
[
|
||||
{
|
||||
"id": "failing-pr-check-needs-plan-gate",
|
||||
"prompt": "Gitea 上 PR #42 的 CI 红了,帮我查清原因并修好。请从当前仓库开始排查。",
|
||||
"expected": "先记录本地状态、确认 remote 属于 Gitea,再基于 run/job/log 证据定位首个可操作错误;给出 Target/Failed CI/Evidence/Plan,并在明确的批准检查点暂停,批准前不改代码、不改 workflow、不泄露凭据。"
|
||||
},
|
||||
{
|
||||
"id": "legacy-gitea-api-web-fallback",
|
||||
"prompt": "这是 Gitea 1.21 的仓库,/api/v1/version 能访问,但 Actions 的 runs/jobs API 返回 404。网页上一个 run 有三个 job,第二个失败。请继续定位失败日志并给修复计划。",
|
||||
"expected": "不把 version 成功误判为 Actions API 可用;切换到手动 web 回退,先从 run 页面读取 job 状态并选择失败的 job index 1,而不是盲取 index 0;提取最小日志证据,形成计划并在修改前暂停。"
|
||||
},
|
||||
{
|
||||
"id": "cancelled-infrastructure-not-code-bug",
|
||||
"prompt": "Gitea Actions 页面仍是红色:run 的 status 是 completed,conclusion 是 cancelled,日志最后显示 runner lost heartbeat。请修复这个 CI。",
|
||||
"expected": "以 conclusion 而非 status 判断结果,将其分类为取消或基础设施问题;建议重跑并排查 runner/队列,不编造代码原因、不修改源码;最终明确区分本地验证与尚待远端复检的状态。"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user