Autoresearch/session 20260725

Merged
BN
3mo ago
+9648-3218

Summary by cubic

Renamed the project binaries to Preloop and overhauled the local engine for speed with a pre-warmed SmolVM runner pool, environment-aware goldens, and a loopback socket bridge. preloop run now matches host latency for a single job and is faster on a 4‑shard matrix; adds native debug sessions, job selection, and bounded storage.

  • New Features

    • New preloop CLI plus preloop-server and preloop-runner; pre-warmed SmolVM pool sized by demand/memory.
    • Live debug sessions with per-run preserve_on_failure; worker-scoped tokens and /api/v1/debug/... routes; job timeouts pause during debug.
    • Environment-aware golden selection from next-job runs-on; optional container image preloading; ahead-of-time RSA keys for faster configure.
    • Guest control-plane socket bridge to the mounted Unix socket so actions/checkout and live logs work without guest→host loopback.
    • Job filtering and permissions: select jobs by id (with transitive needs) and support permissions: read-all/write-all.
  • Migration

    • Replace aksh-runner-server with preloop-server and aksh-runner with preloop-runner in scripts and CI.
    • Use preloop run for local workflows; shortcuts just preloop-run and preloop-shell are available.
    • configure now downloads bundled Node externals before registration and no longer falls back to system Node.