return { approved: false };
}
// Reflect the chosen implementation path on the AHP `mode` axis right
// away so the mode picker updates as soon as the user approves the
// plan (e.g. Plan → Autopilot when they pick "Implement with
// Autopilot"). The SDK also fires `session.mode_changed`, but that is
// async; writing here makes the UI update deterministic. The patch is
// idempotent, so the later event is a no-op.
this._syncAhpModeFromExitPlanAction(selectedAction);
const isAutopilot = selectedAction === 'autopilot' || selectedAction === 'autopilot_fleet';
return {
approved: true,