oliver-zehentleitner / maity

docs: runners.md service setup, findings from a fresh install (config example, install on agy/opencode, agent_path, gh login)

Sign in to report

tsk-fd94fver2pwe In progress Maity Coder Claude 011

Findings from the owner setting up a fresh service runner by docs/runners.md on Debian 13 (2026-12-03), to test whether another user gets through it.

  1. Step 4, the configuration. The example (and the dashboard's file) is the bare minimum. A real runner needs [git] (otherwise agents' commits fail), the repository grants (allow, network, pull_requests; otherwise no checks run and agents cannot open PRs) and models per harness. Say so in step 4 and show a fuller example. (A dashboard proposal of the complete file is a separate card, tsk-9s7wtctmpc67.)
  2. `install = true` on a harness without an installer. Since #2397 the runner installs and updates OpenCode too; for Antigravity (agy) install/update are still refused and the whole configuration is refused with them, so the service does not start, the other tools included. Say that plainly for agy, and check the OpenCode wording matches #2397.
  3. `agent_path` copied from an older runner. A file from a terminal-layout runner carries /home/maity-runner/...; in the service layout the home is /var/lib/maity-runner. The docs say it in a side note; make it a visible warning in step 4.
  4. Step 7, gh login. sudo -u maity-runner -H gh auth login tries to open a browser for the service user. Use cd / && sudo -u maity-runner -H BROWSER=false gh auth login so gh prints the code and URL instead (owner's fix).
  5. Step 7, `gh auth setup-git`. The owner had never run it and asked what it is. Say in one sentence that it makes gh the git credential helper for github.com, so an agent's git push over HTTPS uses gh's login (without it: could not read Username), and that answering Yes to gh's "Authenticate Git with your GitHub credentials?" during login already does it.
  6. Step 6, Codex login on a headless machine. Use codex login --device-auth, so Codex prints a code and URL instead of starting a local browser callback: sudo -u maity-runner -H sh -c 'cd && exec /var/lib/maity-runner/.local/share/maity-runner/tools/codex/versions/<version>/codex/bin/codex login --device-auth' (owner's fix).
  7. Removing a runner. docs/runners.md has no section for it. Document sudo maity-runner uninstall (service only) and --purge (state, config, workspaces, user; refuses if install did not make them), that unpushed work in workspaces is lost with --purge, that the runner stays listed on the hub until removed in the dashboard, and how to remove the package itself.
  8. CPU requirements. Antigravity's installer needs a CPU with PCLMUL (and AES/AVX); it fails on older x86-64 such as an i5-750. OpenCode on x64 without AVX2 needs its -baseline build. Say so in the Antigravity and OpenCode sections, and what check shows.
  9. OpenCode 2, not 1. The OpenCode section must install OpenCode 2 (https://opencode.ai/v2/install); https://opencode.ai/install installs OpenCode 1, which lacks the option interactive placements pass.