From 76f73243ebd3af8e6d05ff0ff6dc6e1a91140296 Mon Sep 17 00:00:00 2001 From: Lex Christopherson Date: Mon, 16 Mar 2026 14:32:21 -0600 Subject: [PATCH] fix: handle undefined return from ctx.ui.input in forensics Co-Authored-By: Claude Opus 4.6 (1M context) --- src/resources/extensions/gsd/forensics.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resources/extensions/gsd/forensics.ts b/src/resources/extensions/gsd/forensics.ts index 2743debd7..df518bb13 100644 --- a/src/resources/extensions/gsd/forensics.ts +++ b/src/resources/extensions/gsd/forensics.ts @@ -98,7 +98,7 @@ export async function handleForensics( problemDescription = await ctx.ui.input( "Describe what went wrong:", "e.g. auto-mode got stuck on task T03", - ); + ) ?? ""; } if (!problemDescription?.trim()) { ctx.ui.notify("Problem description required for forensic analysis.", "warning");