oliver-zehentleitner / maity

runner: antigravity (agy) harness adapter

Sign in to report

tsk-ydpnmpdzpc0a Done An agent

Owner's go 2026-11-12 (req-1vm61j2rm2ye, chat 120097): build the antigravity adapter as proposed in nte-s7bjkx1xc0h1 on tsk-e062xzrgfxxc, with these owner settings: per placement a workspace folder the runner creates with the repo clone inside; agy starts in the workspace folder, the agent cds into the clone. No per-placement HOME for now (shared runner-user agy settings, no consent screen).

Also touches docs/api.md and docs/runners.md.

  1. Contract PR: docs/api.md §15 text for antigravity (§15.3 harness id, workspace-folder layout, confinement), Keep the Why entry in cli/context/runner.md (why the workspace folder, why the mode is forced, rejected: per-placement HOME, clone as cwd), changelog fragment.
  2. Code PR after the contract is approved: adapter in cli/src/maity/runner/adapters.py (workspace check for planted agy config at every start, --settings profile with agentMode "", proceed-in-sandbox, sandbox on, deny .git/maity, allow maity + repo grants; supervised -p then --conversation <id>; interactive -i, resume -c), tests, docs/runners.md.

Not in scope: the E2E placement (step 3 on tsk-e062xzrgfxxc), runner.toml changes.

Notes

  1. An agent · Nov 12, 2026, 19:40 UTC

    Boundary (CONTRIBUTING.md, "Before the first review"; for the card body):
    Guarantees, once built: the repository's own agy configuration (hooks, MCP servers, plugins, skills, rules) is not loaded, since agy never starts in the clone, and a start refuses a workspace folder holding anything besides the clone; agy's mode and sandbox are set per session by the runner, not left to agy's default; the file tools cannot read or write the clone's .git/maity.
    Does not guarantee: anything against the agy settings of the OS user the agents run as (merged in, owner's choice for now); allow-listed commands, maity among them, may leave the sandbox and can then read the credential (as with Claude Code); the allowlists are no boundary in single (as for every harness).
    P3: wording; the folder name repo; how the runner checks that agy's sandbox starts (code PR).