Files
manual_slop/conductor/tracks/robust_live_simulation_verification/plan.md
Ed_ da21ed543d fix(mma): Unblock visual simulation - event routing, loop passing, adapter preservation
Three independent root causes fixed:
- gui_2.py: Route mma_spawn_approval/mma_step_approval events in _process_event_queue
- multi_agent_conductor.py: Pass asyncio loop from ConductorEngine.run() through to
  thread-pool workers for thread-safe event queue access; add _queue_put helper
- ai_client.py: Preserve GeminiCliAdapter in reset_session() instead of nulling it

Test: visual_sim_mma_v2::test_mma_complete_lifecycle passes in ~8s

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 08:32:31 -05:00

1.2 KiB

Implementation Plan: Robust Live Simulation Verification

Phase 1: Framework Foundation [checkpoint: e93e2ea]

  • Task: Create tests/visual_sim_mma_v2.py based on existing simulation patterns. 2a30e62
  • Task: Implement helper methods in ApiHookClient for querying specific DearPyGui item states (e.g., get_text_value, get_node_status). 2a30e62

Phase 2: Epic & Track Verification

  • Task: Write the simulation routine to trigger a new Epic and verify the Track Browser updates correctly. 605dfc3
  • Task: Verify that selecting a newly generated track successfully loads its initial (empty) state into the DAG visualizer.

Phase 3: DAG & Spawn Interception Verification

  • Task: Simulate the "Start Track" action and verify the DAG visualizer populates with tasks.
  • Task: Simulate the Auto-Queue advancing to a "Ready" task.
  • Task: Verify the "Approve Worker Spawn" modal appears with the correct prompt and context.
  • Task: Simulate clicking "Approve" and verify the worker's simulated output streams into the correct task detail view.

Phase: Review Fixes

  • Task: Apply review suggestions 605dfc3 (already applied; superseded by event routing, loop-passing, and adapter-preservation fixes)