Skip to content

Validation layers ​

@daggler/validators runs every layer over a parse result and returns typed diagnostics, error, warning and info counts, a security posture score (0 to 100, graded A to F) and a complexity metric.

LayerCodesWhat it checks
0 ParserSyntax errors and warnings from YAML parsing.
1 SchemaSCHEMA001-005Required fields, empty step lists, missing runs-on, no jobs, no triggers.
2 ExpressionsEXPR001-004$ context availability: matrix without a strategy, needs.<name> not in needs, steps.<id> that does not exist, inputs without dispatch or call triggers.
3 Graph semanticsSEM001-003, SEM005needs cycles, dangling references, unreachable jobs, matrix combinations over 50.
4 ActionsACT001-005uses: steps checked against the curated action catalog: cache hints, deprecated major versions, missing or unknown inputs, undeclared outputs.

On top of these, the policy engine adds the security rules.