aios-core
Version:
Synkra AIOS: AI-Orchestrated System for Full Stack Development - Core Framework
66 lines (48 loc) • 1.28 kB
Markdown
title: Orchestrate Pipeline
description: Start full ADE pipeline for a story
agent: aios-master
version: 1.0.0
story: '0.9'
epic: '0'
# \*orchestrate Command
Starts the ADE Master Orchestrator pipeline for a given story.
## Usage
```
*orchestrate {story-id} [options]
```
## Options
- `--epic N` - Start from specific epic (3, 4, 6, or 7)
- `--dry-run` - Preview pipeline without execution
- `--strict` - Enable strict gate mode (any failure = halt)
## Examples
```bash
# Full pipeline
*orchestrate STORY-42
# Start from Epic 4
*orchestrate STORY-42 --epic 4
# Preview only
*orchestrate STORY-42 --dry-run
# Strict mode
*orchestrate STORY-42 --strict
```
## Behavior
1. Validates story ID
2. Initializes MasterOrchestrator
3. Detects tech stack (pre-flight)
4. Executes epics in sequence: 3 → 4 → 6 → 7
5. Evaluates quality gates between epics
6. Handles errors with automatic recovery
7. Saves state for resume capability
8. Updates dashboard status
## Output
- Real-time progress in terminal
- Dashboard status at `.aios/dashboard/status.json`
- State saved at `.aios/master-orchestrator/{story-id}.json`
- Logs at `.aios/logs/{story-id}.log`
## Exit Codes
- 0: Success
- 1: Pipeline failed
- 2: Pipeline blocked (gate failure)
- 3: Invalid arguments