You're offline — showing cached data

MC-4825

Re-point MC gemini_cli runtime profile -> agy (Antigravity)
2026-06-13 07:37:28 SAST
Home Board MC-4825

Re-point MC gemini_cli runtime profile -> agy (Antigravity)

Re-point the dormant `gemini_cli` MC runtime profile from the RETIRED `gemini` CLI binary to `agy` (Google Antigravity CLI). agy is already INSTALLED + OAuth-authed on Luci at /...
State Done Next Action Closed Owner Luci Runtime Closed Age 5d ago
MC-4825
Ticket is done; runtime is closed. · profile claude_opus_1m_high

Description

MC-4825
Re-point the dormant `gemini_cli` MC runtime profile from the RETIRED `gemini` CLI binary to `agy` (Google Antigravity CLI). agy is already INSTALLED + OAuth-authed on Luci at /home/lucienne/.local/bin/agy (verified 2026-06-08: `agy models` lists models, headless smoke `agy -p "..." --dangerously-skip-permissions` returns clean text). CONTEXT: Gemini CLI is being retired by Google; agy replaces it. The Mac-side skills (deep-research, ai-backends) are already migrated + pushed (conrelma/claude 69899d0). This ticket covers the ONLY remaining Luci item: the gemini_cli MC profile. The Larry council "Gemini" reviewer is API-based (council_runner._ask_gemini -> ask_second_opinion.ask_gemini -> Gemini REST API) and needs NO change. COMMAND MAPPING: `gemini --approval-mode=yolo` -> `agy --dangerously-skip-permissions`. agy has NO --approval-mode=yolo and NO -o text/json output flag; auto-approve is --dangerously-skip-permissions; headless one-shot (if ever needed) is `agy -p "..." --dangerously-skip-permissions` (prints plain text). FILES (canonical ~/workspace/mission-control/ — IGNORE .claude/worktrees/* mirrors): 1. models.py PREFERRED_CLI_PATHS (~line 34): add `"agy": (Path.home()/".local"/"bin"/"agy",),` so resolve_cli_executable("agy") finds it under MC's launch env (don't rely on .bashrc PATH). 2. models.py gemini_cli profile block (~line 922): set "cli":"agy"; "label":"Antigravity (agy)"; "provider":"google"; "model": an agy model name from `agy models` (e.g. "Gemini 3.1 Pro (High)") OR "" to use agy default; "model_options": agy model display names OR []. RECOMMEND keep the profile KEY as "gemini_cli" to avoid churning UI selectors + tests (test_runtime_profiles.py:102, test_mc4370_home_aionui.py:175 assert data-profile="gemini_cli"). If you rename the key to agy_cli, update ALL those refs + app.py:7253. Document your choice. 3. persistent_luci.py (~line 839): the `if cli == "gemini": return "gemini --approval-mode=yolo"` branch -> add/replace with `if cli == "agy": return "agy --dangerously-skip-permissions"`. (Interactive tmux launcher; no -p.) 4. models.py launch-note set (~line 5219): `{"codex","gemini","kimi"}` add "agy". 5. models.py label dict (~line 1158): add `"agy": "Antigravity (agy)"` (keep gemini entries). 6. runtime_pool.py (~line 93): add "agy" to `{"claude","codex","hermes","gemini","kimi"}`. 7. runtime_registry.py (~line 92): description string — add agy to the CLI list (cosmetic). 8. console_panel.py (~line 89): add an "agy" console preset (or repoint the gemini one) with cmd "agy --dangerously-skip-permissions". 9. Tests: keep existing gemini_cli tests green (if key kept). Add a test: gemini_cli profile resolves cli=agy, resolve_cli_executable("agy") returns the agy path, command_for_profile builds "agy --dangerously-skip-permissions". CONSTRAINTS: Live master = deploy (memory: live_master_update_is_deploy). Go through dev-loop; run runtime_profiles + mc4370 + council_runner tests; use the C1 guarded deploy (mc_orchestrator_deploy.py), do NOT push to the checked-out branch. Do not break other profiles. Leave `gemini` (API/model-name) references that are NOT the CLI binary untouched. ACCEPTANCE: (a) gemini_cli profile launches an agy tmux session; (b) resolve_cli_executable("agy") -> /home/lucienne/.local/bin/agy; (c) command_for_profile(gemini_cli profile) == "agy --dangerously-skip-permissions"; (d) all named tests green; (e) deployed live; (f) report files changed + done_sha + the key-keep-vs-rename decision.

Activity

done
Luci is working...
Live
No activity yet
Help