Commit Graph

60 Commits

Author SHA1 Message Date
Sisyphus
5a105fd4a4 fix: disable Luker browser graph mirror
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
2026-05-03 14:21:52 +00:00
Youzini-afk
3f70d63a86 feat(authority): migrate local graphs to server primary 2026-04-28 03:02:43 +08:00
Youzini-afk
dc37d22dcf feat(authority): add graph SQL store 2026-04-28 02:20:15 +08:00
Hao19911125
d50263e3d9 Merge branch 'Youzini-afk:main' into main 2026-04-23 23:00:45 +08:00
Youzini-afk
0daf723fd1 fix: auto-repair malformed memory scope regions 2026-04-23 18:48:30 +08:00
Youzini-afk
fb4dabeaf1 perf: add dirty persist and hydrate/layout optimizations 2026-04-22 22:27:51 +08:00
Youzini-afk
f86962891e perf: migrate legacy users to native-on rollout 2026-04-22 20:49:19 +08:00
Youzini-afk
ba33054124 perf: ship prebuilt wasm artifacts by default 2026-04-22 20:22:26 +08:00
Youzini-afk
4ab2e0c3c9 perf: add native hydrate wasm path 2026-04-22 20:09:48 +08:00
Youzini-afk
cfc122244a perf: optimize persist/load P1 hot paths 2026-04-22 18:34:56 +08:00
Youzini-afk
50ab967d7b Optimize IndexedDB save snapshot reuse 2026-04-21 18:46:26 +08:00
Youzini-afk
6ddf3a7386 Optimize detached graph save path 2026-04-21 17:44:59 +08:00
Hao19911125
5e238423d6 Fix cloud backup restore runtime refresh 2026-04-21 14:47:03 +08:00
Youzini-afk
e2e51c9508 fix: harden opfs capability recovery 2026-04-15 22:47:34 +08:00
Youzini-afk
359a2a07b7 feat: deepen luker host integration 2026-04-15 21:20:08 +08:00
Youzini-afk
dc4eac4ced fix: harden luker sidecar persistence consistency 2026-04-15 17:36:36 +08:00
Youzini-afk
13d2b04e73 fix: fallback persistence chat identity on mobile 2026-04-15 16:20:11 +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
Youzini-afk
4b19e978c7 fix: guard luker panel graph load retries 2026-04-14 22:03:07 +08:00
Youzini-afk
33b8d298f7 fix: harden persistence tiers and opfs durability 2026-04-14 15:44:21 +08:00
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