feat(page-data): add validation suggestions, repair path, and thinking fixes
Memind CI / Test, build, and release guards (push) Failing after 3m18s

Map Page Data failure codes to Chinese remediation hints, trigger one-shot
goosed repair for remediable cases, and recover poisoned thinking sessions.
Route local DeepSeek through the no-think proxy via host.docker.internal so
tool rounds no longer hit reasoning_content 400; document gate and case-study
scenarios for event registration repair.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
john
2026-07-25 23:01:55 +08:00
parent 6b6f9ed01c
commit 8ccf2db05c
28 changed files with 1652 additions and 154 deletions
+7
View File
@@ -78,6 +78,13 @@ H5_PUBLIC_BASE_URL=http://127.0.0.1:5173
# 真实执行交接是另一道独立闸门,默认保持关闭。
# MEMIND_ORCHESTRATOR_EXECUTION_HANDOFF_ENABLED=0
# MEMIND_ORCHESTRATOR_KILL_SWITCH=0
# Page Data 审查强制闸门(fail-closed)。默认关闭=仅观察/写建议,不改变 Native 成功语义。
# 生效前提:memindadm mode=shadow 且 MEMIND_ORCHESTRATOR_SHADOW_OBSERVATION_ENABLED=1。
# 本地/开发:保持 0。灰度强制审查再设 1。生产启用需 Ops 明确批准。
# 失败 UX:H5 会看到 codes 对应的中文纠正建议(page-data-validation-suggestions.mjs)。
# MEMIND_ORCHESTRATOR_PAGE_DATA_VALIDATION_GATE_ENABLED=0
# 可修复 codes 失败时,把纠正建议再发一轮给 goosed(每 run 最多 1 次;默认开启)。
# MEMIND_PAGE_DATA_SUGGESTION_REPAIR_ENABLED=1
# Orchestrator 终态数据保留清理默认关闭;在独立服务环境配置,建议真实 Canary 前明确周期。
# MEMIND_ORCHESTRATOR_RETENTION_DAYS=0
# MEMIND_ORCHESTRATOR_RETENTION_SWEEP_INTERVAL_MS=86400000