/** * Workflow YAML schemas. */ import { z } from 'zod/v4'; export declare const WorkflowParamReferenceRawSchema: z.ZodObject<{ $param: z.ZodString; }, z.core.$strict>; export declare const WorkflowCallArgValueRawSchema: z.ZodUnion]>, z.ZodUnion, z.ZodObject<{ fixed: z.ZodDefault>>; pool: z.ZodDefault>>; moderator: z.ZodOptional; }, z.core.$strict>]>]>; /** Rule-based transition schema (new unified format) */ export declare const WorkflowRuleSchema: z.ZodObject<{ condition: z.ZodString; next: z.ZodOptional; return: z.ZodOptional; appendix: z.ZodOptional; requires_user_input: z.ZodOptional; interactive_only: z.ZodOptional; command_gates: z.ZodOptional>; }, z.core.$strict>; /** Arpeggio merge configuration schema */ export declare const ArpeggioMergeRawSchema: z.ZodObject<{ strategy: z.ZodDefault>>; inline_js: z.ZodOptional; file: z.ZodOptional; separator: z.ZodOptional; }, z.core.$strip>; /** Arpeggio configuration schema for data-driven batch processing */ export declare const ArpeggioConfigRawSchema: z.ZodObject<{ source: z.ZodString; source_path: z.ZodString; batch_size: z.ZodDefault>; concurrency: z.ZodDefault>; template: z.ZodString; merge: z.ZodOptional>>; inline_js: z.ZodOptional; file: z.ZodOptional; separator: z.ZodOptional; }, z.core.$strip>>; max_retries: z.ZodDefault>; retry_delay_ms: z.ZodDefault>; output_path: z.ZodOptional; }, z.core.$strip>; export declare const FacetPoolCandidateRawSchema: z.ZodObject<{ id: z.ZodString; description: z.ZodString; policy: z.ZodOptional]>>; knowledge: z.ZodOptional]>>; }, z.core.$strict>; export declare const InlineFacetPoolRawSchema: z.ZodObject<{ policies: z.ZodOptional>; knowledge: z.ZodOptional>; candidates: z.ZodArray]>>; knowledge: z.ZodOptional]>>; }, z.core.$strict>>; }, z.core.$strict>; export declare const ExternalFacetPoolRawSchema: z.ZodObject<{ uses: z.ZodString; }, z.core.$strict>; export declare const FacetPoolRawSchema: z.ZodUnion>; knowledge: z.ZodOptional>; candidates: z.ZodArray]>>; knowledge: z.ZodOptional]>>; }, z.core.$strict>>; }, z.core.$strict>, z.ZodObject<{ uses: z.ZodString; }, z.core.$strict>]>; export declare const DynamicFacetsRawSchema: z.ZodObject<{ pool: z.ZodUnion]>; max_selected: z.ZodOptional; selector: z.ZodOptional]>>; instruction: z.ZodUnion]>; }, z.core.$strict>>; }, z.core.$strict>; /** Team leader configuration schema for dynamic part decomposition */ export declare const TeamLeaderConfigRawSchema: z.ZodObject<{ persona: z.ZodOptional; max_parts: z.ZodOptional; max_concurrency: z.ZodOptional; initial_max_parts: z.ZodOptional; fail_on_part_error: z.ZodOptional; refill_threshold: z.ZodOptional>; timeout_ms: z.ZodOptional; inspect_tools: z.ZodOptional>; part_persona: z.ZodOptional; part_tags: z.ZodOptional>; part_allowed_tools: z.ZodOptional>; part_edit: z.ZodOptional; part_permission_mode: z.ZodOptional>; }, z.core.$strip>; /** Sub-step schema for parallel execution */ export declare const ParallelSubStepRawSchema: z.ZodUnion>; mode: z.ZodOptional; call: z.ZodUnion]>; overrides: z.ZodOptional; args: z.ZodOptional]>, z.ZodUnion, z.ZodObject<{ fixed: z.ZodDefault>>; pool: z.ZodDefault>>; moderator: z.ZodOptional; }, z.core.$strict>]>]>, z.ZodObject<{ $param: z.ZodString; }, z.core.$strict>]>>>; vars: z.ZodOptional>>; description: z.ZodOptional; session_key: z.ZodOptional; session: z.ZodOptional; persona: z.ZodOptional; persona_name: z.ZodOptional; tags: z.ZodOptional; completion_retry: z.ZodOptional; policy: z.ZodOptional; knowledge: z.ZodOptional; allow_git_commit: z.ZodOptional; allowed_tools: z.ZodOptional; mcp_servers: z.ZodOptional; provider: z.ZodOptional; model: z.ZodOptional; promotion: z.ZodOptional; companion: z.ZodOptional; permission_mode: z.ZodOptional; required_permission_mode: z.ZodOptional; provider_options: z.ZodOptional; edit: z.ZodOptional; requires_user_input: z.ZodOptional; instruction: z.ZodOptional; instruction_template: z.ZodOptional; delay_before_ms: z.ZodOptional; structured_output: z.ZodOptional; system_inputs: z.ZodOptional; effects: z.ZodOptional; command_gates: z.ZodOptional; rules: z.ZodOptional; return: z.ZodOptional; appendix: z.ZodOptional; requires_user_input: z.ZodOptional; interactive_only: z.ZodOptional; command_gates: z.ZodOptional>; }, z.core.$strict>>>; output_contracts: z.ZodOptional; quality_gates: z.ZodOptional; pass_previous_response: z.ZodOptional; parallel: z.ZodOptional; concurrency: z.ZodOptional; arpeggio: z.ZodOptional; team_leader: z.ZodOptional; dynamic_facets: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ name: z.ZodString; description: z.ZodOptional; kind: z.ZodOptional; mode: z.ZodOptional; call: z.ZodOptional; args: z.ZodOptional; overrides: z.ZodOptional; session_key: z.ZodOptional; session: z.ZodOptional>; persona: z.ZodOptional]>>; persona_name: z.ZodOptional; tags: z.ZodOptional>; completion_retry: z.ZodOptional; max_retry: z.ZodOptional; retry_instruction: z.ZodUnion]>; }, z.core.$strict>>; policy: z.ZodOptional]>>, z.ZodObject<{ $param: z.ZodString; }, z.core.$strict>]>>; knowledge: z.ZodOptional]>>, z.ZodObject<{ $param: z.ZodString; }, z.core.$strict>]>>; allow_git_commit: z.ZodOptional; allowed_tools: z.ZodOptional; capabilities: z.ZodOptional]>>; mcp: z.ZodOptional>; mcp_servers: z.ZodOptional>; command: z.ZodString; args: z.ZodOptional>; env: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; url: z.ZodString; headers: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; url: z.ZodString; headers: z.ZodOptional>; }, z.core.$strip>]>>>; provider: z.ZodOptional; model: z.ZodOptional; promotion: z.ZodOptional; companion: z.ZodOptional; permission_mode: z.ZodOptional; required_permission_mode: z.ZodOptional>; provider_options: z.ZodOptional; edit: z.ZodOptional; requires_user_input: z.ZodOptional; instruction: z.ZodOptional]>>, z.ZodObject<{ $param: z.ZodString; }, z.core.$strict>]>>; instruction_template: z.ZodOptional; delay_before_ms: z.ZodOptional; structured_output: z.ZodOptional; system_inputs: z.ZodOptional; effects: z.ZodOptional; command_gates: z.ZodOptional; rules: z.ZodOptional; return: z.ZodOptional; appendix: z.ZodOptional; requires_user_input: z.ZodOptional; interactive_only: z.ZodOptional; command_gates: z.ZodOptional>; }, z.core.$strict>>>; output_contracts: z.ZodOptional>; format: z.ZodUnion]>; use_judge: z.ZodDefault>; order: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; quality_gates: z.ZodOptional>>>; pass_previous_response: z.ZodOptional; parallel: z.ZodOptional; concurrency: z.ZodOptional; arpeggio: z.ZodOptional; team_leader: z.ZodOptional; dynamic_facets: z.ZodOptional]>; max_selected: z.ZodOptional; selector: z.ZodOptional]>>; instruction: z.ZodUnion]>; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strip>]>; export declare const WorkflowStepRawSchema: z.ZodPipe; session_key: z.ZodOptional; kind: z.ZodOptional>; mode: z.ZodOptional>; call: z.ZodOptional]>>; overrides: z.ZodOptional; args: z.ZodOptional]>, z.ZodUnion, z.ZodObject<{ fixed: z.ZodDefault>>; pool: z.ZodDefault>>; moderator: z.ZodOptional; }, z.core.$strict>]>]>, z.ZodObject<{ $param: z.ZodString; }, z.core.$strict>]>>>; vars: z.ZodOptional>>; session: z.ZodOptional>; persona: z.ZodOptional]>>; persona_name: z.ZodOptional; tags: z.ZodOptional>; completion_retry: z.ZodOptional; max_retry: z.ZodOptional; retry_instruction: z.ZodUnion]>; }, z.core.$strict>>; policy: z.ZodOptional]>>, z.ZodObject<{ $param: z.ZodString; }, z.core.$strict>]>>; knowledge: z.ZodOptional]>>, z.ZodObject<{ $param: z.ZodString; }, z.core.$strict>]>>; allow_git_commit: z.ZodOptional; allowed_tools: z.ZodOptional; capabilities: z.ZodOptional]>>; mcp: z.ZodOptional>; mcp_servers: z.ZodOptional>; command: z.ZodString; args: z.ZodOptional>; env: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; url: z.ZodString; headers: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; url: z.ZodString; headers: z.ZodOptional>; }, z.core.$strip>]>>>; provider: z.ZodOptional; model: z.ZodOptional; promotion: z.ZodOptional; condition: z.ZodOptional; provider: z.ZodOptional; model: z.ZodOptional; provider_options: z.ZodOptional; }, z.core.$strict>>>; companion: z.ZodOptional, z.ZodObject<{ $param: z.ZodString; }, z.core.$strict>, z.ZodObject<{ fixed: z.ZodDefault>>; pool: z.ZodDefault>>; moderator: z.ZodOptional; }, z.core.$strict>]>>; permission_mode: z.ZodOptional; required_permission_mode: z.ZodOptional>; provider_options: z.ZodOptional; edit: z.ZodOptional; requires_user_input: z.ZodOptional; instruction: z.ZodOptional]>>, z.ZodObject<{ $param: z.ZodString; }, z.core.$strict>]>>; instruction_template: z.ZodOptional; delay_before_ms: z.ZodOptional; structured_output: z.ZodOptional>; system_inputs: z.ZodOptional; source: z.ZodLiteral<"current_task">; }, z.core.$strip>, z.ZodObject<{ as: z.ZodString; type: z.ZodLiteral<"branch_context">; source: z.ZodLiteral<"current_task">; }, z.core.$strip>, z.ZodObject<{ as: z.ZodString; type: z.ZodLiteral<"pr_context">; source: z.ZodLiteral<"current_branch">; }, z.core.$strip>, z.ZodObject<{ as: z.ZodString; type: z.ZodLiteral<"issue_context">; source: z.ZodLiteral<"current_task">; }, z.core.$strip>, z.ZodObject<{ as: z.ZodString; type: z.ZodLiteral<"task_queue_context">; source: z.ZodLiteral<"current_project">; exclude_current_task: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ as: z.ZodString; type: z.ZodLiteral<"pr_list">; source: z.ZodLiteral<"current_project">; where: z.ZodOptional; base_branch: z.ZodOptional; head_branch: z.ZodOptional; managed_by_takt: z.ZodOptional; labels: z.ZodOptional>; same_repository: z.ZodOptional; draft: z.ZodOptional; }, z.core.$strict>>; }, z.core.$strip>, z.ZodObject<{ as: z.ZodString; type: z.ZodLiteral<"issue_list">; source: z.ZodLiteral<"current_project">; exclude_selected_from: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ as: z.ZodString; type: z.ZodLiteral<"pr_selection">; source: z.ZodLiteral<"current_project">; where: z.ZodOptional; base_branch: z.ZodOptional; head_branch: z.ZodOptional; managed_by_takt: z.ZodOptional; labels: z.ZodOptional>; same_repository: z.ZodOptional; draft: z.ZodOptional; }, z.core.$strict>>; }, z.core.$strip>, z.ZodObject<{ as: z.ZodString; type: z.ZodLiteral<"issue_selection">; source: z.ZodLiteral<"current_project">; }, z.core.$strict>], "type">>>; effects: z.ZodOptional; mode: z.ZodEnum<{ new: "new"; from_pr: "from_pr"; }>; workflow: z.ZodString; task: z.ZodString; pr: z.ZodOptional, z.ZodNumber]>>; issue_number: z.ZodOptional, z.ZodNumber]>>; issue: z.ZodOptional; title: z.ZodOptional; labels: z.ZodOptional>; }, z.core.$strict>, z.ZodUnion]>>; base_branch: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>]>>; worktree: z.ZodOptional; auto_pr: z.ZodOptional; draft_pr: z.ZodOptional; managed_pr: z.ZodOptional; }, z.core.$strict>>; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"comment_pr">; pr: z.ZodUnion, z.ZodNumber]>; body: z.ZodString; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"sync_with_root">; pr: z.ZodUnion, z.ZodNumber]>; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"resolve_conflicts_with_ai">; pr: z.ZodUnion, z.ZodNumber]>; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"merge_pr">; pr: z.ZodUnion, z.ZodNumber]>; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"close_pr">; pr: z.ZodUnion, z.ZodNumber]>; }, z.core.$strict>], "type">>>; command_gates: z.ZodOptional; rules: z.ZodOptional; return: z.ZodOptional; appendix: z.ZodOptional; requires_user_input: z.ZodOptional; interactive_only: z.ZodOptional; command_gates: z.ZodOptional>; }, z.core.$strict>>>; output_contracts: z.ZodOptional>; format: z.ZodUnion]>; use_judge: z.ZodDefault>; order: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; quality_gates: z.ZodOptional>>>; pass_previous_response: z.ZodOptional; parallel: z.ZodOptional>; mode: z.ZodOptional; call: z.ZodUnion]>; overrides: z.ZodOptional; args: z.ZodOptional]>, z.ZodUnion, z.ZodObject<{ fixed: z.ZodDefault>>; pool: z.ZodDefault>>; moderator: z.ZodOptional; }, z.core.$strict>]>]>, z.ZodObject<{ $param: z.ZodString; }, z.core.$strict>]>>>; vars: z.ZodOptional>>; description: z.ZodOptional; session_key: z.ZodOptional; session: z.ZodOptional; persona: z.ZodOptional; persona_name: z.ZodOptional; tags: z.ZodOptional; completion_retry: z.ZodOptional; policy: z.ZodOptional; knowledge: z.ZodOptional; allow_git_commit: z.ZodOptional; allowed_tools: z.ZodOptional; mcp_servers: z.ZodOptional; provider: z.ZodOptional; model: z.ZodOptional; promotion: z.ZodOptional; companion: z.ZodOptional; permission_mode: z.ZodOptional; required_permission_mode: z.ZodOptional; provider_options: z.ZodOptional; edit: z.ZodOptional; requires_user_input: z.ZodOptional; instruction: z.ZodOptional; instruction_template: z.ZodOptional; delay_before_ms: z.ZodOptional; structured_output: z.ZodOptional; system_inputs: z.ZodOptional; effects: z.ZodOptional; command_gates: z.ZodOptional; rules: z.ZodOptional; return: z.ZodOptional; appendix: z.ZodOptional; requires_user_input: z.ZodOptional; interactive_only: z.ZodOptional; command_gates: z.ZodOptional>; }, z.core.$strict>>>; output_contracts: z.ZodOptional; quality_gates: z.ZodOptional; pass_previous_response: z.ZodOptional; parallel: z.ZodOptional; concurrency: z.ZodOptional; arpeggio: z.ZodOptional; team_leader: z.ZodOptional; dynamic_facets: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ name: z.ZodString; description: z.ZodOptional; kind: z.ZodOptional; mode: z.ZodOptional; call: z.ZodOptional; args: z.ZodOptional; overrides: z.ZodOptional; session_key: z.ZodOptional; session: z.ZodOptional>; persona: z.ZodOptional]>>; persona_name: z.ZodOptional; tags: z.ZodOptional>; completion_retry: z.ZodOptional; max_retry: z.ZodOptional; retry_instruction: z.ZodUnion]>; }, z.core.$strict>>; policy: z.ZodOptional]>>, z.ZodObject<{ $param: z.ZodString; }, z.core.$strict>]>>; knowledge: z.ZodOptional]>>, z.ZodObject<{ $param: z.ZodString; }, z.core.$strict>]>>; allow_git_commit: z.ZodOptional; allowed_tools: z.ZodOptional; capabilities: z.ZodOptional]>>; mcp: z.ZodOptional>; mcp_servers: z.ZodOptional>; command: z.ZodString; args: z.ZodOptional>; env: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; url: z.ZodString; headers: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; url: z.ZodString; headers: z.ZodOptional>; }, z.core.$strip>]>>>; provider: z.ZodOptional; model: z.ZodOptional; promotion: z.ZodOptional; companion: z.ZodOptional; permission_mode: z.ZodOptional; required_permission_mode: z.ZodOptional>; provider_options: z.ZodOptional; edit: z.ZodOptional; requires_user_input: z.ZodOptional; instruction: z.ZodOptional]>>, z.ZodObject<{ $param: z.ZodString; }, z.core.$strict>]>>; instruction_template: z.ZodOptional; delay_before_ms: z.ZodOptional; structured_output: z.ZodOptional; system_inputs: z.ZodOptional; effects: z.ZodOptional; command_gates: z.ZodOptional; rules: z.ZodOptional; return: z.ZodOptional; appendix: z.ZodOptional; requires_user_input: z.ZodOptional; interactive_only: z.ZodOptional; command_gates: z.ZodOptional>; }, z.core.$strict>>>; output_contracts: z.ZodOptional>; format: z.ZodUnion]>; use_judge: z.ZodDefault>; order: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; quality_gates: z.ZodOptional>>>; pass_previous_response: z.ZodOptional; parallel: z.ZodOptional; concurrency: z.ZodOptional; arpeggio: z.ZodOptional; team_leader: z.ZodOptional; dynamic_facets: z.ZodOptional]>; max_selected: z.ZodOptional; selector: z.ZodOptional]>>; instruction: z.ZodUnion]>; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strip>]>>, z.ZodObject<{ fixed: z.ZodDefault; kind: z.ZodOptional; mode: z.ZodOptional; call: z.ZodOptional; args: z.ZodOptional; overrides: z.ZodOptional; session_key: z.ZodOptional; session: z.ZodOptional>; persona: z.ZodOptional]>>; persona_name: z.ZodOptional; tags: z.ZodOptional>; completion_retry: z.ZodOptional; max_retry: z.ZodOptional; retry_instruction: z.ZodUnion]>; }, z.core.$strict>>; policy: z.ZodOptional]>>, z.ZodObject<{ $param: z.ZodString; }, z.core.$strict>]>>; knowledge: z.ZodOptional]>>, z.ZodObject<{ $param: z.ZodString; }, z.core.$strict>]>>; allow_git_commit: z.ZodOptional; allowed_tools: z.ZodOptional; capabilities: z.ZodOptional]>>; mcp: z.ZodOptional>; mcp_servers: z.ZodOptional>; command: z.ZodString; args: z.ZodOptional>; env: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; url: z.ZodString; headers: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; url: z.ZodString; headers: z.ZodOptional>; }, z.core.$strip>]>>>; provider: z.ZodOptional; model: z.ZodOptional; promotion: z.ZodOptional; companion: z.ZodOptional; permission_mode: z.ZodOptional; required_permission_mode: z.ZodOptional>; provider_options: z.ZodOptional; edit: z.ZodOptional; requires_user_input: z.ZodOptional; instruction: z.ZodOptional]>>, z.ZodObject<{ $param: z.ZodString; }, z.core.$strict>]>>; instruction_template: z.ZodOptional; delay_before_ms: z.ZodOptional; structured_output: z.ZodOptional; system_inputs: z.ZodOptional; effects: z.ZodOptional; command_gates: z.ZodOptional; rules: z.ZodOptional; return: z.ZodOptional; appendix: z.ZodOptional; requires_user_input: z.ZodOptional; interactive_only: z.ZodOptional; command_gates: z.ZodOptional>; }, z.core.$strict>>>; output_contracts: z.ZodOptional>; format: z.ZodUnion]>; use_judge: z.ZodDefault>; order: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; quality_gates: z.ZodOptional>>>; pass_previous_response: z.ZodOptional; parallel: z.ZodOptional; concurrency: z.ZodOptional; arpeggio: z.ZodOptional; team_leader: z.ZodOptional; dynamic_facets: z.ZodOptional]>; max_selected: z.ZodOptional; selector: z.ZodOptional]>>; instruction: z.ZodUnion]>; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strip>>>>; pool: z.ZodArray; mode: z.ZodOptional; call: z.ZodOptional; args: z.ZodOptional; overrides: z.ZodOptional; session_key: z.ZodOptional; session: z.ZodOptional>; persona: z.ZodOptional]>>; persona_name: z.ZodOptional; tags: z.ZodOptional>; completion_retry: z.ZodOptional; max_retry: z.ZodOptional; retry_instruction: z.ZodUnion]>; }, z.core.$strict>>; policy: z.ZodOptional]>>, z.ZodObject<{ $param: z.ZodString; }, z.core.$strict>]>>; knowledge: z.ZodOptional]>>, z.ZodObject<{ $param: z.ZodString; }, z.core.$strict>]>>; allow_git_commit: z.ZodOptional; allowed_tools: z.ZodOptional; capabilities: z.ZodOptional]>>; mcp: z.ZodOptional>; mcp_servers: z.ZodOptional>; command: z.ZodString; args: z.ZodOptional>; env: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; url: z.ZodString; headers: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; url: z.ZodString; headers: z.ZodOptional>; }, z.core.$strip>]>>>; provider: z.ZodOptional; model: z.ZodOptional; promotion: z.ZodOptional; companion: z.ZodOptional; permission_mode: z.ZodOptional; required_permission_mode: z.ZodOptional>; provider_options: z.ZodOptional; edit: z.ZodOptional; requires_user_input: z.ZodOptional; instruction: z.ZodOptional]>>, z.ZodObject<{ $param: z.ZodString; }, z.core.$strict>]>>; instruction_template: z.ZodOptional; delay_before_ms: z.ZodOptional; structured_output: z.ZodOptional; system_inputs: z.ZodOptional; effects: z.ZodOptional; command_gates: z.ZodOptional; rules: z.ZodOptional; return: z.ZodOptional; appendix: z.ZodOptional; requires_user_input: z.ZodOptional; interactive_only: z.ZodOptional; command_gates: z.ZodOptional>; }, z.core.$strict>>>; output_contracts: z.ZodOptional>; format: z.ZodUnion]>; use_judge: z.ZodDefault>; order: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; quality_gates: z.ZodOptional>>>; pass_previous_response: z.ZodOptional; parallel: z.ZodOptional; concurrency: z.ZodOptional; arpeggio: z.ZodOptional; team_leader: z.ZodOptional; dynamic_facets: z.ZodOptional]>; max_selected: z.ZodOptional; selector: z.ZodOptional]>>; instruction: z.ZodUnion]>; }, z.core.$strict>>; }, z.core.$strict>>; description: z.ZodString; }, z.core.$strip>>; selection: z.ZodDefault>>; reports: z.ZodOptional>>>; selector: z.ZodOptional]>>; instruction: z.ZodUnion]>; }, z.core.$strict>>; }, z.core.$strict>>>; }, z.core.$strict>]>>; concurrency: z.ZodOptional; arpeggio: z.ZodOptional>; concurrency: z.ZodDefault>; template: z.ZodString; merge: z.ZodOptional>>; inline_js: z.ZodOptional; file: z.ZodOptional; separator: z.ZodOptional; }, z.core.$strip>>; max_retries: z.ZodDefault>; retry_delay_ms: z.ZodDefault>; output_path: z.ZodOptional; }, z.core.$strip>>; team_leader: z.ZodOptional; max_parts: z.ZodOptional; max_concurrency: z.ZodOptional; initial_max_parts: z.ZodOptional; fail_on_part_error: z.ZodOptional; refill_threshold: z.ZodOptional>; timeout_ms: z.ZodOptional; inspect_tools: z.ZodOptional>; part_persona: z.ZodOptional; part_tags: z.ZodOptional>; part_allowed_tools: z.ZodOptional>; part_edit: z.ZodOptional; part_permission_mode: z.ZodOptional>; }, z.core.$strip>>; dynamic_facets: z.ZodOptional]>; max_selected: z.ZodOptional; selector: z.ZodOptional]>>; instruction: z.ZodUnion]>; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strip>, z.ZodTransform<{ name: string; description?: string | undefined; session_key?: string | undefined; kind?: "agent" | "system" | "workflow_call" | undefined; mode?: "system" | undefined; call?: string | { $param: string; } | undefined; overrides?: undefined; args?: Record | undefined; vars?: Record | undefined; session?: "continue" | "refresh" | "compact" | undefined; persona?: string | { $param: string; } | undefined; persona_name?: string | undefined; tags?: string[] | undefined; completion_retry?: { retry_instruction: string | { $param: string; }; min_retry?: number | undefined; max_retry?: number | undefined; } | undefined; policy?: string | { $param: string; } | (string | { $param: string; })[] | undefined; knowledge?: string | { $param: string; } | (string | { $param: string; })[] | undefined; allow_git_commit?: boolean | undefined; allowed_tools?: undefined; capabilities?: string | string[] | undefined; mcp?: string[] | undefined; mcp_servers?: Record | undefined; } | { type: "sse"; url: string; headers?: Record | undefined; } | { type: "http"; url: string; headers?: Record | undefined; }> | undefined; provider?: undefined; model?: undefined; promotion?: { at?: number | undefined; condition?: undefined; provider?: undefined; model?: undefined; provider_options?: undefined; }[] | undefined; companion?: string[] | { fixed: string[]; pool: string[]; moderator?: string | undefined; } | { $param: string; } | undefined; permission_mode?: undefined; required_permission_mode?: "readonly" | "edit" | "full" | undefined; provider_options?: undefined; edit?: boolean | undefined; requires_user_input?: boolean | undefined; instruction?: string | { $param: string; } | (string | { $param: string; })[] | undefined; instruction_template?: undefined; delay_before_ms?: number | undefined; structured_output?: { schema_ref: string; } | undefined; system_inputs?: ({ as: string; type: "task_context"; source: "current_task"; } | { as: string; type: "branch_context"; source: "current_task"; } | { as: string; type: "pr_context"; source: "current_branch"; } | { as: string; type: "issue_context"; source: "current_task"; } | { as: string; type: "task_queue_context"; source: "current_project"; exclude_current_task?: boolean | undefined; } | { as: string; type: "pr_list"; source: "current_project"; where?: { author?: string | undefined; base_branch?: string | undefined; head_branch?: string | undefined; managed_by_takt?: boolean | undefined; labels?: string[] | undefined; same_repository?: boolean | undefined; draft?: boolean | undefined; } | undefined; } | { as: string; type: "issue_list"; source: "current_project"; exclude_selected_from?: string | undefined; } | { as: string; type: "pr_selection"; source: "current_project"; where?: { author?: string | undefined; base_branch?: string | undefined; head_branch?: string | undefined; managed_by_takt?: boolean | undefined; labels?: string[] | undefined; same_repository?: boolean | undefined; draft?: boolean | undefined; } | undefined; } | { as: string; type: "issue_selection"; source: "current_project"; })[] | undefined; effects?: ({ type: "enqueue_task"; mode: "new" | "from_pr"; workflow: string; task: string; pr?: string | number | undefined; issue_number?: string | number | undefined; issue?: string | { create?: boolean | undefined; title?: string | undefined; labels?: string[] | undefined; } | undefined; base_branch?: string | { name: string; create_if_missing: { from: string; push?: boolean | undefined; }; } | undefined; worktree?: { enabled?: boolean | undefined; auto_pr?: boolean | undefined; draft_pr?: boolean | undefined; managed_pr?: boolean | undefined; } | undefined; } | { type: "comment_pr"; pr: string | number; body: string; } | { type: "sync_with_root"; pr: string | number; } | { type: "resolve_conflicts_with_ai"; pr: string | number; } | { type: "merge_pr"; pr: string | number; } | { type: "close_pr"; pr: string | number; })[] | undefined; command_gates?: undefined; rules?: { condition: string; next?: string | undefined; return?: string | undefined; appendix?: string | undefined; requires_user_input?: boolean | undefined; interactive_only?: boolean | undefined; command_gates?: "required" | "skip" | undefined; }[] | undefined; output_contracts?: { report?: { name: string; format: string | { $param: string; }; use_judge: boolean; order?: string | undefined; }[] | undefined; } | undefined; quality_gates?: (string | { type: "command"; command: string; name?: string | undefined; cwd?: string | undefined; timeout_ms?: number | undefined; })[] | undefined; pass_previous_response?: boolean | undefined; parallel?: { fixed: { name: string; description?: undefined; kind?: undefined; mode?: undefined; call?: undefined; args?: undefined; overrides?: undefined; session_key?: string | undefined; session?: "continue" | "refresh" | "compact" | undefined; persona?: string | { $param: string; } | undefined; persona_name?: string | undefined; tags?: string[] | undefined; completion_retry?: { retry_instruction: string | { $param: string; }; min_retry?: number | undefined; max_retry?: number | undefined; } | undefined; policy?: string | { $param: string; } | (string | { $param: string; })[] | undefined; knowledge?: string | { $param: string; } | (string | { $param: string; })[] | undefined; allow_git_commit?: boolean | undefined; allowed_tools?: undefined; capabilities?: string | string[] | undefined; mcp?: string[] | undefined; mcp_servers?: Record | undefined; } | { type: "sse"; url: string; headers?: Record | undefined; } | { type: "http"; url: string; headers?: Record | undefined; }> | undefined; provider?: undefined; model?: undefined; promotion?: undefined; companion?: undefined; permission_mode?: undefined; required_permission_mode?: "readonly" | "edit" | "full" | undefined; provider_options?: undefined; edit?: boolean | undefined; requires_user_input?: undefined; instruction?: string | { $param: string; } | (string | { $param: string; })[] | undefined; instruction_template?: undefined; delay_before_ms?: undefined; structured_output?: undefined; system_inputs?: undefined; effects?: undefined; command_gates?: undefined; rules?: { condition: string; next?: string | undefined; return?: string | undefined; appendix?: string | undefined; requires_user_input?: boolean | undefined; interactive_only?: boolean | undefined; command_gates?: "required" | "skip" | undefined; }[] | undefined; output_contracts?: { report?: { name: string; format: string | { $param: string; }; use_judge: boolean; order?: string | undefined; }[] | undefined; } | undefined; quality_gates?: (string | { type: "command"; command: string; name?: string | undefined; cwd?: string | undefined; timeout_ms?: number | undefined; })[] | undefined; pass_previous_response?: boolean | undefined; parallel?: undefined; concurrency?: undefined; arpeggio?: undefined; team_leader?: undefined; dynamic_facets?: { pool: string | { $param: string; }; max_selected?: number | undefined; selector?: { instruction: string | { $param: string; }; persona?: string | { $param: string; } | undefined; } | undefined; } | undefined; }[]; pool: { name: string; description: string; kind?: undefined; mode?: undefined; call?: undefined; args?: undefined; overrides?: undefined; session_key?: string | undefined; session?: "continue" | "refresh" | "compact" | undefined; persona?: string | { $param: string; } | undefined; persona_name?: string | undefined; tags?: string[] | undefined; completion_retry?: { retry_instruction: string | { $param: string; }; min_retry?: number | undefined; max_retry?: number | undefined; } | undefined; policy?: string | { $param: string; } | (string | { $param: string; })[] | undefined; knowledge?: string | { $param: string; } | (string | { $param: string; })[] | undefined; allow_git_commit?: boolean | undefined; allowed_tools?: undefined; capabilities?: string | string[] | undefined; mcp?: string[] | undefined; mcp_servers?: Record | undefined; } | { type: "sse"; url: string; headers?: Record | undefined; } | { type: "http"; url: string; headers?: Record | undefined; }> | undefined; provider?: undefined; model?: undefined; promotion?: undefined; companion?: undefined; permission_mode?: undefined; required_permission_mode?: "readonly" | "edit" | "full" | undefined; provider_options?: undefined; edit?: boolean | undefined; requires_user_input?: undefined; instruction?: string | { $param: string; } | (string | { $param: string; })[] | undefined; instruction_template?: undefined; delay_before_ms?: undefined; structured_output?: undefined; system_inputs?: undefined; effects?: undefined; command_gates?: undefined; rules?: { condition: string; next?: string | undefined; return?: string | undefined; appendix?: string | undefined; requires_user_input?: boolean | undefined; interactive_only?: boolean | undefined; command_gates?: "required" | "skip" | undefined; }[] | undefined; output_contracts?: { report?: { name: string; format: string | { $param: string; }; use_judge: boolean; order?: string | undefined; }[] | undefined; } | undefined; quality_gates?: (string | { type: "command"; command: string; name?: string | undefined; cwd?: string | undefined; timeout_ms?: number | undefined; })[] | undefined; pass_previous_response?: boolean | undefined; parallel?: undefined; concurrency?: undefined; arpeggio?: undefined; team_leader?: undefined; dynamic_facets?: { pool: string | { $param: string; }; max_selected?: number | undefined; selector?: { instruction: string | { $param: string; }; persona?: string | { $param: string; } | undefined; } | undefined; } | undefined; }[]; selection: { mode: "replace" | "cumulative"; reports?: string[] | undefined; selector?: { instruction: string | { $param: string; }; persona?: string | { $param: string; } | undefined; } | undefined; }; } | ({ name: string; description?: undefined; kind?: undefined; mode?: undefined; call?: undefined; args?: undefined; overrides?: undefined; session_key?: string | undefined; session?: "continue" | "refresh" | "compact" | undefined; persona?: string | { $param: string; } | undefined; persona_name?: string | undefined; tags?: string[] | undefined; completion_retry?: { retry_instruction: string | { $param: string; }; min_retry?: number | undefined; max_retry?: number | undefined; } | undefined; policy?: string | { $param: string; } | (string | { $param: string; })[] | undefined; knowledge?: string | { $param: string; } | (string | { $param: string; })[] | undefined; allow_git_commit?: boolean | undefined; allowed_tools?: undefined; capabilities?: string | string[] | undefined; mcp?: string[] | undefined; mcp_servers?: Record | undefined; } | { type: "sse"; url: string; headers?: Record | undefined; } | { type: "http"; url: string; headers?: Record | undefined; }> | undefined; provider?: undefined; model?: undefined; promotion?: undefined; companion?: undefined; permission_mode?: undefined; required_permission_mode?: "readonly" | "edit" | "full" | undefined; provider_options?: undefined; edit?: boolean | undefined; requires_user_input?: undefined; instruction?: string | { $param: string; } | (string | { $param: string; })[] | undefined; instruction_template?: undefined; delay_before_ms?: undefined; structured_output?: undefined; system_inputs?: undefined; effects?: undefined; command_gates?: undefined; rules?: { condition: string; next?: string | undefined; return?: string | undefined; appendix?: string | undefined; requires_user_input?: boolean | undefined; interactive_only?: boolean | undefined; command_gates?: "required" | "skip" | undefined; }[] | undefined; output_contracts?: { report?: { name: string; format: string | { $param: string; }; use_judge: boolean; order?: string | undefined; }[] | undefined; } | undefined; quality_gates?: (string | { type: "command"; command: string; name?: string | undefined; cwd?: string | undefined; timeout_ms?: number | undefined; })[] | undefined; pass_previous_response?: boolean | undefined; parallel?: undefined; concurrency?: undefined; arpeggio?: undefined; team_leader?: undefined; dynamic_facets?: { pool: string | { $param: string; }; max_selected?: number | undefined; selector?: { instruction: string | { $param: string; }; persona?: string | { $param: string; } | undefined; } | undefined; } | undefined; } | { name: string; call: string | { $param: string; }; kind?: "workflow_call" | undefined; mode?: undefined; overrides?: undefined; args?: Record | undefined; vars?: Record | undefined; description?: string | undefined; session_key?: undefined; session?: undefined; persona?: undefined; persona_name?: undefined; tags?: undefined; completion_retry?: undefined; policy?: undefined; knowledge?: undefined; allow_git_commit?: undefined; allowed_tools?: undefined; mcp_servers?: undefined; provider?: undefined; model?: undefined; promotion?: undefined; companion?: undefined; permission_mode?: undefined; required_permission_mode?: undefined; provider_options?: undefined; edit?: undefined; requires_user_input?: undefined; instruction?: undefined; instruction_template?: undefined; delay_before_ms?: undefined; structured_output?: undefined; system_inputs?: undefined; effects?: undefined; command_gates?: undefined; rules?: { condition: string; next?: string | undefined; return?: string | undefined; appendix?: string | undefined; requires_user_input?: boolean | undefined; interactive_only?: boolean | undefined; command_gates?: "required" | "skip" | undefined; }[] | undefined; output_contracts?: undefined; quality_gates?: undefined; pass_previous_response?: undefined; parallel?: undefined; concurrency?: undefined; arpeggio?: undefined; team_leader?: undefined; dynamic_facets?: undefined; })[] | undefined; concurrency?: number | undefined; arpeggio?: { source: string; source_path: string; batch_size: number; concurrency: number; template: string; max_retries: number; retry_delay_ms: number; merge?: { strategy: "custom" | "concat"; inline_js?: string | undefined; file?: string | undefined; separator?: string | undefined; } | undefined; output_path?: string | undefined; } | undefined; team_leader?: { persona?: string | undefined; max_parts?: number | undefined; max_concurrency?: number | undefined; initial_max_parts?: number | undefined; fail_on_part_error?: boolean | undefined; refill_threshold?: 0 | undefined; timeout_ms?: number | undefined; inspect_tools?: string[] | undefined; part_persona?: string | undefined; part_tags?: string[] | undefined; part_allowed_tools?: string[] | undefined; part_edit?: boolean | undefined; part_permission_mode?: "readonly" | "edit" | "full" | undefined; } | undefined; dynamic_facets?: { pool: string | { $param: string; }; max_selected?: number | undefined; selector?: { instruction: string | { $param: string; }; persona?: string | { $param: string; } | undefined; } | undefined; } | undefined; }, { name: string; description?: string | undefined; session_key?: string | undefined; kind?: "agent" | "system" | "workflow_call" | undefined; mode?: "system" | undefined; call?: string | { $param: string; } | undefined; overrides?: undefined; args?: Record | undefined; vars?: Record | undefined; session?: "continue" | "refresh" | "compact" | undefined; persona?: string | { $param: string; } | undefined; persona_name?: string | undefined; tags?: string[] | undefined; completion_retry?: { retry_instruction: string | { $param: string; }; min_retry?: number | undefined; max_retry?: number | undefined; } | undefined; policy?: string | { $param: string; } | (string | { $param: string; })[] | undefined; knowledge?: string | { $param: string; } | (string | { $param: string; })[] | undefined; allow_git_commit?: boolean | undefined; allowed_tools?: undefined; capabilities?: string | string[] | undefined; mcp?: string[] | undefined; mcp_servers?: Record | undefined; } | { type: "sse"; url: string; headers?: Record | undefined; } | { type: "http"; url: string; headers?: Record | undefined; }> | undefined; provider?: undefined; model?: undefined; promotion?: { at?: number | undefined; condition?: undefined; provider?: undefined; model?: undefined; provider_options?: undefined; }[] | undefined; companion?: string[] | { fixed: string[]; pool: string[]; moderator?: string | undefined; } | { $param: string; } | undefined; permission_mode?: undefined; required_permission_mode?: "readonly" | "edit" | "full" | undefined; provider_options?: undefined; edit?: boolean | undefined; requires_user_input?: boolean | undefined; instruction?: string | { $param: string; } | (string | { $param: string; })[] | undefined; instruction_template?: undefined; delay_before_ms?: number | undefined; structured_output?: { schema_ref: string; } | undefined; system_inputs?: ({ as: string; type: "task_context"; source: "current_task"; } | { as: string; type: "branch_context"; source: "current_task"; } | { as: string; type: "pr_context"; source: "current_branch"; } | { as: string; type: "issue_context"; source: "current_task"; } | { as: string; type: "task_queue_context"; source: "current_project"; exclude_current_task?: boolean | undefined; } | { as: string; type: "pr_list"; source: "current_project"; where?: { author?: string | undefined; base_branch?: string | undefined; head_branch?: string | undefined; managed_by_takt?: boolean | undefined; labels?: string[] | undefined; same_repository?: boolean | undefined; draft?: boolean | undefined; } | undefined; } | { as: string; type: "issue_list"; source: "current_project"; exclude_selected_from?: string | undefined; } | { as: string; type: "pr_selection"; source: "current_project"; where?: { author?: string | undefined; base_branch?: string | undefined; head_branch?: string | undefined; managed_by_takt?: boolean | undefined; labels?: string[] | undefined; same_repository?: boolean | undefined; draft?: boolean | undefined; } | undefined; } | { as: string; type: "issue_selection"; source: "current_project"; })[] | undefined; effects?: ({ type: "enqueue_task"; mode: "new" | "from_pr"; workflow: string; task: string; pr?: string | number | undefined; issue_number?: string | number | undefined; issue?: string | { create?: boolean | undefined; title?: string | undefined; labels?: string[] | undefined; } | undefined; base_branch?: string | { name: string; create_if_missing: { from: string; push?: boolean | undefined; }; } | undefined; worktree?: { enabled?: boolean | undefined; auto_pr?: boolean | undefined; draft_pr?: boolean | undefined; managed_pr?: boolean | undefined; } | undefined; } | { type: "comment_pr"; pr: string | number; body: string; } | { type: "sync_with_root"; pr: string | number; } | { type: "resolve_conflicts_with_ai"; pr: string | number; } | { type: "merge_pr"; pr: string | number; } | { type: "close_pr"; pr: string | number; })[] | undefined; command_gates?: undefined; rules?: { condition: string; next?: string | undefined; return?: string | undefined; appendix?: string | undefined; requires_user_input?: boolean | undefined; interactive_only?: boolean | undefined; command_gates?: "required" | "skip" | undefined; }[] | undefined; output_contracts?: { report?: { name: string; format: string | { $param: string; }; use_judge: boolean; order?: string | undefined; }[] | undefined; } | undefined; quality_gates?: (string | { type: "command"; command: string; name?: string | undefined; cwd?: string | undefined; timeout_ms?: number | undefined; })[] | undefined; pass_previous_response?: boolean | undefined; parallel?: { fixed: { name: string; description?: undefined; kind?: undefined; mode?: undefined; call?: undefined; args?: undefined; overrides?: undefined; session_key?: string | undefined; session?: "continue" | "refresh" | "compact" | undefined; persona?: string | { $param: string; } | undefined; persona_name?: string | undefined; tags?: string[] | undefined; completion_retry?: { retry_instruction: string | { $param: string; }; min_retry?: number | undefined; max_retry?: number | undefined; } | undefined; policy?: string | { $param: string; } | (string | { $param: string; })[] | undefined; knowledge?: string | { $param: string; } | (string | { $param: string; })[] | undefined; allow_git_commit?: boolean | undefined; allowed_tools?: undefined; capabilities?: string | string[] | undefined; mcp?: string[] | undefined; mcp_servers?: Record | undefined; } | { type: "sse"; url: string; headers?: Record | undefined; } | { type: "http"; url: string; headers?: Record | undefined; }> | undefined; provider?: undefined; model?: undefined; promotion?: undefined; companion?: undefined; permission_mode?: undefined; required_permission_mode?: "readonly" | "edit" | "full" | undefined; provider_options?: undefined; edit?: boolean | undefined; requires_user_input?: undefined; instruction?: string | { $param: string; } | (string | { $param: string; })[] | undefined; instruction_template?: undefined; delay_before_ms?: undefined; structured_output?: undefined; system_inputs?: undefined; effects?: undefined; command_gates?: undefined; rules?: { condition: string; next?: string | undefined; return?: string | undefined; appendix?: string | undefined; requires_user_input?: boolean | undefined; interactive_only?: boolean | undefined; command_gates?: "required" | "skip" | undefined; }[] | undefined; output_contracts?: { report?: { name: string; format: string | { $param: string; }; use_judge: boolean; order?: string | undefined; }[] | undefined; } | undefined; quality_gates?: (string | { type: "command"; command: string; name?: string | undefined; cwd?: string | undefined; timeout_ms?: number | undefined; })[] | undefined; pass_previous_response?: boolean | undefined; parallel?: undefined; concurrency?: undefined; arpeggio?: undefined; team_leader?: undefined; dynamic_facets?: { pool: string | { $param: string; }; max_selected?: number | undefined; selector?: { instruction: string | { $param: string; }; persona?: string | { $param: string; } | undefined; } | undefined; } | undefined; }[]; pool: { name: string; description: string; kind?: undefined; mode?: undefined; call?: undefined; args?: undefined; overrides?: undefined; session_key?: string | undefined; session?: "continue" | "refresh" | "compact" | undefined; persona?: string | { $param: string; } | undefined; persona_name?: string | undefined; tags?: string[] | undefined; completion_retry?: { retry_instruction: string | { $param: string; }; min_retry?: number | undefined; max_retry?: number | undefined; } | undefined; policy?: string | { $param: string; } | (string | { $param: string; })[] | undefined; knowledge?: string | { $param: string; } | (string | { $param: string; })[] | undefined; allow_git_commit?: boolean | undefined; allowed_tools?: undefined; capabilities?: string | string[] | undefined; mcp?: string[] | undefined; mcp_servers?: Record | undefined; } | { type: "sse"; url: string; headers?: Record | undefined; } | { type: "http"; url: string; headers?: Record | undefined; }> | undefined; provider?: undefined; model?: undefined; promotion?: undefined; companion?: undefined; permission_mode?: undefined; required_permission_mode?: "readonly" | "edit" | "full" | undefined; provider_options?: undefined; edit?: boolean | undefined; requires_user_input?: undefined; instruction?: string | { $param: string; } | (string | { $param: string; })[] | undefined; instruction_template?: undefined; delay_before_ms?: undefined; structured_output?: undefined; system_inputs?: undefined; effects?: undefined; command_gates?: undefined; rules?: { condition: string; next?: string | undefined; return?: string | undefined; appendix?: string | undefined; requires_user_input?: boolean | undefined; interactive_only?: boolean | undefined; command_gates?: "required" | "skip" | undefined; }[] | undefined; output_contracts?: { report?: { name: string; format: string | { $param: string; }; use_judge: boolean; order?: string | undefined; }[] | undefined; } | undefined; quality_gates?: (string | { type: "command"; command: string; name?: string | undefined; cwd?: string | undefined; timeout_ms?: number | undefined; })[] | undefined; pass_previous_response?: boolean | undefined; parallel?: undefined; concurrency?: undefined; arpeggio?: undefined; team_leader?: undefined; dynamic_facets?: { pool: string | { $param: string; }; max_selected?: number | undefined; selector?: { instruction: string | { $param: string; }; persona?: string | { $param: string; } | undefined; } | undefined; } | undefined; }[]; selection: { mode: "replace" | "cumulative"; reports?: string[] | undefined; selector?: { instruction: string | { $param: string; }; persona?: string | { $param: string; } | undefined; } | undefined; }; } | ({ name: string; description?: undefined; kind?: undefined; mode?: undefined; call?: undefined; args?: undefined; overrides?: undefined; session_key?: string | undefined; session?: "continue" | "refresh" | "compact" | undefined; persona?: string | { $param: string; } | undefined; persona_name?: string | undefined; tags?: string[] | undefined; completion_retry?: { retry_instruction: string | { $param: string; }; min_retry?: number | undefined; max_retry?: number | undefined; } | undefined; policy?: string | { $param: string; } | (string | { $param: string; })[] | undefined; knowledge?: string | { $param: string; } | (string | { $param: string; })[] | undefined; allow_git_commit?: boolean | undefined; allowed_tools?: undefined; capabilities?: string | string[] | undefined; mcp?: string[] | undefined; mcp_servers?: Record | undefined; } | { type: "sse"; url: string; headers?: Record | undefined; } | { type: "http"; url: string; headers?: Record | undefined; }> | undefined; provider?: undefined; model?: undefined; promotion?: undefined; companion?: undefined; permission_mode?: undefined; required_permission_mode?: "readonly" | "edit" | "full" | undefined; provider_options?: undefined; edit?: boolean | undefined; requires_user_input?: undefined; instruction?: string | { $param: string; } | (string | { $param: string; })[] | undefined; instruction_template?: undefined; delay_before_ms?: undefined; structured_output?: undefined; system_inputs?: undefined; effects?: undefined; command_gates?: undefined; rules?: { condition: string; next?: string | undefined; return?: string | undefined; appendix?: string | undefined; requires_user_input?: boolean | undefined; interactive_only?: boolean | undefined; command_gates?: "required" | "skip" | undefined; }[] | undefined; output_contracts?: { report?: { name: string; format: string | { $param: string; }; use_judge: boolean; order?: string | undefined; }[] | undefined; } | undefined; quality_gates?: (string | { type: "command"; command: string; name?: string | undefined; cwd?: string | undefined; timeout_ms?: number | undefined; })[] | undefined; pass_previous_response?: boolean | undefined; parallel?: undefined; concurrency?: undefined; arpeggio?: undefined; team_leader?: undefined; dynamic_facets?: { pool: string | { $param: string; }; max_selected?: number | undefined; selector?: { instruction: string | { $param: string; }; persona?: string | { $param: string; } | undefined; } | undefined; } | undefined; } | { name: string; call: string | { $param: string; }; kind?: "workflow_call" | undefined; mode?: undefined; overrides?: undefined; args?: Record | undefined; vars?: Record | undefined; description?: string | undefined; session_key?: undefined; session?: undefined; persona?: undefined; persona_name?: undefined; tags?: undefined; completion_retry?: undefined; policy?: undefined; knowledge?: undefined; allow_git_commit?: undefined; allowed_tools?: undefined; mcp_servers?: undefined; provider?: undefined; model?: undefined; promotion?: undefined; companion?: undefined; permission_mode?: undefined; required_permission_mode?: undefined; provider_options?: undefined; edit?: undefined; requires_user_input?: undefined; instruction?: undefined; instruction_template?: undefined; delay_before_ms?: undefined; structured_output?: undefined; system_inputs?: undefined; effects?: undefined; command_gates?: undefined; rules?: { condition: string; next?: string | undefined; return?: string | undefined; appendix?: string | undefined; requires_user_input?: boolean | undefined; interactive_only?: boolean | undefined; command_gates?: "required" | "skip" | undefined; }[] | undefined; output_contracts?: undefined; quality_gates?: undefined; pass_previous_response?: undefined; parallel?: undefined; concurrency?: undefined; arpeggio?: undefined; team_leader?: undefined; dynamic_facets?: undefined; })[] | undefined; concurrency?: number | undefined; arpeggio?: { source: string; source_path: string; batch_size: number; concurrency: number; template: string; max_retries: number; retry_delay_ms: number; merge?: { strategy: "custom" | "concat"; inline_js?: string | undefined; file?: string | undefined; separator?: string | undefined; } | undefined; output_path?: string | undefined; } | undefined; team_leader?: { persona?: string | undefined; max_parts?: number | undefined; max_concurrency?: number | undefined; initial_max_parts?: number | undefined; fail_on_part_error?: boolean | undefined; refill_threshold?: 0 | undefined; timeout_ms?: number | undefined; inspect_tools?: string[] | undefined; part_persona?: string | undefined; part_tags?: string[] | undefined; part_allowed_tools?: string[] | undefined; part_edit?: boolean | undefined; part_permission_mode?: "readonly" | "edit" | "full" | undefined; } | undefined; dynamic_facets?: { pool: string | { $param: string; }; max_selected?: number | undefined; selector?: { instruction: string | { $param: string; }; persona?: string | { $param: string; } | undefined; } | undefined; } | undefined; }>>; /** Loop monitor rule schema */ export declare const LoopMonitorRuleSchema: z.ZodObject<{ condition: z.ZodString; next: z.ZodString; }, z.core.$strip>; /** Loop monitor judge schema */ export declare const LoopMonitorJudgeSchema: z.ZodObject<{ session_key: z.ZodOptional; persona: z.ZodOptional; provider: z.ZodOptional; model: z.ZodOptional; provider_options: z.ZodOptional; instruction: z.ZodOptional; instruction_template: z.ZodOptional; rules: z.ZodArray>; }, z.core.$strip>; /** Loop monitor configuration schema */ export declare const LoopMonitorSchema: z.ZodObject<{ cycle: z.ZodArray; ignore_steps: z.ZodOptional>; threshold: z.ZodDefault>; judge: z.ZodObject<{ session_key: z.ZodOptional; persona: z.ZodOptional; provider: z.ZodOptional; model: z.ZodOptional; provider_options: z.ZodOptional; instruction: z.ZodOptional; instruction_template: z.ZodOptional; rules: z.ZodArray>; }, z.core.$strip>; }, z.core.$strip>; /** Workflow configuration schema - raw YAML format */ export declare const WorkflowConfigRawSchema: z.ZodObject<{ name: z.ZodString; description: z.ZodOptional; subworkflow: z.ZodOptional; visibility: z.ZodOptional>; returns: z.ZodOptional>; params: z.ZodOptional; facet_kind: z.ZodEnum<{ persona: "persona"; knowledge: "knowledge"; policy: "policy"; instruction: "instruction"; report_format: "report_format"; }>; default: z.ZodOptional]>>; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"workflow_ref">; default: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"facet_pool_ref">; default: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"companion_ref[]">; default: z.ZodOptional, z.ZodObject<{ fixed: z.ZodDefault>>; pool: z.ZodDefault>>; moderator: z.ZodOptional; }, z.core.$strict>]>>; }, z.core.$strict>]>>>; }, z.core.$strict>>; workflow_config: z.ZodOptional; model: z.ZodOptional; provider_options: z.ZodOptional; runtime: z.ZodOptional, z.ZodString]>>>; }, z.core.$strip>>; }, z.core.$strict>>; capabilities: z.ZodOptional]>>; mcp_servers: z.ZodOptional>; command: z.ZodString; args: z.ZodOptional>; env: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; url: z.ZodString; headers: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; url: z.ZodString; headers: z.ZodOptional>; }, z.core.$strip>]>>>; auto_routing: z.ZodOptional; rate_limit_fallback: z.ZodOptional; permission_mode: z.ZodOptional; schemas: z.ZodOptional>; personas: z.ZodOptional>; policies: z.ZodOptional>; knowledge: z.ZodOptional>; instructions: z.ZodOptional>; report_formats: z.ZodOptional>; all_steps: z.ZodOptional>; }, z.core.$strict>]>>>; }, z.core.$strict>>; facet_pools: z.ZodOptional>; knowledge: z.ZodOptional>; candidates: z.ZodArray]>>; knowledge: z.ZodOptional]>>; }, z.core.$strict>>; }, z.core.$strict>, z.ZodObject<{ uses: z.ZodString; }, z.core.$strict>]>>>; steps: z.ZodArray; session_key: z.ZodOptional; kind: z.ZodOptional>; mode: z.ZodOptional>; call: z.ZodOptional]>>; overrides: z.ZodOptional; args: z.ZodOptional]>, z.ZodUnion, z.ZodObject<{ fixed: z.ZodDefault>>; pool: z.ZodDefault>>; moderator: z.ZodOptional; }, z.core.$strict>]>]>, z.ZodObject<{ $param: z.ZodString; }, z.core.$strict>]>>>; vars: z.ZodOptional>>; session: z.ZodOptional>; persona: z.ZodOptional]>>; persona_name: z.ZodOptional; tags: z.ZodOptional>; completion_retry: z.ZodOptional; max_retry: z.ZodOptional; retry_instruction: z.ZodUnion]>; }, z.core.$strict>>; policy: z.ZodOptional]>>, z.ZodObject<{ $param: z.ZodString; }, z.core.$strict>]>>; knowledge: z.ZodOptional]>>, z.ZodObject<{ $param: z.ZodString; }, z.core.$strict>]>>; allow_git_commit: z.ZodOptional; allowed_tools: z.ZodOptional; capabilities: z.ZodOptional]>>; mcp: z.ZodOptional>; mcp_servers: z.ZodOptional>; command: z.ZodString; args: z.ZodOptional>; env: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; url: z.ZodString; headers: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; url: z.ZodString; headers: z.ZodOptional>; }, z.core.$strip>]>>>; provider: z.ZodOptional; model: z.ZodOptional; promotion: z.ZodOptional; condition: z.ZodOptional; provider: z.ZodOptional; model: z.ZodOptional; provider_options: z.ZodOptional; }, z.core.$strict>>>; companion: z.ZodOptional, z.ZodObject<{ $param: z.ZodString; }, z.core.$strict>, z.ZodObject<{ fixed: z.ZodDefault>>; pool: z.ZodDefault>>; moderator: z.ZodOptional; }, z.core.$strict>]>>; permission_mode: z.ZodOptional; required_permission_mode: z.ZodOptional>; provider_options: z.ZodOptional; edit: z.ZodOptional; requires_user_input: z.ZodOptional; instruction: z.ZodOptional]>>, z.ZodObject<{ $param: z.ZodString; }, z.core.$strict>]>>; instruction_template: z.ZodOptional; delay_before_ms: z.ZodOptional; structured_output: z.ZodOptional>; system_inputs: z.ZodOptional; source: z.ZodLiteral<"current_task">; }, z.core.$strip>, z.ZodObject<{ as: z.ZodString; type: z.ZodLiteral<"branch_context">; source: z.ZodLiteral<"current_task">; }, z.core.$strip>, z.ZodObject<{ as: z.ZodString; type: z.ZodLiteral<"pr_context">; source: z.ZodLiteral<"current_branch">; }, z.core.$strip>, z.ZodObject<{ as: z.ZodString; type: z.ZodLiteral<"issue_context">; source: z.ZodLiteral<"current_task">; }, z.core.$strip>, z.ZodObject<{ as: z.ZodString; type: z.ZodLiteral<"task_queue_context">; source: z.ZodLiteral<"current_project">; exclude_current_task: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ as: z.ZodString; type: z.ZodLiteral<"pr_list">; source: z.ZodLiteral<"current_project">; where: z.ZodOptional; base_branch: z.ZodOptional; head_branch: z.ZodOptional; managed_by_takt: z.ZodOptional; labels: z.ZodOptional>; same_repository: z.ZodOptional; draft: z.ZodOptional; }, z.core.$strict>>; }, z.core.$strip>, z.ZodObject<{ as: z.ZodString; type: z.ZodLiteral<"issue_list">; source: z.ZodLiteral<"current_project">; exclude_selected_from: z.ZodOptional; }, z.core.$strict>, z.ZodObject<{ as: z.ZodString; type: z.ZodLiteral<"pr_selection">; source: z.ZodLiteral<"current_project">; where: z.ZodOptional; base_branch: z.ZodOptional; head_branch: z.ZodOptional; managed_by_takt: z.ZodOptional; labels: z.ZodOptional>; same_repository: z.ZodOptional; draft: z.ZodOptional; }, z.core.$strict>>; }, z.core.$strip>, z.ZodObject<{ as: z.ZodString; type: z.ZodLiteral<"issue_selection">; source: z.ZodLiteral<"current_project">; }, z.core.$strict>], "type">>>; effects: z.ZodOptional; mode: z.ZodEnum<{ new: "new"; from_pr: "from_pr"; }>; workflow: z.ZodString; task: z.ZodString; pr: z.ZodOptional, z.ZodNumber]>>; issue_number: z.ZodOptional, z.ZodNumber]>>; issue: z.ZodOptional; title: z.ZodOptional; labels: z.ZodOptional>; }, z.core.$strict>, z.ZodUnion]>>; base_branch: z.ZodOptional; }, z.core.$strict>; }, z.core.$strict>]>>; worktree: z.ZodOptional; auto_pr: z.ZodOptional; draft_pr: z.ZodOptional; managed_pr: z.ZodOptional; }, z.core.$strict>>; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"comment_pr">; pr: z.ZodUnion, z.ZodNumber]>; body: z.ZodString; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"sync_with_root">; pr: z.ZodUnion, z.ZodNumber]>; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"resolve_conflicts_with_ai">; pr: z.ZodUnion, z.ZodNumber]>; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"merge_pr">; pr: z.ZodUnion, z.ZodNumber]>; }, z.core.$strict>, z.ZodObject<{ type: z.ZodLiteral<"close_pr">; pr: z.ZodUnion, z.ZodNumber]>; }, z.core.$strict>], "type">>>; command_gates: z.ZodOptional; rules: z.ZodOptional; return: z.ZodOptional; appendix: z.ZodOptional; requires_user_input: z.ZodOptional; interactive_only: z.ZodOptional; command_gates: z.ZodOptional>; }, z.core.$strict>>>; output_contracts: z.ZodOptional>; format: z.ZodUnion]>; use_judge: z.ZodDefault>; order: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; quality_gates: z.ZodOptional>>>; pass_previous_response: z.ZodOptional; parallel: z.ZodOptional>; mode: z.ZodOptional; call: z.ZodUnion]>; overrides: z.ZodOptional; args: z.ZodOptional]>, z.ZodUnion, z.ZodObject<{ fixed: z.ZodDefault>>; pool: z.ZodDefault>>; moderator: z.ZodOptional; }, z.core.$strict>]>]>, z.ZodObject<{ $param: z.ZodString; }, z.core.$strict>]>>>; vars: z.ZodOptional>>; description: z.ZodOptional; session_key: z.ZodOptional; session: z.ZodOptional; persona: z.ZodOptional; persona_name: z.ZodOptional; tags: z.ZodOptional; completion_retry: z.ZodOptional; policy: z.ZodOptional; knowledge: z.ZodOptional; allow_git_commit: z.ZodOptional; allowed_tools: z.ZodOptional; mcp_servers: z.ZodOptional; provider: z.ZodOptional; model: z.ZodOptional; promotion: z.ZodOptional; companion: z.ZodOptional; permission_mode: z.ZodOptional; required_permission_mode: z.ZodOptional; provider_options: z.ZodOptional; edit: z.ZodOptional; requires_user_input: z.ZodOptional; instruction: z.ZodOptional; instruction_template: z.ZodOptional; delay_before_ms: z.ZodOptional; structured_output: z.ZodOptional; system_inputs: z.ZodOptional; effects: z.ZodOptional; command_gates: z.ZodOptional; rules: z.ZodOptional; return: z.ZodOptional; appendix: z.ZodOptional; requires_user_input: z.ZodOptional; interactive_only: z.ZodOptional; command_gates: z.ZodOptional>; }, z.core.$strict>>>; output_contracts: z.ZodOptional; quality_gates: z.ZodOptional; pass_previous_response: z.ZodOptional; parallel: z.ZodOptional; concurrency: z.ZodOptional; arpeggio: z.ZodOptional; team_leader: z.ZodOptional; dynamic_facets: z.ZodOptional; }, z.core.$strip>, z.ZodObject<{ name: z.ZodString; description: z.ZodOptional; kind: z.ZodOptional; mode: z.ZodOptional; call: z.ZodOptional; args: z.ZodOptional; overrides: z.ZodOptional; session_key: z.ZodOptional; session: z.ZodOptional>; persona: z.ZodOptional]>>; persona_name: z.ZodOptional; tags: z.ZodOptional>; completion_retry: z.ZodOptional; max_retry: z.ZodOptional; retry_instruction: z.ZodUnion]>; }, z.core.$strict>>; policy: z.ZodOptional]>>, z.ZodObject<{ $param: z.ZodString; }, z.core.$strict>]>>; knowledge: z.ZodOptional]>>, z.ZodObject<{ $param: z.ZodString; }, z.core.$strict>]>>; allow_git_commit: z.ZodOptional; allowed_tools: z.ZodOptional; capabilities: z.ZodOptional]>>; mcp: z.ZodOptional>; mcp_servers: z.ZodOptional>; command: z.ZodString; args: z.ZodOptional>; env: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; url: z.ZodString; headers: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; url: z.ZodString; headers: z.ZodOptional>; }, z.core.$strip>]>>>; provider: z.ZodOptional; model: z.ZodOptional; promotion: z.ZodOptional; companion: z.ZodOptional; permission_mode: z.ZodOptional; required_permission_mode: z.ZodOptional>; provider_options: z.ZodOptional; edit: z.ZodOptional; requires_user_input: z.ZodOptional; instruction: z.ZodOptional]>>, z.ZodObject<{ $param: z.ZodString; }, z.core.$strict>]>>; instruction_template: z.ZodOptional; delay_before_ms: z.ZodOptional; structured_output: z.ZodOptional; system_inputs: z.ZodOptional; effects: z.ZodOptional; command_gates: z.ZodOptional; rules: z.ZodOptional; return: z.ZodOptional; appendix: z.ZodOptional; requires_user_input: z.ZodOptional; interactive_only: z.ZodOptional; command_gates: z.ZodOptional>; }, z.core.$strict>>>; output_contracts: z.ZodOptional>; format: z.ZodUnion]>; use_judge: z.ZodDefault>; order: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; quality_gates: z.ZodOptional>>>; pass_previous_response: z.ZodOptional; parallel: z.ZodOptional; concurrency: z.ZodOptional; arpeggio: z.ZodOptional; team_leader: z.ZodOptional; dynamic_facets: z.ZodOptional]>; max_selected: z.ZodOptional; selector: z.ZodOptional]>>; instruction: z.ZodUnion]>; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strip>]>>, z.ZodObject<{ fixed: z.ZodDefault; kind: z.ZodOptional; mode: z.ZodOptional; call: z.ZodOptional; args: z.ZodOptional; overrides: z.ZodOptional; session_key: z.ZodOptional; session: z.ZodOptional>; persona: z.ZodOptional]>>; persona_name: z.ZodOptional; tags: z.ZodOptional>; completion_retry: z.ZodOptional; max_retry: z.ZodOptional; retry_instruction: z.ZodUnion]>; }, z.core.$strict>>; policy: z.ZodOptional]>>, z.ZodObject<{ $param: z.ZodString; }, z.core.$strict>]>>; knowledge: z.ZodOptional]>>, z.ZodObject<{ $param: z.ZodString; }, z.core.$strict>]>>; allow_git_commit: z.ZodOptional; allowed_tools: z.ZodOptional; capabilities: z.ZodOptional]>>; mcp: z.ZodOptional>; mcp_servers: z.ZodOptional>; command: z.ZodString; args: z.ZodOptional>; env: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; url: z.ZodString; headers: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; url: z.ZodString; headers: z.ZodOptional>; }, z.core.$strip>]>>>; provider: z.ZodOptional; model: z.ZodOptional; promotion: z.ZodOptional; companion: z.ZodOptional; permission_mode: z.ZodOptional; required_permission_mode: z.ZodOptional>; provider_options: z.ZodOptional; edit: z.ZodOptional; requires_user_input: z.ZodOptional; instruction: z.ZodOptional]>>, z.ZodObject<{ $param: z.ZodString; }, z.core.$strict>]>>; instruction_template: z.ZodOptional; delay_before_ms: z.ZodOptional; structured_output: z.ZodOptional; system_inputs: z.ZodOptional; effects: z.ZodOptional; command_gates: z.ZodOptional; rules: z.ZodOptional; return: z.ZodOptional; appendix: z.ZodOptional; requires_user_input: z.ZodOptional; interactive_only: z.ZodOptional; command_gates: z.ZodOptional>; }, z.core.$strict>>>; output_contracts: z.ZodOptional>; format: z.ZodUnion]>; use_judge: z.ZodDefault>; order: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; quality_gates: z.ZodOptional>>>; pass_previous_response: z.ZodOptional; parallel: z.ZodOptional; concurrency: z.ZodOptional; arpeggio: z.ZodOptional; team_leader: z.ZodOptional; dynamic_facets: z.ZodOptional]>; max_selected: z.ZodOptional; selector: z.ZodOptional]>>; instruction: z.ZodUnion]>; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strip>>>>; pool: z.ZodArray; mode: z.ZodOptional; call: z.ZodOptional; args: z.ZodOptional; overrides: z.ZodOptional; session_key: z.ZodOptional; session: z.ZodOptional>; persona: z.ZodOptional]>>; persona_name: z.ZodOptional; tags: z.ZodOptional>; completion_retry: z.ZodOptional; max_retry: z.ZodOptional; retry_instruction: z.ZodUnion]>; }, z.core.$strict>>; policy: z.ZodOptional]>>, z.ZodObject<{ $param: z.ZodString; }, z.core.$strict>]>>; knowledge: z.ZodOptional]>>, z.ZodObject<{ $param: z.ZodString; }, z.core.$strict>]>>; allow_git_commit: z.ZodOptional; allowed_tools: z.ZodOptional; capabilities: z.ZodOptional]>>; mcp: z.ZodOptional>; mcp_servers: z.ZodOptional>; command: z.ZodString; args: z.ZodOptional>; env: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"sse">; url: z.ZodString; headers: z.ZodOptional>; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"http">; url: z.ZodString; headers: z.ZodOptional>; }, z.core.$strip>]>>>; provider: z.ZodOptional; model: z.ZodOptional; promotion: z.ZodOptional; companion: z.ZodOptional; permission_mode: z.ZodOptional; required_permission_mode: z.ZodOptional>; provider_options: z.ZodOptional; edit: z.ZodOptional; requires_user_input: z.ZodOptional; instruction: z.ZodOptional]>>, z.ZodObject<{ $param: z.ZodString; }, z.core.$strict>]>>; instruction_template: z.ZodOptional; delay_before_ms: z.ZodOptional; structured_output: z.ZodOptional; system_inputs: z.ZodOptional; effects: z.ZodOptional; command_gates: z.ZodOptional; rules: z.ZodOptional; return: z.ZodOptional; appendix: z.ZodOptional; requires_user_input: z.ZodOptional; interactive_only: z.ZodOptional; command_gates: z.ZodOptional>; }, z.core.$strict>>>; output_contracts: z.ZodOptional>; format: z.ZodUnion]>; use_judge: z.ZodDefault>; order: z.ZodOptional; }, z.core.$strip>>>; }, z.core.$strip>>; quality_gates: z.ZodOptional>>>; pass_previous_response: z.ZodOptional; parallel: z.ZodOptional; concurrency: z.ZodOptional; arpeggio: z.ZodOptional; team_leader: z.ZodOptional; dynamic_facets: z.ZodOptional]>; max_selected: z.ZodOptional; selector: z.ZodOptional]>>; instruction: z.ZodUnion]>; }, z.core.$strict>>; }, z.core.$strict>>; description: z.ZodString; }, z.core.$strip>>; selection: z.ZodDefault>>; reports: z.ZodOptional>>>; selector: z.ZodOptional]>>; instruction: z.ZodUnion]>; }, z.core.$strict>>; }, z.core.$strict>>>; }, z.core.$strict>]>>; concurrency: z.ZodOptional; arpeggio: z.ZodOptional>; concurrency: z.ZodDefault>; template: z.ZodString; merge: z.ZodOptional>>; inline_js: z.ZodOptional; file: z.ZodOptional; separator: z.ZodOptional; }, z.core.$strip>>; max_retries: z.ZodDefault>; retry_delay_ms: z.ZodDefault>; output_path: z.ZodOptional; }, z.core.$strip>>; team_leader: z.ZodOptional; max_parts: z.ZodOptional; max_concurrency: z.ZodOptional; initial_max_parts: z.ZodOptional; fail_on_part_error: z.ZodOptional; refill_threshold: z.ZodOptional>; timeout_ms: z.ZodOptional; inspect_tools: z.ZodOptional>; part_persona: z.ZodOptional; part_tags: z.ZodOptional>; part_allowed_tools: z.ZodOptional>; part_edit: z.ZodOptional; part_permission_mode: z.ZodOptional>; }, z.core.$strip>>; dynamic_facets: z.ZodOptional]>; max_selected: z.ZodOptional; selector: z.ZodOptional]>>; instruction: z.ZodUnion]>; }, z.core.$strict>>; }, z.core.$strict>>; }, z.core.$strip>, z.ZodTransform<{ name: string; description?: string | undefined; session_key?: string | undefined; kind?: "agent" | "system" | "workflow_call" | undefined; mode?: "system" | undefined; call?: string | { $param: string; } | undefined; overrides?: undefined; args?: Record | undefined; vars?: Record | undefined; session?: "continue" | "refresh" | "compact" | undefined; persona?: string | { $param: string; } | undefined; persona_name?: string | undefined; tags?: string[] | undefined; completion_retry?: { retry_instruction: string | { $param: string; }; min_retry?: number | undefined; max_retry?: number | undefined; } | undefined; policy?: string | { $param: string; } | (string | { $param: string; })[] | undefined; knowledge?: string | { $param: string; } | (string | { $param: string; })[] | undefined; allow_git_commit?: boolean | undefined; allowed_tools?: undefined; capabilities?: string | string[] | undefined; mcp?: string[] | undefined; mcp_servers?: Record | undefined; } | { type: "sse"; url: string; headers?: Record | undefined; } | { type: "http"; url: string; headers?: Record | undefined; }> | undefined; provider?: undefined; model?: undefined; promotion?: { at?: number | undefined; condition?: undefined; provider?: undefined; model?: undefined; provider_options?: undefined; }[] | undefined; companion?: string[] | { fixed: string[]; pool: string[]; moderator?: string | undefined; } | { $param: string; } | undefined; permission_mode?: undefined; required_permission_mode?: "readonly" | "edit" | "full" | undefined; provider_options?: undefined; edit?: boolean | undefined; requires_user_input?: boolean | undefined; instruction?: string | { $param: string; } | (string | { $param: string; })[] | undefined; instruction_template?: undefined; delay_before_ms?: number | undefined; structured_output?: { schema_ref: string; } | undefined; system_inputs?: ({ as: string; type: "task_context"; source: "current_task"; } | { as: string; type: "branch_context"; source: "current_task"; } | { as: string; type: "pr_context"; source: "current_branch"; } | { as: string; type: "issue_context"; source: "current_task"; } | { as: string; type: "task_queue_context"; source: "current_project"; exclude_current_task?: boolean | undefined; } | { as: string; type: "pr_list"; source: "current_project"; where?: { author?: string | undefined; base_branch?: string | undefined; head_branch?: string | undefined; managed_by_takt?: boolean | undefined; labels?: string[] | undefined; same_repository?: boolean | undefined; draft?: boolean | undefined; } | undefined; } | { as: string; type: "issue_list"; source: "current_project"; exclude_selected_from?: string | undefined; } | { as: string; type: "pr_selection"; source: "current_project"; where?: { author?: string | undefined; base_branch?: string | undefined; head_branch?: string | undefined; managed_by_takt?: boolean | undefined; labels?: string[] | undefined; same_repository?: boolean | undefined; draft?: boolean | undefined; } | undefined; } | { as: string; type: "issue_selection"; source: "current_project"; })[] | undefined; effects?: ({ type: "enqueue_task"; mode: "new" | "from_pr"; workflow: string; task: string; pr?: string | number | undefined; issue_number?: string | number | undefined; issue?: string | { create?: boolean | undefined; title?: string | undefined; labels?: string[] | undefined; } | undefined; base_branch?: string | { name: string; create_if_missing: { from: string; push?: boolean | undefined; }; } | undefined; worktree?: { enabled?: boolean | undefined; auto_pr?: boolean | undefined; draft_pr?: boolean | undefined; managed_pr?: boolean | undefined; } | undefined; } | { type: "comment_pr"; pr: string | number; body: string; } | { type: "sync_with_root"; pr: string | number; } | { type: "resolve_conflicts_with_ai"; pr: string | number; } | { type: "merge_pr"; pr: string | number; } | { type: "close_pr"; pr: string | number; })[] | undefined; command_gates?: undefined; rules?: { condition: string; next?: string | undefined; return?: string | undefined; appendix?: string | undefined; requires_user_input?: boolean | undefined; interactive_only?: boolean | undefined; command_gates?: "required" | "skip" | undefined; }[] | undefined; output_contracts?: { report?: { name: string; format: string | { $param: string; }; use_judge: boolean; order?: string | undefined; }[] | undefined; } | undefined; quality_gates?: (string | { type: "command"; command: string; name?: string | undefined; cwd?: string | undefined; timeout_ms?: number | undefined; })[] | undefined; pass_previous_response?: boolean | undefined; parallel?: { fixed: { name: string; description?: undefined; kind?: undefined; mode?: undefined; call?: undefined; args?: undefined; overrides?: undefined; session_key?: string | undefined; session?: "continue" | "refresh" | "compact" | undefined; persona?: string | { $param: string; } | undefined; persona_name?: string | undefined; tags?: string[] | undefined; completion_retry?: { retry_instruction: string | { $param: string; }; min_retry?: number | undefined; max_retry?: number | undefined; } | undefined; policy?: string | { $param: string; } | (string | { $param: string; })[] | undefined; knowledge?: string | { $param: string; } | (string | { $param: string; })[] | undefined; allow_git_commit?: boolean | undefined; allowed_tools?: undefined; capabilities?: string | string[] | undefined; mcp?: string[] | undefined; mcp_servers?: Record | undefined; } | { type: "sse"; url: string; headers?: Record | undefined; } | { type: "http"; url: string; headers?: Record | undefined; }> | undefined; provider?: undefined; model?: undefined; promotion?: undefined; companion?: undefined; permission_mode?: undefined; required_permission_mode?: "readonly" | "edit" | "full" | undefined; provider_options?: undefined; edit?: boolean | undefined; requires_user_input?: undefined; instruction?: string | { $param: string; } | (string | { $param: string; })[] | undefined; instruction_template?: undefined; delay_before_ms?: undefined; structured_output?: undefined; system_inputs?: undefined; effects?: undefined; command_gates?: undefined; rules?: { condition: string; next?: string | undefined; return?: string | undefined; appendix?: string | undefined; requires_user_input?: boolean | undefined; interactive_only?: boolean | undefined; command_gates?: "required" | "skip" | undefined; }[] | undefined; output_contracts?: { report?: { name: string; format: string | { $param: string; }; use_judge: boolean; order?: string | undefined; }[] | undefined; } | undefined; quality_gates?: (string | { type: "command"; command: string; name?: string | undefined; cwd?: string | undefined; timeout_ms?: number | undefined; })[] | undefined; pass_previous_response?: boolean | undefined; parallel?: undefined; concurrency?: undefined; arpeggio?: undefined; team_leader?: undefined; dynamic_facets?: { pool: string | { $param: string; }; max_selected?: number | undefined; selector?: { instruction: string | { $param: string; }; persona?: string | { $param: string; } | undefined; } | undefined; } | undefined; }[]; pool: { name: string; description: string; kind?: undefined; mode?: undefined; call?: undefined; args?: undefined; overrides?: undefined; session_key?: string | undefined; session?: "continue" | "refresh" | "compact" | undefined; persona?: string | { $param: string; } | undefined; persona_name?: string | undefined; tags?: string[] | undefined; completion_retry?: { retry_instruction: string | { $param: string; }; min_retry?: number | undefined; max_retry?: number | undefined; } | undefined; policy?: string | { $param: string; } | (string | { $param: string; })[] | undefined; knowledge?: string | { $param: string; } | (string | { $param: string; })[] | undefined; allow_git_commit?: boolean | undefined; allowed_tools?: undefined; capabilities?: string | string[] | undefined; mcp?: string[] | undefined; mcp_servers?: Record | undefined; } | { type: "sse"; url: string; headers?: Record | undefined; } | { type: "http"; url: string; headers?: Record | undefined; }> | undefined; provider?: undefined; model?: undefined; promotion?: undefined; companion?: undefined; permission_mode?: undefined; required_permission_mode?: "readonly" | "edit" | "full" | undefined; provider_options?: undefined; edit?: boolean | undefined; requires_user_input?: undefined; instruction?: string | { $param: string; } | (string | { $param: string; })[] | undefined; instruction_template?: undefined; delay_before_ms?: undefined; structured_output?: undefined; system_inputs?: undefined; effects?: undefined; command_gates?: undefined; rules?: { condition: string; next?: string | undefined; return?: string | undefined; appendix?: string | undefined; requires_user_input?: boolean | undefined; interactive_only?: boolean | undefined; command_gates?: "required" | "skip" | undefined; }[] | undefined; output_contracts?: { report?: { name: string; format: string | { $param: string; }; use_judge: boolean; order?: string | undefined; }[] | undefined; } | undefined; quality_gates?: (string | { type: "command"; command: string; name?: string | undefined; cwd?: string | undefined; timeout_ms?: number | undefined; })[] | undefined; pass_previous_response?: boolean | undefined; parallel?: undefined; concurrency?: undefined; arpeggio?: undefined; team_leader?: undefined; dynamic_facets?: { pool: string | { $param: string; }; max_selected?: number | undefined; selector?: { instruction: string | { $param: string; }; persona?: string | { $param: string; } | undefined; } | undefined; } | undefined; }[]; selection: { mode: "replace" | "cumulative"; reports?: string[] | undefined; selector?: { instruction: string | { $param: string; }; persona?: string | { $param: string; } | undefined; } | undefined; }; } | ({ name: string; description?: undefined; kind?: undefined; mode?: undefined; call?: undefined; args?: undefined; overrides?: undefined; session_key?: string | undefined; session?: "continue" | "refresh" | "compact" | undefined; persona?: string | { $param: string; } | undefined; persona_name?: string | undefined; tags?: string[] | undefined; completion_retry?: { retry_instruction: string | { $param: string; }; min_retry?: number | undefined; max_retry?: number | undefined; } | undefined; policy?: string | { $param: string; } | (string | { $param: string; })[] | undefined; knowledge?: string | { $param: string; } | (string | { $param: string; })[] | undefined; allow_git_commit?: boolean | undefined; allowed_tools?: undefined; capabilities?: string | string[] | undefined; mcp?: string[] | undefined; mcp_servers?: Record | undefined; } | { type: "sse"; url: string; headers?: Record | undefined; } | { type: "http"; url: string; headers?: Record | undefined; }> | undefined; provider?: undefined; model?: undefined; promotion?: undefined; companion?: undefined; permission_mode?: undefined; required_permission_mode?: "readonly" | "edit" | "full" | undefined; provider_options?: undefined; edit?: boolean | undefined; requires_user_input?: undefined; instruction?: string | { $param: string; } | (string | { $param: string; })[] | undefined; instruction_template?: undefined; delay_before_ms?: undefined; structured_output?: undefined; system_inputs?: undefined; effects?: undefined; command_gates?: undefined; rules?: { condition: string; next?: string | undefined; return?: string | undefined; appendix?: string | undefined; requires_user_input?: boolean | undefined; interactive_only?: boolean | undefined; command_gates?: "required" | "skip" | undefined; }[] | undefined; output_contracts?: { report?: { name: string; format: string | { $param: string; }; use_judge: boolean; order?: string | undefined; }[] | undefined; } | undefined; quality_gates?: (string | { type: "command"; command: string; name?: string | undefined; cwd?: string | undefined; timeout_ms?: number | undefined; })[] | undefined; pass_previous_response?: boolean | undefined; parallel?: undefined; concurrency?: undefined; arpeggio?: undefined; team_leader?: undefined; dynamic_facets?: { pool: string | { $param: string; }; max_selected?: number | undefined; selector?: { instruction: string | { $param: string; }; persona?: string | { $param: string; } | undefined; } | undefined; } | undefined; } | { name: string; call: string | { $param: string; }; kind?: "workflow_call" | undefined; mode?: undefined; overrides?: undefined; args?: Record | undefined; vars?: Record | undefined; description?: string | undefined; session_key?: undefined; session?: undefined; persona?: undefined; persona_name?: undefined; tags?: undefined; completion_retry?: undefined; policy?: undefined; knowledge?: undefined; allow_git_commit?: undefined; allowed_tools?: undefined; mcp_servers?: undefined; provider?: undefined; model?: undefined; promotion?: undefined; companion?: undefined; permission_mode?: undefined; required_permission_mode?: undefined; provider_options?: undefined; edit?: undefined; requires_user_input?: undefined; instruction?: undefined; instruction_template?: undefined; delay_before_ms?: undefined; structured_output?: undefined; system_inputs?: undefined; effects?: undefined; command_gates?: undefined; rules?: { condition: string; next?: string | undefined; return?: string | undefined; appendix?: string | undefined; requires_user_input?: boolean | undefined; interactive_only?: boolean | undefined; command_gates?: "required" | "skip" | undefined; }[] | undefined; output_contracts?: undefined; quality_gates?: undefined; pass_previous_response?: undefined; parallel?: undefined; concurrency?: undefined; arpeggio?: undefined; team_leader?: undefined; dynamic_facets?: undefined; })[] | undefined; concurrency?: number | undefined; arpeggio?: { source: string; source_path: string; batch_size: number; concurrency: number; template: string; max_retries: number; retry_delay_ms: number; merge?: { strategy: "custom" | "concat"; inline_js?: string | undefined; file?: string | undefined; separator?: string | undefined; } | undefined; output_path?: string | undefined; } | undefined; team_leader?: { persona?: string | undefined; max_parts?: number | undefined; max_concurrency?: number | undefined; initial_max_parts?: number | undefined; fail_on_part_error?: boolean | undefined; refill_threshold?: 0 | undefined; timeout_ms?: number | undefined; inspect_tools?: string[] | undefined; part_persona?: string | undefined; part_tags?: string[] | undefined; part_allowed_tools?: string[] | undefined; part_edit?: boolean | undefined; part_permission_mode?: "readonly" | "edit" | "full" | undefined; } | undefined; dynamic_facets?: { pool: string | { $param: string; }; max_selected?: number | undefined; selector?: { instruction: string | { $param: string; }; persona?: string | { $param: string; } | undefined; } | undefined; } | undefined; }, { name: string; description?: string | undefined; session_key?: string | undefined; kind?: "agent" | "system" | "workflow_call" | undefined; mode?: "system" | undefined; call?: string | { $param: string; } | undefined; overrides?: undefined; args?: Record | undefined; vars?: Record | undefined; session?: "continue" | "refresh" | "compact" | undefined; persona?: string | { $param: string; } | undefined; persona_name?: string | undefined; tags?: string[] | undefined; completion_retry?: { retry_instruction: string | { $param: string; }; min_retry?: number | undefined; max_retry?: number | undefined; } | undefined; policy?: string | { $param: string; } | (string | { $param: string; })[] | undefined; knowledge?: string | { $param: string; } | (string | { $param: string; })[] | undefined; allow_git_commit?: boolean | undefined; allowed_tools?: undefined; capabilities?: string | string[] | undefined; mcp?: string[] | undefined; mcp_servers?: Record | undefined; } | { type: "sse"; url: string; headers?: Record | undefined; } | { type: "http"; url: string; headers?: Record | undefined; }> | undefined; provider?: undefined; model?: undefined; promotion?: { at?: number | undefined; condition?: undefined; provider?: undefined; model?: undefined; provider_options?: undefined; }[] | undefined; companion?: string[] | { fixed: string[]; pool: string[]; moderator?: string | undefined; } | { $param: string; } | undefined; permission_mode?: undefined; required_permission_mode?: "readonly" | "edit" | "full" | undefined; provider_options?: undefined; edit?: boolean | undefined; requires_user_input?: boolean | undefined; instruction?: string | { $param: string; } | (string | { $param: string; })[] | undefined; instruction_template?: undefined; delay_before_ms?: number | undefined; structured_output?: { schema_ref: string; } | undefined; system_inputs?: ({ as: string; type: "task_context"; source: "current_task"; } | { as: string; type: "branch_context"; source: "current_task"; } | { as: string; type: "pr_context"; source: "current_branch"; } | { as: string; type: "issue_context"; source: "current_task"; } | { as: string; type: "task_queue_context"; source: "current_project"; exclude_current_task?: boolean | undefined; } | { as: string; type: "pr_list"; source: "current_project"; where?: { author?: string | undefined; base_branch?: string | undefined; head_branch?: string | undefined; managed_by_takt?: boolean | undefined; labels?: string[] | undefined; same_repository?: boolean | undefined; draft?: boolean | undefined; } | undefined; } | { as: string; type: "issue_list"; source: "current_project"; exclude_selected_from?: string | undefined; } | { as: string; type: "pr_selection"; source: "current_project"; where?: { author?: string | undefined; base_branch?: string | undefined; head_branch?: string | undefined; managed_by_takt?: boolean | undefined; labels?: string[] | undefined; same_repository?: boolean | undefined; draft?: boolean | undefined; } | undefined; } | { as: string; type: "issue_selection"; source: "current_project"; })[] | undefined; effects?: ({ type: "enqueue_task"; mode: "new" | "from_pr"; workflow: string; task: string; pr?: string | number | undefined; issue_number?: string | number | undefined; issue?: string | { create?: boolean | undefined; title?: string | undefined; labels?: string[] | undefined; } | undefined; base_branch?: string | { name: string; create_if_missing: { from: string; push?: boolean | undefined; }; } | undefined; worktree?: { enabled?: boolean | undefined; auto_pr?: boolean | undefined; draft_pr?: boolean | undefined; managed_pr?: boolean | undefined; } | undefined; } | { type: "comment_pr"; pr: string | number; body: string; } | { type: "sync_with_root"; pr: string | number; } | { type: "resolve_conflicts_with_ai"; pr: string | number; } | { type: "merge_pr"; pr: string | number; } | { type: "close_pr"; pr: string | number; })[] | undefined; command_gates?: undefined; rules?: { condition: string; next?: string | undefined; return?: string | undefined; appendix?: string | undefined; requires_user_input?: boolean | undefined; interactive_only?: boolean | undefined; command_gates?: "required" | "skip" | undefined; }[] | undefined; output_contracts?: { report?: { name: string; format: string | { $param: string; }; use_judge: boolean; order?: string | undefined; }[] | undefined; } | undefined; quality_gates?: (string | { type: "command"; command: string; name?: string | undefined; cwd?: string | undefined; timeout_ms?: number | undefined; })[] | undefined; pass_previous_response?: boolean | undefined; parallel?: { fixed: { name: string; description?: undefined; kind?: undefined; mode?: undefined; call?: undefined; args?: undefined; overrides?: undefined; session_key?: string | undefined; session?: "continue" | "refresh" | "compact" | undefined; persona?: string | { $param: string; } | undefined; persona_name?: string | undefined; tags?: string[] | undefined; completion_retry?: { retry_instruction: string | { $param: string; }; min_retry?: number | undefined; max_retry?: number | undefined; } | undefined; policy?: string | { $param: string; } | (string | { $param: string; })[] | undefined; knowledge?: string | { $param: string; } | (string | { $param: string; })[] | undefined; allow_git_commit?: boolean | undefined; allowed_tools?: undefined; capabilities?: string | string[] | undefined; mcp?: string[] | undefined; mcp_servers?: Record | undefined; } | { type: "sse"; url: string; headers?: Record | undefined; } | { type: "http"; url: string; headers?: Record | undefined; }> | undefined; provider?: undefined; model?: undefined; promotion?: undefined; companion?: undefined; permission_mode?: undefined; required_permission_mode?: "readonly" | "edit" | "full" | undefined; provider_options?: undefined; edit?: boolean | undefined; requires_user_input?: undefined; instruction?: string | { $param: string; } | (string | { $param: string; })[] | undefined; instruction_template?: undefined; delay_before_ms?: undefined; structured_output?: undefined; system_inputs?: undefined; effects?: undefined; command_gates?: undefined; rules?: { condition: string; next?: string | undefined; return?: string | undefined; appendix?: string | undefined; requires_user_input?: boolean | undefined; interactive_only?: boolean | undefined; command_gates?: "required" | "skip" | undefined; }[] | undefined; output_contracts?: { report?: { name: string; format: string | { $param: string; }; use_judge: boolean; order?: string | undefined; }[] | undefined; } | undefined; quality_gates?: (string | { type: "command"; command: string; name?: string | undefined; cwd?: string | undefined; timeout_ms?: number | undefined; })[] | undefined; pass_previous_response?: boolean | undefined; parallel?: undefined; concurrency?: undefined; arpeggio?: undefined; team_leader?: undefined; dynamic_facets?: { pool: string | { $param: string; }; max_selected?: number | undefined; selector?: { instruction: string | { $param: string; }; persona?: string | { $param: string; } | undefined; } | undefined; } | undefined; }[]; pool: { name: string; description: string; kind?: undefined; mode?: undefined; call?: undefined; args?: undefined; overrides?: undefined; session_key?: string | undefined; session?: "continue" | "refresh" | "compact" | undefined; persona?: string | { $param: string; } | undefined; persona_name?: string | undefined; tags?: string[] | undefined; completion_retry?: { retry_instruction: string | { $param: string; }; min_retry?: number | undefined; max_retry?: number | undefined; } | undefined; policy?: string | { $param: string; } | (string | { $param: string; })[] | undefined; knowledge?: string | { $param: string; } | (string | { $param: string; })[] | undefined; allow_git_commit?: boolean | undefined; allowed_tools?: undefined; capabilities?: string | string[] | undefined; mcp?: string[] | undefined; mcp_servers?: Record | undefined; } | { type: "sse"; url: string; headers?: Record | undefined; } | { type: "http"; url: string; headers?: Record | undefined; }> | undefined; provider?: undefined; model?: undefined; promotion?: undefined; companion?: undefined; permission_mode?: undefined; required_permission_mode?: "readonly" | "edit" | "full" | undefined; provider_options?: undefined; edit?: boolean | undefined; requires_user_input?: undefined; instruction?: string | { $param: string; } | (string | { $param: string; })[] | undefined; instruction_template?: undefined; delay_before_ms?: undefined; structured_output?: undefined; system_inputs?: undefined; effects?: undefined; command_gates?: undefined; rules?: { condition: string; next?: string | undefined; return?: string | undefined; appendix?: string | undefined; requires_user_input?: boolean | undefined; interactive_only?: boolean | undefined; command_gates?: "required" | "skip" | undefined; }[] | undefined; output_contracts?: { report?: { name: string; format: string | { $param: string; }; use_judge: boolean; order?: string | undefined; }[] | undefined; } | undefined; quality_gates?: (string | { type: "command"; command: string; name?: string | undefined; cwd?: string | undefined; timeout_ms?: number | undefined; })[] | undefined; pass_previous_response?: boolean | undefined; parallel?: undefined; concurrency?: undefined; arpeggio?: undefined; team_leader?: undefined; dynamic_facets?: { pool: string | { $param: string; }; max_selected?: number | undefined; selector?: { instruction: string | { $param: string; }; persona?: string | { $param: string; } | undefined; } | undefined; } | undefined; }[]; selection: { mode: "replace" | "cumulative"; reports?: string[] | undefined; selector?: { instruction: string | { $param: string; }; persona?: string | { $param: string; } | undefined; } | undefined; }; } | ({ name: string; description?: undefined; kind?: undefined; mode?: undefined; call?: undefined; args?: undefined; overrides?: undefined; session_key?: string | undefined; session?: "continue" | "refresh" | "compact" | undefined; persona?: string | { $param: string; } | undefined; persona_name?: string | undefined; tags?: string[] | undefined; completion_retry?: { retry_instruction: string | { $param: string; }; min_retry?: number | undefined; max_retry?: number | undefined; } | undefined; policy?: string | { $param: string; } | (string | { $param: string; })[] | undefined; knowledge?: string | { $param: string; } | (string | { $param: string; })[] | undefined; allow_git_commit?: boolean | undefined; allowed_tools?: undefined; capabilities?: string | string[] | undefined; mcp?: string[] | undefined; mcp_servers?: Record | undefined; } | { type: "sse"; url: string; headers?: Record | undefined; } | { type: "http"; url: string; headers?: Record | undefined; }> | undefined; provider?: undefined; model?: undefined; promotion?: undefined; companion?: undefined; permission_mode?: undefined; required_permission_mode?: "readonly" | "edit" | "full" | undefined; provider_options?: undefined; edit?: boolean | undefined; requires_user_input?: undefined; instruction?: string | { $param: string; } | (string | { $param: string; })[] | undefined; instruction_template?: undefined; delay_before_ms?: undefined; structured_output?: undefined; system_inputs?: undefined; effects?: undefined; command_gates?: undefined; rules?: { condition: string; next?: string | undefined; return?: string | undefined; appendix?: string | undefined; requires_user_input?: boolean | undefined; interactive_only?: boolean | undefined; command_gates?: "required" | "skip" | undefined; }[] | undefined; output_contracts?: { report?: { name: string; format: string | { $param: string; }; use_judge: boolean; order?: string | undefined; }[] | undefined; } | undefined; quality_gates?: (string | { type: "command"; command: string; name?: string | undefined; cwd?: string | undefined; timeout_ms?: number | undefined; })[] | undefined; pass_previous_response?: boolean | undefined; parallel?: undefined; concurrency?: undefined; arpeggio?: undefined; team_leader?: undefined; dynamic_facets?: { pool: string | { $param: string; }; max_selected?: number | undefined; selector?: { instruction: string | { $param: string; }; persona?: string | { $param: string; } | undefined; } | undefined; } | undefined; } | { name: string; call: string | { $param: string; }; kind?: "workflow_call" | undefined; mode?: undefined; overrides?: undefined; args?: Record | undefined; vars?: Record | undefined; description?: string | undefined; session_key?: undefined; session?: undefined; persona?: undefined; persona_name?: undefined; tags?: undefined; completion_retry?: undefined; policy?: undefined; knowledge?: undefined; allow_git_commit?: undefined; allowed_tools?: undefined; mcp_servers?: undefined; provider?: undefined; model?: undefined; promotion?: undefined; companion?: undefined; permission_mode?: undefined; required_permission_mode?: undefined; provider_options?: undefined; edit?: undefined; requires_user_input?: undefined; instruction?: undefined; instruction_template?: undefined; delay_before_ms?: undefined; structured_output?: undefined; system_inputs?: undefined; effects?: undefined; command_gates?: undefined; rules?: { condition: string; next?: string | undefined; return?: string | undefined; appendix?: string | undefined; requires_user_input?: boolean | undefined; interactive_only?: boolean | undefined; command_gates?: "required" | "skip" | undefined; }[] | undefined; output_contracts?: undefined; quality_gates?: undefined; pass_previous_response?: undefined; parallel?: undefined; concurrency?: undefined; arpeggio?: undefined; team_leader?: undefined; dynamic_facets?: undefined; })[] | undefined; concurrency?: number | undefined; arpeggio?: { source: string; source_path: string; batch_size: number; concurrency: number; template: string; max_retries: number; retry_delay_ms: number; merge?: { strategy: "custom" | "concat"; inline_js?: string | undefined; file?: string | undefined; separator?: string | undefined; } | undefined; output_path?: string | undefined; } | undefined; team_leader?: { persona?: string | undefined; max_parts?: number | undefined; max_concurrency?: number | undefined; initial_max_parts?: number | undefined; fail_on_part_error?: boolean | undefined; refill_threshold?: 0 | undefined; timeout_ms?: number | undefined; inspect_tools?: string[] | undefined; part_persona?: string | undefined; part_tags?: string[] | undefined; part_allowed_tools?: string[] | undefined; part_edit?: boolean | undefined; part_permission_mode?: "readonly" | "edit" | "full" | undefined; } | undefined; dynamic_facets?: { pool: string | { $param: string; }; max_selected?: number | undefined; selector?: { instruction: string | { $param: string; }; persona?: string | { $param: string; } | undefined; } | undefined; } | undefined; }>>>; initial_step: z.ZodOptional; max_steps: z.ZodDefault]>>>; loop_monitors: z.ZodOptional; ignore_steps: z.ZodOptional>; threshold: z.ZodDefault>; judge: z.ZodObject<{ session_key: z.ZodOptional; persona: z.ZodOptional; provider: z.ZodOptional; model: z.ZodOptional; provider_options: z.ZodOptional; instruction: z.ZodOptional; instruction_template: z.ZodOptional; rules: z.ZodArray>; }, z.core.$strip>; }, z.core.$strip>>>; }, z.core.$strict>; //# sourceMappingURL=workflow-schemas.d.ts.map