Commit Graph

285 Commits

Author SHA1 Message Date
Youzini-afk
d8cff92434 Refactor host regex reuse and injection sanitization 2026-04-08 00:10:20 +08:00
Youzini-afk
c8af45bd35 Add delayed auto extraction mode and fix AGPL license 2026-04-07 22:24:04 +08:00
Youzini-afk
2d45abc704 Show POV owner in memory injection 2026-04-07 20:48:06 +08:00
Youzini-afk
ed534aeb37 Fix custom worldinfo EJS resolution 2026-04-07 20:26:18 +08:00
youzini
27bdc1f9eb Merge pull request #14 from Hao19911125/main
planner + 自定义世界书过滤的读取逻辑修正。现在能接受getwit和ejs了
2026-04-07 20:09:47 +08:00
Youzini-afk
854e3a7a79 Harden graph recovery and shadow persistence 2026-04-07 17:18:18 +08:00
Hao19911125
f21f2c4c1d Align custom world info rendering with ST runtime 2026-04-07 15:15:33 +08:00
Youzini-afk
aa1d194c28 Fix manual action UI status and compression result guards 2026-04-07 12:32:02 +08:00
Youzini-afk
c32ce01e4c Guard graph runtime against stale persistence reloads 2026-04-07 12:05:01 +08:00
Youzini-afk
3fba8fe031 Add task-level memory LLM preset selection 2026-04-07 11:45:18 +08:00
Youzini-afk
95205de1df Fix memory LLM preset auto detection 2026-04-07 11:20:15 +08:00
Youzini-afk
e9d7d4ad92 Adjust default regex stage toggles 2026-04-07 11:05:05 +08:00
Youzini-afk
949fdff78e Enable regex stages by default 2026-04-07 01:50:11 +08:00
Youzini-afk
4fb45b4ce2 Clarify regex preview stage vs semantics 2026-04-07 01:43:08 +08:00
Youzini-afk
0a54226478 Fix beautification regex preview stage gating 2026-04-07 01:33:59 +08:00
Youzini-afk
e0ebe07a55 Fix prompt preview semantics for display regex rules 2026-04-07 01:12:28 +08:00
Youzini-afk
f606fbfb8e Fix display-only beautify regex prompt stripping 2026-04-07 00:49:38 +08:00
Youzini-afk
429b5eeec4 Fix prompt-stage beautification regex stripping 2026-04-07 00:32:14 +08:00
Youzini-afk
c32414f720 Fix world info custom filter payload sanitization 2026-04-07 00:05:21 +08:00
Hao19911125
78cd92f707 Add custom world info filter mode 2026-04-06 23:02:04 +08:00
Youzini-afk
45f76ecc2d Fix graph persistence identity migration on chat rename 2026-04-06 22:34:24 +08:00
Youzini-afk
935e1d7839 Refine extraction stage notices for post-processing 2026-04-06 21:26:47 +08:00
Youzini-afk
8320e3e7f6 Add debug log toggle and silence diagnostic logs 2026-04-06 11:26:37 +08:00
Hao19911125
401228825f Fix task regex stage alias precedence 2026-04-06 10:05:48 +08:00
Hao19911125
d77b64e05a Narrow trivial input skip rules 2026-04-05 23:53:09 +08:00
Hao19911125
438577959b Bypass trivial planner and empty-turn hooks 2026-04-05 22:28:41 +08:00
Hao19911125
97fb8e4e2b Merge branch 'Youzini-afk:main' into main 2026-04-05 22:18:26 +08:00
Hao19911125
08f82f2195 Skip trivial user input recall flows 2026-04-05 22:17:39 +08:00
Youzini-afk
89754abc2d Fix prompt payload fallback for synopsis tasks 2026-04-05 21:38:07 +08:00
Youzini-afk
69a47c11b2 Detect default profile template changes by content 2026-04-05 20:10:06 +08:00
Youzini-afk
ef98161b4c Auto-refresh builtin default task profiles 2026-04-05 19:29:18 +08:00
Youzini-afk
28049d89bc Fix manual maintenance action execution feedback 2026-04-05 19:11:15 +08:00
Youzini-afk
3446a44387 Fix recall card refresh after rendered messages 2026-04-05 18:53:33 +08:00
Youzini-afk
12f2a7a6eb Fix regex stage timing and implicit world info resolution 2026-04-05 18:12:09 +08:00
Youzini-afk
782d7fb3cd Fix recall card mounting for current user messages 2026-04-05 17:45:53 +08:00
Youzini-afk
f998553ab0 Revert "Merge PR #7: notice display and MVU diagnostics"
This reverts commit cdf6111482, reversing
changes made to 0d8dcb63d2.
2026-04-05 17:16:05 +08:00
Youzini-afk
cdf6111482 Merge PR #7: notice display and MVU diagnostics 2026-04-05 16:54:22 +08:00
Hao19911125
507f3b15d3 Add MVU sanitize warning diagnostics 2026-04-05 16:40:20 +08:00
Youzini-afk
0d8dcb63d2 Fix extraction payload normalization 2026-04-05 16:28:37 +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
Hao19911125
ca3fc8fc2f Harden legacy extraction and recall JSON parsing 2026-04-05 15:24:01 +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
ae3a8d264f Fix task EJS runtime context and getwi compatibility 2026-04-04 21:22:42 +08:00
Youzini-afk
5d11a736ee Add explicit auto compression toggle 2026-04-04 16:14:26 +08:00
Youzini-afk
f367b8989c Refine automatic consolidation and compression triggers 2026-04-04 15:54:39 +08:00
Youzini-afk
4bbbd4d09d fix recall card binding lag 2026-04-04 02:56:04 +08:00
Youzini-afk
0220609018 Fix recall card retry when newer message DOM lags 2026-04-04 01:52:32 +08:00
Youzini-afk
7bc6fda4f8 Fix delayed recall card mount on new user messages 2026-04-04 01:28:26 +08:00
Youzini-afk
746f8cf08b Fix recall card persistence backfill 2026-04-04 00:01:09 +08:00