← 教程列表
news

Provenance heuristic

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

The `.worktrees/` or `~/.config/superpowers/worktrees/` = ours, anything else = hands off` heuristic works for every current harness. If a future harness adopts `.worktrees/` as its convention, we'd have a false positive (superpowers tries to clean up a harness-owned worktree). Similarly, if a user manually runs `git worktree add .worktrees/experiment` without superpowers, we'd incorrectly claim ownership. Both are low risk — every harness uses branded paths, and manual `.worktrees/` creation is unlikely — but worth noting.

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