DIAYN Recovery Evaluation Harness
Use this skill to produce an executable reduced recovery for DIAYN when full MuJoCo/SAC training is blocked by runtime or time limits. It should be used only with explicit proxy/reduced labeling and mechanism checks. Do not use it to bypass available full training.
Inputs
- Attempt directory.
- Generated skills root containing the DIAYN helper skills.
module_plan.jsonwith the recovery target.environment/runtime_handoff.jsondescribing runtime blockers and allowed sources.
Outputs
recovery/recovery_result.json.recovery/logs/training_trace.json.recovery/logs/generated_data_item.json.recovery/logs/generated_skill_invocations.json.recovery/source_manifest.json.
Workflow
- Read target metadata and runtime handoff.
- Import and invoke generated helper scripts for prior scheduling, discriminator reward, and policy update.
- Build a deterministic three-skill line-world rollout batch.
- Execute a real parameter update and record before/after losses.
- Write all recovery artifacts and mechanism checks for the experiment gate.
- Run the Distiller recovery validator after the harness completes.
Validation
Run python scripts/run_diayn_recovery.py --attempt-dir <attempt> --skills-root <generated_root>. Tests exercise the data-building function and confirm the expected mechanism flags.
Limitations
The harness is a reduced proxy, not a full benchmark reproduction. It should be accepted only in soft mode when full recovery is blocked and the experiment validator passes.