name: test-mapreduce
mode: mapreduce
# Simple test without heavy setup
map:
input: "echo '[{\"id\": 1}, {\"id\": 2}, {\"id\": 3}]'"
json_path: "$[*]"
agent_template:
- shell: "echo 'Processing item ${item.id}'"
max_parallel: 2
reduce:
- shell: "echo 'Processed ${map.successful} items'"