mirror of
https://github.com/paperclipai/paperclip.git
synced 2026-11-26 01:39:51 +01:00
docs(antigravity): say plainly that Paperclip does not sandbox swarm helpers
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
be0a981b66
commit
2c5225b6c9
4 files changed
+9
-5
No files matched your search
@@ -339,8 +339,12 @@ What exists:
|
||||
permission prompt except Paperclip's own tools, and shows what changed in the
|
||||
task folder. It does not settle on the first `end_turn` while helpers may run.
|
||||
- **Not confined by Paperclip.** Helper tool calls never reach the client, and
|
||||
Paperclip's local process sandbox does not wrap Runner harnesses, so helper
|
||||
shell commands are confined only by the CLI (workspace plus temp directories).
|
||||
Paperclip's local process sandbox (`adapter-utils/local-process-sandbox.ts`,
|
||||
used only by the classic Claude and Codex local adapters) does not wrap Runner
|
||||
harnesses on macOS or Linux. Helper shell commands can therefore write outside
|
||||
the task folder wherever the CLI's own sandbox allows (workspace plus temp
|
||||
directories). The outside-path check is a detector for the coordinator's
|
||||
visible calls, not a boundary. The feature stays off by default.
|
||||
- **Credentials.** On macOS the CLI uses its own Google sign-in from the login
|
||||
keychain (the real HOME), not Paperclip's stored Google connection. CLI state
|
||||
lives in a private `--gemini-dir`. Terms: a legal read of the consumer terms'
|
||||
|
||||
@@ -412,7 +412,7 @@ export const INSTANCE_FEATURE_CATALOG: Record<InstanceFeatureKey, FeatureCatalog
|
||||
enableAntigravitySwarm: {
|
||||
title: "Google Antigravity swarm",
|
||||
description:
|
||||
"Let you start Google Antigravity's native swarm by writing /swarm at the start of a task or comment. Helpers change files only in the task folder and are approved automatically there. Local computers with a Google sign-in only.",
|
||||
"Let you start Google Antigravity's native swarm by writing /swarm at the start of a task or comment. Helper actions are approved automatically by Antigravity's auto mode. Paperclip does not sandbox the helpers: their shell commands can write outside the task folder, for example in temp directories. Local computers with a Google sign-in only.",
|
||||
tier: "managed",
|
||||
cloudDefault: false,
|
||||
selfHostedDefault: false,
|
||||
|
||||
@@ -109,7 +109,7 @@ export async function resolveAntigravitySwarmRun(db: Db, input: {
|
||||
issueId: input.issueId, action: "issue.antigravity_swarm_started", entityType: "issue", entityId: input.issueId,
|
||||
details: {
|
||||
commentId,
|
||||
summary: "Started a Google Antigravity swarm with helpers. Helper actions are approved automatically by Antigravity's auto mode, which keeps file changes in the task folder; helper shell commands are not visible to Paperclip and Paperclip does not sandbox them on this computer. Usage is one total for the coordinator and its helpers.",
|
||||
summary: "Started a Google Antigravity swarm with helpers. Helper actions are approved automatically by Antigravity's auto mode. Paperclip does not sandbox the helpers on this computer and cannot see their shell commands, which can write outside the task folder (for example in temp directories). Usage is one total for the coordinator and its helpers.",
|
||||
},
|
||||
});
|
||||
return true;
|
||||
|
||||
@@ -441,7 +441,7 @@ export function InstanceExperimentalSettings() {
|
||||
<ExperimentalToggleCard
|
||||
title="Google Antigravity swarm"
|
||||
description="Write /swarm at the start of a task or comment to a Google Antigravity agent to start its native swarm: a coordinator, helpers and a checker that work together in the task folder."
|
||||
footnote="Local computers with a Google sign-in only. Helper changes inside the task folder are approved automatically; changes elsewhere are blocked."
|
||||
footnote="Local computers with a Google sign-in only. Helper actions are approved automatically. Paperclip does not sandbox the helpers: their shell commands can write outside the task folder, for example in temp directories."
|
||||
checked={experimentalQuery.data?.enableAntigravitySwarm === true}
|
||||
onCheckedChange={(checked) => toggleMutation.mutate({ enableAntigravitySwarm: checked })}
|
||||
disabled={toggleMutation.isPending}
|
||||
|
||||
Reference in new issue
Block a user