chore(telemetry): loosen error normalization to preserve status codes and line numbers for accurate verification signatures

This commit is contained in:
2026-06-10 11:12:29 -07:00
parent d433da56f9
commit 019211ecce

View File

@@ -49,7 +49,7 @@ type AgentPhase =
const TOOL_BUDGETS: Record<TurnIntent, number> = {
conversational: 1, // Must be at least 1 so the LLM gets called for a text reply
status_check: 2,
status_check: 5,
diagnose: 8,
small_fix: 18,
feature_build: 40,
@@ -905,6 +905,7 @@ export async function POST(request: Request) {
}
const firstMessageIsConversational =
activeMcpToken !== undefined && // tools available
turnIntent === "conversational" && // ONLY block tools on pure conversational intents!
isConversational(message.trim());
let lastVerifySig: string | null = null;