Commit Graph

30 Commits

Author SHA1 Message Date
Ed_
57efca4f9b fix(thread-safety): lock disc_entries reads/writes in HookServer, remove debug logs 2026-03-02 10:37:33 -05:00
Ed_
9fb01ce5d1 feat(mma): complete Phase 6 and finalize Comprehensive GUI UX track
- Implement Live Worker Streaming: wire ai_client.comms_log_callback to Tier 3 streams
- Add Parallel DAG Execution using asyncio.gather for non-dependent tickets
- Implement Automatic Retry with Model Escalation (Flash-Lite -> Flash -> Pro)
- Add Tier Model Configuration UI to MMA Dashboard with project TOML persistence
- Fix FPS reporting in PerformanceMonitor to prevent transient 0.0 values
- Update Ticket model with retry_count and dictionary-like access
- Stabilize Gemini CLI integration tests and handle script approval events in simulations
- Finalize and verify all 6 phases of the implementation plan
2026-03-01 22:38:43 -05:00
Ed_
90fc38f671 fix(sim): wire btn_approve_script and expose pending_script_approval in hook API
_handle_approve_script existed but was not registered in the click handler dict.
_pending_dialog (PowerShell confirmation) was invisible to the hook API —
only _pending_ask_dialog (MCP tool ask) was exposed.

- gui_2.py: register btn_approve_script -> _handle_approve_script
- api_hooks.py: add pending_script_approval field to mma_status response
- visual_sim_mma_v2.py: _drain_approvals handles pending_script_approval

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 14:31:32 -05:00
Ed_
5f661f76b4 fix(hooks): expose mma_tier_usage in /api/gui/mma_status; install pytest-timeout
- api_hooks.py: add mma_tier_usage to get_mma_status() response
- pytest-timeout 2.4.0 installed so mark.timeout(300) is enforced in CI

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-01 14:26:03 -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_
397b4e6001 chore(mma): Clean up mma_exec.py and robustify visual simulation mocking 2026-02-28 22:27:17 -05:00
Ed_
42c42985ee chore(mma): Verify track loading in visual simulation and fix deterministic ID logic 2026-02-28 22:12:57 -05:00
Ed_
37df4c8003 chore(mma): Deterministic track IDs, worker spawn hooks, and improved simulation reliability 2026-02-28 22:09:18 -05:00
Ed_
ed56e56a2c chore(mma): Checkpoint progress on visual simulation and UI refresh before sub-agent delegation 2026-02-28 21:41:46 -05:00
Ed_
d65fa79e26 chore(mma): Implement visual simulation for Epic planning and fix UI refresh 2026-02-28 21:07:46 -05:00
Ed_
3b96b67d69 chore(checkpoint): Phase 6 Test Suite Stabilization complete. 257/261 tests PASS. Resolved run_linear drift, formatter expectations, and Hook Server startup. 2026-02-28 20:42:54 -05:00
Ed_
173ea96fb4 refactor(indentation): Apply codebase-wide 1-space ultra-compact refactor. Formatted 21 core modules and tests. 2026-02-28 19:36:38 -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_
716d8b4e13 chore(conductor): Archive completed track 'MMA Core Engine Implementation' 2026-02-26 22:02:33 -05:00
Ed_
9e56245091 feat(conductor): Restore mma_implementation track 2026-02-26 13:13:29 -05:00
Ed_
56025a84e9 checkpoint: finished test curation 2026-02-25 21:58:18 -05:00
Ed_
1792107412 feat(ipc): support synchronous 'ask' requests in api_hooks 2026-02-25 13:41:25 -05:00
Ed_
c952d2f67b feat(testing): stabilize simulation suite and fix gemini caching 2026-02-25 01:44:46 -05:00
Ed_
fb80ce8c5a feat(gui): Add auto-scroll, blinking history, and reactive API events 2026-02-25 00:41:45 -05:00
Ed_
14984c5233 fix(gui2): Correct Response panel rendering and fix automation crashes 2026-02-24 21:56:26 -05:00
Ed_
8bd280efc1 feat(simulation): stabilize IPC layer and verify full workflow 2026-02-23 19:53:32 -05:00
Ed_
6d16438477 feat(hooks): add get_indicator_state and verify thinking/live markers 2026-02-23 19:25:08 -05:00
Ed_
b415e4ec19 perf(gui): Resolve massive frametime bloat by throttling telemetry and optimizing UI updates 2026-02-23 15:28:51 -05:00
Ed_
dc64493f42 fix(conductor): Apply review suggestions for track 'Add full api/hooks so that gemini cli can test, interact, and manipulate the state of the gui & program backend for automated testing.' 2026-02-23 12:38:29 -05:00
Ed_
ef29902963 feat(api): Integrate aggressive logging for all hook invocations 2026-02-23 12:23:23 -05:00
Ed_
5f9bc193cb feat(api): Add GUI state manipulation hooks with thread-safe queueing 2026-02-23 12:21:18 -05:00
Ed_
d9d056c80d feat(api): Add project and session state manipulation hooks 2026-02-23 12:17:32 -05:00
Ed_
44c2585f95 feat(api): Add lightweight HTTP server for API hooks 2026-02-23 12:11:01 -05:00