oliver-zehentleitner / maity

runner: an Antigravity placement cannot post a review_result (read-only workspace, no MAITY_SCRATCH, review file refused)

Sign in to report

tsk-bbhcekjk2mgm Done An agent

Reported by f2sa (agy-001) via h385, 2026-11-18 (seqs 166414, 166420). Inside agy's terminal sandbox:

  1. The placement's workspace folder, repo/ included, is mounted read-only. /tmp is writable.
  2. agy's write_file inside repo/ asks for interactive approval under proceed-in-sandbox, and the session stalls until the runner restarts it.
  3. maity say --type review_result needs --review-file. Under MAITY_PLACEMENT the CLI refuses a path outside repo/ ("not a file in this clone"). agy has no MAITY_SCRATCH, and stdin - is blocked by the plain-call rule.

So an agy reviewer cannot post a review_result at all. This is the likely cause of today's silent agy reviewers (funj, kduz, agbg).

Fix, in the runner (ur6p's area). Choose one, and record why in KtW:

  • (a) give the agy placement a writable scratch, exported as MAITY_SCRATCH, the same way the Claude and Codex placements get one, and make --review-file accept a path under it;
  • (b) let --review-file accept a placement-owned writable path the runner names.

Whichever is chosen, repo/ stays read-only to the sandbox, as the inside-scratch rule for Codex says. Don't loosen the plain-call rule for stdin.

Done when:

  • an agy placement on a real runner posts a review_result with a file;
  • a test covers the path check for that location, both the accepted path and a path outside it that is refused;
  • docs/runners.md (and docs/agents.md if the agent-facing step changes) says where an agy reviewer writes its review, in the same PR.

Slot: after #1979, before the older runner PRs.