# HyperTwist Phase 6R-AZ learned-search value-network shape and generator sync preparation packet

Date: `2026-05-31`

## Goal

Reopen the landed `Phase 6R-AV` through `Phase 6R-AY` learned-search lane one
narrow step further through explicit first-party value-network shape and
generator-sync boundaries above the same retained
`yakupbilen/drl-rubiks-cube` benchmark slice.

## Why this slice is justified

After `Phase 6R-AY`, one bounded experimentation gap still remained in
first-party terms:

- explicit compact value-network architecture posture
- explicit weight and bias initialization posture
- explicit tau-weighted generator refresh posture
- explicit device-aware parameter sync semantics

Those surfaces are real in the benchmark source:

- `networks/modelpaper.py` keeps flattened-input reshape, the
  `4096-2048-512` linear stack, ReLU ladder, scalar output head, Xavier init,
  zero-bias init, and clone-compatible state dict behavior
- `train/train_utils.py` keeps tau-weighted generator updates, parameter-by-
  parameter state-dict refresh, and device-aware sync posture

But HyperTwist did not yet expose those as narrow first-party boundaries.

## Bounded implementation target

Land a bounded follow-on inside the existing learned-search library:

- first-party learned-search value-network shape boundary
- first-party learned-search generator-sync boundary
- runtime-library accessors for both
- focused automation coverage

## Explicit non-goals

Do not widen this packet into:

- deployed model serving ownership
- broad training-platform ownership
- provider-backed model lifecycle ownership
- live recognition preprocessing ownership
- correctness/performance oracle ownership

## Files expected to move

- `UnrealHyperTwist/Source/UnrealHyperTwist/Public/HyperTwistTraining/HyperTwistTrainingLearnedSearchLibrary.h`
- `UnrealHyperTwist/Source/UnrealHyperTwist/Private/HyperTwistTraining/HyperTwistTrainingLearnedSearchLibrary.cpp`
- `UnrealHyperTwist/Source/UnrealHyperTwist/Public/HyperTwistTraining/HyperTwistTrainingRuntimeLibrary.h`
- `UnrealHyperTwist/Source/UnrealHyperTwist/Private/HyperTwistTraining/HyperTwistTrainingRuntimeLibrary.cpp`
- `UnrealHyperTwist/Source/UnrealHyperTwist/Tests/HyperTwistLearnedSearchPhase6RAZModelSyncContractTest.cpp`
- canon sync docs

## Validation target

Safe source-level validation only on this VPS:

- focused contract coverage for the new value-network shape and generator-sync slice
- targeted wiring sweep
- `git diff --check`
