Files
PaperClipAI/packages
DottaandClaude Opus 5.5 4f26416e1c fix(antigravity): the CLI's own state directory is not a swarm escape
A real swarm whose coordinator loads the swarm_pane skill writes its plan
with write_file to <gemini-dir>/antigravity-cli/brain/<session>/
.system_generated/swarm/plan.json, inside the private state directory
Paperclip gives the CLI. The outside-change guard treated that as a write
outside the task folder and stopped the swarm (3 of 7 recorded turns).

The guard now exempts exactly this run's --gemini-dir, resolved through
symlinks and `..`, for file tools and shell writes alike. A sibling of it,
a `..` escape, a symlink out of it and the real ~/.gemini still stop the
swarm; the fake CLI covers the plan turn and each negative.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 13:21:08 -06:00
..