Add Behave and Robot Framework tests that capture bug #1022 —
InvariantService stores invariants in an in-memory dict only, losing
them across CLI process invocations.
Behave (features/tdd_invariant_persistence.feature): Four scenarios
tagged @tdd_expected_fail @tdd_bug @tdd_bug_1022 that simulate
separate CLI invocations via fresh InvariantService instances and
assert cross-instance data visibility. Covers project-scoped,
global-scoped, CLI-level, and cross-instance remove patterns.
Robot (robot/tdd_invariant_persistence.robot): Three integration
test cases with a helper script that exercises add-then-list and
add-then-remove across fresh service instances via subprocess.
All tests pass CI via the @tdd_expected_fail inversion mechanism
(tests fail proving the bug exists, but are reported as passed).
The @tdd_expected_fail tag will be removed when bug #1022 is fixed.
ISSUES CLOSED: #1032