68079cc003
CI / check (pull_request) Successful in 1m43s
- Validator: hasStatusConst/getConstStatuses replace enum checks - enum in $status is now rejected with clear error message - All docs/examples/tests migrated from enum to const/oneOf - bootstrap hello.yaml updated Fixes #123
615 B
615 B
@united-workforce/cli, @united-workforce/util
| @united-workforce/cli | @united-workforce/util |
|---|---|
| patch | patch |
fix: unify $status to const-only, drop enum support (#123)
Breaking: $status in frontmatter now requires const everywhere.
enum is no longer accepted and will be rejected by the validator.
- Validator:
hasStatusConst()/getConstStatuses()replace enum-based checks - Error message: "must define $status as const (or oneOf with const)"
- workflow-authoring docs: all examples use
const, enum explicitly noted as unsupported - bootstrap hello.yaml:
$status: { const: done } - All test fixtures migrated from enum to const/oneOf