From c99e87ff9b2b6260839855e091839414cf40edc6 Mon Sep 17 00:00:00 2001 From: axiomlogicnexus Date: Mon, 27 Apr 2026 17:27:06 +0200 Subject: [PATCH] Prefer follow-up continuation from coach memory --- .../HyperTwistTraining/HyperTwistTrainingSubsystem.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Private/HyperTwistTraining/HyperTwistTrainingSubsystem.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Private/HyperTwistTraining/HyperTwistTrainingSubsystem.cpp index 2e64b63..fe8db08 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Private/HyperTwistTraining/HyperTwistTrainingSubsystem.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Private/HyperTwistTraining/HyperTwistTrainingSubsystem.cpp @@ -2184,7 +2184,15 @@ void UHyperTwistTrainingSubsystem::RefreshRepositoryViews() ActiveRecognitionReplaySummary ); ActiveCoachFollowUpBrief = ActiveCoachActionPlanOutcomeSummary.IsStructurallyValid() - && ActiveCoachActionClosureSummary.bShouldSpawnFollowUp + && ( + ActiveCoachActionClosureSummary.bShouldSpawnFollowUp + || ( + ActiveCoachMemorySnapshot.PreferredGuidanceLane == EHyperTwistTrainingCoachGuidanceLane::FollowUp + && ActiveCoachActionPlanOutcomeSummary.bNeedsFollowUpPlan + && !ActiveCoachActionSequenceSummary.bHasOpenPlan + && !ActiveCoachActionClosureSummary.bNeedsEscalation + ) + ) ? UHyperTwistTrainingCoachLibrary::DeriveCoachFollowUpBrief( ActiveCoachBrief, ActiveCoachActionPlan,