Youzini-afk
d39c16d8ff
fix: restore missing runtime persistence helpers
2026-04-14 12:41:10 +08:00
Youzini-afk
e4ab3ac41d
perf: optimize persist-delta snapshot reuse and diagnostics
2026-04-13 18:21:32 +08:00
Youzini-afk
b16785e56f
perf: optimize persist delta gating and diagnostics
2026-04-13 16:11:43 +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
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
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
Youzini-afk
1834bc1d24
refactor: stabilize persistence delta commit flow
2026-04-11 13:57:03 +08:00
Youzini-afk
5a77506ab1
Add Luker chat state persistence compatibility
2026-04-10 17:00:51 +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
e4feda5471
Add hierarchical summary frontier system
2026-04-09 14:50:52 +08:00
Youzini-afk
9939734bcb
Harden post-refactor test and check guardrails
2026-04-08 03:03:09 +08:00
Youzini-afk
feec17f3e3
Reorganize modules into layered directories
2026-04-08 01:17:57 +08:00
Youzini-afk
854e3a7a79
Harden graph recovery and shadow persistence
2026-04-07 17:18:18 +08:00
Youzini-afk
c32ce01e4c
Guard graph runtime against stale persistence reloads
2026-04-07 12:05:01 +08:00
Youzini-afk
45f76ecc2d
Fix graph persistence identity migration on chat rename
2026-04-06 22:34:24 +08:00
Youzini-afk
f2c35b725a
Stabilize recall UI persistence recovery
2026-04-03 23:04:06 +08:00
Youzini-afk
c711ff17f7
fix: harden auto extraction trigger flow
2026-04-02 14:46:09 +08:00
Youzini-afk
7d71d1015e
fix: harden history recovery and graph persistence regressions
2026-03-31 22:48:48 +08:00
Youzini-afk
1098c33a93
fix: finalize phase0 and phase1 persistence regressions
2026-03-31 20:04:42 +08:00
Youzini-afk
b0f9d191bd
fix: finalize deepfix p2 recall binding and p3 validation matrix
2026-03-31 03:53:53 +08:00
Youzini-afk
a2bed39e28
fix: deep repair p0-p1 persistence runtime merge and integrity
2026-03-31 02:38:27 +08:00
Youzini-afk
10c6db258b
refactor: deepen indexeddb-first load path and finalize phase ef docs/scripts
2026-03-30 20:00:38 +08:00
Youzini-afk
1c76ad7a11
feat: switch ST-BME runtime to indexeddb-primary with sync hardening
2026-03-30 18:38:58 +08:00
Youzini-afk
4bf571ba37
fix: harden metadata readiness and add persistence self-heal reconcile
2026-03-29 21:39:58 +08:00
Youzini-afk
b7c986d9ea
fix: inject message-received controller into graph persistence vm harness
2026-03-29 17:25:43 +08:00
Youzini-afk
33afa996aa
refactor: move message received hook into event binding controller
2026-03-29 17:24:57 +08:00
Youzini-afk
a371150661
refactor: batch 5 phase 2 - extract graph-persistence.js (20 exports, ~230 lines) from index.js
2026-03-29 15:43:11 +08:00
Youzini-afk
1e6e5853e7
refactor: batch 5 phase 1 - extract ui-status.js (25 pure functions, ~280 lines) from index.js
2026-03-29 15:25:06 +08:00
Youzini-afk
4a512989e8
fix: batch 2 - history recovery chain safety guards
2026-03-29 14:24:04 +08:00
Youzini-afk
afca95a164
Fix chat metadata integrity persistence
2026-03-29 12:25:38 +08:00
Youzini-afk
562c226b1d
Harden graph persistence writes
2026-03-29 10:53:44 +08:00
Youzini-afk
67e6e29bb2
Harden recall flow and JSON task prompts
2026-03-28 20:38:57 +08:00
Youzini-afk
30fdeaac1a
Recover graph state after missed chat events
2026-03-28 14:45:31 +08:00
Youzini-afk
eb51f28d21
Fix graph metadata readiness detection
2026-03-28 14:32:04 +08:00
Youzini-afk
3cdfe01137
Fix chat detection for graph persistence
2026-03-28 14:10:00 +08:00
Youzini-afk
b5d8056ae4
Harden graph persistence and panel refresh flow
2026-03-28 13:33:16 +08:00