Commit Graph

90 Commits

Author SHA1 Message Date
Youzini-afk
3ba9437899 fix: always show persistence repair actions in actions tab 2026-04-15 21:51:16 +08:00
Youzini-afk
be9e0ef719 refactor: move persistence repair actions into actions tab 2026-04-15 21:33:00 +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
2ba374f4fb fix: harden mobile indexeddb persistence path 2026-04-15 15:14:24 +08:00
Youzini-afk
1f2cddb2a3 fix: settle mobile local persistence loading state 2026-04-15 15:02:28 +08:00
Youzini-afk
360dfe3f19 feat: harden Luker sidecar persistence flow 2026-04-15 13:46:27 +08:00
Youzini-afk
05d3fe3fbd fix: harden mobile local store recovery flow 2026-04-15 12:43:43 +08:00
Hao19911125
70e488df53 Make task memory browser search manual 2026-04-14 22:03:07 +08:00
Youzini-afk
3356e809c7 fix: restore task timeline details and bump recall default 2026-04-14 20:15:43 +08:00
Youzini-afk
1867662653 fix: align cleanup actions with opfs storage 2026-04-14 19:55:30 +08:00
Youzini-afk
c12956f674 feat: promote opfs v2 as default local store 2026-04-14 19:34:44 +08:00
Youzini-afk
6c808ed5ad fix: harden panel entry bootstrap 2026-04-14 16:59:47 +08:00
Youzini-afk
33b8d298f7 fix: harden persistence tiers and opfs durability 2026-04-14 15:44:21 +08:00
Youzini-afk
e4ab3ac41d perf: optimize persist-delta snapshot reuse and diagnostics 2026-04-13 18:21:32 +08:00
Youzini-afk
67cf5fe7fa perf: add hash compact persist-delta bridge mode 2026-04-13 16:37:59 +08:00
Youzini-afk
b16785e56f perf: optimize persist delta gating and diagnostics 2026-04-13 16:11:43 +08:00
Youzini-afk
29f21857e7 perf(graph): add adaptive layout degrade and defer persist clone 2026-04-13 12:46:52 +08:00
Youzini-afk
d3a547cd7b feat(ui): use mobile memory popup in task monitor 2026-04-13 02:08:20 +08:00
Youzini-afk
a1a570f637 ui: add graph render toggle to pause heavy graph rendering 2026-04-13 01:04:57 +08:00
Youzini-afk
aed3154a52 ui: add floor number search to memory browser (task + graph tabs) 2026-04-13 00:11:21 +08:00
Youzini-afk
c3800a1425 ui: localize persistence panel labels and add field guide 2026-04-12 23:46:20 +08:00
Youzini-afk
c2226026dc ui: use rich structured visualization for task injection preview 2026-04-12 23:43:01 +08:00
Youzini-afk
e91dd0ed97 ui: collapse advanced story time fields and story time span section 2026-04-12 23:38:09 +08:00
Youzini-afk
e2706cd91d fix(ui): use readable story time editors in node detail 2026-04-12 23:33:07 +08:00
Youzini-afk
1390cd2d7e fix(ui): move task memory save/delete buttons to title header row 2026-04-12 23:20:28 +08:00
Youzini-afk
11fd31c752 feat(ui): enable inline editing in task memory detail 2026-04-12 23:15:23 +08:00
Youzini-afk
d4970a528a fix(ui): use correct edge ids for task memory connection counts 2026-04-12 22:52:18 +08:00
Youzini-afk
c7dc4ebba9 fix(ui): use proper memory node display data in task browser 2026-04-12 22:45:54 +08:00
Youzini-afk
b193eed019 fix(ui): task monitor data binding - use correct getter functions for pipeline/persistence/injection views 2026-04-12 22:38:32 +08:00
Youzini-afk
6045c4fa0d feat(ui): redesign task monitor workspace 2026-04-12 22:30:41 +08:00
Youzini-afk
5bd29c99d5 fix: orphan accepted commit marker self-healing — auto-clear stale marker when no recoverable graph source exists
- Add maybeResolveOrphanAcceptedCommitMarker() for conservative orphan detection:
  - Chat-state sidecar rescue first (preserves marker, keeps mismatch diagnostic)
  - Only clears marker when ALL local sources confirmed absent
  - Guards: shadow-available, migration-failed, chat-switched all block clearing
- Enhance clearCurrentChatCommitMarker() with resetAcceptedRevision option
  - Resets lastAcceptedRevision and acceptedStorageTier when marker is orphan
