✅ End main phase increments phase counter before expiry
| Category | Regression |
| Status | Passing |
| Test | tests/test_turn_sequence.py::test_end_main_phase_increments_phase_counter_before_expiry |
Regression (confusion #1): phase_counter increment BEFORE expire call.
Preconditions
-
phase_counter = 3.
-
Status effect with expires_phase = 3.
Action
- end_main_phase(state, P1)
Expected Postconditions
-
phase_counter = 4 (incremented first).
-
Status effect is gone (4 > 3, so expires).
Assertions
assert result.phase_counter == 4
assert len(result.status_effects) == 0