Skip to main content

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
Process:
  1. action
  2. action
Output:
  • output-item
Validation:
  • validation-criterion

Quality Gates

Quality checkpoints and validation criteria

Error Handling

Error scenarios and recovery procedures

Quality 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

  • 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
  • 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
  • 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
  • Explain why, not just what
  • Include examples for complex steps
  • Document assumptions clearly
  • Reference related tasks and checklists
  • Keep version history

Task Execution Flow


Reference: .aiox-core/development/tasks/