edit | blame | history | raw

M4C-GH 烟测阻塞

日期:2026-07-12
项目:Mindraw / P2.mindrawforcodex
任务:M4C-GH-01-SMOKE-RERUN

用户目标

继续最小续派 M4C-GH-01-SMOKE-RERUN:不重做 public source candidate 净化,只对已保留候选补跑 smoke / HTTP / lifecycle / MCP / sidebar smoke,保留日志;若 source/artifact 不变则证明 hash 不变;不修改 canonical source、installed cache、/Users/ar/plugins/mindraw、Mindraw App / DMG,也不创建或推送 GitHub。

已处理事项

  • 读取 dispatch:02-P/M4C-GitHubOpenSource/pm/m4c-gh-01-smoke-rerun-dispatch-20260712.md
  • 核对候选:P2.mindrawforcodex/03-O/C2.builds/M4C-GitHubOpenSource/mindraw4agent-0.1.3-public-source-candidate-GH20260711173220/
  • 执行五项 smoke 命令并保存完整日志和退出码。
  • 执行最小 Node HTTP loopback control,确认当前 worker 环境仍无法 bind 127.0.0.1
  • 生成 source tree diff 证据和 SHA256SUMS 校验证据,确认 source tree 与 tarball 未变。
  • 更新 candidate manifest、M4C-GH 报告/JSON、Review Request、统一台账、PMO inbox、P2/root INDEX 和 P2 CODEGRAPH。

核心事实 / 变更快照

  • 变更对象:M4C-GH-01 public source candidate smoke 证据链。
  • 事实来源:
  • P2.mindrawforcodex/02-P/M4C-GitHubOpenSource/m4c-gh-01-smoke-rerun-check-20260712.md
  • P2.mindrawforcodex/03-O/C2.builds/M4C-GitHubOpenSource/mindraw4agent-0.1.3-public-source-candidate-GH20260711173220/PUBLIC_SOURCE_CANDIDATE_MANIFEST.json
  • 02-P/plan-progress.markdown
  • 变更前:M4C-GH-01 已有非端口验证证据,但 smoke matrix 因旧 worker listen EPERM 未执行。
  • 变更后:当前 worker 复跑仍被环境阻塞;五项 smoke 均退出 1,日志一致为 listen EPERM: operation not permitted 127.0.0.1
  • 映射 / 删除:未删除或替换旧 smoke-sandbox-blocker.json;新增 smoke-rerun-20260712-* 日志和 exit 文件。
  • 范围边界:未改 candidate source、tarball、canonical source、installed cache、/Users/ar/plugins/mindraw、Mindraw App / DMG、GitHub remote 和 target-link scope。
  • 验证证据:source-tree-sha256-rerun-20260712.diff 为空,SHA256SUMS 校验 OK

文件变更

  • P2.mindrawforcodex/03-O/C2.builds/M4C-GitHubOpenSource/.../PUBLIC_SOURCE_CANDIDATE_MANIFEST.json
  • P2.mindrawforcodex/03-O/C2.builds/M4C-GitHubOpenSource/.../evidence/smoke-rerun-20260712-*.log
  • P2.mindrawforcodex/03-O/C2.builds/M4C-GitHubOpenSource/.../evidence/smoke-rerun-20260712-*.exit
  • P2.mindrawforcodex/03-O/C2.builds/M4C-GitHubOpenSource/.../evidence/loopback-listen-control-20260712.*
  • P2.mindrawforcodex/03-O/C2.builds/M4C-GitHubOpenSource/.../evidence/source-tree-sha256-rerun-20260712.*
  • P2.mindrawforcodex/03-O/C2.builds/M4C-GitHubOpenSource/.../evidence/sha256sums-rerun-20260712.*
  • P2.mindrawforcodex/02-P/M4C-GitHubOpenSource/m4c-gh-01-public-source-candidate-check-20260711.md
  • P2.mindrawforcodex/02-P/M4C-GitHubOpenSource/m4c-gh-01-public-source-candidate-check-20260711.json
  • P2.mindrawforcodex/02-P/M4C-GitHubOpenSource/m4c-gh-01-smoke-rerun-check-20260712.md
  • P2.mindrawforcodex/02-P/M4C-GitHubOpenSource/m4c-gh-01-smoke-rerun-check-20260712.json
  • P2.mindrawforcodex/02-P/M4C-GitHubOpenSource/m4c-gh-01-review-request-crg-8aac08bba31e.md
  • 02-P/plan-progress.markdown
  • 02-P/PMO_INBOX.md
  • INDEX.md
  • P2.mindrawforcodex/INDEX.md
  • P2.mindrawforcodex/03-O/C1.source/CODEGRAPH.md

