fix: reject dry-run dispatch as continuity receipt
This commit is contained in:
@@ -355,12 +355,7 @@ function buildApprovedPlanContinuityInput(wrapperResult: any, autoChainPlanResul
|
||||
? wrapperResult.replyClosureState
|
||||
: (wrapperResult?.handoff?.mode === "button_path" ? "waiting_user" : "completed");
|
||||
|
||||
const dispatchReceipt = wrapperResult?.dispatchReceipt ?? (autoChainPlanResult?.dispatchMode && autoChainPlanResult.dispatchMode !== "no_dispatch"
|
||||
? {
|
||||
dispatchMode: autoChainPlanResult.dispatchMode,
|
||||
derivedAction: autoChainPlanResult.derivedAction,
|
||||
}
|
||||
: null);
|
||||
const dispatchReceipt = wrapperResult?.dispatchReceipt ?? null;
|
||||
|
||||
return {
|
||||
planId: wrapperResult?.planId ?? "hook-preflight-approved-plan",
|
||||
|
||||
Reference in New Issue
Block a user