Commit Graph

201 Commits

Author SHA1 Message Date
Peter Steinberger 0337a0d7f8 fix(memory): warn cleanly on degraded vector recall 2026-04-06 15:23:30 +01:00
mainstay22 a224f59fe3 fix(memory): surface warning when sqlite-vec unavailable during index
When chunks_vec cannot be updated (sqlite-vec extension not loaded),
the memory index now emits an error-level warning instead of silently
reporting success.

Before this change: 'Memory index updated (hull).' was emitted even
when the vector index (chunks_vec) was not updated due to sqlite-vec
being unavailable. This masked silent vector recall degradation.

After this change:
- If vector.enabled=true and vector.available=false: emits
  'Memory index WARNING (agentId): chunks_vec not updated — sqlite-vec
  unavailable: <reason>. Vector recall degraded.'
- If vector is healthy: emits normal success message unchanged
- Per-file warning also emitted in writeChunks when chunks are written
  without vector embeddings

Fixes: HELM-0251 (local dist patch — this makes it update-safe)
Related: HELM-0252 (this PR)
2026-04-06 15:23:30 +01:00
Vincent Koc 620537914b fix(plugins): clean bundled extension lint tail 2026-04-06 15:21:46 +01:00
Peter Steinberger af62a2c2e4 style: fix extension lint violations 2026-04-06 14:53:55 +01:00
Ted Li 23730229e1 fix(memory-core): ignore managed dreaming blocks during daily ingestion (#61720) (thanks @MonkeyLeeT) 2026-04-06 13:22:54 +01:00
Vincent Koc 2751874cbb test(memory-core): align short-term repair expectations 2026-04-06 12:26:45 +01:00
Vincent Koc a896d5df0c test(memory-core): reuse workspace helper in temp dir tests 2026-04-06 05:28:18 +01:00
Vincent Koc 39099b8022 test(memory-core): reuse workspace helper in dreaming tests 2026-04-06 05:27:17 +01:00
Vincent Koc f02f16db01 test(memory-core): reuse narrative workspace helper 2026-04-06 05:23:05 +01:00
Vincent Koc b0f11f4eef test(memory-core): share workspace test helper 2026-04-06 05:21:45 +01:00
Vincent Koc 33926ecef1 test(memory-core): align dreaming expectations 2026-04-06 05:17:49 +01:00
Peter Steinberger 57fae2e8fa fix: restore protocol and extension ci 2026-04-06 05:04:29 +01:00
Vincent Koc 5716d83336 feat(memory-wiki): restore llm wiki stack 2026-04-06 04:56:52 +01:00
Mariano 20cbc11f1a memory: trim generic daily chunk headings (#61597)
* memory: trim generic daily chunk headings

* docs: tag dreaming heading cleanup changelog

* docs: attribute dreaming heading cleanup changelog
2026-04-06 03:47:36 +02:00
Mariano 4661bf66c4 memory: chunk daily dreaming ingestion (#61583)
Merged via squash.

Prepared head SHA: 88816a01ef5802857341f4d44ee737017c40bfa0
Co-authored-by: mbelinky <17249097+mbelinky@users.noreply.github.com>
Co-authored-by: mbelinky <132747814+mbelinky@users.noreply.github.com>
Reviewed-by: @mbelinky
2026-04-06 03:17:10 +02:00
Vincent Koc 7c9108aaf7 fix(memory-qmd): streamline compatibility coverage 2026-04-06 01:52:01 +01:00
Vincent Koc 098f4eeebb fix(memory-qmd): restore qmd compatibility defaults 2026-04-06 01:31:51 +01:00
Vignesh Natarajan 61e61ccc18 Dreaming: simplify sweep flow and add diary surface 2026-04-05 17:18:54 -07:00
Vignesh Natarajan 02f2a66dff memory-core: checkpoint mode-first dreaming refactor 2026-04-05 17:18:54 -07:00
Vincent Koc a9dbaa1124 fix(memory): standardize DREAMS trail path 2026-04-05 23:35:44 +01:00
Vincent Koc 367f52f483 docs(memory): point dreaming trail docs to dreams.md 2026-04-05 23:35:44 +01:00
Vincent Koc b371af76a3 fix(memory-core): preserve dated DREAMS trail 2026-04-05 23:35:44 +01:00
Mariano 79348f73c8 feat(memory-core): add REM preview and safe promotion replay (#61540)
* memory: add REM preview and safe promotion replay thanks @mbelinky

* changelog: note REM preview and promotion replay

---------

Co-authored-by: Vignesh <mailvgnsh@gmail.com>
2026-04-05 15:32:38 -07:00
Dave Morin 2ed2dbba00 Memory: move dreaming trail to dreams.md (#61537)
* Memory: move dreaming trail to dreams.md

* docs(changelog): add dreams.md entry

---------

Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-04-05 23:19:31 +01:00
Vincent Koc 94256ea1a0 revert(memory-wiki): back out llm wiki stack 2026-04-05 22:44:20 +01:00
Vincent Koc 2f72363984 feat(memory-core): bridge wiki corpus into memory tools 2026-04-05 22:34:02 +01:00
Vincent Koc d1c7d9af80 feat(memory-sdk): add memory event journal bridge 2026-04-05 22:34:01 +01:00
Vincent Koc b0c7bac9ce refactor(plugin-sdk): add memory host aliases 2026-04-05 22:34:01 +01:00
Peter Steinberger ce8492f9a0 chore: bump version to 2026.4.5 2026-04-05 21:33:04 +01:00
Vincent Koc bb440b328f fix(memory-core): add dreaming rename artifacts 2026-04-05 18:35:54 +01:00
Vincent Koc 8ff41a6bc4 refactor(memory-core): rename sleep surface back to dreaming 2026-04-05 18:35:54 +01:00
Vincent Koc 550872777e feat(memory-core): introduce sleep phases 2026-04-05 18:35:54 +01:00
Peter Steinberger 043d9d370f test: stabilize acp dispatch and dreaming typings 2026-04-05 17:52:15 +01:00
Nimrod Gutman 0047048179 fix(memory): avoid recursive provider discovery during register (#61402)
* fix(memory): avoid recursive provider discovery during register

* test(memory): remove resetModules from provider adapter regression

* fix: avoid recursive provider discovery during register (#61402) (thanks @ngutman)
2026-04-05 18:55:58 +03:00
Peter Steinberger 6e3155ca84 feat(memory-core): add dreaming aging controls 2026-04-05 15:59:06 +01:00
Peter Steinberger 9408f682f6 test(memory-core): expand dreaming edge coverage 2026-04-05 15:47:26 +01:00
Peter Steinberger f7670bde7e fix(memory-core): align dreaming promotion 2026-04-05 15:47:25 +01:00
Peter Steinberger 7ff7a27f61 feat(memory-core): add dreaming verbose logging 2026-04-05 15:10:59 +01:00
Peter Steinberger 629baf5fa7 refactor: move plugin setup and memory capabilities to registries 2026-04-05 14:53:53 +01:00
Ayaan Zaidi e4206007cc fix(memory): stabilize manager runtime lazy import 2026-04-05 18:11:37 +05:30
Vincent Koc 19b7fbaa73 fix(memory): honor mocked batch fetch clients 2026-04-05 07:48:03 +01:00
Peter Steinberger 67d6fc8847 chore(plugins): sync versions to 2026.4.4 2026-04-04 20:03:01 +01:00
Peter Steinberger dd771f1dc6 fix(ci): repair plugin boundary and bootstrap regressions 2026-04-04 15:09:48 +01:00
Vincent Koc 0609bf8581 feat(memory): harden dreaming and multilingual memory promotion (#60697)
* feat(memory): add recall audit and doctor repair flow

* refactor(memory): rename symbolic scoring and harden dreaming

* feat(memory): add multilingual concept vocabulary

* docs(changelog): note dreaming memory follow-up

* docs(changelog): shorten dreaming follow-up entry

* fix(memory): address review follow-ups

* chore(skills): tighten security triage trust model

* Update CHANGELOG.md
2026-04-04 15:48:13 +09:00
Vignesh 4c1022c73b feat(memory-core): add dreaming promotion with weighted recall thresholds (#60569)
* memory-core: add dreaming promotion flow with weighted thresholds

* docs(memory): mark dreaming as experimental

* memory-core: address dreaming promotion review feedback

* memory-core: harden short-term promotion concurrency

* acpx: make abort-process test timer-independent

* memory-core: simplify dreaming config with mode presets

* memory-core: add /dreaming command and tighten recall tracking

* ui: add Dreams tab with sleeping lobster animation

Adds a new Dreams tab to the gateway UI under the Agent group.
The tab is gated behind the memory-core dreaming config — it only
appears in the sidebar when dreaming.mode is not 'off'.

Features:
- Sleeping vector lobster with breathing animation
- Floating Z's, twinkling starfield, moon glow
- Rotating dream phrase bubble (17 whimsical phrases)
- Memory stats bar (short-term, long-term, promoted)
- Active/idle visual states
- 14 unit tests

* plugins: fix --json stdout pollution from hook runner log

The hook runner initialization message was using log.info() which
writes to stdout via console.log, breaking JSON.parse() in the
Docker smoke test for 'openclaw plugins list --json'. Downgrade to
log.debug() so it only appears when debugging is enabled.

* ui: keep Dreams tab visible when dreaming is off

* tests: fix contracts and stabilize extension shards

* memory-core: harden dreaming recall persistence and locking

* fix: stabilize dreaming PR gates (#60569) (thanks @vignesh07)

* test: fix rebase drift in telegram and plugin guards
2026-04-03 20:26:53 -07:00
Peter Steinberger 1e6e685347 fix: unblock cli startup metadata 2026-04-04 02:35:36 +01:00
Peter Steinberger 8e8f8d0745 test: trim more extension importOriginal usage 2026-04-03 19:49:43 +01:00
Peter Steinberger 6eca4e0136 test: trim extension partial mocks 2026-04-03 19:28:19 +01:00
Vincent Koc 7e3b48c254 test(ci): align memory fallback reindex assertion 2026-04-04 02:37:38 +09:00
Peter Steinberger d0d5b34b44 fix(ci): repair extension test regressions 2026-04-03 18:36:35 +01:00