Expose runtime selector owned-execution case prompt and delivery

This commit is contained in:
axiomlogicnexus 2026-05-09 06:06:11 +02:00
parent f159925d5e
commit 9f2e9c0cc7
4 changed files with 172 additions and 2 deletions

View file

@ -1541,6 +1541,102 @@ UHyperTwistTrainingRuntimeLibrary::GetActiveTrainingCoachGeneratedModeSelectorOp
return FHyperTwistTrainingCoachGeneratedModeSelectorOptionLaunchRequestEnvelopePreviewSurface();
}
FHyperTwistTrainingCoachGeneratedModeSelectorOptionOwnedExecutionCasePreviewSurface
UHyperTwistTrainingRuntimeLibrary::GetActiveTrainingCoachGeneratedModeSelectorOptionOwnedExecutionCasePreviewSurface(
UObject* WorldContextObject,
const FString& SelectorId
)
{
if (UHyperTwistTrainingSubsystem* TrainingSubsystem = GetTrainingSubsystem(WorldContextObject))
{
const FHyperTwistTrainingRunState RunState = TrainingSubsystem->GetActiveRunState();
const FHyperTwistTrainingCoachGeneratedModeSelectorOptionMenuSurface OptionMenuSurface =
GetActiveTrainingCoachGeneratedModeSelectorOptionMenuSurface(
WorldContextObject,
SelectorId
);
const FHyperTwistTrainingCoachGeneratedModeSelectorOptionLaunchRequestEnvelopePreviewSurface
OptionLaunchRequestEnvelopePreviewSurface =
GetActiveTrainingCoachGeneratedModeSelectorOptionLaunchRequestEnvelopePreviewSurface(
WorldContextObject,
SelectorId
);
return UHyperTwistTrainingCoachLibrary::
DeriveCoachGeneratedModeSelectorOptionOwnedExecutionCasePreviewSurface(
RunState,
SelectorId,
OptionMenuSurface,
OptionLaunchRequestEnvelopePreviewSurface
);
}
return FHyperTwistTrainingCoachGeneratedModeSelectorOptionOwnedExecutionCasePreviewSurface();
}
FHyperTwistTrainingCoachGeneratedModeSelectorOptionOwnedExecutionPromptPreviewSurface
UHyperTwistTrainingRuntimeLibrary::GetActiveTrainingCoachGeneratedModeSelectorOptionOwnedExecutionPromptPreviewSurface(
UObject* WorldContextObject,
const FString& SelectorId
)
{
if (UHyperTwistTrainingSubsystem* TrainingSubsystem = GetTrainingSubsystem(WorldContextObject))
{
const FHyperTwistTrainingRunState RunState = TrainingSubsystem->GetActiveRunState();
const FHyperTwistTrainingCoachGeneratedModeSelectorOptionMenuSurface OptionMenuSurface =
GetActiveTrainingCoachGeneratedModeSelectorOptionMenuSurface(
WorldContextObject,
SelectorId
);
const FHyperTwistTrainingCoachGeneratedModeSelectorOptionLaunchRequestPreviewSurface
OptionLaunchRequestPreviewSurface =
GetActiveTrainingCoachGeneratedModeSelectorOptionLaunchRequestPreviewSurface(
WorldContextObject,
SelectorId
);
return UHyperTwistTrainingCoachLibrary::
DeriveCoachGeneratedModeSelectorOptionOwnedExecutionPromptPreviewSurface(
RunState,
SelectorId,
OptionMenuSurface,
OptionLaunchRequestPreviewSurface
);
}
return FHyperTwistTrainingCoachGeneratedModeSelectorOptionOwnedExecutionPromptPreviewSurface();
}
FHyperTwistTrainingCoachGeneratedModeSelectorOptionOwnedExecutionDeliveryPreviewSurface
UHyperTwistTrainingRuntimeLibrary::GetActiveTrainingCoachGeneratedModeSelectorOptionOwnedExecutionDeliveryPreviewSurface(
UObject* WorldContextObject,
const FString& SelectorId
)
{
if (UHyperTwistTrainingSubsystem* TrainingSubsystem = GetTrainingSubsystem(WorldContextObject))
{
const FHyperTwistTrainingRunState RunState = TrainingSubsystem->GetActiveRunState();
const FHyperTwistTrainingCoachGeneratedModeSelectorOptionMenuSurface OptionMenuSurface =
GetActiveTrainingCoachGeneratedModeSelectorOptionMenuSurface(
WorldContextObject,
SelectorId
);
const FHyperTwistTrainingCoachGeneratedModeSelectorOptionLaunchRequestPreviewSurface
OptionLaunchRequestPreviewSurface =
GetActiveTrainingCoachGeneratedModeSelectorOptionLaunchRequestPreviewSurface(
WorldContextObject,
SelectorId
);
return UHyperTwistTrainingCoachLibrary::
DeriveCoachGeneratedModeSelectorOptionOwnedExecutionDeliveryPreviewSurface(
RunState,
SelectorId,
OptionMenuSurface,
OptionLaunchRequestPreviewSurface
);
}
return FHyperTwistTrainingCoachGeneratedModeSelectorOptionOwnedExecutionDeliveryPreviewSurface();
}
TArray<FHyperTwistTrainingMethodSegment> UHyperTwistTrainingRuntimeLibrary::GetActiveTrainingLearnerMethodSegments(UObject* WorldContextObject)
{
if (UHyperTwistTrainingSubsystem* TrainingSubsystem = GetTrainingSubsystem(WorldContextObject))

View file

@ -384,6 +384,27 @@ public:
const FString& SelectorId
);
UFUNCTION(BlueprintPure, Category = "HyperTwist|Training|Coach", meta = (WorldContext = "WorldContextObject"))
static FHyperTwistTrainingCoachGeneratedModeSelectorOptionOwnedExecutionCasePreviewSurface
GetActiveTrainingCoachGeneratedModeSelectorOptionOwnedExecutionCasePreviewSurface(
UObject* WorldContextObject,
const FString& SelectorId
);
UFUNCTION(BlueprintPure, Category = "HyperTwist|Training|Coach", meta = (WorldContext = "WorldContextObject"))
static FHyperTwistTrainingCoachGeneratedModeSelectorOptionOwnedExecutionPromptPreviewSurface
GetActiveTrainingCoachGeneratedModeSelectorOptionOwnedExecutionPromptPreviewSurface(
UObject* WorldContextObject,
const FString& SelectorId
);
UFUNCTION(BlueprintPure, Category = "HyperTwist|Training|Coach", meta = (WorldContext = "WorldContextObject"))
static FHyperTwistTrainingCoachGeneratedModeSelectorOptionOwnedExecutionDeliveryPreviewSurface
GetActiveTrainingCoachGeneratedModeSelectorOptionOwnedExecutionDeliveryPreviewSurface(
UObject* WorldContextObject,
const FString& SelectorId
);
UFUNCTION(BlueprintPure, Category = "HyperTwist|Training", meta = (WorldContext = "WorldContextObject"))
static TArray<FHyperTwistTrainingMethodSegment> GetActiveTrainingLearnerMethodSegments(UObject* WorldContextObject);

