计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
games-and-configs【效率与协作】Selects, validates, and adapts MuZero General games, MuZeroConfig fields, custom Game wrappers, and optional environment dependencies.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is to choose a built-in MuZero General game, inspect or modify MuZeroConfig, add a new game wrapper, validate observation/action contracts, troubleshoot optional game dependencies, or explain single-player/two-player game behavior.
Read games-and-configs.md for the built-in game catalog, AbstractGame contract, custom game recipe, and optional dependency map.
Read configuration-reference.md before editing MuZeroConfig fields for game shape, self-play, network, training, replay buffer, reanalyse, GPU, or temperature behavior.
Read troubleshooting.md when imports fail, observations do not match observation_shape, legal actions are empty/illegal, rendering blocks, or optional dependencies are missing.
Discover available game modules without training:
python sub-skills/games-and-configs/scripts/list_builtin_games.py --format table
Validate a selected or custom game wrapper without rendering/training:
python sub-skills/games-and-configs/scripts/validate_game_module.py --module games.tictactoe --json
This sub-skill owns:
games.abstract_game.AbstractGame methods and expected Game wrapper behavior.MuZeroConfig field groups and how they affect training/search/model construction.Route elsewhere when the task is primarily about:
tictactoe, connect4, gomoku, twentyone, and cartpole for dependency-light validation in normal CPU environments.render() and human_to_action() in automated checks; many wrappers call input().lunarlander, atari, breakout, gridworld, and spiel as optional integrations until their specific dependencies are installed.list(range(n))) unless changing MuZero internals, because policy logits and one-hot dynamics use actions as tensor indexes.Before training a custom game:
python scripts/stage_muzero_source.py --dest <workdir>/muzero-general-source; then create a module importable as games.<name> inside that staged copy and pass --repo-root <workdir>/muzero-general-source to validators.MuZeroConfig with observation_shape, action_space, players, network, self-play/training/replay fields, and visit_softmax_temperature_fn.Game with reset(), step(action), legal_actions(), render(), and optional to_play(), close(), human_to_action(), expert_agent(), action_to_string().reset() and step() return observations exactly shaped like config.observation_shape.legal_actions() is non-empty before search and a subset of config.action_space.validate_game_module.py and then the model/MCTS smoke before training. Omit --repo-root for bundled built-ins; pass --repo-root only for staged custom-game copies.