diff --git a/extensions/active-memory/index.ts b/extensions/active-memory/index.ts index d795354cafa..f288f34b130 100644 --- a/extensions/active-memory/index.ts +++ b/extensions/active-memory/index.ts @@ -1199,7 +1199,7 @@ async function readActiveMemorySearchDebug( continue; } const details = asRecord(message.details); - const debug = asRecord(details?.debug); + const debug = asRecord(details?.debug) ?? {}; const warning = normalizeOptionalString(details?.warning); const action = normalizeOptionalString(details?.action); const error = normalizeOptionalString(details?.error); diff --git a/src/auto-reply/reply/commands-subagents-focus.test.ts b/src/auto-reply/reply/commands-subagents-focus.test.ts index d4e84495664..b2324ded3ae 100644 --- a/src/auto-reply/reply/commands-subagents-focus.test.ts +++ b/src/auto-reply/reply/commands-subagents-focus.test.ts @@ -165,6 +165,7 @@ function buildCommandParams(params?: { hasVerboseDirective: false, hasFastDirective: false, hasReasoningDirective: false, + hasTraceDirective: false, hasElevatedDirective: false, hasExecDirective: false, hasExecOptions: false, diff --git a/src/auto-reply/reply/commands-subagents-spawn-action.test.ts b/src/auto-reply/reply/commands-subagents-spawn-action.test.ts index 756137fbd42..b3810059c25 100644 --- a/src/auto-reply/reply/commands-subagents-spawn-action.test.ts +++ b/src/auto-reply/reply/commands-subagents-spawn-action.test.ts @@ -47,6 +47,7 @@ function buildContext(params?: { hasVerboseDirective: false, hasFastDirective: false, hasReasoningDirective: false, + hasTraceDirective: false, hasElevatedDirective: false, hasExecDirective: false, hasExecOptions: false,