Commit Graph

12 Commits

Author SHA1 Message Date
Ed_
a783ee5165 feat(api): Add /api/gui/state endpoint and live_gui integration tests 2026-03-05 10:06:47 -05:00
Ed_
35480a26dc test(audit): fix critical test suite deadlocks and write exhaustive architectural report
- Fix 'Triple Bingo' history synchronization explosion during streaming

- Implement stateless event buffering in ApiHookClient to prevent dropped events

- Ensure 'tool_execution' events emit consistently across all LLM providers

- Add hard timeouts to all background thread wait() conditions

- Add thorough teardown cleanup to conftest.py's reset_ai_client fixture

- Write highly detailed report_gemini.md exposing asyncio lifecycle flaws
2026-03-05 01:42:47 -05:00
Ed_
cbe58936f5 feat(mcp): Add edit_file tool - native edit replacement that preserves indentation
- New edit_file(path, old_string, new_string, replace_all) function
- Reads/writes with newline='' to preserve CRLF and 1-space indentation
- Returns error if old_string not found or multiple matches without replace_all
- Added to MUTATING_TOOLS for HITL approval routing
- Added to TOOL_NAMES and dispatch function
- Added MCP_TOOL_SPECS entry for AI tool declaration
- Updated agent configs (tier2, tier3, general) with edit_file mapping

Note: tier1, tier4, explore agents don't need this (edit: deny - read-only)
2026-03-04 23:00:13 -05:00
Ed_
2d92674aa0 fix(controller): Add stop_services() and dialog imports for GUI decoupling
- Add AppController.stop_services() to clean up AI client and event loop
- Add ConfirmDialog, MMAApprovalDialog, MMASpawnApprovalDialog imports to gui_2.py
- Fix test mocks for MMA dashboard and approval indicators
- Add retry logic to conftest.py for Windows file lock cleanup
2026-03-04 20:16:16 -05:00
Ed_
1b46534eff fix(controller): Clean up stray pass in _run_event_loop (Task 5.5) 2026-03-04 17:26:34 -05:00
Ed_
2d041eef86 feat(controller): Add current_provider property to AppController 2026-03-04 16:47:02 -05:00
Ed_
01b3c26653 Botched: Need to do a higher reaosning model to fix this mess. 2026-03-04 12:32:14 -05:00
Ed_
f2b25757eb refactor(tests): Update test suite and API hooks for AppController architecture 2026-03-04 11:38:36 -05:00
Ed_
8642277ef4 fix(gui): Restore missing UI handler methods 2026-03-04 11:07:05 -05:00
Ed_
9260c7dee5 refactor(gui): Migrate background threads and logic methods to AppController 2026-03-04 11:03:24 -05:00
Ed_
d0009bb23a refactor(gui): Migrate application state to AppController 2026-03-04 10:36:41 -05:00
Ed_
a0276e0894 feat(src): Move core implementation files to src/ directory 2026-03-04 09:55:44 -05:00