Hao19911125
|
507f3b15d3
|
Add MVU sanitize warning diagnostics
|
2026-04-05 16:40:20 +08:00 |
|
Hao19911125
|
6a773265ff
|
Fix: passive MVU sanitize mode for task input fields
用户原文字段(recentMessages/charDescription/userPersona/candidateNodes 等)
现在使用 passive mode 清洗——只剥离 MVU 容器/宏,不整段 drop。
这修复了含 MVU 状态栏角色卡时提取 LLM 收到空 context 的问题。
- mvu-compat.js: 导出 MVU_SANITIZE_MODES 常量,passive 分支显式注释
- prompt-builder.js: 加 INPUT_CONTEXT_FIELD_MODE 策略表,
sanitizePromptContextInputs 按字段族查表传 mode;
关键字段 omit 时 warn(兜底告警)
- 世界书条目路径(sanitizeWorldInfoEntries)保持 aggressive,守卫 6cec031 正收益
- 新增 6 条测试:passive 字段族不被整段 drop + worldInfo 仍 aggressive + warn 路径
Refs: mvu-aggressive-strip-regression-plan.md
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
2026-04-05 16:26:43 +08:00 |
|
Youzini-afk
|
5cc33fabda
|
Fix task regex final input pipeline
|
2026-04-05 00:30:54 +08:00 |
|
Youzini-afk
|
6cec03182b
|
Fix MVU stripping order for world info prompts
|
2026-03-29 12:07:19 +08:00 |
|
Youzini-afk
|
67e6e29bb2
|
Harden recall flow and JSON task prompts
|
2026-03-28 20:38:57 +08:00 |
|
Youzini-afk
|
cf4a73e0a8
|
feat: MVU规则模块+世界书MVU过滤+prompt组装MVU清洗+端到端测试
|
2026-03-27 15:22:00 +08:00 |
|