name: smart-agent version: 1 description: > High-capability single-agent workflow. Routes to the best available reasoning model (complexity ≥ 9 — currently claude-opus-4). Use for complex implementation, planning, or analysis tasks where quality matters more than cost. MiniMax is not in the model registry and will not be auto-selected; use the minimax-code-repo or minimax-planning task templates directly for MiniMax tasks. params: required: task_description: type: string description: "Task prompt for the agent" project_id: type: string description: "Project identifier for task grouping" repo_url: type: string description: "Git repo URL for the agent to clone" agent_repo_url: type: string description: "Agent repo URL for branch-per-task persistence" optional: harness: type: string default: "code-opus-repo/v1" description: "Harness to use. Override to change context/credentials (default: code-opus-repo/v1)" space_id: type: string default: "default" description: "Space identifier" nodes: agent: name: "agent" prompt: "{{ task_description }}" harness: "{{ harness }}" requirements: min_scores: complexity: 9 spec_adherence: 8 on_success: - type: commit_pr params: repo_url: "{{ repo_url }}" agent_repo_url: "{{ agent_repo_url }}"