Files
foxhunt/docs/plans
jgrusewski 9056d461d8 docs(sp22): H6 Phase 3 implementation runbook — 36 tasks across 6 phases
Bite-sized task plan derived from the Phase 3 spec
(docs/plans/2026-05-12-sp22-h6-phase3-alpha-beta.md). Tasks grouped
into six phases; all EDIT tasks land in a single atomic commit at
Phase F per `feedback_no_partial_refactor`. There are NO intermediate
commits across Phase A–E; each task's cargo-check step is the
in-flight gate.

Phase A (5 tasks): foundation — new ISV slots
(REWARD_AUX_ALIGN_EMA_INDEX + SP22_AUX_ALIGN_SCALE_INDEX),
state_reset_registry entries, new alpha forward + backward kernels,
build.rs registration.

Phase B (11 tasks): 7-component contract migration —
experience_kernels.cu (producer + beta), backtest_env_kernel.cu
(eval producer + beta), reward_component_ema_kernel.cu (0..7
iteration), reward_decomp_diag_kernel.cu (column 6),
reward_component_mag_ratio_compute_kernel.cu (axis 6),
reward_subsystem_controller_kernel.cu (7-weight emit + w_aux_align
anchor), health_diag_kernel.cu (snap slot),
gpu_experience_collector.rs (7-slot buffer + HEALTH_DIAG print),
gpu_dqn_trainer.rs (7-slot buffer + HEALTH_DIAG + alpha param +
Adam + captured graph wiring), reward_component_monitor.rs (reader),
training_loop.rs (sp11_reward + reward_split print lines).

Phase C (1 task): alpha plumbing collector-side / rollout-time
captured graph (Phase C is otherwise folded into Phase B Task B9).

Phase D (7 tasks): A2 eval-side — aux trunk weight loading +
per-window prev_aux_dir_prob buffer + per-step aux trunk forward +
softmax-to-per-env launch + alpha forward + non-NULL state-gather
wiring across 3 launchers + W ptr sharing trainer ↔ evaluator.

Phase E (7 tasks): verification gates — cargo check,
gpu_backtest_validation, compute-sanitizer, captured-graph integrity
(deferred to smoke), alpha weight movement (deferred to smoke),
7-component contract sanity (deferred to smoke), A2 eval-side aux
activity (deferred to validation eval).

Phase F (5 tasks): audit doc append (Invariant 7), single atomic
commit covering all changes, push, smoke dispatch, verdict
monitoring + audit doc verdict.

Total: 36 tasks. Each task has exact file paths, exact commands with
expected output, and code-block-level specificity for kernel
signatures, struct field additions, and HEALTH_DIAG format-string
extensions. Self-review section maps every spec requirement to a
specific task.

Refs
────
- docs/plans/2026-05-12-sp22-h6-phase3-alpha-beta.md (spec)
- pearl_no_partial_refactor (single atomic commit Phase F)
- feedback_push_before_deploy (Phase F3)
- feedback_no_redundant_monitor (Phase F5 single-channel waiter)
- feedback_kill_runs_on_anomaly_quickly (verdict criteria)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-13 00:22:31 +02:00
..