Commit Graph

30 Commits

Author SHA1 Message Date
Youzini-afk
f3d3a0f80d fix: harden hydrate normalized fast-path and vector scope guards 2026-04-23 00:50:23 +08:00
Youzini-afk
e7cb7b31b6 feat: optimize default prompt structure for U-shaped attention + fix opfs/ranking flakes
- Restructure all 7 task templates: add assistant identity-ack and info-ack blocks, restore reference materials to system role, keep only format+rules as user tail
- Fix writeJsonFile treating empty serializedText as valid (opfs-persistence flake)
- Fix shared-ranking test: strip diagnostic lastSearchTimings from side-effect comparison
- Update all related test assertions (prompt-builder-defaults, task-profile-migration, task-profile-storage, prompt-builder-mixed-transcript, p0-regressions, extractor-phase3-layered-context)
2026-04-23 00:28:32 +08:00
Youzini-afk
fb4dabeaf1 perf: add dirty persist and hydrate/layout optimizations 2026-04-22 22:27:51 +08:00
Youzini-afk
c1caa79eb4 Integrate native rollout UI and tune hydrate gating 2026-04-22 21:24:47 +08:00
Youzini-afk
4ab2e0c3c9 perf: add native hydrate wasm path 2026-04-22 20:09:48 +08:00
Youzini-afk
e880fe0b39 perf: complete persist-load P2 hydration pass 2026-04-22 19:32:35 +08:00
Youzini-afk
cfc122244a perf: optimize persist/load P1 hot paths 2026-04-22 18:34:56 +08:00
Youzini-afk
b849117646 Add persistence load and commit attribution diagnostics 2026-04-22 17:12:09 +08:00
Youzini-afk
4fd4786983 perf: reduce graph load memory and clone overhead 2026-04-21 16:57:42 +08:00
Youzini-afk
a35237ae6d fix: preserve history frontier in opfs delta commits 2026-04-17 20:17:45 +08:00
Youzini-afk
e2e51c9508 fix: harden opfs capability recovery 2026-04-15 22:47:34 +08:00
Youzini-afk
4a5df1c568 fix: restore non-negative count normalizer 2026-04-15 16:29:42 +08:00
Youzini-afk
2ba374f4fb fix: harden mobile indexeddb persistence path 2026-04-15 15:14:24 +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
33b8d298f7 fix: harden persistence tiers and opfs durability 2026-04-14 15:44:21 +08:00
Youzini-afk
a7ded12350 feat: wire OPFS local store migration 2026-04-13 22:45:14 +08:00
Youzini-afk
d34c9e666b fix: reduce indexeddb snapshot load memory churn 2026-04-13 20:31:58 +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
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
Hao19911125
4b9668fdc5 Clear restored backup dirty history markers 2026-04-12 15:09:11 +08:00
Hao19911125
288c33f3c3 Rebind restored backup history hashes locally 2026-04-12 11:49:34 +08:00
Hao19911125
580a049442 Slim manual cloud backups and guard truncated journal rollback 2026-04-12 10:43:38 +08:00
Youzini-afk
1834bc1d24 refactor: stabilize persistence delta commit flow 2026-04-11 13:57:03 +08:00
Youzini-afk
53672fa751 Fix manual backup manifest filename handling 2026-04-10 19:49:10 +08:00
Hao19911125
09b6e1e566 Add manual cloud backup controls and manager modal 2026-04-10 17:26:57 +08:00
Youzini-afk
e4feda5471 Add hierarchical summary frontier system 2026-04-09 14:50:52 +08:00
Youzini-afk
feec17f3e3 Reorganize modules into layered directories 2026-04-08 01:17:57 +08:00