executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
off-policy-continuous-controlRoute and operate the repo's DDPG, SAC, TD3 continuous-action workflows, checkpoint playback, Gym compatibility, action scaling, and backend troubleshooting.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the task is about this repository's continuous-action, off-policy examples: DDPG, SAC, TD3, saved-policy playback, normalized continuous actions, Pendulum, or BipedalWalker.
Do not use this sub-skill for tabular control, DQN/discrete value control, or on-policy actor-critic/PPO/A2C requests. Route those to sibling sub-skills such as ../tabular-control/, ../value-based-discrete-control/, or ../on-policy-actor-critic/ when available.
references/workflow-guide.md to choose between DDPG, SAC, SAC dual-Q, SAC BipedalWalker, TD3, and TD3 BipedalWalker variants.references/checkpoint-playback.md before any --mode test, saved checkpoint, or model-load task.references/troubleshooting.md whenever the request mentions CUDA/CPU selection, action bounds, checkpoint paths, Gym deprecations, Box2D, pygame, rendering, or NumPy compatibility.scripts/continuous_control_compat_report.py for a local, non-training compatibility report on torch device availability, Gym env IDs, Box2D/pygame readiness, and continuous-action bounds.| Request signal | Best route | Key cautions |
|---|---|---|
| "run DDPG on Pendulum" | DDPG workflow in references/workflow-guide.md | Modern Gym uses Pendulum-v1, while repo defaults name Pendulum-v0; training is long-running and checkpoint path changes with env id. |
| "train SAC" / "compare SAC variants" | SAC workflow table | SAC.py is single-Q Pendulum-only and has a broken load method; dual-Q scripts are closer to the later SAC variants. |
| "test a SAC checkpoint" | references/checkpoint-playback.md | Requires a matching SAC_model/ directory and the same env/action dimensionality used at training time. |
| "compare SAC vs TD3" | Compare references/workflow-guide.md algorithm rows | TD3 uses direct bounded actions; SAC scripts wrap actions through a normalized action wrapper that needs a modern Gym patch. |
| "BipedalWalker compatibility" | BipedalWalker notes in both references | Prefer BipedalWalker-v3; verify Box2D and pygame before running render or checkpoint playback. |
| "CartPole, MountainCar DQN, Q-learning" | Different sub-skill | Those are discrete or tabular workflows, not this continuous-control owner. |
Pendulum-v0 -> Pendulum-v1BipedalWalker-v2 -> BipedalWalker-v3tanh * max_action; SAC variants sample normalized actions in [-1, 1] and rely on an action wrapper to map to environment bounds.cuda when torch.cuda.is_available() is true; see troubleshooting for how to force or debug device behavior.From this sub-skill directory, run:
python scripts/continuous_control_compat_report.py --env Pendulum-v1 --env BipedalWalker-v3
Use --step only for a tiny random-action step smoke. The helper does not train, read checkpoints, or require the original source checkout.