fix(antigravity): fix agent tools, sandbox permissions, and relocate global msd-core
Some checks failed
Tests / PR mergeability (push) Successful in 30s
Tests / Detect test scope (push) Successful in 21s
Tests / lint-tests (push) Failing after 3m39s
Tests / plugin-validate (push) Successful in 2m22s
Tests / test (inert CI) (push) Has been skipped
Tests / conformance test (macos-latest, 24) (push) Blocked by required conditions
Tests / conformance test (windows-latest, 24, shard 1/3) (push) Blocked by required conditions
Tests / conformance test (windows-latest, 24, shard 2/3) (push) Blocked by required conditions
Tests / Required tests (push) Blocked by required conditions
Tests / conformance test (windows-latest, 24, shard 3/3) (push) Blocked by required conditions
Tests / Base branch health (push) Successful in 12s
Tests / test (ubuntu-latest, 24, shard 1/3) (push) Failing after 20s
Tests / test (ubuntu-latest, 24, shard 2/3) (push) Failing after 19s
Tests / test (ubuntu-latest, 24, shard 3/3) (push) Failing after 19s
Tests / test (ubuntu-latest, 24) (push) Failing after 17s
Tests / QA loop walk (smell ratchet) (push) Failing after 20s
Tests / Coverage gate (merged shards) (push) Has been skipped
Tests / Publish emitted-baseline artifact (push) Has been skipped
Dismiss Unauthorized PR Approvals / dismiss-unauthorized-approval (push) Successful in 11s

- Map Glob, WebSearch, WebFetch to Antigravity-native tool names (find_by_name, search_web, read_url_content) and drop unmapped tools instead of lowercasing
- Emit absolute, glob-free trailing-slash read_file() allow rules in settings.json and strip legacy globbed/tilde rules that crash the Antigravity terminal sandbox
- Relocate global Antigravity msd-core/ and sibling scripts/ outside ~/.gemini/ to ~/.msd/antigravity/ (avoiding AGY CLI's hardcoded ~/.gemini/** protection boundary)
- Update content rewriters, msd-run-resolver.md, update-context, and update.md to resolve ~/.msd/antigravity/msd-core/ and .agents/msd-core/
- Replace Discord invite link in installer banner with Golem15 Wavepath join URL
This commit is contained in:
Jakub Zych
2026-11-30 23:55:04 +01:00
parent e7ed5b4c9f
commit cc0c0ad460
12 changed files with 652 additions and 152 deletions

View File

@@ -0,0 +1,5 @@
---
type: Fixed
pr: 4
---
**Antigravity agents, workflows, and terminal sandbox work cleanly** — fixed four blockers on Antigravity CLI: (1) converted agents mapped `Glob`, `WebSearch` and `WebFetch` to names not in Antigravity's tool registry; they now map to `find_by_name`, `search_web` and `read_url_content`, and unmapped tools are dropped instead of lowercased; (2) `buildAntigravityAllowRules` emitted globbed `read_file(.../*)` / `msd-*` rules into `settings.json`, which Antigravity's terminal sandbox rejects (`globs not supported`), breaking every sandboxed command — rules now use glob-free trailing-slash directory paths (`read_file(<dir>/)`) and reinstall/uninstall strips legacy globbed rules automatically; (3) Antigravity CLI enforces a hardcoded system protection boundary across `~/.gemini/**` that blocks `read_file` on `~/.gemini/antigravity-cli/msd-core/` even when allowed in `settings.json` — global Antigravity `msd-core/` now installs outside `~/.gemini/` at `~/.msd/antigravity/msd-core/` (respecting `MSD_HOME`), with `read_file(~/.msd/antigravity/msd-core/)` in `settings.json` and matching `@~/.msd/antigravity/msd-core/...` rewrites; (4) `msd_run` and `/msd-update` now probe `~/.msd/antigravity/msd-core/` and `.agents/msd-core/`. Re-run the installer (`npx @golem15/msd-core --antigravity --global`) to heal `settings.json` and relocate `msd-core/`.