Interface: WorkflowStep
Defined in: packages/core/src/domain/value-objects/workflow-step.ts:48
A single entry in a schema's workflow[] array, defining a named lifecycle
phase, which artifact IDs must be complete before the phase becomes available,
and optional pre/post hook arrays.
Schema workflow steps fire first; project-level steps (specd.yaml) are
matched by step name and appended after.
Properties
hooks
readonlyhooks:object
Defined in: packages/core/src/domain/value-objects/workflow-step.ts:68
Pre- and post-event hooks for this step.
post
readonlypost: readonlyHookEntry[]
Hooks that fire after the step completes.
pre
readonlypre: readonlyHookEntry[]
Hooks that fire before the step executes.
requires
readonlyrequires: readonlystring[]
Defined in: packages/core/src/domain/value-objects/workflow-step.ts:58
Artifact IDs (from the same schema) that must have status complete before
this step becomes available. Empty array means the step is always available.
requiresTaskCompletion
readonlyrequiresTaskCompletion: readonlystring[]
Defined in: packages/core/src/domain/value-objects/workflow-step.ts:65
Subset of requires for which task completion gating is enforced on this step.
Each listed artifact ID must be in requires and reference an artifact type
that declares taskCompletionCheck. Empty array means no task completion gating.
step
readonlystep:string
Defined in: packages/core/src/domain/value-objects/workflow-step.ts:52
The lifecycle step name (e.g. "designing", "implementing", "archiving").