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
|
e9758feed3
|
Fix Tavern regex reuse inspection and matching
|
2026-04-05 02:00:37 +08:00 |
|
Youzini-afk
|
5cc33fabda
|
Fix task regex final input pipeline
|
2026-04-05 00:30:54 +08:00 |
|
Youzini-afk
|
07f289ca38
|
fix: batch 3+4 - reroll abort handling, payload regex skip, README fix, mobile graph controls
|
2026-03-29 14:47:35 +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 |
|
Youzini-afk
|
9a5c83dbde
|
fix: align prompt assembly with executed messages
|
2026-03-27 03:03:50 +08:00 |
|
Youzini-afk
|
c31af1d1a4
|
Harden runtime debug and task pipeline
|
2026-03-27 01:26:56 +08:00 |
|
Youzini-afk
|
ae82d89605
|
fix: reduce startup load risks for plugin init
|
2026-03-26 23:39:53 +08:00 |
|
Youzini-afk
|
28616fc177
|
feat: add runtime debug snapshots and injection planning
|
2026-03-26 23:15:35 +08:00 |
|
Youzini-afk
|
777edf9f9a
|
feat: integrate host bridge prompt pipeline
|
2026-03-26 22:24:45 +08:00 |
|
Youzini-afk
|
d31c0325d3
|
feat: Phase 3 世界书引擎移植 + EJS 支持
- 新增 task-worldinfo.js: 从 EW 移植世界书激活/分桶引擎
- 新增 task-ejs.js: 从 EW 移植 EJS 模板渲染引擎
- 新增 vendor/ejs.js: EJS runtime vendor
- prompt-builder.js: 改为异步, 接入 worldInfoBefore/After/atDepth
- prompt-profiles.js: 新增内置块 charDescription/userPersona/worldInfoBefore/After
- 更新 extractor/retriever/compressor/consolidator 接入新 builder
- st-context.js: 扩展 ST 上下文字段兜底
- 新增 tests/task-worldinfo.mjs: 世界书引擎测试
|
2026-03-26 13:57:07 +08:00 |
|
Youzini-afk
|
c10847793a
|
feat: add task profile workspace
|
2026-03-25 20:02:29 +08:00 |
|