Handoff Button vs Manual Prompt | Generated by AI
Now I have the full picture. Here’s the difference:
== “Start Implementation” Button vs Manual Prompt ==
THE HANDOFF BUTTON (planAgentProvider.ts:225-231):
startImplementationHandoff = {
label: 'Start Implementation',
agent: 'agent', // switches to main coding agent
prompt: 'Start implementation',
send: true, // auto-sends the prompt
model: implementAgentModelOverride // optional model switch
}
When you click “Start Implementation”:
-
MODE SWITCH — It calls
workbench.action.chat.toggleAgentModeto switch from the Plan agent to the main Agent (coding) mode. -
AUTO-SEND — It sends “Start implementation” as the user message automatically (
send: true). You don’t type anything. - FULL CONVERSATION HISTORY CARRIES OVER — This is the critical
difference. The implementation agent receives the ENTIRE planning
conversation: all the Discovery research, Alignment Q&A, Design
iterations, and Refinement rounds. The agent has context of:
- What the Explore/Search subagents found
- What questions were asked and answered
- What alternatives were considered and rejected
- The final approved plan
- MODEL OVERRIDE — Can use a different model for implementation via
ConfigKey.ImplementAgentModelsetting. Plan might use a cheaper model for research, implementation uses a stronger one.
MANUALLY ADDING plan.md + PROMPTING “do it”:
-
NO MODE SWITCH — You stay in whatever mode you’re already in. If you’re still in Plan agent mode, it will refuse to implement (“Your SOLE responsibility is planning. NEVER start implementation.”)
-
YOU MUST BE IN AGENT MODE — You need to manually switch to Agent mode first, then attach plan.md and type your prompt.
- PLAN.md ONLY — The agent only sees the plan document itself.
It does NOT see:
- The research Discovery phase findings
- The Q&A Alignment discussion
- What was explored and rejected
- The reasoning behind decisions
The plan.md is a summary; the conversation is the full context.
-
YOUR OWN PROMPT — You write whatever you want. Could be “implement step 1 only” or “do this but skip the tests”. More control, but less automatic.
- NO MODEL OVERRIDE — Uses whatever model the Agent mode is configured with.
== PRACTICAL IMPACT ==
The handoff is richer because the implementation agent gets the full planning transcript as conversation history. With manual prompt, it only gets the plan.md file — a compressed artifact. For complex plans where the “why” matters (edge cases discovered during research, tradeoffs discussed), the handoff preserves that context. For simple plans where the plan.md is self-contained, the difference is minimal.
The handoff also has a second option: “Open in Editor” which creates an untitled file with the plan for further editing before you commit to implementation.