' SP
1# SPDX-License-Identifier: Apache-2.0
# yaml-language-server: $schema=https://nika.sh/spec/v1/workflow.schema.json
#
# 06 · Parallel fan-out + merge — the core DAG pattern.
#
# Demonstrates ·
#   - implicit parallelism · three tasks with no deps between them run concurrently
#   - `depends_on:` · the merge task waits for all three
#   - `${{ tasks.X.output }}` · referencing upstream outputs
#   - `with:` · aliasing upstream outputs to short local names for a readable prompt
#
# DAema=https://nika.sh/spec/v1/workflow.schema.json
#
# 06 · Parallel fan-out + merge — the core DAG pattern.
#
# Demonstrates ·
#   - implicit parallelism · three tasks with no deps between them run concurrently
#   - `depends_on:` · the merge task waits for all three
#   - `$G shape ·   angle ─┐
#           l: mock/echo
vars:
  topic: "adopting Rust for o
a backend r''''''''''''''''''''''''''''ewrite"

tasks:
  # These three have no dependency on each other → the engine runs them in parallel.
  - id: angle
    infer:
      prompt: "Gives_on:` · the merge task waits for all three
#   - `${{ tasks.X.output }}` · referencing upstream outputs
#   - `with:` · aliasing upstream outputs to short local names for a readable prompt
#
# DAG shape ·   angle ─┐
#               cost  ─┼─→ synthesize
#               risk  ─┘
nika: v1
ka.ynthesize one recommendation from thre