一键导入
slurm-campaign-submit
Submit generic SLURM campaigns with preflight, config provenance, job metadata, artifact expectations, and failure classification.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Submit generic SLURM campaigns with preflight, config provenance, job metadata, artifact expectations, and failure classification.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Open a conservative Robot SF PR with scope verification, freshness checks, and artifact discipline.
Use for an autonomous Robot SF issue-to-PR loop that selects eligible GitHub issues, implements one scoped issue at a time, validates, pushes, and opens PRs.
Guarded PR merger; merges merge-ready PRs after verifying label, CI status, branch protection, and preflight checks.
Use for an autonomous Robot SF PR review loop that fixes scoped review gaps, validates proof, resolves review threads, and applies merge-ready; not for merging.
Autonomous issue-to-PR workflow from next eligible issue to ready PR with consistent metadata handling.
Continuous goal autopilot; orchestrates implement, review, merge, and discover cycles with preflight validation and delegation failure recovery.
| name | slurm-campaign-submit |
| description | Submit generic SLURM campaigns with preflight, config provenance, job metadata, artifact expectations, and failure classification. |
| category | slurm |
| kind | atomic |
| phase | implementation |
| requires_write | true |
| requires_slurm | true |
| requires_benchmark_artifacts | false |
| delegates_to | ["artifact-provenance"] |
| output_schema | campaign_submission.v1 |
Use this skill for generic SLURM campaign submission: learned-risk, shielded PPO, ORCA-residual BC, predictive comparison, oracle imitation, adversarial search, and benchmark campaigns.
local.machine.md if present, then SLURM/AGENTS.md and docs/dev/slurm_submission.md).squeue --me and recent outcomes with sacct;resource:slurm or slurm labels, including comments when an
issue may be runnable;ready_to_submit, blocked_dependency, analysis_only,
already_running, or completed_needs_analysis;sbatch:
local-smoke, compute-node-smoke, slurm-campaign, or
blocked-needs-scope;blocked-needs-scope until the card is updated.sbatch when one exists under scripts/validation/.uv run python scripts/dev/submit_training_jobs.py --dry-run and submit through
uv run python scripts/dev/submit_training_jobs.py --submit only when the generated manifest
shows the intended config, launcher, job name, output root, and duplicate-check evidence.route_accepted, blocked, or failed_preflight; classify
successful route acceptance with missing issue/PR or private-ledger traceability as
partial_traceable; classify failures as config, cluster capacity, wrapper, dependency, or unknown.squeue, sacct, initial stderr availability) and apply the
shared checklist in docs/dev/slurm_submission.md.artifact-provenance before downstream reports depend on local output/.submitted state requires both immediate health-check success and the checklist traceability update
(issue/PR comment plus private-ledger or handoff reference). If route acceptance succeeds but
either traceability record is missing, keep partial_traceable. sbatch/sacct acceptance alone is only
route evidence and does not imply benchmark or report proof.failed_preflight, blocked, or inconclusive until triaged;completed_needs_analysis goes to the
relevant analysis skill or context note, while failed_preflight or early wrapper failures must
be fixed in a worktree before resubmission.When the goal is to fill available cluster capacity rather than run a prioritized experiment, the
batch may contain several unrelated ready experiments, but all preconditions in this section must be
satisfied before sbatch:
squeue --me and squeue cluster-wide (or partition-wide) so the
submission reflects current load, not stale logs.squeue acceptance after each submission; halt the batch on the
first health-check failure.--nice factors or equivalent to avoid
displacing higher-priority work.Fill batches are not mandatory proof of cluster citizenship; they are an optional capacity-filling
mode. The single gse- background lane in goal-slurm-experiment remains independent.
scripts/dev/submit_training_jobs.py for queue-backed training jobs unless the
helper cannot represent the launcher; record the exception and the equivalent duplicate checks.sbatch output or acceptance as final submission proof.resource:slurm issue as runnable when its latest comments require durable
artifact pointers, exact commits, maintainer confirmation, or a concrete launcher first.slurm label override the suitability gate. A slurm label means the
issue may need cluster execution, not that every bounded smoke must be submitted.Use campaign_submission.v1. Include:
discovery_state: one of ready_to_submit, blocked_dependency, analysis_only,
already_running, or completed_needs_analysis;dependency_basis: issue comment, ledger row, config validator, artifact pointer, or maintainer
decision that controls the route;slurm_suitability: one of local-smoke, compute-node-smoke, slurm-campaign, or
blocked-needs-scope;estimated_runtime_minutes: the estimated runtime of the campaign in minutes;runtime_basis: the rows/seeds/scenarios/horizon/workers calculation or preflight source;local_default_overridden: true only when a sub-1-hour run still has a compute-node-only reason;evidence_claim: smoke, compatibility, campaign, or blocked.submission_record: issue/PR reference, partition, finalizer outcome, private ledger reference,
final health-check status, and artifact status.submission_state: submitted, partial_traceable, or blocked.