Overview
AIOX tasks are executable workflow definitions that agents follow to complete work. Tasks are structured markdown files in.aiox-core/development/tasks/ that define step-by-step procedures, validation criteria, and execution modes.
string
.aiox-core/development/tasks/string
Markdown with YAML frontmatter
string
Tasks are executable workflows, not reference documentation
Task Structure
Tasks follow a standardized format:Steps
Phase 1: Phase Name
Step 1: Step Name
Step description Input:- input-item
- action
- action
- output-item
- validation-criterion
Quality Gates
Quality checkpoints and validation criteriaError Handling
Error scenarios and recovery proceduresQuality Gates
Tasks include quality gates that must pass:structure
Error Handling
Tasks define error scenarios and recovery:structure
Task Dependencies
Tasks can depend on other tasks, checklists, and scripts:Task Workflow Patterns
Sequential Execution
Parallel Execution
Recovery Workflows
Best Practices
Task Design
Task Design
- Keep tasks focused and atomic
- Define clear input/output contracts
- Include validation at each step
- Provide error handling for all scenarios
- Support multiple execution modes
- Document quality standards
Phase Organization
Phase Organization
- Group related steps into phases
- Include checkpoints between phases
- Define clear exit criteria for each phase
- Allow for phase rollback if needed
- Keep phases self-contained
Validation
Validation
- Validate inputs before execution
- Include quality gates at key points
- Test both success and failure paths
- Document expected vs. actual outcomes
- Provide clear validation criteria
Documentation
Documentation
- Explain why, not just what
- Include examples for complex steps
- Document assumptions clearly
- Reference related tasks and checklists
- Keep version history
Task Execution Flow
Related Documentation
Reference:
.aiox-core/development/tasks/