Skip to content

feat(agy): Antigravity CLI shim と ReadOnly レビュープロファイルを dotfiles 管理へ統合 (#218) - #220

Merged
rebuildup merged 1 commit into
release/rex-remotefrom
218
Nov 22, 2026
Merged

rebuildup merged 1 commit into
release/rex-remotefrom
218

Conversation

@rebuildup

Copy link
Copy Markdown
Owner

Summary

  • home/.local/bin/agy(+ antigravity symlink): mise 管理バイナリを解決する launcher shim。SSH セッションマーカー(SSH_CONNECTION/SSH_CLIENT/SSH_TTY)があり ~/.gemini/antigravity-cli/antigravity-oauth-token が無い場合のみマーカーを除去して exec し、keyring 認証を SSH 経由でも有効化する。token file がある SSH ログインはそのまま通す(upstream #1336 の 2 store 仕様に準拠)
  • home/.config/agy/review.settings.json: --settings セッション限定の ReadOnly payload。write_file/command/read_url/execute_url/mcp/unsandboxed を deny
  • docs/adr/ADR-0022.md: 管理対象(shim・review payload)と機体ローカル対象(~/.gemini 配下・Keychain)の境界、ReadOnly 保証の設計根拠
  • docs/research/antigravity-cli-2026-11-23.md: 実機検証エビデンス

実機検証(macOS arm64, agy 1.5.14)

  • agy -p 非対話・--output-format json(usage/denied_actions 含む)・@path 画像入力・agy acp initialize(promptCapabilities.image=true)・agy -p "/quota" の構造化 quota 取得を確認
  • ReadOnly: deny payload で write_file/command が明示 deny、ファイル未作成を確認。--sandbox と --mode plan では command が実行されることを確認し、deny rule が必須であることを実証
  • shim: SSH 環境下で agy models が keyring 認証で成功することを確認(wrapper 経由・antigravity 名とも)

残件

Closes #218

Generated with Devin

- home/.local/bin/{agy,antigravity}: launcher shim that resolves the
  mise-managed binary and strips SSH session markers when no
  file-based OAuth token exists, so keyring auth works over SSH
- home/.config/agy/review.settings.json: session-only --settings
  payload denying write_file/command/URL/MCP/unsandboxed for the
  read-only visual review harness
- ADR-0022 records the managed vs machine-local boundary and why
  plan mode / prompt rules are not the read-only guarantee
- docs/research/antigravity-cli-2026-11-23.md captures the live
  verification evidence (print mode, JSON output, image input, ACP,
  /quota, permission enforcement matrix)

Closes #218

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Explain Change →

Caution

Review failed

The pull request is closed.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@rebuildup
rebuildup marked this pull request as ready for review November 22, 2026 17:24
@rebuildup
rebuildup merged commit 0c57efa into release/rex-remote Nov 22, 2026
3 of 4 checks passed
@rebuildup
rebuildup deleted the 218 branch November 22, 2026 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant