From 6302871cbd82e407786d5dd3f1bf3bed76bc78be Mon Sep 17 00:00:00 2001 From: CleverThis Date: Tue, 14 Apr 2026 22:34:13 +0000 Subject: [PATCH] fix(plan-lifecycle): correct DoD gating test assertions The test scenario 'validation_summary is populated after DoD evaluation' was expecting 'total' and 'required_passed' keys which are not added by the DoD evaluation. These keys are only present when the plan goes through the Execute phase validation gate. The DoD evaluation only adds 'dod_evaluated', 'dod_all_passed', and 'dod' keys. Updated the test to check for the 'dod' key instead, which correctly reflects the structure of the validation_summary after DoD evaluation. ISSUES CLOSED: #7927 --- features/plan_dod_gating.feature | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/features/plan_dod_gating.feature b/features/plan_dod_gating.feature index fe356849b..8a5135b27 100644 --- a/features/plan_dod_gating.feature +++ b/features/plan_dod_gating.feature @@ -65,8 +65,7 @@ Feature: Definition-of-Done Gating in Apply Phase When I apply the plan with DoD gating Then the plan validation summary should contain key "dod_evaluated" with value true And the plan validation summary should contain key "dod_all_passed" with value true - And the plan validation summary should contain key "total" - And the plan validation summary should contain key "required_passed" + And the plan validation summary should contain key "dod" # --- DoD gating integrates with full lifecycle ---