AGPL-3.0-or-later · forever.

the language

fail_workflow

escalate: a caught error still fails the run after recovery. One of 59 words the served contract declares, projected from workflow.schema.json, the same file your editor validates against.

  • 1surfaceon_error
  • optionaleverywherea choice, never a miss
  • booleantypethe declared shape
  • schemathe sourcenever prose

the contract

1 declaration

Descriptions are the schema's own; the deeper invariants (value languages and regexes) ride the same projection. A miss is a nika check finding before anything runs.

on_error
booleanescalate: a caught error still fails the run after recoveryinside on_error:

in a real file

a crafted check-green file
validate.nika.yaml
  gate:    on_error:      fail_workflow: true    with:      verdict_valid: ${{ tasks.verdict.output.valid }}    invoke:      tool: "nika:assert"      args:        condition: ${{ with.verdict_valid }}        message: "payload failed its schema"

a verbatim slice, real line numbers from validate.nika.yaml, nika check green; the drift gate re-proves this copy on every test run.

cross-references

no skeleton carries it and no registered code names it; the schema row is the whole story today.

defined by

the block it lives in

on_error: inside on_error:

The whole grammar in one place: the four verbs · the standard library · the spec. Try it in the playground. Read the reference →