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>
This commit is contained in:
2026-03-01 08:32:31 -05:00
parent db32a874fd
commit da21ed543d
11 changed files with 144 additions and 122 deletions

View File

@@ -15,7 +15,9 @@
"mcp__manual-slop__set_file_slice",
"mcp__manual-slop__py_set_signature",
"mcp__manual-slop__py_set_var_declaration",
"mcp__manual-slop__py_check_syntax"
"mcp__manual-slop__py_check_syntax",
"Bash(timeout 120 uv run:*)",
"Bash(uv run:*)"
]
},
"enableAllProjectMcpServers": true,