Graph Workflows

Status: Planned — This feature is under active design and not yet implemented.

Overview

Graph Workflows will extend the existing .armaflow system with full directed acyclic graph (DAG) execution. Workflows will be defined as .arma.workflow files with explicit node dependencies, conditional branching, and fan-out/fan-in patterns.

Planned Capabilities

  • DAG definition with typed edges (data, control, approval)
  • Conditional branching based on agent output
  • Fan-out parallelism with configurable concurrency limits
  • Fan-in aggregation with merge strategies
  • Retry policies per node with exponential backoff
  • Budget-scoped execution (abort DAG if budget exhausted)
  • Checkpoint/resume for long-running workflows
  • Visual execution trace export

Relationship to .armaflow

The current .armaflow system supports sequential and parallel execution. Graph Workflows will be a superset, adding dependency graphs and conditional logic while remaining backward-compatible with existing .armaflow files.