Youzini-afk
13ccc33f0d
fix: allow extraction with recoverable pending persist
2026-04-23 02:34:06 +08:00
Youzini-afk
d3c199fee1
feat: 同批次节点默认弱关联边 + LLM 可增强/移除 + prompt 更新
...
- extractor: 批次操作完成后统一处理 links,再补默认弱 related 边(0.25)
- extractor: 支持 remove/delete/unlink/invalidate 语义显式移除边
- extractor: update 操作现在也能处理 links
- extractor: 边计数改为仅统计真正新增的边
- prompt: 输出格式示例加 links 字段,补 links/remove 语法说明
- prompt: 行为规则加关联边使用规范段落
- tests: 3 条回归覆盖默认弱边、显式覆盖、显式移除
2026-04-20 20:27:30 +08:00
Youzini-afk
37bada37b6
feat: add recall card editing and ENA preview UI
2026-04-20 16:39:29 +08:00
Youzini-afk
622f00620c
fix: restore luker llm priority order
2026-04-16 01:05:14 +08:00
Youzini-afk
e3b268bb04
fix: surface rerun extraction progress
2026-04-16 00:14:17 +08:00
Youzini-afk
359a2a07b7
feat: deepen luker host integration
2026-04-15 21:20:08 +08:00
Youzini-afk
22bf3cf588
fix: clear stale recovery sources during graph cleanup
2026-04-15 15:43:12 +08:00
Youzini-afk
360dfe3f19
feat: harden Luker sidecar persistence flow
2026-04-15 13:46:27 +08:00
Youzini-afk
05083ef5f0
fix: clear stale accepted commit marker after deleting local IndexedDB caches
...
When users delete local BME IndexedDB via UI actions (delete current/all
IDB), the chat metadata's st_bme_commit_marker was not cleared. This left
an accepted high-revision promise with no local DB backing, causing
persist-mismatch:indexeddb-behind-commit-marker and blocking graph load
indefinitely.
- index.js: add clearCurrentChatCommitMarker() helper and expose via runtime
- ui-actions-controller.js: call clearCurrentChatCommitMarker before
syncGraphLoadFromLiveContext after IDB deletion
- p0-regressions.mjs: regression test asserting marker is cleared before
reload after current-IDB deletion
2026-04-12 20:07:05 +08:00
Youzini-afk
913a102b39
fix: backend vector state marked dirty on sync/restore import and query failure
...
- sync/bme-sync.js: conservatively clear backend hash mappings and mark
vectorIndexState dirty before importing remote snapshots via download,
merge, and cloud backup restore, preventing stale clean-looking state
after cross-device sync or restore
- vector/vector-index.js: mark backend vector state dirty on real backend
query failures (HTTP/network) instead of silently returning empty results
- regression: indexeddb-sync.mjs covers download/restore/merge import
dirty marking; p0-regressions.mjs covers backend query failure dirtying
2026-04-12 19:42:45 +08:00
Youzini-afk
47ffd5413d
refactor(terminology): 层级总结为主路径,synopsis 标记为旧式全局概要
...
- README: 明确 summaryState 为主总结体系,legacy synopsis 为兼容兜底
- prompt-profiles: synopsis 任务标签改为「小总结」
- schema/task-graph-stats/panel: synopsis 节点显示为「全局概要(旧)」
- index.js: fallback 状态文案改为「旧式全局概要生成/更新中」
- p0-regressions: 同步更新断言字符串
2026-04-12 17:58:05 +08:00
Youzini-afk
64dec0df2b
recall: sectioned recentMessages with context/target split for LLM prompt
...
- prompt-builder.js: add RECALL_TARGET_CONTENT_HEADER, update splitSectionedTranscriptPayloadMessage to recognize recall-specific target header
- retriever.js: add buildRecallSectionedTranscript helper, format recentMessages as sectioned transcript with context-review and recall-target headers for prompt building while keeping flat string[] for ranking
- p0-regressions.mjs: add testRecallUsesSectionedPromptMessagesForContextAndTarget regression asserting two system messages with correct transcriptSection and headers
2026-04-12 16:07:38 +08:00
Youzini-afk
96b43c7860
feat: migrate compress/consolidation/reflection graphStats to shared ranking core + prompt node refs
...
- New maintenance/task-graph-stats.js: shared helper wrapping rankNodesForTaskContext + createPromptNodeReferenceMap
- extractor.js: extract and reflection graphStats now use buildTaskGraphStats
- compressor.js: compression graphStats uses shared helper, excludes current batch from relevant ranking
- consolidator.js: consolidation graphStats uses shared helper, excludes new nodes from relevant ranking
- index.js: passes schema + embeddingConfig into generateReflection
- p0-regressions.mjs: added graphStats assertions for compress/consolidation/reflection (prompt-facing refs, no raw UUIDs)
2026-04-12 15:27:22 +08:00
Youzini-afk
9becc23526
fix(ux): quiet expected history recovery toasts
2026-04-11 20:36:26 +08:00
Youzini-afk
42bd85b0aa
fix(recall): reuse persisted recall on history rerolls
2026-04-11 20:02:52 +08:00
Youzini-afk
0cb95c4f2b
phase2-4 recall prompt-flow hardening
2026-04-11 18:51:59 +08:00
Youzini-afk
1834bc1d24
refactor: stabilize persistence delta commit flow
2026-04-11 13:57:03 +08:00
Youzini-afk
eaac52473e
Fix CI test compatibility on Node 20
2026-04-10 15:14:19 +08:00
Youzini-afk
3be915ba7a
Fix host import paths after directory reorganization
2026-04-08 01:39:45 +08:00
Youzini-afk
feec17f3e3
Reorganize modules into layered directories
2026-04-08 01:17:57 +08:00
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
854e3a7a79
Harden graph recovery and shadow persistence
2026-04-07 17:18:18 +08:00
Youzini-afk
aa1d194c28
Fix manual action UI status and compression result guards
2026-04-07 12:32:02 +08:00
Youzini-afk
935e1d7839
Refine extraction stage notices for post-processing
2026-04-06 21:26:47 +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
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
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
Youzini-afk
0d8dcb63d2
Fix extraction payload normalization
2026-04-05 16:28:37 +08:00
Hao19911125
ca3fc8fc2f
Harden legacy extraction and recall JSON parsing
2026-04-05 15:24:01 +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
Youzini-afk
f2c35b725a
Stabilize recall UI persistence recovery
2026-04-03 23:04:06 +08:00
Youzini-afk
338a03aa1c
Fix recall rerank stability and card binding
2026-04-03 16:37:23 +08:00
Youzini-afk
12f77e234d
fix: harden recall card display takeover
2026-04-03 15:48:18 +08:00
Hao19911125
e505f6ac50
Guard auto extraction microtask scheduling
2026-04-03 07:10:01 +08:00
Hao19911125
2a6d15e036
Fix reroll history consistency
2026-04-03 00:22:53 +08:00
Youzini-afk
c5edbf6046
Fix extraction defer and dry-run recall guards
2026-04-02 19:46:18 +08:00
Youzini-afk
839cad7aff
fix: advance extraction history after core success
2026-04-02 19:33:07 +08:00
Youzini-afk
c711ff17f7
fix: harden auto extraction trigger flow
2026-04-02 14:46:09 +08:00
Youzini-afk
83f8f24f1c
fix: defer recall injection to pre-send rewrite
2026-04-01 15:24:42 +08:00