From 293ac69a76a3726291a331393ff4a8dcf0f4bdf0 Mon Sep 17 00:00:00 2001 From: john Date: Fri, 14 Aug 2026 22:00:53 +0800 Subject: [PATCH] fix(release-gate): assert AI survey delivery instead of plan keywords MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit DATA-01 told the agent not to stop at 方案确认, then failed because the first reply no longer contains those words. Assert 问卷/后台 delivery instead. Co-authored-by: Cursor --- docs/branch-disposition.md | 24 ++++++++++++++++++++++++ scenarios/ai-usage-survey.json | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/docs/branch-disposition.md b/docs/branch-disposition.md index d22a9e9..9286a16 100644 --- a/docs/branch-disposition.md +++ b/docs/branch-disposition.md @@ -3,6 +3,30 @@ 本文件记录已经完成迁移、但仍可能因为 Git 拓扑或遗留 worktree 被误判为“尚未进入 `main`”的分支。 它是分支复用、合并、cherry-pick 和清理前的必查清单。 +## `feature/wechat-image-url-session-rotate` + +**状态:禁止再次引用。改动已提交并进入 `origin/main`,该分支保留仅用于只读追溯,不是待合并开发分支。** + +审计日期:2026-08-14 +分支 HEAD:`41f245c8` +`origin/main` 对应提交:`41f245c8`(其后主线继续快进了图片额度回填提交) + +### 原始用途 + +Goose native 对历史图片清洗返回 PUT 405,DeepSeek 下一轮拒绝 `image_url`。微信「解读详细报告,做成页面」跟进应换新会话并重新附上报告图,且 VL 后不再把 `imageUrls` 传给文本模型。 + +### 验证摘要 + +- `node --test wechat-mp.test.mjs`:94 passed +- `node --test chat-image-turn-scope.test.mjs tkmind-proxy-vision.test.mjs tkmind-proxy.test.mjs`:53 passed + +### 最终处置 + +- 保留本地分支名用于审计追溯。 +- 不要从该分支继续开发。 +- 不要 merge、cherry-pick 该分支提交或从该分支构建 runtime/artifact。 +- 后续开发必须从最新 `origin/main` 新建分支。 + ## `fix/image-quota-migration-backfill` **状态:禁止再次引用。改动已提交并将随本分支合入 `origin/main`,该分支保留仅用于只读追溯,不是待合并开发分支。** diff --git a/scenarios/ai-usage-survey.json b/scenarios/ai-usage-survey.json index dbef2b7..d81dd8d 100644 --- a/scenarios/ai-usage-survey.json +++ b/scenarios/ai-usage-survey.json @@ -19,7 +19,7 @@ "expect": { "assistantMinChars": 80, "timeoutMs": 600000, - "replyKeywords": ["方案", "确认"], + "replyKeywords": ["问卷", "后台"], "forbidReplyPatterns": ["8899", "127.0.0.1:", "PLACEHOLDER_PAGE_ID", "survey-api"] } },