Skip to content

feat(autopilot): bin/autopilot-worktree に既存ブランチ/PR checkout モードを追加 #767

Description

@smalruby3-editor-bot

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    🤖 autopilotautopilot が処理対象にした Issue/PR(daemon が付与)

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    Close

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions