the standard library
nika:assert
Fail-fast guard: fail the task when condition is false (else no-op). One of 28 builtins in the closed nika: namespace.
the core familycontrol flow and run-stream primitives
- corefamily6 tools
- 2argsdeclared contract
- 1requiredcheck teaches a miss
- 2skeletonsship this tool
the contract
2 args · 1 requiredA missing required arg is a nika check finding before anything runs; the vocabulary below comes from the binary itself (nika catalog --tools --json), not from prose.
- condition*
booleanthe resolved boolean to check- message
stringfailure message
in a real file
from the agent-loop skeletonagent-loop.nika.yaml
confirm: with: has_findings: ${{ size(tasks.execute.output.findings) > 0 }} # the check crosses as ONE boundary expression invoke: tool: "nika:assert" args: condition: "${{ with.has_findings }}" message: "Agent returned no findings, do not trust an empty run" # SLOTa verbatim excerpt, real line numbers from agent-loop.nika.yaml, conformance-gated upstream on every spec push. open the full skeleton →
cross-references
ships in skeletons
the check gates
the core family
6 toolscontrol flow and run-stream primitives.
Machines read the same vocabulary at /tools/catalog.json; the contract lives in spec 06 · stdlib. Install and ask the binary itself: nika catalog --tools. Read the spec →