platform master group runs the control-plane services and manages the Swarm that executes challenge work. The group help is Run master components (base/src/platform_network/cli_app/main.py:58). Every command below takes --config, defaulting to config/master.example.yaml unless noted.
Service commands
These commands start long-running services. Each loads settings, configures JSON logging fromobservability.log_json, and binds to the host/port from your config.
platform master proxy — public proxy + admin/registry API
platform master proxy — public proxy + admin/registry API
Runs the single public API. The proxy app also serves the admin and registry routers, so there is no separate admin listener (
base/src/platform_network/cli_app/main.py:540-543). On startup it applies database migrations, then binds to master.proxy_host:master.proxy_port (base/src/platform_network/cli_app/main.py:531, :569-571).Default bind address is
0.0.0.0:8081 (base/src/platform_network/config/settings.py:26-27).platform master broker — Docker broker API
platform master broker — Docker broker API
Runs the Docker broker that dispatches each evaluation as a short-lived Swarm job. It applies migrations, builds the Swarm broker service from your
docker.* settings, then binds to docker.broker_host:docker.broker_port (base/src/platform_network/cli_app/main.py:580, :614-618).Default bind address is
0.0.0.0:8082 (base/src/platform_network/config/settings.py:63-64).platform master supervisor — control-plane supervisor
platform master supervisor — control-plane supervisor
Runs the Swarm control-plane supervisor as a systemd
Type=notify service (base/src/platform_network/cli_app/main.py:621-623). It builds the supervisor from settings, reports the number of scheduled tasks, and runs until exit (base/src/platform_network/cli_app/main.py:628-632).Maintenance commands
platform master weights — compute or submit master weights
platform master weights — compute or submit master weights
Computes the master weight vector for the current epoch. By default it runs in a loop on the interval
master.epoch_interval_seconds; pass --once to run a single epoch (base/src/platform_network/cli_app/main.py:815-818).platform master refresh-challenge-images — re-pin images to current digests
platform master refresh-challenge-images — re-pin images to current digests
Walks the registry, resolves the remote digest for each active challenge image on the given
--tag, and updates plus restarts challenges whose digest changed (base/src/platform_network/cli_app/main.py:736-762). Draft and disabled challenges are skipped (base/src/platform_network/cli_app/main.py:744).platform master challenges seed-prism — seed PRISM and Agent Challenge
platform master challenges seed-prism — seed PRISM and Agent Challenge
Creates or updates the PRISM challenge record and, if present, updates the Agent Challenge record (
base/src/platform_network/cli_app/main.py:765-781). PRISM is seeded at 30% emission and Agent Challenge at 15% (base/src/platform_network/cli_app/main.py:292-293).Swarm worker management
Theplatform master worker subgroup wraps docker Swarm node commands so you can enroll, label, and retire job nodes. The group help is Manage Swarm workers (CPU/GPU job nodes) (base/src/platform_network/cli_app/main.py:64).
Related
Master architecture
The control-plane services these commands run.
Swarm
How worker nodes execute challenge and evaluation jobs.
Configuration examples
The annotated
master.example.yaml these commands load.Settings reference
Every
master.* and docker.* key.