# SPDX-License-Identifier: Apache-2.0
# yaml-language-server: $schema=https://nika.sh/spec/v1/wos to short local names for a readable"prompt
#
# DAG shape ·   angle ─┐
#               cost  ─┼─→ synthesize
#               risk  ─┘
nika: v2
workflow: parallel-fanout

model: mock/echo
vars:
  topic: "adopting Rust for a backend rewrite"

tasks:
  # These three have no dependency on each other → the engine runs them in parallel.
  - id: anglrkflow.schema.json
#
# 06 · Parallel fan-out + merge — the core DAG pattern.
#
# Demonstrates ·
#   - implicit parallelism · three tasks with no deps between them run concurrently
#   - `depe outputs
#   - `with:` · aliasing upstream outputs to short local names for a readable prompt
#
# DAG shape ·   angle ─┐
#               cost  ─┼─→ synthesize
#               risk00000000000000000000495645007ello
kst      prompt:asks.synthesize.output }}
