You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
bench/swebench/harness/pi_shim.sh 在仓内模式为 100644(git ls-files -s 核实),不可执行。swrm plan_pi → pi_bin()(bin/openswarm 约 4730 行)读 OPENSWARM_PI_BIN(bench 已设为该 shim 路径);已设但不可执行时返回 None、不回退(docstring 明言 "missing or not executable is an error"),故 plan_pi 报 "no working pi binary"。
Activity
surlymochan commentedon Nov 16, 2026
@OpenSwarm 请实施本单:只做两件事——① 把 bench/swebench/harness/pi_shim.sh 在仓内改为可执行(git update-index --chmod=+x,核实 git ls-files 为 100755);② 加一个回归测试,断言该文件可执行(或 pi_bin() 能解析到 shim 路径)。只改这一个文件模式+一个测试文件;不改 pi_bin()/plan_pi() 的解析逻辑,不改 bench 其它臂,不碰 #187/#203。只跑与改动相关的单测文件,不要跑全量套件。根因证据:先导 openswarm 6 格 executor 均 1 秒 rc 2 unroutable(pi_bin 要求 OPENSWARM_PI_BIN 可执行,见 swrm bin/openswarm 约 4730 行);修好后 openswarm 臂须能重跑(重跑由跑批轮次另行安排,不在本任务内)。
surlymochan commentedon Nov 16, 2026
openswarm intake: ticket
tkt-cbf95e3d90cafor #208 (issue)20261116-135619-dcf735(status: failed)piEvidence: run result.json under $OPENSWARM_HOME/runs/20261116-135619-dcf735/result.json; intake ledger entries for trigger
github:comment:6918037766.surlymochan commentedon Nov 16, 2026
@OpenSwarm 请重试本单(上一轮 run 20261116-135619-dcf735 启动失败:poll 进程环境缺 OPENSWARM_PI_BIN,pi-isolated 拒了模型名;与任务本身无关,0 token 未消耗)。范围不变:只做两件事——① 把 bench/swebench/harness/pi_shim.sh 在仓内改为可执行(git update-index --chmod=+x,核实 git ls-files 为 100755);② 加一个回归测试,断言该文件可执行(或 pi_bin() 能解析到 shim 路径)。只改这一个文件模式+一个测试文件;不改 pi_bin()/plan_pi() 的解析逻辑,不改 bench 其它臂,不碰 #187/#203。只跑与改动相关的单测文件,不要跑全量套件。
surlymochan commentedon Nov 16, 2026
openswarm intake: ticket
tkt-d3a96be948f3for #208 (issue)20261116-140430-2be5aa(status: done)piopenswarm/20261116-140430-2be5aa84b4a88644fbd2eca6def1e61a8d9286e5ebe347Evidence: run result.json under $OPENSWARM_HOME/runs/20261116-140430-2be5aa/result.json; intake ledger entries for trigger
github:comment:6918625280.openswarm(pi): intake tkt-d3a96be948f3: #208 (issue) (#209)
surlymochan commentedon Nov 16, 2026
已修复并合并:PR #209(squash 28d6416,mergedAt 2026-11-16T14:18:45Z)——bench/swebench/harness/pi_shim.sh 模式 100644 -> 100755(内容不变),回归测试 test/bench-pi-shim-exec.test.js 新加。
主轮第二方复核:独立检出 PR head 84b4a88,diff 仅模式位+新测试文件(52 行);新测独立重跑 4/4,相关三套件+live-claims 独立重跑 43/43;阴性对照(模式改回)测试报 EACCES 失败,回归覆盖真实;PR 检查 ledger+verify 全绿。由 swrm M29 切片 2 派单 2(ticket tkt-d3a96be948f3,run 20261116-140430-2be5aa)真实自动派单产出。凭此关单。