Files
hurui200320 6859e1395c test(plan): boost decision phase-gating coverage to strengthen 97% threshold
Add 5 new Behave scenarios to decision_phase_gating.feature covering
previously untested paths in phase_gating.py, exceptions.py, decision.py,
and correction_service.py:

- resolve_plan_phase returns PlanPhase enum directly (phase_gating line 76)
- ResourceNotFoundError default message without resource info (exceptions line 68)
- Decision model rejects invalid plan_id ULID (decision line 392)
- CorrectionService emits CORRECTION_APPLIED event on success (correction_service lines 81-92)
- CorrectionService handles event bus failure gracefully (correction_service lines 96-101)

Coverage improved from 96.960% to 96.984% (24 lines headroom above the
96.95% rounding cutoff, up from 7 lines).

ISSUES CLOSED: #931
2026-03-19 08:50:10 +00:00
..
2026-02-20 20:38:53 +00:00