diff --git a/UnrealHyperTwist/Source/UnrealHyperTwist/Private/HyperTwistTraining/HyperTwistTrainingRepositoryLibrary.cpp b/UnrealHyperTwist/Source/UnrealHyperTwist/Private/HyperTwistTraining/HyperTwistTrainingRepositoryLibrary.cpp index 28f03bd..effbbbf 100644 --- a/UnrealHyperTwist/Source/UnrealHyperTwist/Private/HyperTwistTraining/HyperTwistTrainingRepositoryLibrary.cpp +++ b/UnrealHyperTwist/Source/UnrealHyperTwist/Private/HyperTwistTraining/HyperTwistTrainingRepositoryLibrary.cpp @@ -4264,44 +4264,16 @@ namespace HyperTwistTrainingRepositoryLibraryInternal const bool bAlignedTightFollowUpGuidanceOutcomeSource = CoachMemorySnapshot.PreferredGuidanceSourceLabel == TEXT("recommendation-history-aligned-tight-follow-up-outcome") - || CoachMemorySnapshot.PreferredGuidanceSourceLabel - == TEXT("recommendation-history-accepted-aligned-tight-follow-up-packet-outcome") - || CoachMemorySnapshot.PreferredGuidanceSourceLabel - == TEXT("recommendation-history-accepted-aligned-tight-follow-up-packet-reliable-exact-branch-dependability") - || CoachMemorySnapshot.PreferredGuidanceSourceLabel - == TEXT("recommendation-history-accepted-aligned-tight-follow-up-packet-reliable-exact-branch-dependability-reliable") - || CoachMemorySnapshot.PreferredGuidanceSourceLabel - == TEXT("recommendation-history-accepted-aligned-tight-follow-up-packet-reliable-exact-branch-dependability-reliable-reliable") - || CoachMemorySnapshot.PreferredGuidanceSourceLabel - == TEXT("recommendation-history-accepted-aligned-tight-follow-up-packet-reliable-exact-branch-dependability-reliable-reliable-reliable") - || CoachMemorySnapshot.PreferredGuidanceSourceLabel - == TEXT("recommendation-history-accepted-aligned-tight-follow-up-packet-reliable-exact-branch-dependability-reliable-reliable-reliable-reliable") - || CoachMemorySnapshot.PreferredGuidanceSourceLabel - == TEXT("recommendation-history-accepted-aligned-tight-follow-up-packet-reliable-exact-branch-dependability-reliable-reliable-reliable-reliable-reliable") - || CoachMemorySnapshot.PreferredGuidanceSourceLabel - == TEXT("recommendation-history-accepted-aligned-tight-follow-up-packet-reliable-exact-branch-dependability-reliable-reliable-reliable-reliable-reliable-reliable") - || CoachMemorySnapshot.PreferredGuidanceSourceLabel - == TEXT("coach-memory-aligned-follow-up-packet-structure-tight-follow-up") + || HyperTwistTrainingRepositoryLibraryInternal::IsAcceptedAlignedTightFollowUpPacketOutcomeSource( + CoachMemorySnapshot.PreferredGuidanceSourceLabel) + || HyperTwistTrainingRepositoryLibraryInternal::IsAlignedTightFollowUpPacketStructureCoachMemorySource( + CoachMemorySnapshot.PreferredGuidanceSourceLabel) || CoachMemorySnapshot.PreferredCoachHandoffSourceLabel == TEXT("recommendation-history-aligned-tight-follow-up-outcome") - || CoachMemorySnapshot.PreferredCoachHandoffSourceLabel - == TEXT("recommendation-history-accepted-aligned-tight-follow-up-packet-outcome") - || CoachMemorySnapshot.PreferredCoachHandoffSourceLabel - == TEXT("recommendation-history-accepted-aligned-tight-follow-up-packet-reliable-exact-branch-dependability") - || CoachMemorySnapshot.PreferredCoachHandoffSourceLabel - == TEXT("recommendation-history-accepted-aligned-tight-follow-up-packet-reliable-exact-branch-dependability-reliable") - || CoachMemorySnapshot.PreferredCoachHandoffSourceLabel - == TEXT("recommendation-history-accepted-aligned-tight-follow-up-packet-reliable-exact-branch-dependability-reliable-reliable") - || CoachMemorySnapshot.PreferredCoachHandoffSourceLabel - == TEXT("recommendation-history-accepted-aligned-tight-follow-up-packet-reliable-exact-branch-dependability-reliable-reliable-reliable") - || CoachMemorySnapshot.PreferredCoachHandoffSourceLabel - == TEXT("recommendation-history-accepted-aligned-tight-follow-up-packet-reliable-exact-branch-dependability-reliable-reliable-reliable-reliable") - || CoachMemorySnapshot.PreferredCoachHandoffSourceLabel - == TEXT("recommendation-history-accepted-aligned-tight-follow-up-packet-reliable-exact-branch-dependability-reliable-reliable-reliable-reliable-reliable") - || CoachMemorySnapshot.PreferredCoachHandoffSourceLabel - == TEXT("recommendation-history-accepted-aligned-tight-follow-up-packet-reliable-exact-branch-dependability-reliable-reliable-reliable-reliable-reliable-reliable") - || CoachMemorySnapshot.PreferredCoachHandoffSourceLabel - == TEXT("coach-memory-aligned-follow-up-packet-structure-tight-follow-up") + || HyperTwistTrainingRepositoryLibraryInternal::IsAcceptedAlignedTightFollowUpPacketOutcomeSource( + CoachMemorySnapshot.PreferredCoachHandoffSourceLabel) + || HyperTwistTrainingRepositoryLibraryInternal::IsAlignedTightFollowUpPacketStructureCoachMemorySource( + CoachMemorySnapshot.PreferredCoachHandoffSourceLabel) || (CoachMemorySnapshot.PreferredGuidanceLane == EHyperTwistTrainingCoachGuidanceLane::FollowUp && CoachMemorySnapshot.ReliableAlignedTrustedTightFollowUpGuidanceOutcomeHistoryCount >= 2 @@ -4314,44 +4286,16 @@ namespace HyperTwistTrainingRepositoryLibraryInternal const bool bAlignedBroadRecommendedGuidanceOutcomeSource = CoachMemorySnapshot.PreferredGuidanceSourceLabel == TEXT("recommendation-history-aligned-broad-recommended-outcome") - || CoachMemorySnapshot.PreferredGuidanceSourceLabel - == TEXT("recommendation-history-accepted-aligned-broad-recommended-packet-outcome") - || CoachMemorySnapshot.PreferredGuidanceSourceLabel - == TEXT("recommendation-history-accepted-aligned-broad-recommended-packet-reliable-exact-branch-dependability") - || CoachMemorySnapshot.PreferredGuidanceSourceLabel - == TEXT("recommendation-history-accepted-aligned-broad-recommended-packet-reliable-exact-branch-dependability-reliable") - || CoachMemorySnapshot.PreferredGuidanceSourceLabel - == TEXT("recommendation-history-accepted-aligned-broad-recommended-packet-reliable-exact-branch-dependability-reliable-reliable") - || CoachMemorySnapshot.PreferredGuidanceSourceLabel - == TEXT("recommendation-history-accepted-aligned-broad-recommended-packet-reliable-exact-branch-dependability-reliable-reliable-reliable") - || CoachMemorySnapshot.PreferredGuidanceSourceLabel - == TEXT("recommendation-history-accepted-aligned-broad-recommended-packet-reliable-exact-branch-dependability-reliable-reliable-reliable-reliable") - || CoachMemorySnapshot.PreferredGuidanceSourceLabel - == TEXT("recommendation-history-accepted-aligned-broad-recommended-packet-reliable-exact-branch-dependability-reliable-reliable-reliable-reliable-reliable") - || CoachMemorySnapshot.PreferredGuidanceSourceLabel - == TEXT("recommendation-history-accepted-aligned-broad-recommended-packet-reliable-exact-branch-dependability-reliable-reliable-reliable-reliable-reliable-reliable") - || CoachMemorySnapshot.PreferredGuidanceSourceLabel - == TEXT("coach-memory-aligned-follow-up-packet-structure-broad-recommended") + || HyperTwistTrainingRepositoryLibraryInternal::IsAcceptedAlignedBroadRecommendedPacketOutcomeSource( + CoachMemorySnapshot.PreferredGuidanceSourceLabel) + || HyperTwistTrainingRepositoryLibraryInternal::IsAlignedBroadRecommendedPacketStructureCoachMemorySource( + CoachMemorySnapshot.PreferredGuidanceSourceLabel) || CoachMemorySnapshot.PreferredCoachHandoffSourceLabel == TEXT("recommendation-history-aligned-broad-recommended-outcome") - || CoachMemorySnapshot.PreferredCoachHandoffSourceLabel - == TEXT("recommendation-history-accepted-aligned-broad-recommended-packet-outcome") - || CoachMemorySnapshot.PreferredCoachHandoffSourceLabel - == TEXT("recommendation-history-accepted-aligned-broad-recommended-packet-reliable-exact-branch-dependability") - || CoachMemorySnapshot.PreferredCoachHandoffSourceLabel - == TEXT("recommendation-history-accepted-aligned-broad-recommended-packet-reliable-exact-branch-dependability-reliable") - || CoachMemorySnapshot.PreferredCoachHandoffSourceLabel - == TEXT("recommendation-history-accepted-aligned-broad-recommended-packet-reliable-exact-branch-dependability-reliable-reliable") - || CoachMemorySnapshot.PreferredCoachHandoffSourceLabel - == TEXT("recommendation-history-accepted-aligned-broad-recommended-packet-reliable-exact-branch-dependability-reliable-reliable-reliable") - || CoachMemorySnapshot.PreferredCoachHandoffSourceLabel - == TEXT("recommendation-history-accepted-aligned-broad-recommended-packet-reliable-exact-branch-dependability-reliable-reliable-reliable-reliable") - || CoachMemorySnapshot.PreferredCoachHandoffSourceLabel - == TEXT("recommendation-history-accepted-aligned-broad-recommended-packet-reliable-exact-branch-dependability-reliable-reliable-reliable-reliable-reliable") - || CoachMemorySnapshot.PreferredCoachHandoffSourceLabel - == TEXT("recommendation-history-accepted-aligned-broad-recommended-packet-reliable-exact-branch-dependability-reliable-reliable-reliable-reliable-reliable-reliable") - || CoachMemorySnapshot.PreferredCoachHandoffSourceLabel - == TEXT("coach-memory-aligned-follow-up-packet-structure-broad-recommended") + || HyperTwistTrainingRepositoryLibraryInternal::IsAcceptedAlignedBroadRecommendedPacketOutcomeSource( + CoachMemorySnapshot.PreferredCoachHandoffSourceLabel) + || HyperTwistTrainingRepositoryLibraryInternal::IsAlignedBroadRecommendedPacketStructureCoachMemorySource( + CoachMemorySnapshot.PreferredCoachHandoffSourceLabel) || (CoachMemorySnapshot.PreferredGuidanceLane == EHyperTwistTrainingCoachGuidanceLane::Recommended && CoachMemorySnapshot.ReliableAlignedTrustedBroadRecommendedGuidanceOutcomeHistoryCount >= 2 diff --git a/docs/ops/HYPERTWIST_REFACTORING_TOOLCHAIN_2026-06-22.md b/docs/ops/HYPERTWIST_REFACTORING_TOOLCHAIN_2026-06-22.md index 36692f3..0113081 100644 --- a/docs/ops/HYPERTWIST_REFACTORING_TOOLCHAIN_2026-06-22.md +++ b/docs/ops/HYPERTWIST_REFACTORING_TOOLCHAIN_2026-06-22.md @@ -1972,3 +1972,51 @@ Latest recommendation-history classifier helperization follow-up on summary bodies still remain real vanilla-refactor hotspots - the next worthwhile continuation remains another bounded training-repository seam instead of product-topology or renderer widening + +Latest coach-memory accepted-aligned guidance-source dedup follow-up on +`2026-06-30`: + +- the next same-family continuation then removed another copy of the same + accepted-aligned string ladder from the training-repository lane: + - rewired `bAlignedTightFollowUpGuidanceOutcomeSource` to use + `IsAcceptedAlignedTightFollowUpPacketOutcomeSource(...)` plus + `IsAlignedTightFollowUpPacketStructureCoachMemorySource(...)` + - rewired `bAlignedBroadRecommendedGuidanceOutcomeSource` to use + `IsAcceptedAlignedBroadRecommendedPacketOutcomeSource(...)` plus + `IsAlignedBroadRecommendedPacketStructureCoachMemorySource(...)` + - this keeps the same coach-memory preference truth while preventing the + accepted-aligned source family from drifting across private duplicate + ladders in the same file +- the HyperTwist-owned refactor loop stayed healthy on that exact native + packet: + - `scripts/run-hypertwist-sentrux-source-only.sh` + - `Quality: 6245` + - all `7` rules pass + - `scripts/run-hypertwist-sentrux-gate.sh` + - comparison result: + - `Quality: 6234 -> 6245` + - `Coupling: 0.15 -> 0.15` + - `Cycles: 0 -> 0` + - `God files: 1 -> 1` + - `No degradation detected` + - `scripts/run-hypertwist-gitnexus-analyze.sh` + - the retained local GitNexus native payload still failed cleanly on this + Linux host with `ERR_DLOPEN_FAILED`, so the wrapper truthfully fell back + to `npx gitnexus@latest` + - the refreshed bounded source-only analyzer pass then completed again at + `16,566` nodes, `39,157` edges, `680` clusters, and `300` flows + - `scripts/run-hypertwist-gitnexus-status.sh` + - reported `Indexed commit: 8849f17`, `Current commit: 8849f17`, and + `Status: up-to-date` +- the canonical Windows Unreal proof for that native follow-up then passed + through the maintained reverse-SSH lane: + - `scripts/run-hypertwist-remote-unreal-build.sh --worktree-root 'C:\htpp'` + - `Target is up to date` + - `Result: Succeeded` + - UnrealBuildTool `Total execution time: 6.09 seconds` +- current truthful reading after this native follow-up: + - accepted-aligned guidance-source truth is now centralized further across + both the classifier and coach-memory preference seams + - the remaining worthwhile continuation still is not website churn or XR + widening; it is the larger recommendation-history or queue-summary body + reduction inside the same training-repository family diff --git a/docs/v6_5_deep_manual_pack/HyperTwist/DEVELOPMENT.md b/docs/v6_5_deep_manual_pack/HyperTwist/DEVELOPMENT.md index a80397a..7cda05e 100644 --- a/docs/v6_5_deep_manual_pack/HyperTwist/DEVELOPMENT.md +++ b/docs/v6_5_deep_manual_pack/HyperTwist/DEVELOPMENT.md @@ -2795,3 +2795,51 @@ Latest same-family responsive public-route expansion follow-up on `2026-06-29`: summary bodies still remain real vanilla-refactor hotspots - the next worthwhile continuation remains another bounded training-repository seam instead of fresh product-topology widening + +## Latest coach-memory accepted-aligned guidance-source dedup follow-up +(`2026-06-30`) + +- the next same-family continuation then removed another copy of the same + accepted-aligned string ladder from the training-repository lane: + - rewired `bAlignedTightFollowUpGuidanceOutcomeSource` to use + `IsAcceptedAlignedTightFollowUpPacketOutcomeSource(...)` plus + `IsAlignedTightFollowUpPacketStructureCoachMemorySource(...)` + - rewired `bAlignedBroadRecommendedGuidanceOutcomeSource` to use + `IsAcceptedAlignedBroadRecommendedPacketOutcomeSource(...)` plus + `IsAlignedBroadRecommendedPacketStructureCoachMemorySource(...)` + - this keeps the same coach-memory preference truth while preventing the + accepted-aligned source family from drifting across private duplicate + ladders in the same file +- the HyperTwist-owned refactor loop stayed healthy on that exact native + packet: + - `scripts/run-hypertwist-sentrux-source-only.sh` + - `Quality: 6245` + - all `7` rules pass + - `scripts/run-hypertwist-sentrux-gate.sh` + - comparison result: + - `Quality: 6234 -> 6245` + - `Coupling: 0.15 -> 0.15` + - `Cycles: 0 -> 0` + - `God files: 1 -> 1` + - `No degradation detected` + - `scripts/run-hypertwist-gitnexus-analyze.sh` + - the retained local GitNexus native payload still failed cleanly on this + Linux host with `ERR_DLOPEN_FAILED`, so the wrapper truthfully fell back + to `npx gitnexus@latest` + - the refreshed bounded source-only analyzer pass then completed again at + `16,566` nodes, `39,157` edges, `680` clusters, and `300` flows + - `scripts/run-hypertwist-gitnexus-status.sh` + - reported `Indexed commit: 8849f17`, `Current commit: 8849f17`, and + `Status: up-to-date` +- the canonical Windows Unreal proof for that native follow-up then passed + through the maintained reverse-SSH lane: + - `scripts/run-hypertwist-remote-unreal-build.sh --worktree-root 'C:\htpp'` + - `Target is up to date` + - `Result: Succeeded` + - UnrealBuildTool `Total execution time: 6.09 seconds` +- current truthful reading after this native follow-up: + - accepted-aligned guidance-source truth is now centralized further across + both the classifier and coach-memory preference seams + - the remaining worthwhile continuation still is not website churn or XR + widening; it is the larger recommendation-history or queue-summary body + reduction inside the same training-repository family