Commit Graph

21 Commits

Author SHA1 Message Date
Ed_
3eefdfd29d fix(mma): Replace token stats stub with real comms log extraction in run_worker_lifecycle
Task 2.1 of mma_pipeline_fix_20260301: capture comms baseline before send(), then sum input_tokens/output_tokens from IN/response entries to populate engine.tier_usage['Tier 3'].
2026-03-01 13:22:15 -05:00
Ed_
b7c283972c fix(mma): Add diagnostic logging and remove unsafe asyncio.Queue else branches
Tasks 1.1, 1.2, 1.3 of mma_pipeline_fix_20260301:
- Task 1.1: Add [MMA] diagnostic print before _queue_put in run_worker_lifecycle; enhance except to include traceback
- Task 1.2: Replace unsafe event_queue._queue.put_nowait() else branches with RuntimeError in run_worker_lifecycle, confirm_execution, confirm_spawn
- Task 1.3: Verified run_in_executor positional arg order is correct (no change needed)
2026-03-01 13:17:37 -05:00
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
Ed_
46c2f9a0ca refactor(types): Phase 4 type hint sweep — core modules 2026-02-28 15:13:55 -05:00
Ed_
60396f03f8 refactor(types): auto -> None sweep across entire codebase
Applied 236 return type annotations to functions with no return values
across 100+ files (core modules, tests, scripts, simulations).
Added Phase 4 to python_style_refactor track for remaining 597 items
(untyped params, vars, and functions with return values).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 11:16:56 -05:00
Ed_
d36632c21a checkpoint: massive refactor 2026-02-28 09:06:45 -05:00
Ed_
82f73e7267 fix(conductor): Apply review suggestions for track 'tiered_context_scoping_hitl_approval' 2026-02-27 23:04:01 -05:00
Ed_
4c53ca11da feat(mma): Implement interception logic in GUI and Conductor 2026-02-27 22:29:55 -05:00
Ed_
e293c5e302 feat(mma): Implement spawn interception in multi_agent_conductor.py 2026-02-27 22:27:05 -05:00
Ed_
6548ce6496 fix(conductor): Apply review suggestions for track 'mma_data_architecture_dag_engine' 2026-02-27 20:20:01 -05:00
Ed_
2429b7c1b4 feat(mma): Connect ExecutionEngine to ConductorEngine and Tech Lead 2026-02-27 20:12:23 -05:00
Ed_
3b2d82ed0d feat(mma): Finalize Orchestrator Integration and fix all regressions 2026-02-27 18:31:14 -05:00
Ed_
d087a20f7b checkpoint: mma_orchestrator track 2026-02-26 22:59:26 -05:00
Ed_
332fc4d774 feat(mma): Complete Phase 7 implementation: MMA Dashboard, HITL Step Modal, and Memory Mutator 2026-02-26 21:48:41 -05:00
Ed_
63a82e0d15 feat(mma): Implement MMA Dashboard, Event Handling, and Step Approval Modal in gui_2.py 2026-02-26 21:46:05 -05:00
Ed_
8bb72e351d chore(conductor): Mark track 'MMA Core Engine Implementation' as complete and verify with Phase 6 tests 2026-02-26 21:34:28 -05:00
Ed_
1dacd3613e feat(mma): Implement dynamic ticket parsing and dispatcher loop in ConductorEngine 2026-02-26 20:40:16 -05:00
Ed_
fb3da4de36 feat(mma): Integrate Tier 4 QA analysis across all providers and conductor 2026-02-26 20:29:34 -05:00
Ed_
1afd9c8c2a feat(mma): Implement HITL execution clutch and step-mode 2026-02-26 20:14:27 -05:00
Ed_
9d6d1746c6 feat(mma): Implement context injection using ASTParser in run_worker_lifecycle 2026-02-26 20:10:15 -05:00
Ed_
7a301685c3 feat(mma): Implement ConductorEngine and run_worker_lifecycle 2026-02-26 20:07:51 -05:00