Commit Graph

2158 Commits

Author SHA1 Message Date
ed b2fdca0c3d remove(ai_client): delete unused stub and proxy files
Deleted:
- src/ai_client_stub.py
- src/ai_client_proxy.py

Fixed test imports to use ai_client instead of ai_client_stub.
2026-05-13 16:03:54 -04:00
ed 4025a7130d revert(ai_client): remove incomplete decoupling, restore clean startup
The AI client decoupling was never properly implemented and added
unnecessary complexity. The actual startup bottleneck was RAG initialization
which is now handled via async initialization.

Report written to docs/reports/ai_decoupling_revert_report.md
2026-05-13 16:01:58 -04:00
ed d92086aef1 config update 2026-05-13 16:00:02 -04:00
ed 0f15ecbbf3 fix(app_controller): async RAG engine init to avoid blocking startup
RAG engine initialization (including chromadb import and index loading)
now happens in a background thread, allowing the GUI to show immediately.
The app was blocking for 5+ seconds during init_state() because RAG was
enabled in config. Now RAG loads asynchronously.
2026-05-13 15:54:59 -04:00
ed 7ba94d4a42 fix(app_controller): lazy load rag_engine to avoid blocking startup
Before this change, app_controller imported rag_engine at module level which
pulled in chromadb (~0.45s). Now rag_engine is only imported when RAG is
actually enabled and needed. This improves startup time significantly.
2026-05-13 15:28:41 -04:00
ed db69e3cb8c fix(tests): update discussion takes GUI tests with proper mocking 2026-05-13 12:37:47 -04:00
ed 12f16e9a11 fix(ai_client_proxy): add _pending_lock threading.Lock
And fix test_discussion_takes_gui.py patches to use ai_client_stub
2026-05-13 11:24:58 -04:00
ed 169fe52092 fix(ai_client_stub): add module-level import for GeminiCliAdapter
The class was only accessible inside function scopes, causing
AttributeError when app_controller tried to instantiate it
at module level via ai_client.GeminiCliAdapter().
2026-05-13 10:53:23 -04:00
ed d67df948e5 progress ai forgot to push 2026-05-13 09:33:23 -04:00
ed 82120060ba organize imports in mcp client. 2026-05-13 09:03:27 -04:00
ed ae2227fdd4 feat(ai-server): Add ai_server subprocess with google.genai lazy loading 2026-05-13 09:00:10 -04:00
ed 4c5e719be4 feat(ai-server): Add AIProxyClient queue communication layer 2026-05-13 08:58:58 -04:00
ed 38270ffa16 docs: Add AI Server IPC implementation plan 2026-05-13 08:35:09 -04:00
ed 0c79e76bad docs: Add AI Server IPC design spec 2026-05-13 08:33:09 -04:00
ed 93c5320fa0 organize app controller imports 2026-05-13 08:20:32 -04:00
ed 0704b76fc4 move MMA_Support to docs 2026-05-13 08:13:18 -04:00
ed b61cbe091b adjsut gitignore 2026-05-13 08:12:35 -04:00
ed f7ac09bb7b add ruf_cache to gitignore 2026-05-13 08:11:36 -04:00
ed 4fe5fbd7d2 move reports in docs to a dedicated folder. 2026-05-13 08:10:56 -04:00
ed 6f1cf625d9 correct track state 2026-05-13 08:08:36 -04:00
ed 900e8d5400 add setup for defer in sloppy.py 2026-05-13 08:08:10 -04:00
ed a659089eb7 remove python defer and dearpygui from deps 2026-05-13 08:07:58 -04:00
ed 16428efc6f More compaction/cleanup to gui 2026-05-13 08:03:13 -04:00
ed 48c32becaf improvements to defer 2026-05-13 07:47:55 -04:00
ed bf84058ca8 possibly finished reognizating gui_2.py... 2026-05-13 07:27:41 -04:00
ed 8687207fe5 fixes to parser for defer 2026-05-13 07:01:45 -04:00
ed f52eff6499 more organization of gui_2.py 2026-05-13 07:01:36 -04:00
ed c4b3c428f5 WIP: Trying to organize the gui_2.py heavily 2026-05-13 06:43:26 -04:00
ed 8e9725792f adjustments to rag engine 2026-05-13 06:32:26 -04:00
ed 1a529ed750 fix defer 2026-05-13 05:55:46 -04:00
ed 9266add6a1 Managing thirdparty package: defer. 2026-05-13 05:09:23 -04:00
ed 8d6c91d306 set the dumb filter to be off by default. 2026-05-12 21:06:53 -04:00
ed a3430be435 config update 2026-05-12 21:06:06 -04:00
ed 29de116233 WIP: fixing regressions in tests 2026-05-12 21:04:50 -04:00
ed c0d106255b refactor(gui): Modularize _render_context_composition_panel into sub-methods 2026-05-12 20:33:38 -04:00
ed 4823b217bc config update 2026-05-12 20:27:21 -04:00
ed 12465fd04c refactor(theme): Introduce semantic theme layer and clean NERV cruft from gui_2.py 2026-05-12 20:24:47 -04:00
ed b53fc19f99 fix(gui): Un-nest _render_response_panel to fix AttributeError 2026-05-12 20:03:33 -04:00
ed 25419f4aa3 docs(conductor): Synchronize docs for track 'GUI Refactor & Stabilization' 2026-05-12 20:00:36 -04:00
ed d6adaef1af chore(conductor): Mark track 'GUI Refactor & Stabilization' as complete 2026-05-12 19:58:56 -04:00
ed afb11d083d conductor(plan): Mark phase 'Piecemeal Refactoring - Main Panels (Part 2)' as complete 2026-05-12 19:58:45 -04:00
ed f79cdb96b3 conductor(checkpoint): Checkpoint end of Phase 4 2026-05-12 19:57:59 -04:00
ed dd445826e4 refactor(gui): Refactor main panels to use imscope and fix regression in test suite 2026-05-12 19:57:21 -04:00
ed 765cbad3af refactor(gui): Use imscope context managers in _render_discussion_entry_read_mode 2026-05-12 19:55:27 -04:00
ed 8fcc227cfa conductor(plan): Mark phase 'Piecemeal Refactoring - Main Panels (Part 1)' as complete 2026-05-12 19:54:15 -04:00
ed f3e307fc03 conductor(checkpoint): Checkpoint end of Phase 3 2026-05-12 19:53:32 -04:00
ed 325970eb38 refactor(gui): Fix scoping issues and restore missing _render_discussion_tab 2026-05-12 19:52:50 -04:00
ed ff1a9d77f7 gemini 3.1 fails 2026-05-12 19:50:46 -04:00
ed 87aeee3322 conductor(plan): Mark phase 'Targeted Sub-agent Test Framework' as complete 2026-05-12 19:33:33 -04:00
ed 972ff1b260 conductor(checkpoint): Checkpoint end of Phase 2 2026-05-12 19:33:05 -04:00