Skip to main content

When to use

  • Before deploying to catch issues early
  • After modifying workflow JSON files
  • When the user asks to lint, validate, or check a use case
  • As part of a CI pipeline

Prerequisites

  • codika CLI installed (no authentication needed — validation runs entirely locally)

Commands

Options

Validation layers

The validator runs four layers of checks, from low-level to high-level:

Layer 1: Flowlint core rules

Static analysis rules that check graph connectivity and basic workflow structure. Rules R3 (idempotency guard) and R12 are excluded by default (replaced by custom Codika rules).

Layer 2: Custom Codika rules

Graph-based checks specific to Codika patterns.

Layer 3: Workflow scripts

Content-based checks that inspect workflow JSON values.

Layer 4: Use-case scripts (use-case command only)

Folder-level checks that validate the use case as a whole.

Output

Text mode (default)

Or with findings:

JSON mode (--json)

Examples

Exit codes