Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(agent): remove residual profile cleanup artifacts

Steven Enamakelac23b4313ccf
diff --git a/app/src/config/navConfig.ts b/app/src/config/navConfig.ts
index c967ee9250..f0a450b678 100644
--- a/app/src/config/navConfig.ts
+++ b/app/src/config/navConfig.ts
@@ -1,6 +1,6 @@
/**
* Single source of truth for bottom-tab-bar navigation entries and the
- * avatar-menu items that appear in the agent-profile popover.
+ * avatar-menu items.
*
* This module is pure data — no JSX, no React imports. Icons are owned by
* BottomTabBar.tsx and mapped from tab.id.
@@ -96,7 +96,7 @@ interface AvatarMenuItem {
}
/**
- * Avatar dropdown menu items shown beneath the agent-profile list.
+ * Avatar dropdown menu items.
* Order: Account → Billing → Invites → Wallet.
*
* Rewards is not here: it is a primary `NAV_TABS` destination now, and one
diff --git a/app/src/lib/commands/globalActions.ts b/app/src/lib/commands/globalActions.ts
index f8d106575b..dff1f41ef8 100644
--- a/app/src/lib/commands/globalActions.ts
+++ b/app/src/lib/commands/globalActions.ts
@@ -5,7 +5,7 @@ import { isMac } from './shortcut';
// Group headings shown (in this order) by the command palette and the
// keyboard-shortcuts help directory. Kept in sync with the `group` values
// assigned to each action below.
-export const GROUP_ORDER = ['Navigation', 'Profiles', 'Chat', 'View', 'General'] as const;
+export const GROUP_ORDER = ['Navigation', 'Chat', 'View', 'General'] as const;
/**
* i18n keys for the group headings surfaced in the command palette / shortcuts
@@ -14,7 +14,6 @@ export const GROUP_ORDER = ['Navigation', 'Profiles', 'Chat', 'View', 'General']
*/
export const GROUP_LABEL_KEYS: Record<string, string> = {
Navigation: 'shortcuts.group.navigation',
- Profiles: 'shortcuts.group.profiles',
Chat: 'shortcuts.group.chat',
View: 'shortcuts.group.view',
General: 'shortcuts.group.general',
@@ -25,20 +24,12 @@ export const GROUP_LABEL_KEYS: Record<string, string> = {
* Navigation tabs are bound to the **Control** key.
*
* On macOS `ctrl+N` is the physical Control key (distinct from ⌘), which is
- * exactly what we want so ⌘+N can later mean "switch profile". On Windows/Linux
- * there is no ⌘ and our matcher treats a bare `ctrl+N` as unreachable (mod *is*
+ * exactly what we want. On Windows/Linux there is no ⌘ and our matcher treats a
+ * bare `ctrl+N` as unreachable (mod *is*
* Ctrl there), so nav folds to `mod+N` — i.e. Ctrl+N physically on every OS.
*/
const NAV_MOD = isMac() ? 'ctrl' : 'mod';
-/**
- * Profile-switch shortcuts (⌘1–⌘4 on macOS) are wired but inert: profiles don't
- * exist yet. While this is false the actions stay bound-but-disabled and hidden
- * from the palette/help directory; flip it true (and supply a real handler) when
- * the profiles feature lands.
- */
-const PROFILES_ENABLED = false;
-
/**
* Side-effecting handlers the global command layer drives. The owning
* `CommandProvider` supplies these (navigation, new chat, sidebar toggle, and
@@ -94,25 +85,6 @@ function buildGlobalActions(h: GlobalActionHandlers): GlobalActionDef[] {
h.navigate(path);
};
- // Placeholder until the profiles feature exists; the index is captured so the
- // real switch can drop straight in here later.
- const switchProfile = (index: number) => () => {
- void index;
- };
-
- const profileActions: GlobalActionDef[] = [1, 2, 3, 4].map(n => ({
- id: `profile.switch-${n}`,
- label: `Switch to Profile ${n}`,
- group: 'Profiles' as const,
- // ⌘N on macOS (mod === ⌘); Ctrl+N on Windows/Linux. Distinct from the
- // Control-based nav row on macOS; harmlessly inert elsewhere while disabled.
- shortcut: `mod+${n}`,
- enabled: () => PROFILES_ENABLED,
- register: PROFILES_ENABLED,
- handler: switchProfile(n),
- keywords: ['profile', 'switch', 'persona', `profile ${n}`],
- }));
-
return [
// ── Navigation (Control-based) ──────────────────────────────────────
{
@@ -171,9 +143,6 @@ function buildGlobalActions(h: GlobalActionHandlers): GlobalActionDef[] {
keywords: ['preferences', 'config'],
},
- // ── Profiles (wired, hidden until the feature exists) ───────────────
- ...profileActions,
-
// ── Chat ────────────────────────────────────────────────────────────
{
id: 'chat.new',
diff --git a/app/src/lib/i18n/ar.ts b/app/src/lib/i18n/ar.ts
index 575dee1555..2e0f496bbc 100644
--- a/app/src/lib/i18n/ar.ts
+++ b/app/src/lib/i18n/ar.ts
@@ -3104,7 +3104,6 @@ const messages: TranslationMap = {
'shortcuts.empty': 'لا توجد اختصارات لوحة مفاتيح متاحة حاليًا.',
'shortcuts.openHint': 'افتح هذه القائمة في أي وقت باستخدام',
'shortcuts.group.navigation': 'التنقل',
- 'shortcuts.group.profiles': 'الملفات الشخصية',
'shortcuts.group.chat': 'الدردشة',
'shortcuts.group.view': 'العرض',
'shortcuts.group.general': 'عام',
@@ -4566,7 +4565,6 @@ const messages: TranslationMap = {
'settings.cron.jobs.formSessionIsolated': 'معزول (موصى به)',
'settings.cron.jobs.formSessionMain': 'الجلسة الرئيسية',
'settings.cron.jobs.formSessionTarget': 'هدف الجلسة',
- 'شغّل هذه المهمة بالملف المحدد، مستخدمًا روحه وذاكرته ومساحة عمله.',
'settings.cron.jobs.lastStatus': 'آخر حالة',
'settings.cron.jobs.loading': 'جارٍ تحميل مهام cron...',
'settings.cron.jobs.loadingRuns': 'جارٍ تحميل عمليات التشغيل',
diff --git a/app/src/lib/i18n/bn.ts b/app/src/lib/i18n/bn.ts
index d6a4faf286..ce3420f60a 100644
--- a/app/src/lib/i18n/bn.ts
+++ b/app/src/lib/i18n/bn.ts
@@ -3178,7 +3178,6 @@ const messages: TranslationMap = {
'shortcuts.empty': 'এই মুহূর্তে কোনো কীবোর্ড শর্টকাট উপলব্ধ নেই।',
'shortcuts.openHint': 'যেকোনো সময় এই তালিকা খুলুন',
'shortcuts.group.navigation': 'নেভিগেশন',
- 'shortcuts.group.profiles': 'প্রোফাইল',
'shortcuts.group.chat': 'চ্যাট',
'shortcuts.group.view': 'ভিউ',
'shortcuts.group.general': 'সাধারণ',
diff --git a/app/src/lib/i18n/de.ts b/app/src/lib/i18n/de.ts
index 8738267d1e..1b38be5263 100644
--- a/app/src/lib/i18n/de.ts
+++ b/app/src/lib/i18n/de.ts
@@ -3272,7 +3272,6 @@ const messages: TranslationMap = {
'shortcuts.empty': 'Derzeit sind keine Tastenkürzel verfügbar.',
'shortcuts.openHint': 'Diese Liste jederzeit öffnen mit',
'shortcuts.group.navigation': 'Navigation',
- 'shortcuts.group.profiles': 'Profile',
'shortcuts.group.chat': 'Chat',
'shortcuts.group.view': 'Ansicht',
'shortcuts.group.general': 'Allgemein',
diff --git a/app/src/lib/i18n/en.ts b/app/src/lib/i18n/en.ts
index e9aa38fb5e..ad9cf947e1 100644
--- a/app/src/lib/i18n/en.ts
+++ b/app/src/lib/i18n/en.ts
@@ -3603,7 +3603,6 @@ const en: TranslationMap = {
'shortcuts.empty': 'No keyboard shortcuts are available right now.',
'shortcuts.openHint': 'Open this list anytime with',
'shortcuts.group.navigation': 'Navigation',
- 'shortcuts.group.profiles': 'Profiles',
'shortcuts.group.chat': 'Chat',
'shortcuts.group.view': 'View',
'shortcuts.group.general': 'General',
@@ -5393,7 +5392,6 @@ const en: TranslationMap = {
'settings.cron.jobs.formScheduleRequired': 'Schedule is required',
'settings.cron.jobs.formScheduleType': 'Schedule type',
'settings.cron.jobs.formSessionIsolated': 'Isolated (recommended)',
- 'Run this job as the selected profile, using its soul, memory, and workspace.',
'settings.cron.jobs.formSessionMain': 'Main session',
'settings.cron.jobs.formSessionTarget': 'Session target',
'settings.cron.jobs.lastStatus': 'Last status',
diff --git a/app/src/lib/i18n/es.ts b/app/src/lib/i18n/es.ts
index c9cd27229c..7e9b2b7768 100644
--- a/app/src/lib/i18n/es.ts
+++ b/app/src/lib/i18n/es.ts
@@ -3238,7 +3238,6 @@ const messages: TranslationMap = {
'shortcuts.empty': 'No hay atajos de teclado disponibles en este momento.',
'shortcuts.openHint': 'Abre esta lista en cualquier momento con',
'shortcuts.group.navigation': 'Navegación',
- 'shortcuts.group.profiles': 'Perfiles',
'shortcuts.group.chat': 'Chat',
'shortcuts.group.view': 'Vista',
'shortcuts.group.general': 'General',
@@ -4761,7 +4760,6 @@ const messages: TranslationMap = {
'settings.cron.jobs.formSessionIsolated': 'Aislada (recomendado)',
'settings.cron.jobs.formSessionMain': 'Sesión principal',
'settings.cron.jobs.formSessionTarget': 'Sesión de destino',
- 'Ejecuta esta tarea como el perfil seleccionado, usando su alma, memoria y espacio de trabajo.',
'settings.cron.jobs.lastStatus': 'Último estado',
'settings.cron.jobs.loading': 'Cargando tareas cron...',
'settings.cron.jobs.loadingRuns': 'Cargando ejecuciones',
diff --git a/app/src/lib/i18n/fr.ts b/app/src/lib/i18n/fr.ts
index e54efa57c0..b854b0ff79 100644
--- a/app/src/lib/i18n/fr.ts
+++ b/app/src/lib/i18n/fr.ts
@@ -3264,7 +3264,6 @@ const messages: TranslationMap = {
'shortcuts.empty': 'Aucun raccourci clavier n’est disponible pour le moment.',
'shortcuts.openHint': 'Ouvrez cette liste à tout moment avec',
'shortcuts.group.navigation': 'Navigation',
- 'shortcuts.group.profiles': 'Profils',
'shortcuts.group.chat': 'Chat',
'shortcuts.group.view': 'Affichage',
'shortcuts.group.general': 'Général',
@@ -4790,7 +4789,6 @@ const messages: TranslationMap = {
'settings.cron.jobs.formSessionIsolated': 'Isolée (recommandé)',
'settings.cron.jobs.formSessionMain': 'Session principale',
'settings.cron.jobs.formSessionTarget': 'Session cible',
- 'Exécuter cette tâche avec le profil sélectionné, en utilisant son âme, sa mémoire et son espace de travail.',
'settings.cron.jobs.lastStatus': 'Dernier statut',
'settings.cron.jobs.loading': 'Chargement des tâches cron…',
'settings.cron.jobs.loadingRuns': 'Chargement des exécutions',
diff --git a/app/src/lib/i18n/hi.ts b/app/src/lib/i18n/hi.ts
index 63d3986176..af4140c548 100644
--- a/app/src/lib/i18n/hi.ts
+++ b/app/src/lib/i18n/hi.ts
@@ -3181,7 +3181,6 @@ const messages: TranslationMap = {
'shortcuts.empty': 'अभी कोई कीबोर्ड शॉर्टकट उपलब्ध नहीं है।',
'shortcuts.openHint': 'इस सूची को कभी भी इससे खोलें',
'shortcuts.group.navigation': 'नेविगेशन',
- 'shortcuts.group.profiles': 'प्रोफ़ाइल',
'shortcuts.group.chat': 'चैट',
'shortcuts.group.view': 'व्यू',
'shortcuts.group.general': 'सामान्य',
@@ -4679,7 +4678,6 @@ const messages: TranslationMap = {
'settings.cron.jobs.formSessionIsolated': 'पृथक (अनुशंसित)',
'settings.cron.jobs.formSessionMain': 'मुख्य सत्र',
'settings.cron.jobs.formSessionTarget': 'सत्र लक्ष्य',
- 'इस कार्य को चयनित प्रोफ़ाइल के रूप में चलाएँ, उसकी पहचान, स्मृति और कार्यस्थान का उपयोग करते हुए।',
'settings.cron.jobs.lastStatus': 'आखिरी स्टेटस',
'settings.cron.jobs.loading': 'Cron jobs लोड हो रही हैं...',
'settings.cron.jobs.loadingRuns': 'रन लोड हो रहे हैं',
diff --git a/app/src/lib/i18n/id.ts b/app/src/lib/i18n/id.ts
index 60cecf97d0..1f51d74c65 100644
--- a/app/src/lib/i18n/id.ts
+++ b/app/src/lib/i18n/id.ts
@@ -3195,7 +3195,6 @@ const messages: TranslationMap = {
'shortcuts.empty': 'Tidak ada pintasan keyboard yang tersedia saat ini.',
'shortcuts.openHint': 'Buka daftar ini kapan saja dengan',
'shortcuts.group.navigation': 'Navigasi',
- 'shortcuts.group.profiles': 'Profil',
'shortcuts.group.chat': 'Chat',
'shortcuts.group.view': 'Tampilan',
'shortcuts.group.general': 'Umum',
@@ -4703,7 +4702,6 @@ const messages: TranslationMap = {
'settings.cron.jobs.formSessionIsolated': 'Terisolasi (disarankan)',
'settings.cron.jobs.formSessionMain': 'Sesi utama',
'settings.cron.jobs.formSessionTarget': 'Target sesi',
- 'Jalankan tugas ini sebagai profil yang dipilih, menggunakan jiwa, memori, dan ruang kerjanya.',
'settings.cron.jobs.lastStatus': 'Status terakhir',
'settings.cron.jobs.loading': 'Memuat cron job...',
'settings.cron.jobs.loadingRuns': 'Memuat run',
diff --git a/app/src/lib/i18n/it.ts b/app/src/lib/i18n/it.ts
index 9b96c802d8..8261d0ea04 100644
--- a/app/src/lib/i18n/it.ts
+++ b/app/src/lib/i18n/it.ts
@@ -3233,7 +3233,6 @@ const messages: TranslationMap = {
'shortcuts.empty': 'Al momento non è disponibile alcuna scorciatoia da tastiera.',
'shortcuts.openHint': 'Apri questo elenco in qualsiasi momento con',
'shortcuts.group.navigation': 'Navigazione',
- 'shortcuts.group.profiles': 'Profili',
'shortcuts.group.chat': 'Chat',
'shortcuts.group.view': 'Vista',
'shortcuts.group.general': 'Generale',
@@ -4750,7 +4749,6 @@ const messages: TranslationMap = {
'settings.cron.jobs.formSessionIsolated': 'Isolata (consigliata)',
'settings.cron.jobs.formSessionMain': 'Sessione principale',
'settings.cron.jobs.formSessionTarget': 'Sessione di destinazione',
- 'Esegui questo lavoro come il profilo selezionato, usando la sua anima, memoria e spazio di lavoro.',
'settings.cron.jobs.lastStatus': 'Ultimo stato',
'settings.cron.jobs.loading': 'Caricamento cron job...',
'settings.cron.jobs.loadingRuns': 'Caricamento esecuzioni',
diff --git a/app/src/lib/i18n/ko.ts b/app/src/lib/i18n/ko.ts
index 9425b71261..5523775f4e 100644
--- a/app/src/lib/i18n/ko.ts
+++ b/app/src/lib/i18n/ko.ts
@@ -3144,7 +3144,6 @@ const messages: TranslationMap = {
'shortcuts.empty': '현재 사용할 수 있는 키보드 단축키가 없습니다.',
'shortcuts.openHint': '언제든지 이 목록을 여는 방법:',
'shortcuts.group.navigation': '탐색',
- 'shortcuts.group.profiles': '프로필',
'shortcuts.group.chat': '채팅',
'shortcuts.group.view': '보기',
'shortcuts.group.general': '일반',
@@ -4624,7 +4623,6 @@ const messages: TranslationMap = {
'settings.cron.jobs.formSessionIsolated': '격리됨 (권장)',
'settings.cron.jobs.formSessionMain': '메인 세션',
'settings.cron.jobs.formSessionTarget': '세션 대상',
- '선택한 프로필로 이 작업을 실행하며, 해당 프로필의 정체성, 메모리, 작업 공간을 사용합니다.',
'settings.cron.jobs.lastStatus': '마지막 상태',
'settings.cron.jobs.loading': 'cron 작업 불러오는 중...',
'settings.cron.jobs.loadingRuns': '실행 기록 불러오는 중',
diff --git a/app/src/lib/i18n/pl.ts b/app/src/lib/i18n/pl.ts
index 3df61a4256..1005d855bc 100644
--- a/app/src/lib/i18n/pl.ts
+++ b/app/src/lib/i18n/pl.ts
@@ -3221,7 +3221,6 @@ const messages: TranslationMap = {
'shortcuts.empty': 'Obecnie brak dostępnych skrótów klawiszowych.',
'shortcuts.openHint': 'Otwórz tę listę w dowolnej chwili za pomocą',
'shortcuts.group.navigation': 'Nawigacja',
- 'shortcuts.group.profiles': 'Profile',
'shortcuts.group.chat': 'Czat',
'shortcuts.group.view': 'Widok',
'shortcuts.group.general': 'Ogólne',
@@ -4752,7 +4751,6 @@ const messages: TranslationMap = {
'settings.cron.jobs.formSessionIsolated': 'Izolowana (zalecane)',
'settings.cron.jobs.formSessionMain': 'Sesja główna',
'settings.cron.jobs.formSessionTarget': 'Docelowa sesja',
- 'Uruchom to zadanie jako wybrany profil, korzystając z jego duszy, pamięci i przestrzeni roboczej.',
'settings.cron.jobs.lastStatus': 'Ostatni status',
'settings.cron.jobs.loading': 'Wczytywanie zadań cron...',
'settings.cron.jobs.loadingRuns': 'Wczytywanie uruchomień',
diff --git a/app/src/lib/i18n/pt.ts b/app/src/lib/i18n/pt.ts
index 91b45a99e2..190430a4fa 100644
--- a/app/src/lib/i18n/pt.ts
+++ b/app/src/lib/i18n/pt.ts
@@ -3233,7 +3233,6 @@ const messages: TranslationMap = {
'shortcuts.empty': 'Nenhum atalho de teclado disponível no momento.',
'shortcuts.openHint': 'Abra esta lista a qualquer momento com',
'shortcuts.group.navigation': 'Navegação',
- 'shortcuts.group.profiles': 'Perfis',
'shortcuts.group.chat': 'Chat',
'shortcuts.group.view': 'Visualização',
'shortcuts.group.general': 'Geral',
@@ -4747,7 +4746,6 @@ const messages: TranslationMap = {
'settings.cron.jobs.formSessionIsolated': 'Isolada (recomendada)',
'settings.cron.jobs.formSessionMain': 'Sessão principal',
'settings.cron.jobs.formSessionTarget': 'Sessão de destino',
- 'Execute esta tarefa como o perfil selecionado, usando sua alma, memória e espaço de trabalho.',
'settings.cron.jobs.lastStatus': 'Último status',
'settings.cron.jobs.loading': 'Carregando tarefas cron...',
'settings.cron.jobs.loadingRuns': 'Carregando execuções',
diff --git a/app/src/lib/i18n/ru.ts b/app/src/lib/i18n/ru.ts
index 0b25a120ac..f0efbb582b 100644
--- a/app/src/lib/i18n/ru.ts
+++ b/app/src/lib/i18n/ru.ts
@@ -3207,7 +3207,6 @@ const messages: TranslationMap = {
'shortcuts.empty': 'Сейчас нет доступных горячих клавиш.',
'shortcuts.openHint': 'Откройте этот список в любой момент с помощью',
'shortcuts.group.navigation': 'Навигация',
- 'shortcuts.group.profiles': 'Профили',
'shortcuts.group.chat': 'Чат',
'shortcuts.group.view': 'Вид',
'shortcuts.group.general': 'Общие',
@@ -4725,7 +4724,6 @@ const messages: TranslationMap = {
'settings.cron.jobs.formSessionIsolated': 'Изолированная (рекомендуется)',
'settings.cron.jobs.formSessionMain': 'Основная сессия',
'settings.cron.jobs.formSessionTarget': 'Целевая сессия',
- 'Запускать эту задачу от выбранного профиля, используя его душу, память и рабочее пространство.',
'settings.cron.jobs.lastStatus': 'Последний статус',
'settings.cron.jobs.loading': 'Загрузка заданий...',
'settings.cron.jobs.loadingRuns': 'Загрузка запусков',
diff --git a/app/src/lib/i18n/zh-CN.ts b/app/src/lib/i18n/zh-CN.ts
index c2fe74359b..2e8b61b521 100644
--- a/app/src/lib/i18n/zh-CN.ts
+++ b/app/src/lib/i18n/zh-CN.ts
@@ -2997,7 +2997,6 @@ const messages: TranslationMap = {
'shortcuts.empty': '当前没有可用的键盘快捷键。',
'shortcuts.openHint': '随时可用以下按键打开此列表',
'shortcuts.group.navigation': '导航',
- 'shortcuts.group.profiles': '配置文件',
'shortcuts.group.chat': '聊天',
'shortcuts.group.view': '视图',
'shortcuts.group.general': '常规',
diff --git a/app/test/e2e/specs/navigation-smoothness.spec.ts b/app/test/e2e/specs/navigation-smoothness.spec.ts
index a85970fda0..0a7f85f9ba 100644
--- a/app/test/e2e/specs/navigation-smoothness.spec.ts
+++ b/app/test/e2e/specs/navigation-smoothness.spec.ts
@@ -33,7 +33,7 @@ interface RouteCheck {
}
const ROUTES: RouteCheck[] = [
- // Chat composer header: "New" thread button, agent-profile "Reasoning" pill.
+ // Chat composer header: "New" thread button and the "Reasoning" pill.
{ hash: '/chat', markers: ['New', 'Chat', 'Message', 'Reasoning', 'Your assistant is ready'] },
// Connections page (was /skills) — tabs: Apps, Messaging, Tools, Explorer
{ hash: '/connections', markers: ['Apps', 'Messaging', 'Tools', 'Connections'] },
diff --git a/crates/openhuman-core/src/agent/README.md b/crates/openhuman-core/src/agent/README.md
index a68ef058e1..81de5c17c0 100644
--- a/crates/openhuman-core/src/agent/README.md
+++ b/crates/openhuman-core/src/agent/README.md
@@ -46,7 +46,7 @@ Flat files: `bus.rs` (`agent.run_turn` native request handler), `cost.rs` (`pub(
## RPC namespaces owned by this tree
-`agent`, `agent_registry`, `profiles`, `harness_init`, `session_import`, `plan_review`, `run_ledger` (session_db), `agent_experience` (experience), `ai` (artifacts), `learning`, `agent_team`, `agent_work` (orchestration/command_center), `workflow_run`, `worktree`, `subagent` (orchestration/subagent_control) — all registered under `DomainGroup::Agent` in `core/all.rs`.
+`agent`, `agent_registry`, `harness_init`, `session_import`, `plan_review`, `run_ledger` (session_db), `agent_experience` (experience), `ai` (artifacts), `learning`, `agent_team`, `agent_work` (orchestration/command_center), `workflow_run`, `worktree`, `subagent` (orchestration/subagent_control) — all registered under `DomainGroup::Agent` in `core/all.rs`.
`crate::rpc` is `pub use openhuman_rpc as rpc` in `lib.rs`; shared RPC contracts, response decoding, and the HTTP client live in the separate `crates/openhuman-rpc` crate, not under `agent/`.
@@ -71,7 +71,7 @@ Flat files: `bus.rs` (`agent.run_turn` native request handler), `cost.rs` (`pub(
- `crates/openhuman-core/src/agent/learning/{reflection,tool_tracker,user_profile}.rs` — read transcripts + tool outcomes.
- `crates/openhuman-core/src/agent/orchestration/tools/{dispatch,spawn_subagent}.rs` — `spawn_subagent` tool delegates to `harness::subagent_runner`.
- `crates/openhuman-core/src/core/runtime/services.rs` — starts `agent::task_dispatcher::start_board_poller` and runs `agent::harness_init::run_harness_init` during core startup.
-- `crates/openhuman-core/src/core/all.rs` — controller registry wires all `agent`, `agent_registry`, `profiles`, `harness_init`, `plan_review`, `artifacts`, `experience`, `learning`, `session_db`, `session_import`, and `orchestration` controllers under `DomainGroup::Agent`.
+- `crates/openhuman-core/src/core/all.rs` — controller registry wires all `agent`, `agent_registry`, `harness_init`, `plan_review`, `artifacts`, `experience`, `learning`, `session_db`, `session_import`, and `orchestration` controllers under `DomainGroup::Agent`.
## Tests
diff --git a/crates/openhuman-core/src/agent/harness/session/runtime/accessors.rs b/crates/openhuman-core/src/agent/harness/session/runtime/accessors.rs
index eb099c32b0..4bf08e8847 100644
--- a/crates/openhuman-core/src/agent/harness/session/runtime/accessors.rs
+++ b/crates/openhuman-core/src/agent/harness/session/runtime/accessors.rs
@@ -367,9 +367,8 @@ impl Agent {
/// [`agent_chat`](crate::inference::host_runtime::ops::agent_chat).
///
/// The descriptor is threaded onto the turn's run context, so it also
- /// propagates to sub-agents spawned from this session (the same deliberate
- /// isolation the per-profile descriptor has). `None` restores the shared
- /// `action_dir` cwd.
+ /// propagates to sub-agents spawned from this session. `None` restores the
+ /// shared `action_dir` cwd.
///
/// This only moves the *default* cwd: what the session may read and write is
/// still decided by its [`SecurityPolicy`](crate::security::SecurityPolicy),
diff --git a/crates/openhuman-core/src/agent/harness/session/turn/core/harness_turn.rs b/crates/openhuman-core/src/agent/harness/session/turn/core/harness_turn.rs
index 78a72ab6f8..552c0d174e 100644
--- a/crates/openhuman-core/src/agent/harness/session/turn/core/harness_turn.rs
+++ b/crates/openhuman-core/src/agent/harness/session/turn/core/harness_turn.rs
@@ -182,9 +182,9 @@ impl Agent {
channel: self.event_channel().to_string(),
agent_definition_id: self.agent_definition_id.clone(),
}),
- // Section D: forward the session's per-profile workspace
- // descriptor (if any) so the top-level chat turn's acting
- // tools default their cwd to the profile's dedicated dir.
+ // Section D: forward the session's turn workspace descriptor (if
+ // any) so the top-level chat turn's acting tools use its root as
+ // their default cwd.
workspace_descriptor: self.workspace_descriptor.clone(),
// Scope direct Master-Agent calls under its declared
// sandbox. `agent_definition_name` can carry a thread
diff --git a/crates/openhuman-core/src/agent/harness/session/types.rs b/crates/openhuman-core/src/agent/harness/session/types.rs
index 8c4b52164c..86a22395e3 100644
--- a/crates/openhuman-core/src/agent/harness/session/types.rs
+++ b/crates/openhuman-core/src/agent/harness/session/types.rs
@@ -168,11 +168,10 @@ pub struct Agent {
pub(super) temperature: f64,
pub(super) workspace_dir: std::path::PathBuf,
pub(super) action_dir: std::path::PathBuf,
- /// Optional per-profile workspace descriptor. When set (a profile with
- /// `dedicated_workspace` opted in), it is threaded into the top-level chat
- /// turn so acting tools (shell/file/git) resolve their default cwd to
- /// `<action_dir>/profiles/<id>` instead of the shared `action_dir`. `None`
- /// (the common case) preserves the shared-cwd behaviour unchanged.
+ /// Optional turn workspace descriptor. When set by an embedder, it is
+ /// threaded into the top-level chat turn so acting tools (shell/file/git)
+ /// resolve their default cwd to its root. `None` preserves the shared
+ /// `action_dir` cwd behaviour.
pub(super) workspace_descriptor: Option<tinytools::WorkspaceDescriptor>,
pub(super) workflows: Vec<crate::skills::Workflow>,
/// Agent workflows discovered at session start.
@@ -521,8 +520,8 @@ pub struct AgentBuilder {
pub(super) temperature: Option<f64>,
pub(super) workspace_dir: Option<std::path::PathBuf>,
pub(super) action_dir: Option<std::path::PathBuf>,
- /// Optional per-profile workspace descriptor forwarded to [`Agent`] at build
- /// time. Defaults to `None` (shared `action_dir` cwd).
+ /// Optional turn workspace descriptor forwarded to [`Agent`] at build time.
+ /// Defaults to `None` (shared `action_dir` cwd).
pub(super) workspace_descriptor: Option<tinytools::WorkspaceDescriptor>,
pub(super) workflows: Option<Vec<crate::skills::Workflow>>,
/// Agent workflows to surface in the prompt. Populated from `load_workflows`
diff --git a/crates/openhuman-core/src/channels/system_prompt.rs b/crates/openhuman-core/src/channels/system_prompt.rs
index 0053c50b91..020c418054 100644
--- a/crates/openhuman-core/src/channels/system_prompt.rs
+++ b/crates/openhuman-core/src/channels/system_prompt.rs
@@ -4,12 +4,10 @@
//! Two defects lived in the old `Arc<String>`:
//!
//! - **#6027** — the native channel runtime rendered its prompt from the
-//! workspace-root `SOUL.md` and never consulted the active agent profile,
-//! so a user who picked a personality got it in desktop chat and the stock
-//! voice on every bot-token channel (the managed-DM path goes through
-//! `web_chat` and did apply it).
+//! workspace-root identity files and did not refresh their contents, so
+//! channel replies could use stale identity context after an edit.
//! - **#6028** — the prompt was rendered once in `start_channels` and kept
-//! for the life of the process, so a profile switch, a `SOUL.md` edit or
+//! for the life of the process, so a `SOUL.md` edit or
//! the archivist writing `MEMORY.md` stayed invisible until restart.
//!
//! [`ChannelSystemPrompt::refreshing`] keeps the *inputs* of the render (tool
@@ -56,7 +54,7 @@ pub(crate) struct ChannelPromptInputs {
pub(crate) struct ChannelIdentity {}
impl ChannelIdentity {
- /// The identity a workspace has with no usable profile store: the root files.
+ /// The identity represented by the workspace-root files.
fn root() -> Self {
Self {}
}
diff --git a/crates/openhuman-core/src/memory/tools/search/chunk_context.rs b/crates/openhuman-core/src/memory/tools/search/chunk_context.rs
index dbb236a15e..75826ea464 100644
--- a/crates/openhuman-core/src/memory/tools/search/chunk_context.rs
+++ b/crates/openhuman-core/src/memory/tools/search/chunk_context.rs
@@ -103,12 +103,12 @@ impl Tool for MemoryChunkContextTool {
let source_id = target.metadata.source_id.clone();
let source_kind = target.metadata.source_kind;
- // Per-profile memory-source gate: if the target chunk belongs to a
- // source the active profile didn't allow, surface nothing (its window
- // shares the same source). Non-source chunks always pass.
+ // Source-scope gate: if the target chunk belongs to a source that the
+ // active turn did not allow, surface nothing (its window shares the
+ // same source). Non-source chunks always pass.
if !crate::memory::source_scope::chunk_source_allowed(&target.metadata.tags, &source_id) {
return Ok(ToolResult::success(
- "Chunk is from a memory source not available to the active agent profile.",
+ "Chunk is from a memory source not available to this turn.",
));
}
diff --git a/crates/openhuman-core/src/web_chat/web_tests.rs b/crates/openhuman-core/src/web_chat/web_tests.rs
index b321019644..cc8fabc1e9 100644
--- a/crates/openhuman-core/src/web_chat/web_tests.rs
+++ b/crates/openhuman-core/src/web_chat/web_tests.rs
@@ -65,7 +65,6 @@ fn fp(
provider_binding: provider_binding.to_string(),
autonomy_signature: "sig-default".to_string(),
model_registry_signature: "registry-default".to_string(),
- profile_signature: "profile-default".to_string(),
}
}
diff --git a/crates/openhuman-core/src/web_chat/web_tests_error_code_classification_tests.rs b/crates/openhuman-core/src/web_chat/web_tests_error_code_classification_tests.rs
index fb0c8f9735..d17cffbacc 100644
--- a/crates/openhuman-core/src/web_chat/web_tests_error_code_classification_tests.rs
+++ b/crates/openhuman-core/src/web_chat/web_tests_error_code_classification_tests.rs
@@ -611,21 +611,6 @@ fn fingerprint_model_registry_change_is_cache_miss() {
);
}
-#[test]
-fn fingerprint_profile_change_is_cache_miss() {
- // Switching the active agent profile on the same thread keeps the same
- // model/agent/provider, so without the profile signature the previous
- // profile's tool/skill/MCP/connector visibility would leak into the new
- // profile's turns. A different profile signature must force a rebuild.
- let base = fp(None, None, "orchestrator", "anthropic:claude-sonnet-4-6");
- let mut changed = fp(None, None, "orchestrator", "anthropic:claude-sonnet-4-6");
- changed.profile_signature = "profile-after-switch".to_string();
- assert_ne!(
- base, changed,
- "a different profile signature must produce a cache miss → rebuild"
- );
-}
-
#[test]
fn fingerprint_identical_inputs_are_cache_hit() {
let a = fp(None, None, "orchestrator", "anthropic:claude-sonnet-4-6");
diff --git a/tests/json_rpc_e2e.rs b/tests/json_rpc_e2e.rs
index 0981b2f6c5..06aa0f5349 100644
--- a/tests/json_rpc_e2e.rs
+++ b/tests/json_rpc_e2e.rs
@@ -11620,7 +11620,7 @@ async fn json_rpc_channel_web_chat_with_speak_reply_invokes_reply_speech_inner()
rpc_join.abort();
}
-// ── Model resolution + agent profile switching ──────────────────────────
+// ── Model resolution and voice settings ─────────────────────────────────
/// E2E: voice-server settings round-trip over JSON-RPC — Phase 2 always-on
/// toggle + "Hey Tiny" wake word. Regression guard for the bug where the