Harness Notes

Worktrees

Updated 2026-11-22,

On this page

How each harness creates an isolated checkout, what it starts from, and what happens to the changes afterward. Worktrees isolate files; conversation forks and subagent context are separate. Unknown answers mark gaps in the recorded evidence, not proof that a capability is absent.

Forking: conversation history and file isolation

Subagents: delegation and workspace isolation

QuestionAntigravity CLIchecked at 1.5.14
Create or enter

Partly

Google documents CLI subagent worktrees under the worktrees directory in app data. Direct interactive CLI creation remains unverified.

Starting state

Partly

Since 1.5.5 an isolated worker’s Git worktree includes staged, unstaged and untracked changes. Explicit selection of the base ref remains unverified.

Session isolation

Partly

The /fork command reuses the existing checkout. Launching a top-level CLI conversation in a harness-created worktree remains unverified.

Subagent isolation

Google documents Git worktrees for subagents and swarm workers given an isolated repository copy. From 1.5.5 it also documents isolated copies outside Git, with size and entry limits.

Setup and environment files

Not documented

A setup script or post-creation hook for a new worktree remains unverified.

Review and integrate changes

Not documented

Built-in merging or applying changes back to the parent remains unverified.

Exit and cleanup

Not documented

The worktree location is documented. Cleanup triggers and ownership remain unverified.

CLI, tools and APIs

Not documented

No CLI automation contract for worktree lifecycle was established.

Commands

No commands recorded.

Notes and sources

Antigravity CLI, 3 sources
Create or enter, 1
Starting state, 1
Session isolation, 1
Subagent isolation, 1
Setup and environment files, 1
Review and integrate changes, 1
Exit and cleanup, 1
CLI, tools and APIs, 1