Enforce custom workflow terminal gates for required artifacts and malformed pre-merge verdicts. - Add runtime validation that declared workflow artifacts exist before reporting workflow success. - Treat malformed pre-merge gate output as a blocking failure instead of a skipped success. - Cover required-artifact and malformed-verdict gate behavior with focused engine tests. - Document the required-artifact gate and add a patch changeset for the published CLI package. Files changed: .changeset/fn-6582-workflow-gates.md | 5 + docs/workflow-steps.md | 5 +- .../workflow-malformed-verdict-gate.test.ts | 114 +++++++++++++++++++ .../workflow-required-artifact-gate.test.ts | 123 +++++++++++++++++++++ packages/engine/src/executor.ts | 63 +++++++---- packages/engine/src/workflow-task-runtime.ts | 41 ++++++- 6 files changed, 326 insertions(+), 25 deletions(-) Fusion-Task-Id: FN-6582 Fusion-Task-Lineage: 6f59fc33-dd35-4e28-bf6b-85b709c77453
12 KiB
12 KiB