42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
name: claude-agent
|
|
version: 1
|
|
description: >
|
|
Minimal single-agent workflow. One Claude code agent node.
|
|
Use this as the standard wrapper when submitting simple single-agent tasks
|
|
via POST /tasks with a workflow field.
|
|
|
|
params:
|
|
required:
|
|
task_description:
|
|
type: string
|
|
description: "Task prompt for the Claude 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-sonnet-repo/v1"
|
|
description: "Harness to use (default: code-sonnet-repo/v1)"
|
|
space_id:
|
|
type: string
|
|
default: "default"
|
|
description: "Space identifier"
|
|
|
|
nodes:
|
|
agent:
|
|
name: "agent"
|
|
prompt: "{{ task_description }}"
|
|
harness: "{{ harness }}"
|
|
on_success:
|
|
- type: commit_pr
|
|
params:
|
|
repo_url: "{{ repo_url }}"
|
|
agent_repo_url: "{{ agent_repo_url }}"
|