终态

BLOCKED M4C-GH-01-SMOKE-RERUN ENVIRONMENT_LOOPBACK_LISTEN_EPERM

Review Gate crg-8aac08bba31e 仍待复核;本轮没有声明 review 通过,也没有把 candidate 标为 public source ready。

可复用命令 / Runbook

用途:在允许 local loopback bind 的环境复跑 M4C-GH-01 public source candidate smoke matrix。

前置条件:

  • 候选目录存在:/Users/ar/Projects/Mindraw/P2.mindrawforcodex/03-O/C2.builds/M4C-GitHubOpenSource/mindraw4agent-0.1.3-public-source-candidate-GH20260711173220/
  • 当前 shell 可在 127.0.0.1 上监听本地端口。
  • sidebar smoke 如需 Playwright,设置 PLAYWRIGHT_NODE_MODULES 指向含 playwrightnode_modules

设置与验证命令:

cd /Users/ar/Projects/Mindraw/P2.mindrawforcodex/03-O/C2.builds/M4C-GitHubOpenSource/mindraw4agent-0.1.3-public-source-candidate-GH20260711173220/source

node -e "const s=require('node:http').createServer((req,res)=>res.end('ok')); s.listen(0,'127.0.0.1',()=>{console.log(JSON.stringify({ok:true,port:s.address().port})); s.close(()=>process.exit(0));}); s.on('error',e=>{console.error(JSON.stringify({ok:false,code:e.code,syscall:e.syscall,address:e.address,message:e.message},null,2)); process.exit(1);});"

node scripts/mindraw-canvas-service.mjs smoke --report ../evidence/smoke-rerun-YYYYMMDD-smoke.json
node scripts/mindraw-canvas-service.mjs smoke-http --report ../evidence/smoke-rerun-YYYYMMDD-http.json
node scripts/mindraw-canvas-service.mjs smoke-lifecycle --report ../evidence/smoke-rerun-YYYYMMDD-lifecycle.json
node scripts/mindraw-canvas-service.mjs smoke-mcp --report ../evidence/smoke-rerun-YYYYMMDD-mcp.json
PLAYWRIGHT_NODE_MODULES=/path/to/node_modules node scripts/mindraw-canvas-service.mjs smoke-sidebar --report ../evidence/smoke-rerun-YYYYMMDD-sidebar.json --out ../evidence/sidebar-rerun-YYYYMMDD

find . -type f -not -path './node_modules/*' -print0 | sort -z | xargs -0 shasum -a 256 > ../evidence/source-tree-sha256-rerun-YYYYMMDD.txt
diff -u ../source-tree-sha256.txt ../evidence/source-tree-sha256-rerun-YYYYMMDD.txt
cd ..
shasum -a 256 -c SHA256SUMS

清理 / 恢复:

  • 本命令组只写 candidate evidence/ 下的新证据文件。
  • 若只做临时探测,可删除对应 smoke-rerun-YYYYMMDD-*sidebar-rerun-YYYYMMDD/source-tree-sha256-rerun-YYYYMMDD*

搜索关键词:M4C-GH-01-SMOKE-RERUNENVIRONMENT_LOOPBACK_LISTEN_EPERMmindraw4agentcrg-8aac08bba31esmoke-rerun-20260712

未决问题 / 后续建议

  • 需要换到允许 127.0.0.1 listen 的 worker 或本机 shell 环境复跑同一 smoke matrix。
  • 复跑成功前,不应把 M4C-GH-01-SMOKE-RERUN 标为 PUBLIC_SOURCE_CANDIDATE_READY
  • crg-8aac08bba31e 仍需代码审核员复核 public candidate、install scripts、SkillSpector plugin-root CAUTION 和内部信息清理。