← Board · source

T-043: Long-run setup: unattended runs lasting days

done · M2 · model opus · needs T-012, T-019

Goal

Let the orchestrator start a simulation that runs for hours or days with nobody watching, using no model quota, and come back to trustworthy data. Evan wants idle machine time used this way. See "Long runs" in docs/RUNBOOK.md.

Scope

Done when

Notes

Added 2026-12-02: what the runner already does (from T-012)

Added 2026-12-02: publishing and speed tools now exist (from T-020 and T-050)

Added 2026-12-02: the lineage log exists (from T-019)

Result

scripts/longrun.sh (start, status, list, pause, resume, stop, plus publish, summary, remove, budget, notify-test), documented in docs/LONG-RUNS.md. The work is in scripts/longrun.py; scripts/longrun-selftest.sh tests it end to end with real launchd jobs. No Rust code changed. scripts/publish-run.sh now takes RUNNER= and VIEWER= from the environment so a long run publishes with its own programs.

How it works, in short: one launchd job per seed runs a supervisor (a copy of longrun.py kept in the run's folder). The supervisor runs the run's own copy of runner at utility priority under caffeinate, samples it every minute into series.tsv, applies the guards, publishes every 6 hours, and at the end writes summaries with charts and sends one [long-run] message. Runs live in ~/.alife/longruns/NAME/, outside every checkout.

Done when:

Decisions (each written in docs/LONG-RUNS.md):