oliver-zehentleitner / maity

[runner-stability] runner lab: run all four harnesses on Linux, macOS and Windows, find every gap, fix it, document it

Sign in to report

tsk-gw1e87ev707f Open

Goal (Oliver, 2026-11-18; team memory mem-56mecrb1ezn2): agents can be started everywhere through the runner, on Linux, macOS and Windows, with Claude Code, Codex, OpenCode and Antigravity. Every problem that shows up is fixed as an update and deployed, until it runs smoothly.

Setup (Oliver's decisions, 2026-11-18 12:33Z)

  • Machines: mixed. The agents have their own OS user there, for testing and working.
  • Per machine, a lab coder that has full access on its own user. It codes against the runner right away and tests locally. The normal path still holds: card → PR → 2 vendors → merge → release. Full access on its own user only; no prod access, no real secrets, only its own GitHub access with narrow rights.
  • Tradeoffs are allowed but documented (e.g. Claude Code on Windows has no sandbox; OpenCode has none anywhere). Every agent must be startable.

Test matrix (OS × harness × mode), run after each CLI release; the results as a table in a note on this card:
start · maity resume · maity wait · subagent with Bash · read and open a PR via maity gh · stop · runner restart with the session taken over · maity runner check without false greens.

Rule: every gap found goes into maity-runner check, so the program recognises it itself and names the fix. Every tradeoff goes into docs/runners.md.

Known today (oliver-pc01-l, Ubuntu): tsk-yfc9n6kmvs52 (hub count, fix in progress), tsk-5b5x3k5zvg7x (Claude subagents: nested userns; PR rights in runner.toml), tsk-hv7jbgy75zjt (Codex: the sandbox denies the codex binary; "running" without the agent arriving), tsk-jnwpady8g26c (placement cannot replace a dead instance).

Notes

  1. Mr. Robot · Nov 18, 2026, 12:50 UTC

    Test matrix, oliver-pc01-l (Ubuntu 26.04.1, maity 0.1.0a15), 2026-11-18 ~12:55Z, by ops 3yc2. Read-only: panes, journal, placement codex-home logs. No input sent to any session. ✓ = seen working, ✗ = seen failing, – = not tested yet, n/a = does not apply.

    | harness / mode (placement) | start | maity resume | maity wait | subagent / command with Bash | PR via maity gh | stop | runner restart, session taken over | runner check without false green |
    |---|---|---|---|---|---|---|---|---|
    | claude-code interactive (coder-005#e7y8, plc-mwt69eqj7m4z) | ✓ | ✓ | ✓ | ✗ nested userns (tsk-5b5x3k5zvg7x) | ✗ no maity repo grant here (below) | – | – | ✗ before #1949 (said ok), ✓ with #1949 |
    | claude-code interactive (coder-004#f5u3) | ✓ after the quota fix | ✓ | – | ✗ also on hostname in the main session (card) | ✗ as above | – | – | as above |
    | codex interactive (review-codex-001, plc-5w6065pkg7ad) | ✓ session | ✗ exec of every command denied (tsk-hv7jbgy75zjt) | ✗ never reached | ✗ same | n/a: pull_requests not given to codex (check warns) | – | – | ✗ says ok for codex while every exec fails |
    | antigravity supervised (agy-003, agy-004) | ✓ | ✓ | ✓ (runner loop) | runs unsandboxed (sandbox_unavailable); agy's file tools auto-denied in -p | – | – | ✓ both running adopted at the 12:08Z a15 restart | ✓ warns: namespaces do not start, sandbox off |
    | opencode | n/a: not in runner.toml on the PC (kept out until q445's PR, per lotse) | | | | | | | |

    PR rights (card point 2): on the PC, runner.toml grants only github.com/oliver-zehentleitner/keep-the-why with pull_requests = true. There is no `[repositories."github.com/oliver-zehentleitner/maity"]` section, so maity agents placed here get no allow list and no maity gh. vm-aigents01 has that section (its check lists the maity allow entries). The runner user's gh login is in place (oliver-zehentleitner-aigent, scope repo). Fix: copy the maity repository grant from the VM's runner.toml. This is a config change on the PC, so Oliver's or his word; I haven't changed it.

    Open cells (–): stop, and restart with claude/codex taken over. I can test them on a test placement once you say which one I may stop and restart.

  2. Mr. Robot · Nov 18, 2026, 15:13 UTC

    Matrix update, oliver-pc01-l, 15:12Z (runner service restarted by Oliver for OpenCode): 'runner restart, session taken over' is ✓ for claude-code (coder-004, coder-005), ✓ for codex (review-codex-001, the same tmux session from 13:22:59), and ✓ for agy (003, 004) again. 'stop' is still open (codex placement plc-5w6065pkg7ad, approved for it). Since 13:07Z the claude-code row 'subagent with Bash' no longer fails on nested userns (host fix B); the remaining refusals are the permission layer (tsk-66zyvc4xnhtv, #1962). opencode 2.3.0 is now installed and reported by the hub; no opencode placement has run yet.

  3. Mr. Robot · Nov 18, 2026, 15:16 UTC

    Matrix update, oliver-pc01-l: stop ✓ for codex. maity placement stop maity-review-codex-001 at 15:13:35Z; the runner logged 'stopping', then 'stopped stopped_by_hub' (plc-5w6065pkg7ad, desired stopped / state stopped by 15:15:46Z). Its tmux session and codex process are gone. The clone ~/maity-workspaces/prj-t7t5yz9tcdd9/maity-review-codex-001 stays, as designed (retention). Side note: someone has since started maity-review-codex-002 on the PC (plc-vsyxrcc68bqa, codex 0.170.0, running). Not mine; whether exec works for it is not checked.

  4. Mr. Robot · Nov 18, 2026, 15:18 UTC

    Matrix, oliver-pc01-l: codex 0.170.0 has the same failure as 0.169. maity-review-codex-002 (plc-vsyxrcc68bqa) says in its pane: 'I attempted maity resume twice. Both attempts failed before Maity could start because the sandbox denied execution of the Codex binary.' Its codex-home log has 2 'recorded sandbox violation' entries (filesystem, permission_denied, path unknown), the same as on 0.169 (tsk-hv7jbgy75zjt). Read-only, no input sent. The codex row stays ✗ for resume/wait/exec. The suspect is unchanged: the helper codex-linux-sandbox lies in CODEX_HOME/tmp/arg0-linux/…, and CODEX_HOME is under ~/.local/state/maity-runner, which the profile hides with = "none". Not proven, and my earlier 'codex sandbox' repro passed. A codex exec under the same profile with a throwaway CODEX_HOME outside the hidden dir would settle it; that costs one model call, so only on your go.

  5. Mr. Robot · Nov 18, 2026, 15:23 UTC

    Matrix, codex row: the cause is found (tsk-hv7jbgy75zjt). The placement's CODEX_HOME lies under the runner state dir that its own profile hides, so Codex's exec helper there cannot run. With CODEX_HOME outside it, the same profile runs commands (one-call test, rc 0). The row stays ✗ until the runner places CODEX_HOME elsewhere.

  6. Lotse · Nov 18, 2026, 20:16 UTC

    From tsk-dv24gngs9qaa (closed as done): two open Windows questions for the lab to answer: (1) the ACL proposal from that card's 2026-11-01 note; (2) whether a Windows runner works only through WSL or also natively (req-gqt5b2812nej).