Goal
bin/autopilot-worktree に 既存ブランチ / 既存 PR を checkout する worktree モードを追加する。
Background
EPIC #760 の dogfood(PR #766)で判明: autopilot の autopilot-address-review フェーズは
既存の PR ブランチ上で作業する必要がある。しかし現状の bin/autopilot-worktree create <issue> は
origin/develop から新ブランチ topic/autopilot-<issue> を切る前提で、既存 PR ブランチを
worktree に出せない。
Scope
bin/autopilot-worktree create <issue> --branch <name> … 既存ブランチを worktree に checkout
bin/autopilot-worktree create <issue> --pr <number> … PR のヘッドブランチを解決して checkout
- 既存の lightweight 共有(
.env コピー + node_modules/dist symlink)はそのまま流用
- 既存ブランチが無い場合のエラーハンドリング
Out of scope
- daemon 本体・各フェーズスキルの実装(別 issue)
Related
Part of #760
Goal
bin/autopilot-worktreeに 既存ブランチ / 既存 PR を checkout する worktree モードを追加する。Background
EPIC #760 の dogfood(PR #766)で判明: autopilot の
autopilot-address-reviewフェーズは既存の PR ブランチ上で作業する必要がある。しかし現状の
bin/autopilot-worktree create <issue>はorigin/developから新ブランチtopic/autopilot-<issue>を切る前提で、既存 PR ブランチをworktree に出せない。
Scope
bin/autopilot-worktree create <issue> --branch <name>… 既存ブランチを worktree に checkoutbin/autopilot-worktree create <issue> --pr <number>… PR のヘッドブランチを解決して checkout.envコピー + node_modules/dist symlink)はそのまま流用Out of scope
Related
Part of #760