# Brief: enrolled runner exits with runner.contract on start

Branch `runner-start` from main 9f616f3 (deployed; execution enabled).
docs-t1 runner was installed manually per CONTROLLER-REPORT-enable-
execution.md ("Install and enrol docs-t1 as paulca"): release at
~/.local/share/equipo-runner/releases/9f616f3/, runner.env updated
(backup runner.env.before-enable-execution), `equipo-runner enrol`
SUCCEEDED (state/credentials.json now exists). User unit
~/.local/share/equipo-runner/equipo-runner.service (linked into
~/.config/systemd/user, EnvironmentFile=runner.env, ExecStart=
.../9f616f3/equipo-runner run). On start: journal shows
"Runner error runner.contract at -." then exit 1. The controller has
STOPPED the unit (systemctl --user stop equipo-runner.service).

Do:
1. Find the exact failing check (ErrContract has many sources:
   internal/runner/config.go config issues, http.go, coordinator_service
   .go, runnerproto/retry.go, account_login.go...). Reproduce by running
   `equipo-runner run` in the foreground with the same EnvironmentFile
   (env -i + runner.env), briefly, and stop it; no jobs exist, so no
   provider work will start; if it reaches the job loop, stop it within
   a minute. You may read runner.env and bindings.json (not credential
   files, not account homes).
2. Fix the cause: if it's local configuration (a missing/obsolete
   variable, path, bindings path), give the exact minimal edit to
   runner.env and apply it ONLY after recording the before/after in the
   report (keep the backup). If it's a code defect, fix it on this branch
   with a test.
3. Make the error diagnostic: `runner.contract at -` must name the field
   or check (like config issues do) without secrets.
4. Report the exact commands for the controller to restart the unit and
   to confirm in the app that the runner is online and the two Claude
   accounts are reported. Do not start the systemd unit yourself.
Targeted tests; if code changed, ONE full `make -k ci` (rerun at most
twice), commit subject < 80, body `Co-Authored-By: Astra
<noreply@openai.com>`, push. CONTROLLER-REPORT-runner-start.md. No
copy-review server; scratch removed; nothing left running. Print a
five-line summary.
