Commit Graph

20 Commits

Author SHA1 Message Date
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
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
30046dd66b feat(regex): move contamination cleanup to default global preset 2026-04-11 19:38:17 +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
e4feda5471 Add hierarchical summary frontier system 2026-04-09 14:50:52 +08:00
Youzini-afk
14a0dbe59d Fix legacy task regex migration compatibility 2026-04-09 12:11:57 +08:00
Youzini-afk
d7989303d9 feat: support multi-owner scene recall anchors 2026-04-08 21:29:36 +08:00
Youzini-afk
a4fed87e6e feat(cognition): finish multi-character knowledge and monitor workflow 2026-04-08 18:21:38 +08:00
Youzini-afk
feec17f3e3 Reorganize modules into layered directories 2026-04-08 01:17:57 +08:00
Youzini-afk
69a47c11b2 Detect default profile template changes by content 2026-04-05 20:10:06 +08:00
Youzini-afk
ef98161b4c Auto-refresh builtin default task profiles 2026-04-05 19:29:18 +08:00
Youzini-afk
d42cd4e750 feat: refresh default task profiles and toggles 2026-03-27 17:59:56 +08:00
Youzini-afk
1a95b65acb feat: add default heading prompt block 2026-03-27 17:10:56 +08:00
Youzini-afk
d52923a45a refactor: rebalance default prompt block roles 2026-03-27 03:50:11 +08:00
Youzini-afk
88db5d95ea fix: align default task profiles with runtime prompt blocks 2026-03-27 03:34:47 +08:00
Youzini-afk
777edf9f9a feat: integrate host bridge prompt pipeline 2026-03-26 22:24:45 +08:00
Youzini-afk
643637f2be fix: restore legacy prompt metadata init 2026-03-25 23:26:22 +08:00
Youzini-afk
c10847793a feat: add task profile workspace 2026-03-25 20:02:29 +08:00