arcflow validate
Validate workflow definition files before commit or CI deploy. Current status: stub (CLI validate command). The command checks file readability only; it does not validate against workflow schema yet.
.
Usage
Example:
Current behavior
If file reads successfully and is non-empty:
Exit code 0.
Empty file:
Exit code 4.
Missing file:
Exit code 1.
What CLI validate command will add
Target behavior (not shipped):
- Parse JSON/YAML workflow against workflow specification JSON Schema
- Report
WorkflowConfigurationErrorpaths with line hints --format jsonmachine-readable diagnostics for CI- Exit code 4 on schema violations
Do not rely on arcflow validate for production gates until CLI validate command closes.
CI workaround today
Validate against normative schema with a JSON Schema tool:
Or Python:
Integration tests with stub provider (exec_config.test) complement schema checks. See guides/workflows/validation-and-testing.md.
Related commands
arcflow schedule validate MANIFEST validates cron schedule manifests separately (implemented).
Related pages
- maturity-and-known-gaps.md (CLI validate command)
- cli/overview.md
- guides/workflows/validation-and-testing.md