@@ -63,6 +63,7 @@ public function start(string $workflowType, ?string $instanceId = null, array $o
6363 *
6464 * Options:
6565 * - arguments: array<int, mixed> — positional signal arguments
66+ * - namespace: string|null — require the workflow instance to belong to this namespace
6667 * - command_context: \Workflow\V2\CommandContext|null — recorded command attribution/context
6768 * - strict_configured_type_validation: bool — fail closed when a configured workflow type mapping is now invalid
6869 *
@@ -95,6 +96,7 @@ public function signal(string $instanceId, string $name, array $options = []): a
9596 *
9697 * Options:
9798 * - arguments: array<int|string, mixed> — positional or named query arguments
99+ * - namespace: string|null — require the workflow instance to belong to this namespace
98100 * - strict_configured_type_validation: bool — fail closed when a configured workflow type mapping is now invalid
99101 *
100102 * @return array{
@@ -120,6 +122,7 @@ public function query(string $instanceId, string $name, array $options = []): ar
120122 *
121123 * Options:
122124 * - arguments: array<int|string, mixed> — positional or named update arguments
125+ * - namespace: string|null — require the workflow instance to belong to this namespace
123126 * - command_context: \Workflow\V2\CommandContext|null — recorded command attribution/context
124127 * - wait_for: 'accepted'|'completed'|null — accepted-only submit or completion wait
125128 * - wait_timeout_seconds: int|null — completion wait timeout
@@ -159,6 +162,7 @@ public function update(string $instanceId, string $name, array $options = []): a
159162 *
160163 * Options:
161164 * - reason: string|null — cancellation reason
165+ * - namespace: string|null — require the workflow instance to belong to this namespace
162166 * - command_context: \Workflow\V2\CommandContext|null — recorded command attribution/context
163167 * - strict_configured_type_validation: bool — fail closed when a configured workflow type mapping is now invalid
164168 *
@@ -186,6 +190,7 @@ public function cancel(string $instanceId, array $options = []): array;
186190 *
187191 * Options:
188192 * - reason: string|null — termination reason
193+ * - namespace: string|null — require the workflow instance to belong to this namespace
189194 * - command_context: \Workflow\V2\CommandContext|null — recorded command attribution/context
190195 * - strict_configured_type_validation: bool — fail closed when a configured workflow type mapping is now invalid
191196 *
@@ -216,6 +221,7 @@ public function terminate(string $instanceId, array $options = []): array;
216221 * Only the current run of an open workflow instance may be repaired.
217222 *
218223 * Options:
224+ * - namespace: string|null — require the workflow instance to belong to this namespace
219225 * - command_context: \Workflow\V2\CommandContext|null — recorded command attribution/context
220226 * - strict_configured_type_validation: bool — fail closed when a configured workflow type mapping is now invalid
221227 *
@@ -248,6 +254,7 @@ public function repair(string $instanceId, array $options = []): array;
248254 *
249255 * Options:
250256 * - reason: string|null — archive reason
257+ * - namespace: string|null — require the workflow instance to belong to this namespace
251258 * - command_context: \Workflow\V2\CommandContext|null — recorded command attribution/context
252259 * - strict_configured_type_validation: bool — fail closed when a configured workflow type mapping is now invalid
253260 *
@@ -280,6 +287,7 @@ public function archive(string $instanceId, array $options = []): array;
280287 *
281288 * Options:
282289 * - run_id: string|null — describe a specific run instead of current
290+ * - namespace: string|null — require the workflow instance to belong to this namespace
283291 *
284292 * @return array{
285293 * found: bool,
0 commit comments