Repository navigation
feat(antigravity): add the Antigravity provider - #257
Conversation
Register `antigravity` with the NamedSpecs hook format, generate `~/.gemini/antigravity-cli/settings.json` permissions (command rules, sandbox read paths, protected write paths, concrete secret read paths) and sync only the owned rule kinds, expanding the home prefix of path rules because `agy` reads absolute paths. Agent-token denials of the normal gh token and the App private key are composed through `antigravity.settings`. The design is recorded in ADR-0031. Refs #256 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
@codex review |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Review summary1 blocking finding (P1)
Checked and found no problems:
🤖 Generated with Claude Code |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c46a7e0ff8
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
A secret rule such as `~/**` converts to `read_file(~)`, which the sync left relative; expand `tool(~)` as well as `tool(~/...)`. Also convert concrete secret rules that deny writes into `write_file(...)` denials, matching Claude's Edit rules, and note the `/run` and settings-directory trade-offs in ADR-0031. Refs #256 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
@codex review |
Review summaryBlocking: 1 (P1)
Non-blocking
Otherwise the provider wiring looks consistent: the 🤖 Generated with Claude Code |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c2ec8a9056
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Expand `~` in Antigravity path rules when `install` targets the home directory, since only the Home Manager sync did so before. Keep `//` as the root, deny the well-known secret mounts under the `/run` allow, and rewrite ADR-0031 in MADR form as the ADR lint requires from 0031. Refs #256 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
@codex review |
Review summaryBlocking findings (P0/P1): 0
Areas checked with no issues found:
The unverified 🤖 Generated with Claude Code |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 8d5477fd6a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Refs #256 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
@codex review |
Review summaryBlocking: 1 (P1)
Other notes (not blocking)
|
|
Codex Review: Didn't find any major issues. Bravo. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Own every top-level key but `permissions` so the source settings reach `settings.json`, and add a generated list entry only when the installed list lacks it, so a source rule the harness does not own is not repeated by every sync. Refs #256 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
@codex review |
Review summaryI found no blocking issues (0 P0 or P1).
What I checked and found sound:
Tests cover the new sync, render, hooks and Nix paths. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: faeb692260
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Also deny the generation directories sops-nix and agenix link their mounts to, plus /run/user. Treat only array values of a named hook spec as events, skip a spec with `enabled: false` in the hook list, and merge a bundle's spec fields without overriding the built-in ones. Refs #256 Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
@codex review |
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
@codex review |
Review summary (read-only)I found no P0–P3 issues worth blocking or commenting on inline. What I checked:
Things to keep in mind (no change requested):
Blocking findings: 0 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1be88da999
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
@codex review |
Review summaryNo blocking findings (no P0 or P1). I left two P2 inline comments:
What I checked and found sound: the owned 🤖 Generated with Claude Code |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f63b50d098
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…, keep trailing-slash roots Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
@codex review |
|
Review summary (read-only) I found no P0 or P1 issues. I looked at the new Antigravity provider, how it generates and syncs
Not code defects, but worth knowing: as the ADR says, glob secret patterns are only enforced if the source registers a Blocking findings: 0 |
|
Codex Review: Didn't find any major issues. What shall we delve into next? Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
@codex review |
Review summaryI found no P0–P3 issues worth flagging after reviewing the new Antigravity provider. I checked:
This PR cannot fix the open items it already lists:
Those need checking on a real install, as the PR notes. Blocking findings: 0 |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 947660d274
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
|
@codex review |
|
Review summary (read-only) I found no P0–P3 issues worth raising. What I checked:
Left as documented trade-offs in ADR-0031:
None of these block the merge, but they should be checked against a real |
|
Codex Review: Didn't find any major issues. 🎉 Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
🤖 I have created a release *beep* *boop* --- ## [0.9.15](agent-harness-v0.9.14...agent-harness-v0.9.15) (2026-11-21) ### Features * **adr:** adopt the shared ADR checks ([#254](#254)) ([94125a0](94125a0)) * **antigravity:** add the Antigravity provider ([#257](#257)) ([1727a70](1727a70)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: furedea-release[bot] <353651101+furedea-release[bot]@users.noreply.github.com>
…487) agent-config を 0.4.0,agent-harness を 0.9.15 に上げる.T3 で lane を回す仕組みと,Antigravity の provider・hook adapter が入る.Antigravity の hook の配線と有効化は別の PR. | 入力 | 変更前 | 変更後 | | --- | --- | --- | | `agent-config` | `3dfa0ad8`(0.3.1 後) | `51f91f9a`(v0.4.0) | | `agent-harness` | `83caaa98`(0.9.14) | `c5b13036`(0.9.15) | - [ ] CI - [ ] 反映後,`~/.claude/settings.json` の `sandbox.excludedCommands` に `t3 thread *` がある - [ ] 反映後,`delegation` skill が Claude と Codex に入っている <details> <summary>内容と出典</summary> - agent-config 0.4.0:`t3 thread` の guard(#265),T3 の lane worktree の片付け(#266),`delegation` skill(#268),ADR-0028(#267),Antigravity の hook adapter(#263).furedea/agent-config#264 - agent-harness 0.9.15:Antigravity provider(furedea/agent-harness#257).`programs.agent-harness.antigravity` は未設定なので,この PR では Antigravity の設定は作られない想定 - 変更は `flake.lock` のみ </details> 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: furedea <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
概要
antigravityプロバイダ(HookFormat::NamedSpecs)を追加し,~/.gemini/configの AGENTS.md・skills・hooks,~/.gemini/antigravity-cli/settings.jsonのpermissionsを生成・同期する.permissionsは glob を含まない具体パスのみ出力する(agyは glob で sandbox 起動に失敗する).read_file(/nix),read_file(/run),command(...),保護パスのwrite_file(...),単一パスに変換できる secret のread_file(...)を管理し,glob の secret はPreToolUsehook が担う.agentMode: ""とenableTerminalSandbox: trueを固定する.ユーザー所有のキー・ルールは保持する.agyが絶対パスのみ読むため,同期時にtool(~/x)の~/を展開するhome_rule_listsを追加した.antigravity.settingsと,github.agentToken有効時の通常ghtoken / App 秘密鍵のread_filedeny を追加した.Refs #256(実機確認が必要な受け入れ条件が残るため,自動クローズしない)
未検証(Issue の未チェック項目)
GH_CONFIG_DIR:agyのsettings.jsonに環境変数を渡すキーは確認できず,harness は設定しない.起動環境から渡す必要がある(gh api userが agent App として認証されるかは未確認).PreToolUseの matcher"*"の適用範囲,deny/ask/allow の優先順位,write_filedeny の適用範囲,~/解釈,Stopの挙動は認証済み実ターンで未確認(~/は同期時に絶対パスへ展開して回避).read_filedeny が sandbox 内コマンドにも効くか,AGENTS.mdの 20,000 token 上限は実機で未確認.Test plan
cargo fmt --check,cargo clippy --all-targets -- -D warnings,cargo testUPDATE_PROVIDERS_JSON=1 cargo test --test nix_provider_registryでnix/providers.jsonを更新nix flake check(Home Manager モジュールチェック含む)🤖 Generated with Claude Code