#!/usr/bin/env bash
set -euo pipefail
# Run in each tested checkout after connecting Antigravity in Settings with Gemini API-key mode.
node apps/server/src/bin.ts thread start "$1" 'Call orchestrator_capabilities once. Then call delegate_task exactly once with these exact arguments (copy the task string in full): {"mode":"wait","timeoutMs":45000,"target":{"providerInstanceId":"antigravity","model":"gemini-4-neon"},"task":"Convert \"t3 ready\" to uppercase. Reply with only the converted text. Do not use tools or edit files.","title":"Uppercase text"}. When it returns completed, report only a formatted JSON code block containing its status, providerInstanceId, model, executedModel, and summary fields. Preserve null values. Do not call other tools, edit files, or run shell commands.' --title 'Antigravity executed model proof' --provider codex --model gpt-6-luna --base-dir "$PWD/.t3" --json
