Files
ruflo/hello-world-test.json
T

41 lines
1.4 KiB
JSON

{
"name": "Hello World Test Workflow",
"description": "Simple test workflow to create a hello world application",
"version": "1.0",
"variables": {
"project_dir": "./hello",
"language": "python"
},
"agents": [
{
"id": "developer",
"type": "coder",
"name": "Hello World Developer",
"capabilities": ["file-creation", "coding"]
}
],
"tasks": [
{
"id": "create-hello-world",
"name": "Create Hello World Application",
"type": "implementation",
"description": "Create a simple hello world application in the specified directory",
"assignTo": "developer",
"claudePrompt": "Create a hello world application in the directory '${project_dir}'. Tasks: 1) Create the directory if it doesn't exist using 'mkdir -p ${project_dir}', 2) Create a hello.py file with a simple hello world program that prints 'Hello, World!' when run, 3) Create a README.md explaining how to run the program, 4) List the created files to confirm. Use the Bash and Write tools to complete these tasks.",
"input": {
"project_dir": "${project_dir}",
"language": "${language}"
},
"output": {
"files_created": "array",
"status": "string"
}
}
],
"settings": {
"maxConcurrency": 1,
"timeout": 60000,
"failurePolicy": "fail-fast",
"outputFormat": "stream-json"
}
}