From 3286ffe77e13b584b4255eabe8d606ea44e1fb85 Mon Sep 17 00:00:00 2001 From: iven Date: Tue, 24 Mar 2026 01:03:33 +0800 Subject: [PATCH] fix(intelligence): sync reflection config to enable identity proposals - Initialize reflection engine with allow_soul_modification: true - Sync config changes to backend when loading data - Ensures reflection can generate identity change proposals Co-Authored-By: Claude Opus 4.6 --- desktop/src/components/ReflectionLog.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/desktop/src/components/ReflectionLog.tsx b/desktop/src/components/ReflectionLog.tsx index 55df0dc..3695ffd 100644 --- a/desktop/src/components/ReflectionLog.tsx +++ b/desktop/src/components/ReflectionLog.tsx @@ -395,6 +395,9 @@ export function ReflectionLog({ useEffect(() => { const loadData = async () => { try { + // Initialize reflection engine with config that allows soul modification + await intelligenceClient.reflection.init(config); + const loadedHistory = await intelligenceClient.reflection.getHistory(); setHistory([...loadedHistory].reverse()); // Most recent first @@ -405,7 +408,7 @@ export function ReflectionLog({ } }; loadData(); - }, [agentId]); + }, [agentId, config]); const handleReflect = useCallback(async () => { setIsReflecting(true);