- Integrate orphan resolution into loadGraphFromIndexedDb() empty+mismatch branch
- Update onDeleteCurrentIdbController/onDeleteAllIdbController to resetAcceptedRevision
- Update graph-persistence regressions:
  - Orphan marker scenario now auto-heals to EMPTY_CONFIRMED (was: permanently BLOCKED)
  - Add chat-state rescue guard test: sidecar data prevents marker clearing
2026-04-12 20:36:03 +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
de7e598490 fix: graph load stuck in LOADING after IndexedDB cache deletion or commit-marker mismatch
- reconcileIndexedDbProbeFailureState now handles persist-mismatch:indexeddb-* reasons, ensuring bounded retries and transition to BLOCKED instead of hanging forever in LOADING
- expose clearCachedIndexedDbSnapshot, clearAllCachedIndexedDbSnapshots, closeBmeDb, closeAllBmeDbs, syncGraphLoadFromLiveContext in runtime context for UI actions
- onDeleteCurrentIdbController / onDeleteAllIdbController now clear in-memory caches, close DB handles, and force a fresh graph load sync after deletion
- humanize persist-mismatch:indexeddb-behind-commit-marker panel messages into user-friendly Chinese text
- add regression test for empty IndexedDB + accepted commit marker mismatch fallback-to-blocked scenario
2026-04-12 19:00:30 +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
c34b49490a Merge pull request #33 from Hao19911125/main
悬浮按钮对于手动存储操作的提示修正
2026-04-12 16:50:44 +08:00
Youzini-afk
b31088cc35 fix: IndexedDB probe 失败后不再永久卡在 loading,重试耗尽后回退到 blocked
- index.js: 新增 reconcileIndexedDbProbeFailureState,后台 probe 失败时先有限重试,耗尽后切到 blocked
- index.js: scheduleIndexedDbGraphProbe 的 .then/.catch 均接入 reconcile 逻辑
- index.js: createGraphLoadUiStatus blocked 文案更新
- ui/panel.js: _getGraphLoadLabel blocked 文案更新,不再误导为元数据未就绪
- tests/graph-persistence.mjs: 新增 manager-unavailable / read-failed 回归
- tests/graph-persistence.mjs: harness 支持 __indexedDbExportSnapshotShouldThrow / __indexedDbGetCurrentDbShouldThrow
2026-04-12 16:50:02 +08:00
Hao19911125
a7e632df1e Merge branch 'Youzini-afk:main' into main 2026-04-12 16:22:42 +08:00
Hao19911125
1945dd3ec9 Refine manual cloud backup FAB feedback 2026-04-12 16:21:26 +08:00
Youzini-afk
3f7dd0d727 feat: persist extract action mode selection across panel sessions
- Add extractActionMode setting (default: pending) to settings-defaults.js
- Panel refresh restores dropdown from settings.extractActionMode
- Dropdown change event persists selection via _patchSettings
- Extract button reads settings as fallback when DOM value missing
- Add default value assertion in tests/default-settings.mjs
2026-04-12 12:53:08 +08:00
Youzini-afk
fdfc15303b fix: stabilize mobile graph dragging and resize 2026-04-11 23:20:26 +08:00
Youzini-afk
898698364e perf: reduce graph panel refresh churn during streaming 2026-04-11 23:07:06 +08:00
Youzini-afk
1a2e9ac33d feat: auto-detect dedicated memory llm providers 2026-04-11 22:23:18 +08:00
Youzini-afk
0cb95c4f2b phase2-4 recall prompt-flow hardening 2026-04-11 18:51:59 +08:00
Youzini-afk
2e57ffce04 refactor: move extract tuning controls into advanced section 2026-04-11 16:47:10 +08:00
Youzini-afk
3e37600399 feat: integrate phase3/4 settings UI and add phase4/5 regressions 2026-04-11 16:39:38 +08:00
Youzini-afk
1834bc1d24 refactor: stabilize persistence delta commit flow 2026-04-11 13:57:03 +08:00
Youzini-afk
dd791856c2 Fix mobile graph touch mouse interaction 2026-04-11 02:05:18 +08:00
Youzini-afk
b2d8fcc7a1 Fix processed history hash rebuild after recovery 2026-04-11 01:45:47 +08:00
Youzini-afk
f37c5de761 Fix persistence pending gating and add repair actions 2026-04-11 00:21:16 +08:00