/task-runner
Automatic task execution controller.
Progress Checklist
code
- [ ] Step 1: Get all tasks - [ ] Step 2: Find executable tasks - [ ] Step 3: Execute or exit
Steps
- •
Get all tasks:
- •Call TaskList tool
- •
Find executable tasks:
- •From TaskList result, find tasks meeting ALL conditions:
- •status: pending
- •metadata.autoRun: true
- •blockedBy is empty OR all blockedBy tasks are completed
- •From TaskList result, find tasks meeting ALL conditions:
- •
Execute or exit:
- •If no executable tasks found: END (no report needed)
- •If executable tasks found:
- •For each task:
- •TaskUpdate: set status to "in_progress"
- •TaskGet to read full task details including metadata
- •If metadata.skill exists: Call Skill tool with skill=metadata.skill, args=metadata.args
- •After skill completes: TaskUpdate: set status to "completed"
- •Parallel execution: If multiple tasks meet conditions, call multiple Skill tools in parallel
- •For each task: