Commit Graph

404 Commits

Author SHA1 Message Date
Youzini-afk
36e2a2c451 chore: 移除 Recall Card 排查用的 ST-BME:DIAG 临时日志
Made-with: Cursor
2026-04-06 20:28:35 +08:00
Youzini-afk
d39e81cde5 fix: MESSAGE_SENT 时把召回记录重绑到刚入场的 user 楼层(对齐酒馆 GENERATION_AFTER_COMMANDS 早于 sendMessageAsUser)
Made-with: Cursor
2026-04-06 20:18:40 +08:00
Hao19911125
47f5d511b7 Merge branch 'Youzini-afk:main' into main 2026-04-06 19:51:37 +08:00
Hao19911125
76f81ad485 Update .gitignore 2026-04-06 19:50:50 +08:00
Youzini-afk
a0c706e410 chore: 移除 Recall Card 本地 ingest 端口调试埋点
Made-with: Cursor
2026-04-06 19:46:22 +08:00
Youzini-afk
f42295fe80 fix: normal 模式正确解析最新 user 楼层以持久化 Recall Card;关闭渲染后 MutationObserver 风暴
Made-with: Cursor
2026-04-06 19:43:32 +08:00
Youzini-afk
665c547ee3 fix: Recall Card 调试埋点受面板「启用调试日志」控制;控制台节流
Made-with: Cursor
2026-04-06 19:37:27 +08:00
Youzini-afk
f1cf0fa652 debug: Recall Card 埋点同时 console.info,便于控制台过滤
Made-with: Cursor
2026-04-06 19:31:55 +08:00
Youzini-afk
8316594fe2 debug: Recall Card 调试日志统一前缀 ST-BME|DBG|recall-card-ui
Made-with: Cursor
2026-04-06 19:26:12 +08:00
Youzini-afk
c13eb366b1 debug: Recall Card UI 时序插桩 (session b6ba57); graph-renderer 区域圆角防御
Made-with: Cursor
2026-04-06 19:21:22 +08:00
Youzini-afk
5cbb48c0ad feat(panel): delete graph node from detail header
Made-with: Cursor
2026-04-06 16:28:31 +08:00
Youzini-afk
16f103297b feat(graph): organic neural layout per region + label ellipsis
Made-with: Cursor
2026-04-06 16:24:33 +08:00
Youzini-afk
b6c2ff89ff style(panel): memory list as full-width cards with chips
Made-with: Cursor
2026-04-06 16:19:29 +08:00
Youzini-afk
76b5116798 fix(panel): memory list layout and formatted metrics
Made-with: Cursor
2026-04-06 16:10:03 +08:00
Youzini-afk
cacbc12e2c feat(panel): editable node detail with save and graph persist
Made-with: Cursor
2026-04-06 16:05:42 +08:00
Youzini-afk
06cd922e75 fix(graph): merge character POV zones by display name before owner id
Made-with: Cursor
2026-04-06 15:59:04 +08:00
Youzini-afk
dbb8491c46 refactor(graph): partition neural layout, curved edges, no force jitter
Made-with: Cursor
2026-04-06 15:49:01 +08:00
Youzini-afk
8320e3e7f6 Add debug log toggle and silence diagnostic logs 2026-04-06 11:26:37 +08:00
youzini
b6187d46e0 Merge pull request #10 from Hao19911125/main
fallback修复
2026-04-06 10:53:49 +08:00
Hao19911125
401228825f Fix task regex stage alias precedence 2026-04-06 10:05:48 +08:00
Hao19911125
3e83466330 Add diagnostics in callLLMForJSON to track message assembly and regex cleaning
Logs message counts and roles after buildJsonAttemptMessages and
applyTaskFinalInputRegex to identify if user messages are lost
during final assembly or regex cleaning stage.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-06 09:28:43 +08:00
Hao19911125
1cc613f68f Add post-payload diagnostic to track user messages after resolveTaskPromptPayload
Logs promptMessages count, user message count, and content preview
right before callLLMForJSON to identify exactly where user blocks vanish.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-06 09:25:49 +08:00
Hao19911125
5404cd7fad Add detailed block-level diagnostic logging for prompt build
Logs all block names/roles/enabled status at loop entry, user-block
content lengths before sanitization, and final execution message counts
to pinpoint exactly where user-role blocks disappear.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-06 09:21:59 +08:00
Hao19911125
bd4e82c12c Add diagnostic logging for user-block fallback in prompt builder
When user-role blocks are missing from executionMessages, logs details
about where content was lost (sanitization, blockedContents, etc.)
to help diagnose why custom extract prompt falls back to hardcoded default.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-06 09:13:36 +08:00
youzini
94bbe19617 Merge pull request #9 from Hao19911125/main
Narrow trivial input skip rules
2026-04-06 01:00:28 +08:00
Hao19911125
d77b64e05a Narrow trivial input skip rules 2026-04-05 23:53:09 +08:00
youzini
e3c819b5cf Merge pull request #8 from Hao19911125/main
用户输入小于2token不会启用插件
2026-04-05 22:57:45 +08:00
Hao19911125
e9c0b8a51c Update .gitignore 2026-04-05 22:43:47 +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
81ccc36859 Update default task profile templates 2026-04-05 19:40:23 +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
50d820978a Add compact notice display mode 2026-04-05 17:19:09 +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
Hao19911125
03b535f5a4 Add compact notice display mode 2026-04-05 14:36:50 +08:00
Hao19911125
8320c2dce7 Merge branch 'Youzini-afk:main' into main 2026-04-05 13:53:36 +08:00
Hao19911125
659c3c6a96 Add mobile config entry for message trace 2026-04-05 13:29:23 +08:00
Youzini-afk
c8b299c177 Merge pr-6-review into main 2026-04-05 03:27:42 +08:00