← 教程列表
news

Provenance-based ownership

📅 2026/6/12 16:30:02⏱ 约 5 分钟阅读👁 12 阅读

Whoever creates the worktree owns its cleanup. If the harness created it, superpowers doesn't touch it. If superpowers created it (via git fallback), superpowers cleans it up. The heuristic: if the worktree lives under `.worktrees/` or `~/.config/superpowers/worktrees/`, superpowers owns it. Anything else (`.claude/worktrees/`, `~/.codex/worktrees/`, `.gemini/worktrees/`) belongs to the harness.

← 返回教程列表 AI8899 · 内容仅供学习参考