View file

@ -68,8 +68,8 @@ Current correction call from the source-exposed audit and current execution refr
- the imported generated-mode gap is closed; request/config/selection plumbing and the bounded clean-room executor are already landed in first-party code
- the latest landed bounded `Phase 4` packet closes the retained-idle comparison/outcome actionability gap at the end of the recognition-assisted coach-to-review continuity lane, and the final retained-surface confirmation pass now leaves that closure lane functionally complete
- the retained idle widget surface now keeps retained comparison and decision history inspectable without continuing to advertise live launch or guidance-outcome actions once the coach-to-review loop has already collapsed to truthful closed-loop idle
- the latest landed bounded `Phase 4` packet stays on that same deliberate `UHyperTwistTrainingRuntimeLibrary` world-context consumer lane and adds active generated-mode selector option launch-request metadata preview and launch-request envelope preview surfaces over the already-landed launch-request preview surface plus active run state, so gameplay/Blueprint callers can explain imported origin-path / notes provenance and the stored-request envelope / request-source / persistence posture for one selector option without reading raw runtime-surface metadata or stored envelope fields directly
- the current next bounded packet should stay on that same runtime-library consumer lane only if a real world-context gameplay or Blueprint caller still needs one more thin derived coach/generated-mode display contract or displayed-action convenience helper over already-cached state; inside that lane the next aligned move is the runtime-library generated-mode selector option owned-execution case, prompt, and delivery preview group, otherwise choose the next roadmap lane deliberately instead of extending runtime-consumer widening by drift
- the latest landed bounded `Phase 4` packet stays on that same deliberate `UHyperTwistTrainingRuntimeLibrary` world-context consumer lane and adds active generated-mode selector option owned-execution case, prompt, and delivery preview surfaces over the already-landed selector option launch-request envelope preview and launch-request preview surfaces plus active run state, so gameplay/Blueprint callers can explain owned-case identity / canonical-state posture, prompt label / prompt-kind posture, and delivery-mode / reveal / time-target posture for one selector option without reading raw case lookup, seed-case, or launch-preview derivation details directly
- the current next bounded packet should stay on that same runtime-library consumer lane only if a real world-context gameplay or Blueprint caller still needs one more thin derived coach/generated-mode display contract or displayed-action convenience helper over already-cached state; inside that lane the next aligned move is the runtime-library generated-mode selector option owned-execution puzzle/subset/difficulty, provenance, deck-title/selection-policy, and deck-id/runtime-surface retention preview group, otherwise choose the next roadmap lane deliberately instead of extending runtime-consumer widening by drift
- the current execution-discipline rule that broad refactor / monolith-splitting work should not interrupt the active bounded roadmap packet unless structure is actually blocking it
## Current execution-reality references

