From afe6f182cab38042830478a15ddd740fc6624e51 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sat, 10 Jan 2026 03:10:01 +0100 Subject: [PATCH] feat: show effective config in /debug --- src/auto-reply/reply/commands.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/auto-reply/reply/commands.ts b/src/auto-reply/reply/commands.ts index 525b284ec..12c24d067 100644 --- a/src/auto-reply/reply/commands.ts +++ b/src/auto-reply/reply/commands.ts @@ -783,11 +783,13 @@ export async function handleCommands(params: { reply: { text: "⚙️ Debug overrides: (none)" }, }; } + const effectiveConfig = cfg ?? {}; const json = JSON.stringify(overrides, null, 2); + const effectiveJson = JSON.stringify(effectiveConfig, null, 2); return { shouldContinue: false, reply: { - text: `⚙️ Debug overrides (memory-only):\n\`\`\`json\n${json}\n\`\`\``, + text: `⚙️ Debug overrides (memory-only):\n\`\`\`json\n${json}\n\`\`\`\n⚙️ Effective config (with overrides):\n\`\`\`json\n${effectiveJson}\n\`\`\``, }, }; }