summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDrew Ritter <drew@primeradiant.com>2026-04-06 16:51:26 -0700
committerDrew Ritter <drew@primeradiant.com>2026-04-06 17:13:19 -0700
commit118d85b7e76fc3ccde5377eeeea4c5523bcecb31 (patch)
treec822485cf0dcd260d0292b19dd73c3a3c5872d15 /docs
parent0f4d7d67c12eadd7d6461c77c5f059ffb43c0148 (diff)
docs: honest cross-platform validation table in spec (PRI-974)
Research confirmed Claude Code is currently the only harness with an agent-callable mid-session worktree tool. All others either create worktrees before the agent starts (Codex App, Gemini, Cursor) or have no native support (Codex CLI, OpenCode). Table now shows: what was actually tested (Claude Code 50/50, Codex CLI 6/6), what was simulated (Codex App 1/1), and what's untested (Gemini, Cursor, OpenCode). Step 1a is forward-compatible for when other harnesses add agent-callable tools. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/superpowers/specs/2026-04-06-worktree-rototill-design.md22
1 files changed, 14 insertions, 8 deletions
diff --git a/docs/superpowers/specs/2026-04-06-worktree-rototill-design.md b/docs/superpowers/specs/2026-04-06-worktree-rototill-design.md
index fd54d1d..7df82b1 100644
--- a/docs/superpowers/specs/2026-04-06-worktree-rototill-design.md
+++ b/docs/superpowers/specs/2026-04-06-worktree-rototill-design.md
@@ -301,14 +301,20 @@ Step 1a — agents preferring native worktree tools over the git fallback — is
**Cross-platform validation:**
-| Harness | Mechanism | Tested |
-|---------|-----------|--------|
-| Claude Code | Step 1a → `EnterWorktree` | 50/50 |
-| Codex App | Step 0 → detects existing managed worktree | 1/1 |
-| Gemini CLI / Cursor | Step 0 if launched with flag, Step 1b if not | By design |
-| Codex CLI / OpenCode | Step 1b → git fallback (no native tool) | By design |
-
-**Residual risk:** If Anthropic changes `EnterWorktree`'s tool description to be more restrictive (e.g., "Do not use based on skill instructions"), the consent bridge breaks. Worth filing an issue requesting that the tool description accommodate skill-driven invocation.
+As of 2026-04-06, Claude Code is the only harness with an agent-callable mid-session worktree tool (`EnterWorktree`). All others either create worktrees before the agent starts (Codex App, Gemini CLI, Cursor) or have no native worktree support (Codex CLI, OpenCode). Step 1a is forward-compatible: when other harnesses add agent-callable worktree tools, agents will match them against the named examples and use them without skill changes.
+
+| Harness | Current worktree model | Skill mechanism | Tested |
+|---------|----------------------|-----------------|--------|
+| Claude Code | Agent-callable `EnterWorktree` | Step 1a | 50/50 (GREEN + PRESSURE) |
+| Codex CLI | No native tool (shell only) | Step 1b git fallback | 6/6 on `codex exec` |
+| Codex App | Platform-managed, detached HEAD, no agent tool | Step 0 detects existing | 1/1 simulated |
+| Gemini CLI | Launch-time `--worktree` flag, no agent tool | Step 0 if launched with flag, Step 1b if not | Untested (no CLI access) |
+| Cursor | User-facing `/worktree`, no agent tool | Step 0 if user activated, Step 1b if not | Untested (no CLI access) |
+| OpenCode | Detection only (`ctx.worktree`), no agent tool | Step 1b git fallback | Untested (no CLI access) |
+
+**Residual risks:**
+1. If Anthropic changes `EnterWorktree`'s tool description to be more restrictive (e.g., "Do not use based on skill instructions"), the consent bridge breaks. Worth filing an issue requesting that the tool description accommodate skill-driven invocation.
+2. When other harnesses add agent-callable worktree tools, they may use names not in Step 1a's list. The list should be updated as new tools appear. The generic phrasing ("a worktree or workspace-isolation tool") provides some forward coverage.
### Provenance heuristic