Bug: Plan approval in autopilot+fleet mode triggers execution with fleet dispatch ordering mismatch
- 主要言語
- Shell
- スター
- 11.2k
- フォーク
- 1.9k
- 平均マージ
- 14時間 16分
- マージ済み PR(30日)
- 6
説明
## Description
When approving a plan in plan mode while using autopilot+fleet, the plan approval immediately triggers execution AND fleet agent dispatch simultaneously. The "Queued (1)" and "Fleet deployed" messages appear while the main agent is still "Analyzing bugs and planning fixes," suggesting a sequencing/ordering issue between the main agent's work and fleet dispatch.
## Steps to Reproduce
1. Enter plan mode and create a plan (e.g., with multiple bugs/features)
2. Switch to autopilot+fleet mode
3. Copilot recommends committing to the plan with autopilot+fleet
4. Approve/select that recommendation
## Expected Behavior
Plan approval should properly sequence execution — the main agent's analysis should be coordinated with fleet agent dispatch, not race against it.
## Actual Behavior
Fleet dispatch ("Queued (1)", "Fleet deployed") fires concurrently with the main agent beginning its "Analyzing bugs and planning fixes" phase. This ordering mismatch suggests the fleet agents are dispatched before the main agent has finished planning/coordinating the work.
## Screenshot
*(Screenshot shows: Plan approved -> "Analyzing bugs and planning fixes" starts -> "Queued (1)" / "Fleet deployed" messages appear simultaneously)*
## Environment
- OS: Windows
- Copilot CLI version: latest (as of April 2026)
- Mode: Autopilot + Fleet (experimental)
## Additional Context
Also submitted private feedback via the `/feedback` command for internal tracking.
コントリビューションガイド
調査の方向性
まず Windows autopilot+fleet mode でプラン承認フローを再現し、承認からメインエージェントの計画フェーズおよびフリートディスパッチへの遷移を追跡します。これらの操作の順序を比較し、ディスパッチがどこでトリガーされるかを特定します。完了の条件は、フリートのデプロイがメインエージェントの計画と連携して行われ、同時並行で実行されず、報告されるステータスメッセージが正しい順序で表示されることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- shell
- 領域
- cli
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100