计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
services-cli-operations【效率与协作】Operate AReaL 2.0 service CLIs, service lifecycles, model registration, status/log/state inspection, Hermes online RL session/reward wiring, and safe command validation.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is to operate AReaL 2.0 service surfaces rather than author a new training algorithm or backend. Covered surfaces are:
areal inf: inference gateway/router lifecycle, model registration, model listing, logs, status, state, and OpenAI-compatible inference endpoints.areal agent: agent-service gateway/router/worker/data-proxy lifecycle, session-affine agent calls, status, logs, and state.areal train: safe driver invocation shape for AReaL training scripts.AgentRunnable, AgentWorkflow, RolloutWorkflow, dataset loader, reward function, or framework adapter, route to ../custom-data-rewards-workflows/SKILL.md.../distributed-engines-backends/SKILL.md.Identify the surface: areal inf, areal agent, areal train, direct service module, online RL session/reward, or weight update.
Read references/service-cli-reference.md for command/API contracts, state locations, config precedence, and side effects.
For online RL, Hermes, or self-evolution loops, read references/online-rl-service-recipes.md before composing commands. Keep admin keys, agent-service keys, and sk-sess-* session keys distinct.
Validate command text before handing it to a user or scheduler:
python scripts/check_service_cli.py --command 'areal inf register --model-name qwen --backend sglang:d1 --model-path /models/qwen'
python scripts/check_service_cli.py --config service.toml --config-type inf
The checker is static: it uses shell parsing and TOML inspection only. It does not import AReaL, contact HTTP endpoints, start services, start training, or read model files.
Use areal <group> status, ps, and logs as the first live checks once the user has confirmed that live service inspection is allowed. Use references/troubleshooting.md to map symptoms to fixes.
run, register, deregister, stop, train run, direct python -m areal.v2.* service module, and weight-update request as side-effecting.$INF_ADMIN_KEY, $AGENT_ADMIN_KEY, and $SESSION_API_KEY.references/service-cli-reference.md — CLI matrix, config/state/log layout, HTTP API summaries, model registration, direct module entrypoints.references/online-rl-service-recipes.md — online proxy and Hermes/session/reward recipes with concrete request payloads.references/troubleshooting.md — service, key, session, reward, state, port, and backend-boundary failure modes.scripts/check_service_cli.py — safe static validator for service CLI commands, TOML snippets, backend specs, and quoted engine/proxy args.