From 5d0dbbbe922b55e7cd6a5e79ba323dab871cb8ff Mon Sep 17 00:00:00 2001 From: Mikhail Date: Tue, 25 Aug 2026 04:14:57 +0300 Subject: [PATCH] Preserve deterministic conversational drafts --- cmd/core-runtime/main.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cmd/core-runtime/main.go b/cmd/core-runtime/main.go index b363746..acec80c 100644 --- a/cmd/core-runtime/main.go +++ b/cmd/core-runtime/main.go @@ -571,6 +571,8 @@ func main() { semantic.Interpretation.Applicability = interaction.SemanticApplicable semantic.Interpretation.Clarification = interaction.ClarificationNotRequired } + deterministicSpeechAct := semantic.Interpretation.SpeechAct + deterministicReply := semantic.Reply routePlan := buildChatRoutePlan(semantic) cognitiveAttempted := false cognitiveAvailable := true @@ -629,7 +631,7 @@ func main() { activeFocusName = previousFocus.ProjectDisplayName activeFocusProvenance = previousFocus.Provenance } - planningReply := semantic.Reply + planningReply := deterministicReply workPlanned := false needsCognition := semantic.NeedsCognition projectID := "" @@ -802,7 +804,7 @@ func main() { ConfidenceMillis: semantic.Interpretation.ConfidenceMillis, }) cancelReview() - stableSemanticReply := identityReply != "" || semantic.Interpretation.SpeechAct == interaction.SpeechActConversational || semantic.Interpretation.SpeechAct == interaction.SpeechActConfirmation || semantic.Interpretation.SpeechAct == interaction.SpeechActRejection + stableSemanticReply := identityReply != "" || deterministicSpeechAct == interaction.SpeechActConversational || deterministicSpeechAct == interaction.SpeechActConfirmation || deterministicSpeechAct == interaction.SpeechActRejection if reviewErr != nil { log.Printf("cognitive response review unavailable: %v", reviewErr) } else if !stableSemanticReply { -- 2.54.0