Commit Graph

257 Commits

Author SHA1 Message Date
Youzini-afk
8c489bf1c7 feat(ui): show hidden floor count and render limit 2026-04-25 16:37:50 +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
6116d7bc6d fix: auto align legacy planner fake-default profiles 2026-04-23 17:52:21 +08:00
Youzini-afk
493b41fc63 refactor: planner prompt split into 13 modular blocks aligned with extract structure
- ena-planner-presets.js: split monolithic system prompt into 7 content constants (heading, role, identity-ack, info-ack, format, rules, seed)
- prompt-profiles.js: rewrite buildPlannerDefaultTaskProfileTemplate() to 13-block template, version 4->5 triggers auto-refresh
- prompt-profiles.js: fix getBuiltinBlockDefinitions() to show generic builtins for planner task type
- ena-planner.js: extend resolvePlannerBuiltinBlockContent() with generic sourceKey aliases
- ena-planner.js: add userPersona and storyTimeContext to planner block context
- tests: update planner block structure assertions
2026-04-23 17:26:11 +08:00
Youzini-afk
efff3b15b3 Integrate ENA planner task profiles 2026-04-23 16:26:32 +08:00
Youzini-afk
a28acb0bc0 refactor: remove redundant task monitor UI 2026-04-23 14:01:45 +08:00
Youzini-afk
4fd450ce3a test: fix native hydrate normalized fixture 2026-04-23 03:23:43 +08:00
Youzini-afk
066140a544 test: align extraction persistence gating expectations 2026-04-23 03:02:19 +08:00
Youzini-afk
810f0475ed test: stabilize opfs persistence manifest reads 2026-04-23 02:53:56 +08:00
Youzini-afk
13ccc33f0d fix: allow extraction with recoverable pending persist 2026-04-23 02:34:06 +08:00
Youzini-afk
aa3ee1e408 fix: reroll 时复用已有召回记录而非重新触发召回
- rebindRecallRecordToNewUserMessage: 从 frozenRecallOptions 补全 recallInput/boundUserFloorText/authoritativeInputUsed
- ensurePersistedRecallRecordForGeneration: already-up-to-date 守卫增加 recallInput 非空检查
- 新增 tests/recall-reroll-reuse.mjs 回归测试
2026-04-23 01:19:29 +08:00
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
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
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
d2c3d1f5dd Add persistence and retrieval observability with native delta gating 2026-04-21 20:32:20 +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
Youzini-afk
4fd4786983 perf: reduce graph load memory and clone overhead 2026-04-21 16:57:42 +08:00
Hao19911125
5e238423d6 Fix cloud backup restore runtime refresh 2026-04-21 14:47:03 +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
37bada37b6 feat: add recall card editing and ENA preview UI 2026-04-20 16:39:29 +08:00
Youzini-afk
fb60502b55 Add cognition owner management flows 2026-04-20 15:35:49 +08:00
Youzini-afk
a35237ae6d fix: preserve history frontier in opfs delta commits 2026-04-17 20:17:45 +08:00
Youzini-afk
622f00620c fix: restore luker llm priority order 2026-04-16 01:05:14 +08:00
Youzini-afk
3feb7be760 fix: prefer luker host llm routing 2026-04-16 00:52:34 +08:00
Youzini-afk
3b5d008a6c fix: route luker extraction llm requests 2026-04-16 00:35:21 +08:00
Youzini-afk
e3b268bb04 fix: surface rerun extraction progress 2026-04-16 00:14:17 +08:00
Youzini-afk
e2e51c9508 fix: harden opfs capability recovery 2026-04-15 22:47:34 +08:00
Youzini-afk
c764a000c0 fix: keep luker host profile before chat selection 2026-04-15 22:05:10 +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
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
Youzini-afk
4b19e978c7 fix: guard luker panel graph load retries 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
33b8d298f7 fix: harden persistence tiers and opfs durability 2026-04-14 15:44:21 +08:00