From b285fe24beeb857b769aeefcf88e3c303b0d181c Mon Sep 17 00:00:00 2001 From: john Date: Fri, 11 Sep 2026 17:09:41 +0800 Subject: [PATCH] docs: register wechat-mp-cursor-timeout-takeover branch disposition Record 103 hot-update evidence and mark the branch read-only after local main merge. Co-authored-by: Cursor --- docs/branch-disposition.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/docs/branch-disposition.md b/docs/branch-disposition.md index 7173160..44d4bd3 100644 --- a/docs/branch-disposition.md +++ b/docs/branch-disposition.md @@ -1,5 +1,34 @@ # 历史分支处置登记 +## `feature/wechat-mp-cursor-timeout-takeover` + +**状态:禁止再次引用。已 fast-forward 并入本地 `main`(`2c3c1f7a`),103 已热更新 `wechat-mp.bundle.mjs` 与超时 env;完整 Portal runtime 与 `origin/main` push 待后续闭环。** + +审计日期:2026-09-11 +分支 HEAD / 本地 `main`:`2c3c1f7a` + +### 原始用途 + +微信服务号 `page.generate` 在 Goose 直连超时(`WECHAT_AGENT_REPLY_TIMEOUT`)后,由 Cursor 接手重试;默认超时从 15 分钟提升至 20 分钟。 + +### 验证摘要 + +- `node --test wechat-mp.test.mjs wechat-cursor-page-timeout-takeover.test.mjs cursor-page-timeout-takeover.test.mjs`:186 passed +- 103:`deploy-wechat-mp-prod.sh` 上传 bundle(2026-09-11 15:32);`.env` 已设 `H5_WECHAT_MP_AGENT_REPLY_TIMEOUT_MS=1200000`、`MEMIND_CURSOR_PAGE_TIMEOUT_TAKEOVER=1`;Portal 8081 健康 200 + +### 103 发布记录(部分) + +- 热更新:`wechat-mp.bundle.mjs`(含 `executeCursorTakeoverRun` / `WECHAT_AGENT_REPLY_TIMEOUT` 接手逻辑) +- 未走完整 runtime 包:当前 manifest 仍为 `20260911-134117-cb3fb352`;`agent-run-gateway.mjs` 的 `getToolGatewayStatus` 导出不在 bundle 内(微信接手有 env 回退) + +### 最终处置 + +- 保留本地分支名用于审计追溯。 +- 不要从该分支继续开发、merge、cherry-pick 或构建 runtime/artifact。 +- 后续若需完整对齐:push `origin/main` + `release-portal-fast-prod.sh`。 + +--- + ## `feature/wechat-news-morning-draft-worker` **状态:禁止再次引用。已 fast-forward 并入 `origin/main` 并完成 103 Portal + memind_adm 发布。**