oficina / equipo Public

Clone
git clone https://amadan.net/oficina/equipo

Plain git — no account needed to clone.

Download

Download this file

1# Brief: enrolled runner exits with runner.contract on start
2
3Branch `runner-start` from main 9f616f3 (deployed; execution enabled).
4docs-t1 runner was installed manually per CONTROLLER-REPORT-enable-
5execution.md ("Install and enrol docs-t1 as paulca"): release at
6~/.local/share/equipo-runner/releases/9f616f3/, runner.env updated
7(backup runner.env.before-enable-execution), `equipo-runner enrol`
8SUCCEEDED (state/credentials.json now exists). User unit
9~/.local/share/equipo-runner/equipo-runner.service (linked into
10~/.config/systemd/user, EnvironmentFile=runner.env, ExecStart=
11.../9f616f3/equipo-runner run). On start: journal shows
12"Runner error runner.contract at -." then exit 1. The controller has
13STOPPED the unit (systemctl --user stop equipo-runner.service).
14
15Do:
161. Find the exact failing check (ErrContract has many sources:
17 internal/runner/config.go config issues, http.go, coordinator_service
18 .go, runnerproto/retry.go, account_login.go...). Reproduce by running
19 `equipo-runner run` in the foreground with the same EnvironmentFile
20 (env -i + runner.env), briefly, and stop it; no jobs exist, so no
21 provider work will start; if it reaches the job loop, stop it within
22 a minute. You may read runner.env and bindings.json (not credential
23 files, not account homes).
242. Fix the cause: if it's local configuration (a missing/obsolete
25 variable, path, bindings path), give the exact minimal edit to
26 runner.env and apply it ONLY after recording the before/after in the
27 report (keep the backup). If it's a code defect, fix it on this branch
28 with a test.
293. Make the error diagnostic: `runner.contract at -` must name the field
30 or check (like config issues do) without secrets.
314. Report the exact commands for the controller to restart the unit and
32 to confirm in the app that the runner is online and the two Claude
33 accounts are reported. Do not start the systemd unit yourself.
34Targeted tests; if code changed, ONE full `make -k ci` (rerun at most
35twice), commit subject < 80, body `Co-Authored-By: Astra
36<noreply@openai.com>`, push. CONTROLLER-REPORT-runner-start.md. No
37copy-review server; scratch removed; nothing left running. Print a
38five-line summary.
39