{
  "schemaVersion": 1,
  "updatedAt": "2026-11-22",
  "dimensions": [
    "create",
    "base",
    "session",
    "subagents",
    "setup",
    "integrate",
    "cleanup",
    "automation"
  ],
  "contracts": [
    {
      "harness": "codex",
      "variant": "0.164.0",
      "default": true,
      "verifiedAt": "2026-10-27",
      "observedVersion": "0.164.0",
      "method": "source-inspection",
      "evidence": [
        "worktrees-codex-cli",
        "worktrees-codex-startup",
        "worktrees-codex-picker",
        "worktrees-codex-creation",
        "worktrees-codex-manager",
        "worktrees-codex-settings",
        "worktrees-codex-browser",
        "worktrees-codex-exec",
        "worktrees-codex-protocol",
        "worktrees-codex-child",
        "worktrees-codex-spawn",
        "worktrees-codex-events"
      ],
      "references": [
        "https://github.com/openai/codex/blob/6aaac694803004a63c6f393d153c96d22521a6b9/codex-rs/cli/src/main.rs#L2280",
        "https://github.com/openai/codex/blob/6aaac694803004a63c6f393d153c96d22521a6b9/codex-rs/tui/src/worktree_startup.rs#L238",
        "https://github.com/openai/codex/blob/6aaac694803004a63c6f393d153c96d22521a6b9/codex-rs/tui/src/chatwidget/worktree_picker.rs#L16",
        "https://github.com/openai/codex/blob/6aaac694803004a63c6f393d153c96d22521a6b9/codex-rs/tui/src/app/managed_worktree_creation.rs#L161",
        "https://github.com/openai/codex/blob/6aaac694803004a63c6f393d153c96d22521a6b9/codex-rs/worktree/src/lib.rs#L62",
        "https://github.com/openai/codex/blob/6aaac694803004a63c6f393d153c96d22521a6b9/codex-rs/worktree/src/settings.rs#L32",
        "https://github.com/openai/codex/blob/6aaac694803004a63c6f393d153c96d22521a6b9/codex-rs/tui/src/worktree_browser.rs#L141",
        "https://github.com/openai/codex/blob/6aaac694803004a63c6f393d153c96d22521a6b9/codex-rs/exec/src/lib.rs#L383",
        "https://github.com/openai/codex/blob/6aaac694803004a63c6f393d153c96d22521a6b9/codex-rs/app-server-protocol/src/protocol/v2/thread.rs#L544",
        "https://github.com/openai/codex/blob/6aaac694803004a63c6f393d153c96d22521a6b9/codex-rs/core/src/agent/child_config.rs#L178",
        "https://github.com/openai/codex/blob/6aaac694803004a63c6f393d153c96d22521a6b9/codex-rs/core/src/tools/handlers/multi_agents/spawn.rs#L98",
        "https://github.com/openai/codex/blob/6aaac694803004a63c6f393d153c96d22521a6b9/codex-rs/tui/src/app/event_dispatch.rs#L268"
      ],
      "conditions": [
        "Pinned rust-v0.164.0 source; CLI/TUI and App Server boundaries are separate. No Codex runtime probe or desktop implementation audit."
      ],
      "unknowns": [
        "Behavior outside the cited versions, hosts and configured extensions is not established."
      ],
      "details": {
        "releaseTag": "rust-v0.164.0",
        "tagObject": "fe3b29455488c2e189e43ad5526a107900c5e1b7"
      },
      "support": {
        "create": "native",
        "base": "native",
        "session": "native",
        "subagents": "partial",
        "setup": "unknown",
        "integrate": "partial",
        "cleanup": "native",
        "automation": "partial"
      },
      "answers": {
        "create": {
          "status": "supported",
          "answer": "Start a local session with `codex --worktree` or `codex exec --worktree`. The local TUI new/fork picker offers Create new Git worktree; `/worktree` browses managed worktrees.",
          "reference": "https://github.com/openai/codex/blob/6aaac694803004a63c6f393d153c96d22521a6b9/codex-rs/tui/src/chatwidget/worktree_picker.rs#L16",
          "evidence": [
            "worktrees-codex-picker",
            "worktrees-codex-cli",
            "worktrees-codex-startup",
            "worktrees-codex-creation"
          ],
          "notes": [
            "CLI/TUI source inspected at 0.164.0. Desktop Worktree mode is a separate host surface."
          ]
        },
        "base": {
          "status": "supported",
          "answer": "The inspected CLI/TUI creation paths pass no base override, so the manager creates a detached checkout of the source checkout's current `HEAD`. Tracked edits, staged changes and untracked files are not carried over. The default allocation root is `$CODEX_HOME/worktrees`.",
          "reference": "https://github.com/openai/codex/blob/6aaac694803004a63c6f393d153c96d22521a6b9/codex-rs/worktree/src/lib.rs#L62",
          "evidence": [
            "worktrees-codex-manager",
            "worktrees-codex-settings",
            "worktrees-codex-startup",
            "worktrees-codex-exec"
          ],
          "notes": [
            "The host-local `desktop.git-worktree-root` setting can override the root. A detached checkout has no new branch until you create one."
          ]
        },
        "session": {
          "status": "supported",
          "answer": "New sessions can run in a managed worktree. `codex fork <id> --worktree` and `codex exec fork <id> --worktree` copy a conversation into a new checkout. The CLI rejects `--worktree` with resume, queue, archive, unarchive and delete; fork requires an explicit session.",
          "reference": "https://github.com/openai/codex/blob/6aaac694803004a63c6f393d153c96d22521a6b9/codex-rs/cli/src/main.rs#L2280",
          "evidence": [
            "worktrees-codex-cli",
            "release-review-30-cx-picker-repo-filter",
            "release-review-30-cx-picker-repo-load"
          ],
          "notes": [
            "The inspected `--worktree` startup path requires local execution and refuses an explicitly untrusted source.",
            "0.165.0 TUI resume picker adds a Repo filter alongside Cwd and All when several local worktrees exist, listing sessions from matching directories across linked worktrees. The Cwd filter and `resume --last`/`fork --last` still use only the current directory."
          ]
        },
        "subagents": {
          "status": "partial",
          "answer": "The inspected built-in spawn path prepares a child config using the parent turn's `cwd`; it does not allocate a worktree in that path. A chat in a managed worktree and a subagent with its own worktree are separate capabilities.",
          "reference": "https://github.com/openai/codex/blob/6aaac694803004a63c6f393d153c96d22521a6b9/codex-rs/core/src/agent/child_config.rs#L178",
          "evidence": ["worktrees-codex-child", "worktrees-codex-spawn"],
          "notes": [
            "This describes the traced built-in path, not every custom host, remote provider or extension."
          ]
        },
        "setup": {
          "status": "unknown",
          "answer": "Provision dependencies and local environment files in the new checkout. The inspected manager materializes committed files; this audit has not established an automatic dependency setup or ignored-file copying mechanism for CLI worktrees.",
          "reference": "https://github.com/openai/codex/blob/6aaac694803004a63c6f393d153c96d22521a6b9/codex-rs/worktree/src/lib.rs#L62",
          "evidence": ["worktrees-codex-manager"],
          "notes": [
            "Do not infer desktop setup behavior from the CLI manager or from shared root settings."
          ]
        },
        "integrate": {
          "status": "partial",
          "answer": "Review the detached checkout and preserve the result on a branch or in commits before integrating it with normal Git operations. The inspected creation path returns a checkout with no branch; it does not establish a desktop Apply or automatic merge contract.",
          "reference": "https://github.com/openai/codex/blob/6aaac694803004a63c6f393d153c96d22521a6b9/codex-rs/worktree/src/lib.rs#L62",
          "evidence": ["worktrees-codex-manager"]
        },
        "cleanup": {
          "status": "supported",
          "answer": "CLI settings explicitly disable automatic cleanup. The TUI worktree browser supports explicit removal through the manager: it refuses the current checkout and ignored local files, then calls `git worktree remove` without force. Thread history is retained.",
          "reference": "https://github.com/openai/codex/blob/6aaac694803004a63c6f393d153c96d22521a6b9/codex-rs/worktree/src/settings.rs#L32",
          "evidence": [
            "worktrees-codex-settings",
            "worktrees-codex-manager",
            "worktrees-codex-browser",
            "worktrees-codex-events"
          ],
          "notes": [
            "The manager's removal checks are source evidence, not a runtime-tested guarantee about unpushed commits or desktop cleanup."
          ]
        },
        "automation": {
          "status": "partial",
          "answer": "CLI entry points create the checkout locally before using App Server. App Server `thread/start` and `thread/fork` accept a `cwd`; that field selects a directory and does not by itself establish a worktree-creation API. A client can arrange a checkout before supplying its path.",
          "reference": "https://github.com/openai/codex/blob/6aaac694803004a63c6f393d153c96d22521a6b9/codex-rs/app-server-protocol/src/protocol/v2/thread.rs#L544",
          "evidence": [
            "worktrees-codex-protocol",
            "worktrees-codex-startup",
            "worktrees-codex-exec"
          ],
          "notes": [
            "The traced CLI caller and protocol are distinct. Custom hosts and hosted worktree services remain outside this audit."
          ]
        }
      },
      "sourceRevision": "6aaac694803004a63c6f393d153c96d22521a6b9",
      "clientVersion": "0.164.0",
      "notes": [
        "Source inspection at rust-v0.164.0 (6aaac694803004a63c6f393d153c96d22521a6b9). No lifecycle runtime probe; desktop, hosted services and custom/cloud providers are outside the traced paths."
      ]
    },
    {
      "harness": "claude-code",
      "variant": "2.1.310",
      "default": true,
      "verifiedAt": "2026-10-27",
      "observedVersion": "2.1.310",
      "method": "documentation",
      "evidence": ["worktrees-claude-docs"],
      "references": ["https://code.claude.com/docs/en/worktrees"],
      "conditions": [
        "Documentation and retained evidence; no worktree lifecycle runtime probe was run."
      ],
      "unknowns": [
        "Behavior outside the cited versions, hosts and configured extensions is not established."
      ],
      "details": {},
      "support": {
        "create": "native",
        "base": "native",
        "session": "native",
        "subagents": "native",
        "setup": "native",
        "integrate": "partial",
        "cleanup": "native",
        "automation": "native"
      },
      "answers": {
        "create": {
          "status": "supported",
          "answer": "Use `claude --worktree <name>` (`-w`) or ask Claude to call `EnterWorktree`. Git-created checkouts default to `.claude/worktrees/<name>` on a `worktree-<name>` branch; an existing name reopens a checkout.",
          "reference": "https://code.claude.com/docs/en/worktrees#start-claude-in-a-worktree",
          "evidence": ["worktrees-claude-docs"]
        },
        "base": {
          "status": "supported",
          "answer": "The default `worktree.baseRef: \"fresh\"` starts from the remote default branch, with local `HEAD` fallback. Set `\"head\"` to include committed feature-branch work. Uncommitted files are not part of that base.",
          "reference": "https://code.claude.com/docs/en/worktrees#choose-the-base-branch",
          "evidence": ["worktrees-claude-docs"]
        },
        "session": {
          "status": "supported",
          "answer": "The whole session can enter a worktree, and `EnterWorktree` can switch to an existing one. Resume re-enters a retained bound worktree after validation; `--fork-session` instead starts in the launch directory.",
          "reference": "https://code.claude.com/docs/en/worktrees#resume-a-worktree-session",
          "evidence": ["worktrees-claude-docs"]
        },
        "subagents": {
          "status": "supported",
          "answer": "Request worktree isolation or set `isolation: worktree` in a custom subagent definition. Each child receives its own temporary checkout, using the same configured base selection as session worktrees.",
          "reference": "https://code.claude.com/docs/en/worktrees#isolate-subagents-with-worktrees",
          "evidence": ["worktrees-claude-docs"]
        },
        "setup": {
          "status": "supported",
          "answer": "Install dependencies in the fresh checkout. `.worktreeinclude` copies matching gitignored files such as `.env`. `WorktreeCreate` can replace creation; that hook must handle its own file copying and setup.",
          "reference": "https://code.claude.com/docs/en/worktrees#copy-gitignored-files-into-worktrees",
          "evidence": ["worktrees-claude-docs"]
        },
        "integrate": {
          "status": "partial",
          "answer": "Changes stay on the worktree branch for review and integration. Keeping a checkout preserves its files and branch; removing it can discard that work. The documented lifecycle does not promise automatic integration.",
          "reference": "https://code.claude.com/docs/en/worktrees#clean-up-worktrees",
          "evidence": ["worktrees-claude-docs"]
        },
        "cleanup": {
          "status": "supported",
          "answer": "Interactive exit checks for local work and new commits before offering keep/remove; a clean unnamed worktree can be removed automatically. `-p` leaves its checkout. Subagent/background cleanup retains dirty or unpushed work; hook-created worktrees follow separate removal rules.",
          "reference": "https://code.claude.com/docs/en/worktrees#clean-up-worktrees",
          "evidence": ["worktrees-claude-docs", "release-review-claude-2.1.311"],
          "notes": [
            "Named sessions, submodules and inability to verify state affect cleanup. See the source for the full rules; no cleanup runtime probe was run.",
            "2.1.311 publisher fixes an isolated subagent worktree being removed while a background subagent it spawned is still working there. This supplements the 2.1.310 documentation baseline; no cleanup runtime probe."
          ]
        },
        "automation": {
          "status": "supported",
          "answer": "The CLI supports `--worktree`; model-callable `EnterWorktree` and `ExitWorktree` enter and leave a checkout. `WorktreeCreate` and `WorktreeRemove` customize lifecycle operations, including non-Git systems.",
          "reference": "https://code.claude.com/docs/en/worktrees#replace-worktree-creation-with-a-hook",
          "evidence": ["worktrees-claude-docs"]
        }
      },
      "notes": [
        "Publisher documentation reviewed against the 2.1.310 baseline; implementation unavailable and no lifecycle runtime probe."
      ]
    },
    {
      "harness": "cursor-agent",
      "variant": "docs-2026-10-27",
      "default": true,
      "verifiedAt": "2026-10-27",
      "observedVersion": "docs-2026-10-27",
      "method": "documentation",
      "evidence": [
        "worktrees-cursor-docs",
        "cursor-cli-changelog",
        "cursor-cli-using-docs",
        "cursor-agent-docs",
        "cursor-subagents-docs",
        "delegation-cursor-agent-cursor-com-docs-configuration-worktrees"
      ],
      "references": [
        "https://cursor.com/docs/configuration/worktrees",
        "https://cursor.com/docs/cli/changelog",
        "https://cursor.com/docs/cli/using",
        "https://cursor.com/docs/agent/overview",
        "https://cursor.com/docs/subagents",
        "https://cursor.com/docs/configuration/worktrees"
      ],
      "conditions": [
        "Documentation and retained evidence; no worktree lifecycle runtime probe was run."
      ],
      "unknowns": [
        "Behavior outside the cited versions, hosts and configured extensions is not established."
      ],
      "details": {},
      "support": {
        "create": "native",
        "base": "unknown",
        "session": "native",
        "subagents": "partial",
        "setup": "native",
        "integrate": "native",
        "cleanup": "partial",
        "automation": "partial"
      },
      "answers": {
        "create": {
          "status": "supported",
          "answer": "The Agents Window creates or moves a task into a worktree. IDE Worktree Skills provide `/worktree`; the retained CLI documentation records `-w`/`--worktree [name]`.",
          "reference": "https://cursor.com/docs/configuration/worktrees#create-a-worktree-in-the-agents-window",
          "evidence": [
            "worktrees-cursor-docs",
            "cursor-cli-changelog",
            "cursor-cli-using-docs",
            "cursor-agent-docs"
          ],
          "notes": [
            "Agents Window, IDE skills and CLI are distinct entry points.",
            "CLI flags retained from the existing versioned Forking contract."
          ]
        },
        "base": {
          "status": "unknown",
          "answer": "This audit does not establish a common starting revision or dirty-change carryover rule across Cursor CLI, Agents Window and IDE Worktree Skills.",
          "reference": "https://cursor.com/docs/configuration/worktrees#create-a-worktree-in-the-agents-window",
          "evidence": ["worktrees-cursor-docs"]
        },
        "session": {
          "status": "supported",
          "answer": "Agents Window can start or move a task into a separate checkout. In the IDE, `/worktree` runs the rest of that chat in an isolated checkout.",
          "reference": "https://cursor.com/docs/configuration/worktrees#worktree-skills-in-ide",
          "evidence": ["worktrees-cursor-docs"]
        },
        "subagents": {
          "status": "partial",
          "answer": "By default, subagents edit the parent's checkout directly, so parallel subagents can overwrite each other. If you ask for isolation (\"... each in its own environment\"), each subagent gets its own branch, either in a Git worktree on the same machine or in a cloud VM with a fresh clone, and its changes stay on that branch until the parent merges them. In the CLI you can also isolate the whole session with `agent --worktree [name]`, which creates a worktree under `~/.cursor/worktrees/<repo>/<name>`.",
          "reference": "https://cursor.com/docs/subagents#isolated-project-copies",
          "evidence": [
            "cursor-subagents-docs",
            "cursor-cli-using-docs",
            "delegation-cursor-agent-cursor-com-docs-configuration-worktrees"
          ],
          "notes": [
            "In CLI 2026.10.12, per-subagent isolation sits behind a feature flag that is off by default, so it may not be available in every CLI session.",
            "Retained from the Subagents audit checked 2026-10-15; not re-probed for this page."
          ]
        },
        "setup": {
          "status": "supported",
          "answer": "Configure `.cursor/worktrees.json` with `setup-worktree`, `setup-worktree-unix` or `setup-worktree-windows`. Each accepts command arrays or a script path; OS-specific keys take precedence. Setup can copy environment files using `ROOT_WORKTREE_PATH`.",
          "reference": "https://cursor.com/docs/configuration/worktrees#how-does-worktree-setup-work",
          "evidence": ["worktrees-cursor-docs"]
        },
        "integrate": {
          "status": "supported",
          "answer": "Review in the Agents Window, keep working there, or commit/open a PR from that checkout. IDE `/apply-worktree` brings changes into the main workspace; `/best-of-n` compares isolated runs without merging them automatically.",
          "reference": "https://cursor.com/docs/configuration/worktrees#worktree-skills-in-ide",
          "evidence": ["worktrees-cursor-docs"]
        },
        "cleanup": {
          "status": "partial",
          "answer": "IDE `/delete-worktree` removes a checkout. Cursor 3.5+ documents periodic machine-wide cleanup controlled by `cursor.worktreeCleanupIntervalHours` and `cursor.worktreeMaxCount` (default 25). This audit has not established its protections for dirty files or unpushed commits.",
          "reference": "https://cursor.com/docs/configuration/worktrees#worktrees-cleanup",
          "evidence": ["worktrees-cursor-docs"],
          "notes": [
            "The cleanup settings describe the Cursor host version, not a CLI release version."
          ]
        },
        "automation": {
          "status": "partial",
          "answer": "CLI `-w`/`--worktree [name]` is retained in the fork audit; setup configuration is documented for CLI, IDE and Agents Window. A public worktree-management SDK/API contract is not established here.",
          "reference": "https://cursor.com/docs/configuration/worktrees#how-does-worktree-setup-work",
          "evidence": [
            "worktrees-cursor-docs",
            "cursor-cli-changelog",
            "cursor-cli-using-docs",
            "cursor-agent-docs"
          ],
          "notes": ["CLI flags retained from the existing versioned Forking contract."]
        }
      },
      "notes": [
        "Documentation reviewed 2026-10-27; retained subagent answers keep their original source/version boundaries. No lifecycle runtime probe."
      ]
    },
    {
      "harness": "opencode",
      "variant": "v2-docs-2026-10-27",
      "default": true,
      "verifiedAt": "2026-10-27",
      "observedVersion": "v2-docs-2026-10-27",
      "method": "documentation",
      "evidence": [
        "worktrees-opencode-docs",
        "delegation-opencode-opencode-ai-v2-docs-tools",
        "delegation-opencode-packages-core-src-tool-plugin-subagent-ts",
        "delegation-opencode-opencode-ai-v2-docs-config"
      ],
      "references": [
        "https://opencode.ai/v2/docs/tools",
        "https://opencode.ai/v2/docs/tools",
        "https://github.com/anomalyco/opencode/blob/042d0832f5f3a73eaa039a58a7d565776f6d4290/packages/core/src/tool/plugin/subagent.ts",
        "https://opencode.ai/v2/docs/config"
      ],
      "conditions": [
        "Documentation and retained evidence; no worktree lifecycle runtime probe was run."
      ],
      "unknowns": [
        "Behavior outside the cited versions, hosts and configured extensions is not established."
      ],
      "details": {},
      "support": {
        "create": "native",
        "base": "unknown",
        "session": "native",
        "subagents": "native",
        "setup": "unknown",
        "integrate": "unknown",
        "cleanup": "partial",
        "automation": "native"
      },
      "answers": {
        "create": {
          "status": "supported",
          "answer": "In Code Mode, call `opencode.worktree_create` with a name; it returns a directory. `worktree_list` lists project worktrees. Project configuration chooses the destination and strategy.",
          "reference": "https://opencode.ai/v2/docs/tools#worktrees",
          "evidence": ["worktrees-opencode-docs"]
        },
        "base": {
          "status": "unknown",
          "answer": "The tools reference delegates worktree strategy to project configuration; this audit does not establish the base revision or dirty-file carryover for every strategy.",
          "reference": "https://opencode.ai/v2/docs/tools#worktrees",
          "evidence": ["worktrees-opencode-docs"]
        },
        "session": {
          "status": "supported",
          "answer": "After creating a checkout, use `session_move` to move the session into its directory. The move takes effect at a safe boundary, so directory-dependent work belongs in a later call.",
          "reference": "https://opencode.ai/v2/docs/tools#sessions",
          "evidence": ["worktrees-opencode-docs"]
        },
        "subagents": {
          "status": "supported",
          "answer": "Subagents run in the parent session's directory and edit your checkout directly; there is no automatic per-subagent worktree or sandbox, so there is nothing to merge. Worktrees exist as separate session tools (`worktree_create`, `session_move`), which an agent can use to move a whole session into a new worktree.",
          "reference": "https://opencode.ai/v2/docs/tools#worktrees",
          "evidence": [
            "delegation-opencode-opencode-ai-v2-docs-tools",
            "delegation-opencode-packages-core-src-tool-plugin-subagent-ts",
            "delegation-opencode-opencode-ai-v2-docs-config"
          ],
          "notes": [
            "Retained from the Subagents audit checked 2026-10-15; not re-probed for this page."
          ]
        },
        "setup": {
          "status": "unknown",
          "answer": "Project worktree configuration selects the strategy. Automatic dependency installation, environment-file copying and custom strategy setup semantics have not been traced for this page.",
          "reference": "https://opencode.ai/v2/docs/tools#worktrees",
          "evidence": ["worktrees-opencode-docs"]
        },
        "integrate": {
          "status": "unknown",
          "answer": "The tools reference describes creation, movement and removal; this audit does not establish an automatic merge or apply-back contract. Review and integrate the resulting checkout according to the configured strategy.",
          "reference": "https://opencode.ai/v2/docs/tools#worktrees",
          "evidence": ["worktrees-opencode-docs"]
        },
        "cleanup": {
          "status": "partial",
          "answer": "`worktree_remove` removes a checkout recorded for the project. `force` allows discarding uncommitted changes; removal requests the `edit` permission on the checkout directory. Protection for unpushed commits and automatic sweeping remain unverified.",
          "reference": "https://opencode.ai/v2/docs/tools#worktrees",
          "evidence": ["worktrees-opencode-docs"]
        },
        "automation": {
          "status": "supported",
          "answer": "Code Mode exposes `worktree_create`, `worktree_list`, `worktree_remove` and `session_move`. Creating a worktree and moving the session are separate operations. These V2 utilities do not establish equivalent V1 commands or an identical external protocol.",
          "reference": "https://opencode.ai/v2/docs/tools#worktrees",
          "evidence": ["worktrees-opencode-docs"]
        }
      },
      "notes": [
        "Documentation reviewed 2026-10-27; retained subagent answers keep their original source/version boundaries. No lifecycle runtime probe."
      ]
    },
    {
      "harness": "pi",
      "variant": "retained-extension-audit",
      "default": true,
      "verifiedAt": "2026-10-27",
      "observedVersion": "retained-extension-audit",
      "method": "documentation",
      "evidence": ["memory-pi-packages-coding-agent-examples-extensions-subagent-index-ts"],
      "references": [
        "https://github.com/earendil-works/pi/blob/06a466935536f8c9bcacb2d5efc0fc021be1bdff/packages/coding-agent/examples/extensions/subagent/index.ts"
      ],
      "conditions": [
        "Retains the existing pi example-extension evidence; custom extensions can add behavior. No new exhaustive provider or extension audit."
      ],
      "unknowns": [
        "Behavior outside the cited versions, hosts and configured extensions is not established."
      ],
      "details": {},
      "support": {
        "create": "unknown",
        "base": "unknown",
        "session": "unknown",
        "subagents": "unknown",
        "setup": "unknown",
        "integrate": "unknown",
        "cleanup": "unknown",
        "automation": "unknown"
      },
      "answers": {
        "create": {
          "status": "unknown",
          "answer": "The retained audit describes running pi or a subagent extension with a selected working directory. Built-in managed-worktree creation has not been established here; create a checkout externally when needed.",
          "reference": "https://github.com/earendil-works/pi/blob/06a466935536f8c9bcacb2d5efc0fc021be1bdff/packages/coding-agent/examples/extensions/subagent/index.ts#L345-L350",
          "evidence": ["memory-pi-packages-coding-agent-examples-extensions-subagent-index-ts"]
        },
        "base": {
          "status": "unknown",
          "answer": "The externally created checkout determines the starting revision and carried files. No pi-specific base selection contract is recorded.",
          "reference": "https://github.com/earendil-works/pi/blob/06a466935536f8c9bcacb2d5efc0fc021be1bdff/packages/coding-agent/examples/extensions/subagent/index.ts#L345-L350",
          "evidence": ["memory-pi-packages-coding-agent-examples-extensions-subagent-index-ts"]
        },
        "session": {
          "status": "unknown",
          "answer": "Launch pi in an externally prepared checkout. A session fork changes conversation history; it does not establish a separate filesystem checkout.",
          "reference": "https://github.com/earendil-works/pi/blob/06a466935536f8c9bcacb2d5efc0fc021be1bdff/packages/coding-agent/examples/extensions/subagent/index.ts#L345-L350",
          "evidence": ["memory-pi-packages-coding-agent-examples-extensions-subagent-index-ts"]
        },
        "subagents": {
          "status": "unknown",
          "answer": "The retained example subagent extension uses the parent directory or an explicitly supplied per-task `cwd`. An external checkout can be supplied; automatic per-child worktree allocation is not established.",
          "reference": "https://github.com/earendil-works/pi/blob/06a466935536f8c9bcacb2d5efc0fc021be1bdff/packages/coding-agent/examples/extensions/subagent/index.ts#L345-L350",
          "evidence": ["memory-pi-packages-coding-agent-examples-extensions-subagent-index-ts"]
        },
        "setup": {
          "status": "unknown",
          "answer": "Provision dependencies and local environment files in the selected checkout. No managed-worktree setup contract is recorded for the audited core/example extension.",
          "reference": "https://github.com/earendil-works/pi/blob/06a466935536f8c9bcacb2d5efc0fc021be1bdff/packages/coding-agent/examples/extensions/subagent/index.ts#L345-L350",
          "evidence": ["memory-pi-packages-coding-agent-examples-extensions-subagent-index-ts"]
        },
        "integrate": {
          "status": "unknown",
          "answer": "Use the integration workflow of the externally managed checkout. No automatic apply-back or merge contract is recorded.",
          "reference": "https://github.com/earendil-works/pi/blob/06a466935536f8c9bcacb2d5efc0fc021be1bdff/packages/coding-agent/examples/extensions/subagent/index.ts#L345-L350",
          "evidence": ["memory-pi-packages-coding-agent-examples-extensions-subagent-index-ts"]
        },
        "cleanup": {
          "status": "unknown",
          "answer": "Cleanup of externally managed checkouts belongs to that workflow. This audit does not establish pi-specific retention or removal safeguards.",
          "reference": "https://github.com/earendil-works/pi/blob/06a466935536f8c9bcacb2d5efc0fc021be1bdff/packages/coding-agent/examples/extensions/subagent/index.ts#L345-L350",
          "evidence": ["memory-pi-packages-coding-agent-examples-extensions-subagent-index-ts"]
        },
        "automation": {
          "status": "unknown",
          "answer": "The retained extension accepts a per-task `cwd`. That establishes directory selection, not a managed-worktree API across arbitrary extensions.",
          "reference": "https://github.com/earendil-works/pi/blob/06a466935536f8c9bcacb2d5efc0fc021be1bdff/packages/coding-agent/examples/extensions/subagent/index.ts#L345-L350",
          "evidence": ["memory-pi-packages-coding-agent-examples-extensions-subagent-index-ts"]
        }
      },
      "notes": [
        "Retained pi core/example-extension audit from 2026-10-15; no exhaustive extension audit or runtime probe."
      ]
    },
    {
      "harness": "antigravity-cli",
      "variant": "cli",
      "default": true,
      "verifiedAt": "2026-11-22",
      "surface": "cli",
      "method": "documentation",
      "observedVersion": "1.5.14",
      "conditions": [
        "Worktree behavior is documented for subagents and swarm workers given an isolated copy."
      ],
      "unknowns": [
        "No local worktree creation, branch selection, merge or cleanup was runtime-tested."
      ],
      "details": {},
      "references": [
        "https://github.com/google-antigravity/antigravity-cli/blob/main/CHANGELOG.md#155",
        "https://github.com/google-antigravity/antigravity-cli/blob/main/CHANGELOG.md#1210",
        "https://antigravity.google/docs/cli-conversations?app=antigravity"
      ],
      "evidence": [
        "agy-worktree-1-5-5-notes",
        "agy-worktree-1-2-10-notes",
        "agy-conversations-docs"
      ],
      "support": {
        "create": "partial",
        "base": "partial",
        "session": "unknown",
        "subagents": "native",
        "setup": "unknown",
        "integrate": "unknown",
        "cleanup": "unknown",
        "automation": "unknown"
      },
      "answers": {
        "create": {
          "status": "partial",
          "reference": "https://github.com/google-antigravity/antigravity-cli/blob/main/CHANGELOG.md#1210",
          "evidence": ["agy-worktree-1-2-10-notes"],
          "answer": "Google documents CLI subagent worktrees under the worktrees directory in app data. Direct interactive CLI creation remains unverified."
        },
        "base": {
          "status": "partial",
          "reference": "https://github.com/google-antigravity/antigravity-cli/blob/main/CHANGELOG.md#155",
          "evidence": ["agy-worktree-1-5-5-notes"],
          "answer": "Since 1.5.5 an isolated worker\u2019s Git worktree includes staged, unstaged and untracked changes. Explicit selection of the base ref remains unverified."
        },
        "session": {
          "status": "partial",
          "reference": "https://antigravity.google/docs/cli-conversations?app=antigravity#branching-with-fork",
          "evidence": ["agy-conversations-docs"],
          "answer": "The /fork command reuses the existing checkout. Launching a top-level CLI conversation in a harness-created worktree remains unverified."
        },
        "subagents": {
          "status": "supported",
          "reference": "https://github.com/google-antigravity/antigravity-cli/blob/main/CHANGELOG.md#155",
          "evidence": ["agy-worktree-1-5-5-notes"],
          "answer": "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": {
          "status": "unknown",
          "reference": "https://github.com/google-antigravity/antigravity-cli/blob/main/CHANGELOG.md#155",
          "evidence": ["agy-worktree-1-5-5-notes"],
          "answer": "A setup script or post-creation hook for a new worktree remains unverified."
        },
        "integrate": {
          "status": "unknown",
          "reference": "https://github.com/google-antigravity/antigravity-cli/blob/main/CHANGELOG.md#155",
          "evidence": ["agy-worktree-1-5-5-notes"],
          "answer": "Built-in merging or applying changes back to the parent remains unverified."
        },
        "cleanup": {
          "status": "unknown",
          "reference": "https://github.com/google-antigravity/antigravity-cli/blob/main/CHANGELOG.md#1210",
          "evidence": ["agy-worktree-1-2-10-notes"],
          "answer": "The worktree location is documented. Cleanup triggers and ownership remain unverified."
        },
        "automation": {
          "status": "unknown",
          "reference": "https://github.com/google-antigravity/antigravity-cli/blob/main/CHANGELOG.md#155",
          "evidence": ["agy-worktree-1-5-5-notes"],
          "answer": "No CLI automation contract for worktree lifecycle was established."
        }
      }
    }
  ]
}
