Files
cleveragents-core/features
brent.edwards fc4397f845 test: add TDD bug-capture test for #986 — CorrectionService checkpoint_service wiring
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
2026-03-22 23:52:38 +00:00
..
2026-02-23 03:11:12 +00:00