fix(wechat): page.generate fail-closed and vision image_url scrub #37

Merged
tkmind merged 2 commits from codex/wechat-page-generate-vision-handoff into main 2026-07-30 02:55:49 +00:00
Owner

Summary

  • WeChat page.generate 在无 HTML 产物时 fail closed,避免空页面交付。
  • 会话历史中 scrub image_url,并强化 vision 交接与 proxy 测试覆盖。

Test plan

  • node --test wechat/wechat-channel.test.mjs wechat-mp.test.mjs
  • node --test chat-image-turn-scope.test.mjs tkmind-proxy.test.mjs tkmind-proxy-vision.test.mjs
  • CI

Merge note

独立 PR,无前置依赖。

## Summary - WeChat `page.generate` 在无 HTML 产物时 fail closed,避免空页面交付。 - 会话历史中 scrub `image_url`,并强化 vision 交接与 proxy 测试覆盖。 ## Test plan - [x] `node --test wechat/wechat-channel.test.mjs wechat-mp.test.mjs` - [x] `node --test chat-image-turn-scope.test.mjs tkmind-proxy.test.mjs tkmind-proxy-vision.test.mjs` - [ ] CI ## Merge note 独立 PR,无前置依赖。
tkmind added 2 commits 2026-07-30 02:46:50 +00:00
Prevent text-only planning replies from marking WeChat delivery done when
static-page-publish never confirmed a public HTML file.

Co-authored-by: Cursor <cursoragent@cursor.com>
fix(wechat): scrub image_url from sessions and harden vision handoff.
Memind CI / Test, build, and release guards (pull_request) Failing after 19s
53c5f6d9c2
Strip image_url from persisted session payloads, keep image turns scoped to the active request, and align proxy/vision/page-data paths so WeChat image history does not leak into fresh sessions.

Co-authored-by: Cursor <cursoragent@cursor.com>
tkmind merged commit 1bd8392940 into main 2026-07-30 02:55:49 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: tkmind/memind#37