feat: silence reflection subagent from primary agent context (#1221)

This commit is contained in:
Devansh Jain
2026-02-27 20:07:55 -08:00
committed by GitHub
parent 35962f7bc7
commit 27d145d0ea

View File

@@ -9358,6 +9358,13 @@ ${SYSTEM_REMINDER_CLOSE}
subagentType: "reflection",
prompt: AUTO_REFLECTION_PROMPT,
description: AUTO_REFLECTION_DESCRIPTION,
silentCompletion: true,
onComplete: ({ success, error }) => {
const msg = success
? "Reflected on /palace, the halls remember more now."
: `Tried to reflect, but got lost in the palace: ${error}`;
appendTaskNotificationEvents([msg]);
},
});
debugLog(
"memory",