Operate a Campaign
Scale independently
| Control | Setting |
|---|---|
| Researcher concurrency | run.max_active_sessions hard ceiling; policy options.concurrency desired pool |
| Experiment capacity | compute.options device pool and per-job resources |
| Research time | run.duration_seconds; optional Session ceiling |
run:
duration_seconds: 3600
max_active_sessions: 4
session_max_seconds: 900
shutdown_grace_seconds: 120
More researchers do not reserve one GPU each. Jobs queue separately; see compute. CPU formal scorers still need managed CPU compute unless using the native Linux evaluation path. A Run's specification is persisted; these settings are not a live-resize API.
Deadline and stop
The absolute Run deadline is fixed at first start. Controller downtime, Session replacement and waiting for jobs count against it. Preparation finishes before the clock starts; execution-time bootstrap still consumes the research budget.
At cutoff, new research stops and owned work is terminated. Finalization retains available artifacts and confirms Session/compute cleanup. Cleanup grace does not extend research time. Unknown resource state remains recoverable.
Ctrl+C or SIGTERM requests finalization. Leave the Campaign directory and owned resources available while reconciliation runs. Unrelated containers/jobs are outside myxos cleanup ownership.
Recover or continue
Recover the same unfinished Run using the same configuration:
uv run --no-dev myxos run --config runs/campaign.local.yaml
The original deadline and execution binding remain authoritative. A finalized Run does not restart with that command. Start a new Run explicitly:
uv run --no-dev myxos run --config runs/campaign.local.yaml --resume
Keep the Campaign identity, prepared task and state root stable. Use a new name and state root for an independent Campaign. Changing a recovered task/backend binding requires diagnosis; it must not silently create fresh work.
Inspect and retain progress
The launcher prints state_db, normally <campaign.state_dir>/state.sqlite3. Start Observer separately; it can stay open across Controller restarts.
Back up the complete private Campaign root after finalization and controller shutdown. Retain prepared caches and pinned images separately. Unsaved process memory is not a portable checkpoint. Orchestration explains candidate/checkpoint handoff; storage explains retained content.
Campaign wall-time reservations are supported via campaign.budget.max_wall_seconds. Each admitted Run reserves its full duration without early-finish refund. GPU-hour/token hard budgets, distributed scheduling and unattended fleet operation remain future work.