the corpus
Every workflow we ship, and why each one exists.
Three shelves. A path that teaches the language one idea at a time, the real jobs that prove it on work worth doing, and the skeletons a single command hands you. Every file here is spec-correct by construction: they are the same files the conformance gate runs on, read at the pin, never retyped.
- 13teaching stepsin order
- 26real jobsgate-passing
- 10skeletonsone command away
the path
Thirteen steps, in order
Each step adds exactly one idea to the step before it, and running them in order is how the language teaches itself. Start at the smallest complete workflow there is and end at the paths a run takes when it breaks.
- 01Hello world — the smallest COMPLETE Nika workflow.01-hello.nika.yaml
- 02Parallel fan-out + merge — the core DAG pattern.02-parallel-fanout.nika.yaml
- 03exec pipeline — shell, a conditional gate, cleanup on every outcome.03-exec-pipeline.nika.yaml
- 04Structured output + retry — an LLM call you can index into.04-schema-retry.nika.yaml
- 05Fetch → bind → summarize, with a fallback that keeps the shape.05-fetch-chain.nika.yaml
- 06Code-review agent — a loop you do not write.06-code-review.nika.yaml
- 07for_each fan-out — one task, many items.07-for-each-locales.nika.yaml
- 08Config — the deployment's authority.08-config-values.nika.yaml
- 09Returns — the typed door on a task's output.09-returns-typed-door.nika.yaml
- 10Compose (the child) — a callable unit.10-compose-child.nika.yaml
- 10Compose — one workflow calls another.10-compose-pipeline.nika.yaml
- 11Declassify — the one door through the taint.11-declassify-the-door.nika.yaml
- 12Failure routing — the paths a run takes when it breaks.12-failure-routing.nika.yaml
read at nika-spec@6ac29351a · every file carries its own sha256
and
The other two shelves
- the jobsReal work, whole files.26 workflows that do a job someone actually has: a Monday brief that assembles itself, a contract review where the contract never leaves, a release train. Each one passes the spec conformance gate and ships with its graph.
- the skeletonsStart from a shape, not a blank file.10 starters with their slots marked. Name one and
nika newwrites it beside you; describe the job in plain words and the router picks for you.