View file

@ -0,0 +1,53 @@
# HyperTwist Phase 4 runtime-library generated-mode selector option owned-execution case, prompt, and delivery preview surface packet
- bounded Phase `4` runtime-consumer slice
- date: `2026-05-09`
## Intent
Stay on the deliberate `UHyperTwistTrainingRuntimeLibrary` world-context consumer lane and expose the next truthful owned-execution preview contracts above the already-landed selector option launch-request metadata and envelope preview surfaces.
## Why this packet exists
The prior runtime-library packet let world-context callers explain imported origin-path / notes provenance and stored request envelope / request-source / persistence posture for one selector option payload.
But callers still had to inspect raw case lookup, seed-case, and launch-preview-derived execution details if they needed to explain:
- which owned case id and canonical state ref would actually be targeted
- what prompt label and prompt kind would be presented on execute
- what delivery mode, reveal posture, and time-target posture would apply
That kept the runtime-library world-context seam behind the already-landed panel-widget and session-actor owned-execution preview lane.
## What changed
- added `GetActiveTrainingCoachGeneratedModeSelectorOptionOwnedExecutionCasePreviewSurface()`
- added `GetActiveTrainingCoachGeneratedModeSelectorOptionOwnedExecutionPromptPreviewSurface()`
- added `GetActiveTrainingCoachGeneratedModeSelectorOptionOwnedExecutionDeliveryPreviewSurface()`
- derived the owned-execution case preview surface from the active run state, selected `SelectorId`, and the already-landed runtime-library selector option-menu and launch-request envelope preview surfaces
- derived the owned-execution prompt and delivery preview surfaces from that same active run state and `SelectorId` over the runtime-library selector option-menu and launch-request preview surfaces
- kept the runtime-library lane purely compositional over already-cached coach/generated-mode state without reopening backend derivation
## Files
- `C:\HyperTwist\UnrealHyperTwist\Source\UnrealHyperTwist\Public\HyperTwistTraining\HyperTwistTrainingRuntimeLibrary.h`
- `C:\HyperTwist\UnrealHyperTwist\Source\UnrealHyperTwist\Private\HyperTwistTraining\HyperTwistTrainingRuntimeLibrary.cpp`
- `C:\HyperTwist\docs\HYPERTWIST_ROADMAP_OVERHAUL_EXPANSION_GUIDE.md`
## Outcome
World-context gameplay and Blueprint callers can now ask the runtime library for:
- the truthful owned-case identity / canonical-state preview for one selector option
- the truthful owned-execution prompt-label / prompt-kind preview for one selector option
- the truthful owned-execution delivery-mode / reveal-posture / time-target preview for one selector option
without reading raw case lookup, seed-case, or launch-request preview derivation details directly.
## Validation
- full `Development Editor | Win64` MSBuild on `UnrealHyperTwist.sln`
## Next clean slice
Stay on this runtime-library consumer lane only if a real world-context caller still needs one more thin derived coach/generated-mode display contract or displayed-action convenience helper over already-cached state. The next aligned move inside that lane would be the runtime-library generated-mode selector option owned-execution puzzle/subset/difficulty, provenance, deck-title/selection-policy, and deck-id/runtime-surface retention preview group, because those are the next truthful owned-execution preview contracts above the newly-landed case, prompt, and delivery preview surfaces.