Add a Behave feature with two scenarios that verify the DI container
wires checkpoint_service into CorrectionService. Both assertions
currently fail — proving bug #986 exists — and the @tdd_expected_fail
tag inverts the result so the test passes CI while the bug is unfixed.
Scenario 1 asserts _checkpoint_service is not None after resolving
CorrectionService from the container. Scenario 2 additionally verifies
the injected object is a CheckpointService instance. When bug #986 is
fixed (checkpoint_service=checkpoint_service added to the container
registration), both assertions will pass and the developer must remove
@tdd_expected_fail per the TDD bug workflow.
Tags: @tdd_expected_fail @tdd_bug @tdd_bug_986 @mock_only
Quality gates verified:
- lint: pass
- typecheck: pass (0 errors)
- unit_tests: 462 features, 12232 scenarios, 0 failures
- coverage: 98% (threshold 97%)
- tag_validation: 19/19 scenarios pass
- e2e_tests: 37/37 pass
ISSUES CLOSED: #1030