Starts the task runner (v2) to automate task implementation for a project. Use when user says "run tasks for {project}", "automate {project}", "start implementing tasks", or wants to run background task automation.
When to Invoke: User says "run tasks for {project}", "automate {project}", "start task runner for {project}", or "/run-tasks {project}"
Purpose: Launch task runner (v2) to autonomously implement project tasks using YAML-based task definitions
.venv/bin/activatesrc/task_runner/tasks/{project}.yamlsource .venv/bin/activatepython -m task_runner tasks/{project}.yamlpython -m task_runner tasks/{project}.yaml --dry-runpython -m task_runner tasks/{project}.yaml --resumeUser: "Run tasks for my-awesome-feature" Action: Validate YAML exists, start runner Output:
Running task runner for: tasks/my-awesome-feature.yaml
User: "Run tasks for nonexistent-project" Output:
Project 'nonexistent-project' not found
Expected: tasks/nonexistent-project.yaml
User: "Resume tasks for my-project" Output:
Resuming task runner for: tasks/my-project.yaml (skipping completed tasks)
Do's:
--dry-run to preview execution plan first--resume to skip already-completed tasksDon'ts:
Full pipeline:
python -m task_runner tasks/{project}.yaml
Dry run (preview):
python -m task_runner tasks/{project}.yaml --dry-run
Single task:
python -m task_runner tasks/{project}.yaml --task T1
Resume (skip completed):
python -m task_runner tasks/{project}.yaml --resume
Verbose logging:
python -m task_runner tasks/{project}.yaml -v