Local types
LocalCheckReport
LocalPlan and outcomes
LOCAL TYPES · VERSIONED SUBSET + RAW ESCAPE HATCH
NikaEvent guarantees kind: string and stays open to additive engine fields.
Remote types
JobStatus is pending | running | completed | failed | cancelled.
The remote NikaEvent union contains:
startedtask_starttask_completetask_failedartifact_writtencompletedfailedcancelled
NikaJob carries the job identity, status, workflow, timestamps and optional
exit code and output. NikaArtifact carries name, size, format, content type
and optional checksum.
Error classes
REMOTE ERRORS · CATCH SPECIFIC FIRST
Continue
Errors and exits
Apply the types to product control flow.
Run events
Reduce the additive local journal.
SSE streaming
Consume the remote discriminated union.
Source types
Read the exact declarations.