The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
fix(memory): organize straight after a finished import; no free-period wording
M3gA-Mind46675d95eb62
diff --git a/app/src/lib/i18n/ar.ts b/app/src/lib/i18n/ar.tsindex 3a726ff2fc..c48938b621 100644--- a/app/src/lib/i18n/ar.ts+++ b/app/src/lib/i18n/ar.ts@@ -5212,7 +5212,7 @@ const messages: TranslationMap = {'memoryPage.import.progress': 'تم استيراد {imported} من {total} عنصر','memoryPage.migrate.title': 'انقل الذاكرة إلى حسابك','memoryPage.migrate.body':- 'الذاكرة المحفوظة قبل هذا التحديث لا تزال في التخطيط المشترك القديم. تُنقل تلقائيًا في الخلفية عندما يكون النقل مجانيًا، أو يمكنك نقلها الآن.',+ 'الذاكرة المحفوظة قبل هذا التحديث لا تزال في التخطيط المشترك القديم. تُنقل تلقائيًا في الخلفية، أو يمكنك نقلها الآن.','memoryPage.migrate.action': 'انقل الآن','memoryPage.migrate.running': 'جارٍ تنظيم ذاكرتك…','memoryPage.migrate.progress': 'تم نقل {copied} عنصر',diff --git a/app/src/lib/i18n/bn.ts b/app/src/lib/i18n/bn.tsindex 692ff45149..527574bfbe 100644--- a/app/src/lib/i18n/bn.ts+++ b/app/src/lib/i18n/bn.ts@@ -5311,7 +5311,7 @@ const messages: TranslationMap = {'memoryPage.import.progress': '{total}টির মধ্যে {imported}টি আইটেম ইমপোর্ট হয়েছে','memoryPage.migrate.title': 'মেমরি আপনার অ্যাকাউন্টে সরান','memoryPage.migrate.body':- 'এই আপডেটের আগে সংরক্ষিত মেমরি এখনও পুরনো শেয়ার করা লেআউটে আছে। সরানো বিনামূল্যে থাকাকালীন এটি ব্যাকগ্রাউন্ডে নিজে থেকেই সরে যায়, অথবা আপনি এখনই সরাতে পারেন।',+ 'এই আপডেটের আগে সংরক্ষিত মেমরি এখনও পুরনো শেয়ার করা লেআউটে আছে। এটি ব্যাকগ্রাউন্ডে নিজে থেকেই সরে যায়, অথবা আপনি এখনই সরাতে পারেন।','memoryPage.migrate.action': 'এখনই সরান','memoryPage.migrate.running': 'আপনার মেমরি গোছানো হচ্ছে…','memoryPage.migrate.progress': '{copied}টি আইটেম সরানো হয়েছে',diff --git a/app/src/lib/i18n/de.ts b/app/src/lib/i18n/de.tsindex 684552976d..2860b0a4ec 100644--- a/app/src/lib/i18n/de.ts+++ b/app/src/lib/i18n/de.ts@@ -5460,7 +5460,7 @@ const messages: TranslationMap = {'memoryPage.import.progress': '{imported} von {total} Elementen importiert','memoryPage.migrate.title': 'Erinnerungen in dein Konto verschieben','memoryPage.migrate.body':- 'Vor diesem Update gespeicherte Erinnerungen liegen noch im alten gemeinsamen Layout. Sie werden im Hintergrund automatisch verschoben, solange das Verschieben kostenlos ist, oder du verschiebst sie jetzt.',+ 'Vor diesem Update gespeicherte Erinnerungen liegen noch im alten gemeinsamen Layout. Sie werden im Hintergrund automatisch verschoben, oder du verschiebst sie jetzt.','memoryPage.migrate.action': 'Jetzt migrieren','memoryPage.migrate.running': 'Dein Gedächtnis wird geordnet…','memoryPage.migrate.progress': '{copied} Einträge verschoben',diff --git a/app/src/lib/i18n/en.ts b/app/src/lib/i18n/en.tsindex 14fcc277dd..ef92d5237b 100644--- a/app/src/lib/i18n/en.ts+++ b/app/src/lib/i18n/en.ts@@ -5588,7 +5588,7 @@ const en: TranslationMap = {'memoryPage.import.progress': '{imported} of {total} items imported','memoryPage.migrate.title': 'Move memory into your account','memoryPage.migrate.body':- 'Memory saved before this update is still in the old shared layout. It moves on its own in the background while moving is free, or you can move it now.',+ 'Memory saved before this update is still in the old shared layout. It moves on its own in the background, or you can move it now.','memoryPage.migrate.action': 'Migrate now','memoryPage.migrate.running': 'Organizing your memory…','memoryPage.migrate.progress': '{copied} items moved',diff --git a/app/src/lib/i18n/es.ts b/app/src/lib/i18n/es.tsindex b5a35dd55a..5378c76c20 100644--- a/app/src/lib/i18n/es.ts+++ b/app/src/lib/i18n/es.ts@@ -5410,7 +5410,7 @@ const messages: TranslationMap = {'memoryPage.import.progress': '{imported} de {total} elementos importados','memoryPage.migrate.title': 'Mueve la memoria a tu cuenta','memoryPage.migrate.body':- 'La memoria guardada antes de esta actualización sigue en el antiguo diseño compartido. Se mueve sola en segundo plano mientras moverla sea gratis, o puedes moverla ahora.',+ 'La memoria guardada antes de esta actualización sigue en el antiguo diseño compartido. Se mueve sola en segundo plano, o puedes moverla ahora.','memoryPage.migrate.action': 'Migrar ahora','memoryPage.migrate.running': 'Organizando tu memoria…','memoryPage.migrate.progress': '{copied} elementos movidos',diff --git a/app/src/lib/i18n/fr.ts b/app/src/lib/i18n/fr.tsindex 824a9388c3..af88c58671 100644--- a/app/src/lib/i18n/fr.ts+++ b/app/src/lib/i18n/fr.ts@@ -5434,7 +5434,7 @@ const messages: TranslationMap = {'memoryPage.import.progress': '{imported} éléments sur {total} importés','memoryPage.migrate.title': 'Déplacer la mémoire dans votre compte','memoryPage.migrate.body':- 'La mémoire enregistrée avant cette mise à jour se trouve encore dans l’ancienne organisation partagée. Elle est déplacée automatiquement en arrière-plan tant que le déplacement est gratuit, ou vous pouvez la déplacer maintenant.',+ 'La mémoire enregistrée avant cette mise à jour se trouve encore dans l’ancienne organisation partagée. Elle est déplacée automatiquement en arrière-plan, ou vous pouvez la déplacer maintenant.','memoryPage.migrate.action': 'Migrer maintenant','memoryPage.migrate.running': 'Organisation de votre mémoire…','memoryPage.migrate.progress': '{copied} éléments déplacés',diff --git a/app/src/lib/i18n/hi.ts b/app/src/lib/i18n/hi.tsindex a40b1d80a2..d4732b89fc 100644--- a/app/src/lib/i18n/hi.ts+++ b/app/src/lib/i18n/hi.ts@@ -5311,7 +5311,7 @@ const messages: TranslationMap = {'memoryPage.import.progress': '{total} में से {imported} आइटम इंपोर्ट हुए','memoryPage.migrate.title': 'मेमोरी को अपने खाते में ले जाएँ','memoryPage.migrate.body':- 'इस अपडेट से पहले सहेजी गई मेमोरी अभी भी पुराने साझा लेआउट में है। जब तक ले जाना मुफ़्त है, यह बैकग्राउंड में अपने आप ले जाई जाती है, या आप इसे अभी ले जा सकते हैं।',+ 'इस अपडेट से पहले सहेजी गई मेमोरी अभी भी पुराने साझा लेआउट में है। यह बैकग्राउंड में अपने आप ले जाई जाती है, या आप इसे अभी ले जा सकते हैं।','memoryPage.migrate.action': 'अभी माइग्रेट करें','memoryPage.migrate.running': 'आपकी मेमोरी व्यवस्थित की जा रही है…','memoryPage.migrate.progress': '{copied} आइटम ले जाए गए',diff --git a/app/src/lib/i18n/id.ts b/app/src/lib/i18n/id.tsindex b9230542cb..b61a6e02ec 100644--- a/app/src/lib/i18n/id.ts+++ b/app/src/lib/i18n/id.ts@@ -5354,7 +5354,7 @@ const messages: TranslationMap = {'memoryPage.import.progress': '{imported} dari {total} item diimpor','memoryPage.migrate.title': 'Pindahkan memori ke akun Anda','memoryPage.migrate.body':- 'Memori yang disimpan sebelum pembaruan ini masih berada di tata letak bersama yang lama. Memori dipindahkan otomatis di latar belakang selama pemindahan gratis, atau Anda bisa memindahkannya sekarang.',+ 'Memori yang disimpan sebelum pembaruan ini masih berada di tata letak bersama yang lama. Memori dipindahkan otomatis di latar belakang, atau Anda bisa memindahkannya sekarang.','memoryPage.migrate.action': 'Migrasikan sekarang','memoryPage.migrate.running': 'Menata memori Anda…','memoryPage.migrate.progress': '{copied} item dipindahkan',diff --git a/app/src/lib/i18n/it.ts b/app/src/lib/i18n/it.tsindex 24fa71fc05..2cd74a52d1 100644--- a/app/src/lib/i18n/it.ts+++ b/app/src/lib/i18n/it.ts@@ -5394,7 +5394,7 @@ const messages: TranslationMap = {'memoryPage.import.progress': '{imported} di {total} elementi importati','memoryPage.migrate.title': 'Sposta la memoria nel tuo account','memoryPage.migrate.body':- 'La memoria salvata prima di questo aggiornamento è ancora nel vecchio layout condiviso. Viene spostata automaticamente in background finché lo spostamento è gratuito, oppure puoi spostarla ora.',+ 'La memoria salvata prima di questo aggiornamento è ancora nel vecchio layout condiviso. Viene spostata automaticamente in background, oppure puoi spostarla ora.','memoryPage.migrate.action': 'Migra ora','memoryPage.migrate.running': 'Organizzazione della tua memoria…','memoryPage.migrate.progress': '{copied} elementi spostati',diff --git a/app/src/lib/i18n/ja.ts b/app/src/lib/i18n/ja.tsindex 7c54169524..292dc0d507 100644--- a/app/src/lib/i18n/ja.ts+++ b/app/src/lib/i18n/ja.ts@@ -5604,7 +5604,7 @@ const messages: TranslationMap = {'memoryPage.import.progress': '{total}件中{imported}件をインポート済み','memoryPage.migrate.title': 'メモリをアカウントに移動','memoryPage.migrate.body':- 'このアップデート以前に保存されたメモリは、まだ以前の共有レイアウトにあります。移動が無料の間はバックグラウンドで自動的に移動されますが、今すぐ移動することもできます。',+ 'このアップデート以前に保存されたメモリは、まだ以前の共有レイアウトにあります。バックグラウンドで自動的に移動されますが、今すぐ移動することもできます。','memoryPage.migrate.action': '今すぐ移行','memoryPage.migrate.running': 'メモリを整理しています…','memoryPage.migrate.progress': '{copied} 件を移動しました',diff --git a/app/src/lib/i18n/ko.ts b/app/src/lib/i18n/ko.tsindex 34b1e845d5..dfef2ed0e2 100644--- a/app/src/lib/i18n/ko.ts+++ b/app/src/lib/i18n/ko.ts@@ -5261,7 +5261,7 @@ const messages: TranslationMap = {'memoryPage.import.progress': '{total}개 중 {imported}개 항목을 가져왔습니다','memoryPage.migrate.title': '메모리를 계정으로 옮기기','memoryPage.migrate.body':- '이 업데이트 이전에 저장된 메모리가 아직 이전 공유 레이아웃에 있습니다. 옮기기가 무료인 동안 백그라운드에서 자동으로 옮겨지며, 지금 바로 옮길 수도 있습니다.',+ '이 업데이트 이전에 저장된 메모리가 아직 이전 공유 레이아웃에 있습니다. 백그라운드에서 자동으로 옮겨지며, 지금 바로 옮길 수도 있습니다.','memoryPage.migrate.action': '지금 마이그레이션','memoryPage.migrate.running': '메모리를 정리하는 중…','memoryPage.migrate.progress': '{copied}개 항목을 옮김',diff --git a/app/src/lib/i18n/pl.ts b/app/src/lib/i18n/pl.tsindex d27d4d6dce..c2a56f0b5e 100644--- a/app/src/lib/i18n/pl.ts+++ b/app/src/lib/i18n/pl.ts@@ -5382,7 +5382,7 @@ const messages: TranslationMap = {'memoryPage.import.progress': 'Zaimportowano {imported} z {total} elementów','memoryPage.migrate.title': 'Przenieś pamięć na swoje konto','memoryPage.migrate.body':- 'Pamięć zapisana przed tą aktualizacją wciąż znajduje się w starym wspólnym układzie. Jest przenoszona automatycznie w tle, dopóki przenoszenie jest bezpłatne, albo możesz przenieść ją teraz.',+ 'Pamięć zapisana przed tą aktualizacją wciąż znajduje się w starym wspólnym układzie. Jest przenoszona automatycznie w tle albo możesz przenieść ją teraz.','memoryPage.migrate.action': 'Migruj teraz','memoryPage.migrate.running': 'Porządkowanie Twojej pamięci…','memoryPage.migrate.progress': 'Przeniesiono elementy: {copied}',diff --git a/app/src/lib/i18n/pt.ts b/app/src/lib/i18n/pt.tsindex 4981def489..2bc7ae948d 100644--- a/app/src/lib/i18n/pt.ts+++ b/app/src/lib/i18n/pt.ts@@ -5382,7 +5382,7 @@ const messages: TranslationMap = {'memoryPage.import.progress': '{imported} de {total} itens importados','memoryPage.migrate.title': 'Mover a memória para sua conta','memoryPage.migrate.body':- 'A memória salva antes desta atualização ainda está no antigo layout compartilhado. Ela é movida automaticamente em segundo plano enquanto mover for gratuito, ou você pode movê-la agora.',+ 'A memória salva antes desta atualização ainda está no antigo layout compartilhado. Ela é movida automaticamente em segundo plano, ou você pode movê-la agora.','memoryPage.migrate.action': 'Migrar agora','memoryPage.migrate.running': 'Organizando sua memória…','memoryPage.migrate.progress': '{copied} itens movidos',diff --git a/app/src/lib/i18n/ru.ts b/app/src/lib/i18n/ru.tsindex fbee61cd6d..e6c57a9770 100644--- a/app/src/lib/i18n/ru.ts+++ b/app/src/lib/i18n/ru.ts@@ -5364,7 +5364,7 @@ const messages: TranslationMap = {'memoryPage.import.progress': 'Импортировано {imported} из {total}','memoryPage.migrate.title': 'Перенести память в ваш аккаунт','memoryPage.migrate.body':- 'Память, сохранённая до этого обновления, всё ещё находится в старой общей структуре. Она переносится автоматически в фоне, пока перенос бесплатный, или вы можете перенести её сейчас.',+ 'Память, сохранённая до этого обновления, всё ещё находится в старой общей структуре. Она переносится автоматически в фоне, или вы можете перенести её сейчас.','memoryPage.migrate.action': 'Перенести сейчас','memoryPage.migrate.running': 'Упорядочиваем вашу память…','memoryPage.migrate.progress': 'Перенесено элементов: {copied}',diff --git a/app/src/lib/i18n/tr.ts b/app/src/lib/i18n/tr.tsindex 83f3618616..e2496e2796 100644--- a/app/src/lib/i18n/tr.ts+++ b/app/src/lib/i18n/tr.ts@@ -5319,7 +5319,7 @@ const messages: TranslationMap = {'memoryPage.import.progress': '{imported}/{total} öğe içe aktarıldı','memoryPage.migrate.title': 'Belleği hesabınıza taşıyın','memoryPage.migrate.body':- 'Bu güncellemeden önce kaydedilen bellek hâlâ eski paylaşılan düzende. Taşıma ücretsiz olduğu sürece arka planda kendiliğinden taşınır ya da şimdi taşıyabilirsiniz.',+ 'Bu güncellemeden önce kaydedilen bellek hâlâ eski paylaşılan düzende. Arka planda kendiliğinden taşınır ya da şimdi taşıyabilirsiniz.','memoryPage.migrate.action': 'Şimdi taşı','memoryPage.migrate.running': 'Belleğiniz düzenleniyor…','memoryPage.migrate.progress': '{copied} öğe taşındı',diff --git a/app/src/lib/i18n/zh-CN.ts b/app/src/lib/i18n/zh-CN.tsindex d59197d215..5aaeb56a82 100644--- a/app/src/lib/i18n/zh-CN.ts+++ b/app/src/lib/i18n/zh-CN.ts@@ -5021,7 +5021,7 @@ const messages: TranslationMap = {'memoryPage.import.progress': '已导入 {imported} / {total} 项','memoryPage.migrate.title': '将记忆迁移到你的账户','memoryPage.migrate.body':- '此更新之前保存的记忆仍在旧的共享布局中。在迁移免费期间,它会在后台自动迁移,你也可以现在迁移。',+ '此更新之前保存的记忆仍在旧的共享布局中。它会在后台自动迁移,你也可以现在迁移。','memoryPage.migrate.action': '立即迁移','memoryPage.migrate.running': '正在整理你的记忆…','memoryPage.migrate.progress': '已迁移 {copied} 项',diff --git a/crates/openhuman-core/src/memory/import.rs b/crates/openhuman-core/src/memory/import.rsindex 52db651f52..5ea45290fa 100644--- a/crates/openhuman-core/src/memory/import.rs+++ b/crates/openhuman-core/src/memory/import.rs@@ -546,9 +546,10 @@ async fn start_with(let started = super::layout_migration::start(config,Arc::new(super::layout_migration::AppHost),- // Not the user's start: it runs only while moving is free,- // like the background job's.- super::layout_migration::Trigger::Auto,+ // Migration is free: organizing follows a finished import+ // straight away, free period or not. A shared self-hosted+ // tree still waits for the takeover consent.+ super::layout_migration::Trigger::Manual { takeover: false },Arc::new(scheduler_paused),);tracing::info!(started, "[memory:import] import done; organizing next");diff --git a/docs/TEST-COVERAGE-MATRIX.md b/docs/TEST-COVERAGE-MATRIX.mdindex cd2b0ad56f..296c16957d 100644--- a/docs/TEST-COVERAGE-MATRIX.md+++ b/docs/TEST-COVERAGE-MATRIX.md@@ -371,7 +371,7 @@ Spec: `docs/specs/memory-v2.md` (host) and `vendor/tinymemory/docs/specs/memory-| 8.2.8 | One-time import of previous (v1) memory | RU+RI+WD | `crates/openhuman-core/src/memory/import_tests.rs`, `tests/memory_v2_e2e.rs`, `app/test/playwright/specs/memory-v2.spec.ts` (`importing previous memory needs explicit consent`, `a stopped import resumes only after consent`), `app/src/components/memory/MemoryImportBanner.test.tsx` | ✅ | Refused without consent; stops (not skips) on exhausted credits (`exhausted_credits_stop_the_import_instead_of_skipping_everything`) and resumes on its own only while memory work is free, per `billing::free_period_active` (`an_import_out_of_credits_resumes_only_once_automatic_runs_are_allowed`); an unavailable engine is retried in-run (`a_transient_failure_is_retried_within_the_run`) and then resumed by the background job (`an_engine_that_stays_unavailable_is_resumed_by_the_background_job`); refused items are kept and retried (`a_refused_item_is_kept_and_a_retry_stores_it`); state written atomically and a resume keeps its total (`the_import_state_is_written_whole_and_leaves_no_staging_file`, `a_resumed_import_keeps_its_total_instead_of_rescanning`); the background job resumes an import the app quit during (`the_background_job_resumes_an_interrupted_import`), never while paused, including a pause mid-run (`nothing_resumes_while_background_work_is_paused`, `a_pause_that_lands_after_the_check_stops_the_run_at_the_next_batch`); a resume that cannot start is stopped, not retried (`an_automatic_resume_that_cannot_start_is_stopped_not_retried`); Resume button after an error, behind consent (`a stopped import resumes only after consent`) || 8.2.9 | MCP memory tools | RU | `crates/openhuman-core/src/mcp/server/tools/` | ✅ | `memory.recall`, `memory.fetch`, `memory.list`, `memory.learn`, `memory.forget` || 8.2.10 | Memory UI chips and legacy redirects | VU+WD | `app/src/components/memory/*.test.tsx`, `app/test/playwright/specs/memory-v2.spec.ts` | ✅ | Engine, Ask, Explorer, Learnings, Conversations, Brain, Background, Settings; `/brain` and `/settings/memory-engine` redirect |-| 8.2.11 | Move into the per-user layout (v3) | RU+VU+WD | `crates/openhuman-core/src/memory/layout_migration/*_tests.rs`, `app/src/components/memory/MemoryImportBanner.test.tsx`, `app/test/playwright/specs/memory-v2.spec.ts` (`migrate now moves the legacy memory and the banner goes away`, `a tree other accounts may share is taken only after consent`) | ✅ | Items are stored again and verified, never copied as events; no switch before a full copy, then a catch-up copy; a source is removed only after its twin is verified (`an_item_without_its_twin_is_never_removed`), by kind-scope erasure or by id where the engine cannot erase; resumable after a pause or crash; runs on its own only while moving is free; a shared self-hosted tree moves only with consent and only one account may claim it (`a_tree_another_account_took_is_left_alone`, `the_first_account_takes_the_tree_and_keeps_it`); items are placed in the v3 layout before the setting switches (`places_into_the_v3_layout_before_the_switch`); signed out there is nothing to move; never starts while an import of old local memory is unfinished, counting a reserved import before its first state write (`nothing_starts_while_an_import_is_unfinished`, `an_import_counts_as_in_progress_from_its_reservation`), and starts on its own once the import is done, under the free-period check (`a_finished_import_starts_organizing_into_the_per_user_tree`); one banner shows import then organize (`does not organize while the import is still running`) |+| 8.2.11 | Move into the per-user layout (v3) | RU+VU+WD | `crates/openhuman-core/src/memory/layout_migration/*_tests.rs`, `app/src/components/memory/MemoryImportBanner.test.tsx`, `app/test/playwright/specs/memory-v2.spec.ts` (`migrate now moves the legacy memory and the banner goes away`, `a tree other accounts may share is taken only after consent`) | ✅ | Items are stored again and verified, never copied as events; no switch before a full copy, then a catch-up copy; a source is removed only after its twin is verified (`an_item_without_its_twin_is_never_removed`), by kind-scope erasure or by id where the engine cannot erase; resumable after a pause or crash; runs on its own only while moving is free; a shared self-hosted tree moves only with consent and only one account may claim it (`a_tree_another_account_took_is_left_alone`, `the_first_account_takes_the_tree_and_keeps_it`); items are placed in the v3 layout before the setting switches (`places_into_the_v3_layout_before_the_switch`); signed out there is nothing to move; never starts while an import of old local memory is unfinished, counting a reserved import before its first state write (`nothing_starts_while_an_import_is_unfinished`, `an_import_counts_as_in_progress_from_its_reservation`), and starts on its own once the import is done, free period or not (`a_finished_import_starts_organizing_into_the_per_user_tree`); one banner shows import then organize (`does not organize while the import is still running`) |### 8.3 TinyMemory Engine Contract