plexus.cli.procedure.test_insights_hypothesis_transition module

Tests for the insights → hypothesis state transition.

This tests the complete cycle of: 1. Insights phase creating an insights node 2. Transitioning back to hypothesis state 3. Hypothesis phase generating new hypotheses based on insights

plexus.cli.procedure.test_insights_hypothesis_transition.test_continue_iteration_callback()

Test on_continue_iteration callback is called during transition.

plexus.cli.procedure.test_insights_hypothesis_transition.test_full_insights_to_hypothesis_cycle()

Test complete cycle: INSIGHTS → continue_iteration → HYPOTHESIS.

plexus.cli.procedure.test_insights_hypothesis_transition.test_hypothesis_phase_after_insights()

Test that hypothesis phase can run after insights phase completes.

This is an integration-style test that verifies the hypothesis phase can be invoked after insights completes.

plexus.cli.procedure.test_insights_hypothesis_transition.test_insights_can_finish_or_continue()

Test that from INSIGHTS state, we can either finish or continue iteration.

plexus.cli.procedure.test_insights_hypothesis_transition.test_insights_to_hypothesis_transition_exists()

Test that insights → hypothesis transition is defined in state machine.

plexus.cli.procedure.test_insights_hypothesis_transition.test_state_machine_transition_map_includes_insights_to_hypothesis()

Test that service.py transition_map includes insights → hypothesis.