`--budget-hours` only warned, so an overrunning stage kept spending a
fixed rental budget (#527).
- `--hard-stop-hours` and/or `--budget-usd` with `--usd-per-gpu-hour`
set a wall-clock deadline (the lower of the two); `--reserve-hours`
(default 2, 0 in dry runs) keeps time for evidence copy-out and
teardown; `--elapsed-offset-hours` counts rental time already used.
- A stage starts only if its allowance fits before the deadline minus
the reserve; refused stages and their dependants are skipped while
later stages that fit still run. Stages run in priority order with
optional stages (load path, pain axis, multistep) last.
- At the deadline the running stage's whole process group gets SIGTERM,
then SIGKILL after a grace; the receipt records stopped_by_budget,
outputs stay hashed and nothing is deleted. A budget stop exits 75 and
--resume continues from the last completed stage in a later window.
- Ctrl-C now stops the whole process group the same way, so an operator
stop also frees the GPU; a second Ctrl-C kills immediately.
- Without the new flags behaviour is unchanged; the script still loads
no ML stack at startup. New logic lives in
scripts/qwen38_campaign_budget.py.