Youzini-afk
a070e04e56
fix(panel): prevent UI freeze when opening panel during extraction
...
Root cause: onStreamProgress callback fires 20-50x/sec during LLM streaming,
each calling setLastExtractionStatus with syncRuntime=true (default), which
triggers setRuntimeStatus -> refreshPanelLiveState() -> _refreshDashboard().
_refreshDashboard iterates all graph nodes (.filter x2) and performs heavy
DOM updates each time. When the panel is open, this blocks the main thread.
Fixes:
1. panel.js: Add requestAnimationFrame throttle to refreshLiveState() with
minimum 80ms gap between actual DOM refreshes. Rapid calls are collapsed
into a single animation frame, preventing main thread saturation.
2. extraction-controller.js: Change onStreamProgress to use syncRuntime=false
so streaming updates no longer trigger setRuntimeStatus (which would also
update the floating ball on each chunk).
3. recall-controller.js: Same fix for recall onStreamProgress which had
the identical syncRuntime=true issue.
2026-04-29 17:03:49 +08:00
Youzini-afk
b7c077ed21
Implement background maintenance post-process queue
2026-04-29 16:01:32 +08:00
Youzini-afk
69dc452120
Implement background maintenance vector sync
2026-04-29 14:52:51 +08:00
Youzini-afk
899774d636
feat: add maintenance concurrency modes
2026-04-29 14:25:16 +08:00
Youzini-afk
d956de4a61
Add post-generation extraction toggle
2026-04-29 03:38:24 +08:00
Youzini-afk
6e4ba691a8
Optimize bulk rerun extraction consolidation
2026-04-29 03:25:38 +08:00
Youzini-afk
2dee3cd8ff
harden(authority): add pre-scale diagnostics and request safety
2026-04-28 22:29:14 +08:00
Youzini-afk
a7e2edac88
refactor(authority): complete v0.6-only sql/blob/jobs rollout
2026-04-28 21:45:59 +08:00
Youzini-afk
8979b89646
feat(authority): harden jobs repair and diagnostics
2026-04-28 19:35:06 +08:00
Youzini-afk
07188feeb1
feat(authority): compare performance baselines
2026-04-28 18:27:12 +08:00
Youzini-afk
7f3ea4f36f
feat(authority): add diagnostics artifact manifest UX
2026-04-28 18:12:01 +08:00
Youzini-afk
e1d6d3193a
feat(authority): add diagnostics baseline ux
2026-04-28 17:05:47 +08:00
Youzini-afk
3a6f577678
feat(authority): add checkpoint audit scaffolding
2026-04-28 16:49:14 +08:00
Youzini-afk
d5dd4b64a8
feat(authority): surface recent jobs in panel
2026-04-28 16:25:58 +08:00
Youzini-afk
cabbe72e23
feat(authority): track job status in panel
2026-04-28 15:35:18 +08:00
Youzini-afk
217573e8bb
feat(authority): export diagnostics bundle
2026-04-28 15:16:09 +08:00
Youzini-afk
d7cbbb20c1
Integrate Authority Blob storage
2026-04-28 12:53:18 +08:00
Youzini-afk
1018376c85
Add Authority jobs task backend
2026-04-28 03:53:56 +08:00
Youzini-afk
9aa4b3ba26
feat: add master plugin toggle
2026-04-23 12:55:17 +08:00
Youzini-afk
13ccc33f0d
fix: allow extraction with recoverable pending persist
2026-04-23 02:34:06 +08:00
Youzini-afk
2bf231cfaf
fix: 持久化未接受时仍在内存中推进 lastProcessedAssistantFloor
...
当提取核心成功但持久化未被接受时,之前不推进楼层会导致同一
会话内 pending 模式重复提取已处理的楼层。现在即使持久化未
接受也在内存中推进楼层(不追加 batchJournal,保持回滚完整性)。
重载时 floor 和图谱都会回退到最后持久化状态,保持一致。
2026-04-23 01:52:26 +08:00
Youzini-afk
1125ebb390
fix: 重新提取回滚点不可用时自动执行历史恢复并降级为 pending 模式
...
当提取/整合被中断后手动重新提取(rerun 模式)失败时,不再显示
死胡同错误,而是自动尝试历史恢复后继续提取未处理内容。
2026-04-23 01:37:10 +08:00
Youzini-afk
fb4dabeaf1
perf: add dirty persist and hydrate/layout optimizations
2026-04-22 22:27:51 +08:00
Youzini-afk
cfc122244a
perf: optimize persist/load P1 hot paths
2026-04-22 18:34:56 +08:00
Youzini-afk
d2c3d1f5dd
Add persistence and retrieval observability with native delta gating
2026-04-21 20:32:20 +08:00
Youzini-afk
4fd4786983
perf: reduce graph load memory and clone overhead
2026-04-21 16:57:42 +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
fbaadddae3
fix: surface rerun preparation failures
2026-04-16 01:27:23 +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
c12956f674
feat: promote opfs v2 as default local store
2026-04-14 19:34:44 +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
ea105104a5
chore: 提取默认预设 event.title 字数要求从 6-18 改为 6-10 字
...
- prompting/prompt-profiles.js: FALLBACK_DEFAULT_TASK_BLOCKS extract role/rules
- prompting/default-task-profile-templates.js: extract default-role / default-rules 模板
- maintenance/extractor.js: buildDefaultExtractPrompt 规则说明
- graph/schema.js: event.title hint
2026-04-12 17:00:03 +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
dc5051f2ef
feat: shared ranking core + prompt node references; recall reuses shared core for base query/vector/diffusion; remove retriever-local duplicate helpers; add regression tests
2026-04-12 14:59:37 +08:00
Youzini-afk
f40b03c306
feat: hide assistant card names in extraction transcript, split sectioned recentMessages into 2 system messages
2026-04-12 13:33:41 +08:00
Youzini-afk
a8e3169002
feat: add isContextOnly flag to extraction messages to prevent repeated extraction
...
- buildExtractionMessages marks messages with isContextOnly (seq < startIdx)
- formatExtractionTranscript inserts section dividers for mixed context/target
- extractor.js Layer 1 prompt splits context review vs extraction target with guidance
- Add tests/extraction-context-only-flag.mjs (7 test cases)
2026-04-12 12:46:05 +08:00
Youzini-afk
322752bb43
feat: improve shujuku-compatible extraction and recall input
2026-04-11 16:05:34 +08:00
Youzini-afk
1834bc1d24
refactor: stabilize persistence delta commit flow
2026-04-11 13:57:03 +08:00
Youzini-afk
f37c5de761
Fix persistence pending gating and add repair actions
2026-04-11 00:21:16 +08:00
Hao19911125
965e5dff0a
Merge branch 'main' into main
2026-04-10 18:43:42 +08:00
Hao19911125
4423034007
Fix stale pending persistence gate
2026-04-10 18:42:15 +08:00
Youzini-afk
517abc6a30
Refactor rerun and summary rebuild ranges
2026-04-10 18:38:54 +08:00
Youzini-afk
ef154b5950
Fix hidden-message leakage into plugin prompts
2026-04-10 14:06:26 +08:00
Youzini-afk
bbb44e7022
Fix multi-device sync after persistence refactor
2026-04-10 13:53:21 +08:00
Youzini-afk
f88a6cc0af
Fix pending persistence confirmation deadlocks
2026-04-10 01:46:48 +08:00
Youzini-afk
7faa9cfc7f
Refactor extraction persistence into two-stage status model
2026-04-10 01:19:56 +08:00
Youzini-afk
8bf01e6ff3
Tighten extraction persistence success gating
2026-04-10 00:01:55 +08:00
Youzini-afk
5c9a8a9df1
Normalize mistaken user owners across extraction and cognition
2026-04-09 23:38:40 +08:00
Youzini-afk
e891b35c00
fix: delay automatic summary rollup until above threshold
2026-04-09 21:32:16 +08:00