@@ -816,18 +816,15 @@ export const v2ExecutionErrorSchema = z
816816export type V2ExecutionError = z . output < typeof v2ExecutionErrorSchema >
817817
818818/**
819- * The mutually-exclusive execute option matrix, mirrored from the route's
820- * post-parse checks in `app/api/v2/workflows/[id]/execute/route.ts`. Kept as one
819+ * That the execute options constrain each other, said once. Kept as one
821820 * exported string so the request-body description and the OpenAPI operation
822821 * description cannot drift from each other.
823- */
824- /**
825- * The six rejected option combinations used to be enumerated here and pasted
826- * onto both the operation and the request-body description, restating what each
827- * field already says. A caller reads the constraint where it applies — on the
828- * field it constrains — so the enumeration lives on `async`, `stream`,
829- * `executionTimeoutSeconds`, `includeThinking`, and `includeToolCalls`, and the
830- * operation says only that the options are mutually constrained.
822+ *
823+ * It deliberately does not enumerate the combinations the route rejects. That
824+ * list used to be pasted onto both the operation and the request-body
825+ * description, restating what each field already says; a caller reads a
826+ * constraint where it applies, so it lives on `async`, `stream`,
827+ * `executionTimeoutSeconds`, `includeThinking`, and `includeToolCalls`.
831828 */
832829export const EXECUTE_OPTION_CONSTRAINTS =
833830 'Each option carries the modes it requires and the modes that reject it; a violated combination is a 400.'
@@ -838,8 +835,9 @@ export const EXECUTE_OPTION_CONSTRAINTS =
838835 * (triggerType, draft state, deployment pinning) are NEVER wire fields; they
839836 * are typed options on the execution service.
840837 *
841- * The six rejected option combinations are enumerated in
842- * {@link EXECUTE_OPTION_CONSTRAINTS} and enforced by the route after parsing.
838+ * The rejected option combinations are enforced by the route after parsing and
839+ * described on the fields they constrain; {@link EXECUTE_OPTION_CONSTRAINTS}
840+ * only tells a caller that the options constrain each other.
843841 */
844842export const v2ExecuteWorkflowBodySchema = z
845843 . object ( {
0 commit comments