Commit Graph

641 Commits

Author SHA1 Message Date
Youzini-afk
c3800a1425 ui: localize persistence panel labels and add field guide 2026-04-12 23:46:20 +08:00
Youzini-afk
a0b224190d Merge branch 'dev' of https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology into dev 2026-04-12 23:43:04 +08:00
Youzini-afk
c2226026dc ui: use rich structured visualization for task injection preview 2026-04-12 23:43:01 +08:00
github-actions[bot]
1cc48ade9e chore: bump manifest version [skip ci] 2026-04-12 15:38:33 +00:00
Youzini-afk
7257643bde Merge branch 'dev' of https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology into dev 2026-04-12 23:38:21 +08:00
Youzini-afk
e91dd0ed97 ui: collapse advanced story time fields and story time span section 2026-04-12 23:38:09 +08:00
github-actions[bot]
387dc3f48f chore: bump manifest version [skip ci] 2026-04-12 15:33:47 +00:00
Youzini-afk
0be64eb446 Merge branch 'dev' of https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology into dev 2026-04-12 23:33:33 +08:00
Youzini-afk
e2706cd91d fix(ui): use readable story time editors in node detail 2026-04-12 23:33:07 +08:00
github-actions[bot]
825fd39058 chore: bump manifest version [skip ci] 2026-04-12 15:20:51 +00:00
Youzini-afk
575eec0a52 Merge branch 'dev' of https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology into dev 2026-04-12 23:20:30 +08:00
Youzini-afk
1390cd2d7e fix(ui): move task memory save/delete buttons to title header row 2026-04-12 23:20:28 +08:00
github-actions[bot]
8830726390 chore: bump manifest version [skip ci] 2026-04-12 15:15:44 +00:00
Youzini-afk
4a2c9c7687 Merge branch 'dev' of https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology into dev 2026-04-12 23:15:32 +08:00
Youzini-afk
11fd31c752 feat(ui): enable inline editing in task memory detail 2026-04-12 23:15:23 +08:00
github-actions[bot]
eff5ae828a chore: bump manifest version [skip ci] 2026-04-12 14:56:07 +00:00
Youzini-afk
1b80dc834b Merge branch 'dev' of https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology into dev 2026-04-12 22:55:55 +08:00
Youzini-afk
8c0965a3db fix(ui): make task memory panes scroll independently 2026-04-12 22:55:45 +08:00
github-actions[bot]
86c171f197 chore: bump manifest version [skip ci] 2026-04-12 14:52:45 +00:00
Youzini-afk
3d228ba3ef Merge branch 'dev' of https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology into dev 2026-04-12 22:52:30 +08:00
Youzini-afk
d4970a528a fix(ui): use correct edge ids for task memory connection counts 2026-04-12 22:52:18 +08:00
github-actions[bot]
68883c0d69 chore: bump manifest version [skip ci] 2026-04-12 14:46:17 +00:00
Youzini-afk
0748f1abc0 Merge branch 'dev' of https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology into dev 2026-04-12 22:46:05 +08:00
Youzini-afk
c7dc4ebba9 fix(ui): use proper memory node display data in task browser 2026-04-12 22:45:54 +08:00
github-actions[bot]
3893807745 chore: bump manifest version [skip ci] 2026-04-12 14:38:58 +00:00
Youzini-afk
f0879520e8 Merge branch 'dev' of https://github.com/Youzini-afk/ST-Bionic-Memory-Ecology into dev 2026-04-12 22:38:47 +08:00
Youzini-afk
b193eed019 fix(ui): task monitor data binding - use correct getter functions for pipeline/persistence/injection views 2026-04-12 22:38:32 +08:00
github-actions[bot]
17dc9c92bc chore: bump manifest version [skip ci] 2026-04-12 14:31:29 +00:00
Youzini-afk
2748cbb327 Merge remote-tracking branch 'origin/dev' into dev 2026-04-12 22:31:15 +08:00
Youzini-afk
d1c76787bb Merge remote-tracking branch 'origin/main' into dev 2026-04-12 22:31:04 +08:00
github-actions[bot]
88c2703b87 chore: bump manifest version [skip ci] 2026-04-12 14:31:00 +00:00
Youzini-afk
5deea0705b Merge branch 'main' into dev 2026-04-12 22:30:48 +08:00
Youzini-afk
6045c4fa0d feat(ui): redesign task monitor workspace 2026-04-12 22:30:41 +08:00
github-actions[bot]
76a282727d chore: bump manifest version [skip ci] 2026-04-12 12:36:22 +00: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
github-actions[bot]
648a7a1741 chore: bump manifest version [skip ci] 2026-04-12 12:07:21 +00:00
Youzini-afk
05083ef5f0 fix: clear stale accepted commit marker after deleting local IndexedDB caches
When users delete local BME IndexedDB via UI actions (delete current/all
IDB), the chat metadata's st_bme_commit_marker was not cleared. This left
an accepted high-revision promise with no local DB backing, causing
persist-mismatch:indexeddb-behind-commit-marker and blocking graph load
indefinitely.

- index.js: add clearCurrentChatCommitMarker() helper and expose via runtime
- ui-actions-controller.js: call clearCurrentChatCommitMarker before
  syncGraphLoadFromLiveContext after IDB deletion
- p0-regressions.mjs: regression test asserting marker is cleared before
  reload after current-IDB deletion
2026-04-12 20:07:05 +08:00
github-actions[bot]
4643e0ad75 chore: bump manifest version [skip ci] 2026-04-12 11:43:01 +00: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
github-actions[bot]
d350de809e chore: bump manifest version [skip ci] 2026-04-12 11:00:52 +00: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
github-actions[bot]
44d71da13d chore: bump manifest version [skip ci] 2026-04-12 09:58:26 +00:00
Youzini-afk
47ffd5413d refactor(terminology): 层级总结为主路径,synopsis 标记为旧式全局概要
- README: 明确 summaryState 为主总结体系,legacy synopsis 为兼容兜底
- prompt-profiles: synopsis 任务标签改为「小总结」
- schema/task-graph-stats/panel: synopsis 节点显示为「全局概要(旧)」
- index.js: fallback 状态文案改为「旧式全局概要生成/更新中」
- p0-regressions: 同步更新断言字符串
2026-04-12 17:58:05 +08:00
github-actions[bot]
2646dc0962 chore: bump manifest version [skip ci] 2026-04-12 09:28:51 +00:00
Youzini-afk
4c768f5485 docs: 全面更新 README,反映当前架构与功能 2026-04-12 17:28:40 +08:00
github-actions[bot]
c798308ca0 chore: bump manifest version [skip ci] 2026-04-12 09:00:16 +00:00
Youzini-afk
ea105104a5 chore: 提取默认预设 event.title 字数要求从 6-18 改为 6-10 字
- prompting/prompt-profiles.js: FALLBACK_DEFAULT_TASK_BLOCKS extract role/rules
- prompting/default-task-profile-templates.js: extract default-role / default-rules 模板
- maintenance/extractor.js: buildDefaultExtractPrompt 规则说明
- graph/schema.js: event.title hint
2026-04-12 17:00:03 +08:00
youzini
c34b49490a Merge pull request #33 from Hao19911125/main
悬浮按钮对于手动存储操作的提示修正
2026-04-12 16:50:44 +08:00
github-actions[bot]
362911c930 chore: bump manifest version [skip ci] 2026-04-12 08:50:21 +00: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