Commit Graph

2222 Commits

Author SHA1 Message Date
ed 45104af1ee fix(rag): Final RAG stability and status fixes
- Corrected GeminiEmbeddingProvider model name to gemini-embedding-001.
- Prevented _fetch_models from overwriting active i_status (sending/done/error).
- Updated 	est_rag_engine.py to correctly patch the lazy-loaded chromadb getter.
- Adjusted RAG simulation tests to account for the new initializing... status and automatic initial indexing.
- Fixed typo in 	est_z_negative_flows.py.
2026-05-14 23:38:23 -04:00
ed 1d12bbbe79 conductor(plan): Mark Phase 3 tasks as complete 2026-05-14 23:14:01 -04:00
ed c769a0ed18 fix(phase3): Resolve remaining test failures and stabilize GUI
- Fixed
ullcontext NameError in gui_2.py.
- Corrected TestMMAApprovalIndicators to call real rendering methods on mock app.
- Updated 	est_history_manager.py to provide required context_files argument to UISnapshot.
- Stabilized 	est_z_negative_flows.py with robust polling for terminal response status and corrected field names.
- Cleaned up debug logging in 
ag_engine.py and pp_controller.py.
2026-05-14 23:13:17 -04:00
ed bee75fef52 conductor(plan): Mark Phase 2 tasks as complete 2026-05-14 22:24:14 -04:00
ed 2d76381796 fix(rag): Resolve RAG test failures and race conditions
- Fixed circular import in chromadb by using lazy imports in 
ag_engine.py.
- Moved RAG engine initialization to background threads in AppController to avoid blocking UI.
- Added _rag_engine_lock to prevent race conditions during engine re-initialization.
- Updated Gemini embedding model to gemini-embedding-001 (available) from 	ext-embedding-004 (not found).
- Fixed _rebuild_rag_index to use fresh 
ag_engine instance from self in every iteration.
- Optimized 	est_rag_phase4_final_verify.py and 	est_rag_phase4_stress.py to wait for RAG sync before continuing.
- Added dummy embedding fallback in LocalEmbeddingProvider if sentence-transformers fails to load.
2026-05-14 22:23:48 -04:00
ed 07ddcf068b docs(spec): Add hot reloader design spec 2026-05-14 22:06:44 -04:00
ed f6253b747f remove references to dearpygui 2026-05-14 21:54:25 -04:00
ed 54aa1ce4a5 fix indents on end_combos for Tier Model Usage collapsing header in _render_mma_usage_section 2026-05-14 21:45:45 -04:00
ed 940ab2ea2c add chroma db to app controller 2026-05-14 21:21:28 -04:00
ed 08125ac63a move rag status indictor to usage analytics window/panel 2026-05-14 21:21:15 -04:00
ed f2c265ec69 finally fixed leaking discussion collapsing header (_render_theme_panel had entropied code from agent changes) 2026-05-14 21:11:37 -04:00
ed 3976559a2f fixes to main menu ribbon 2026-05-14 20:35:02 -04:00
ed 0a92511700 conductor(plan): Mark task 'Fix test_rag_gui_presence.py' as complete 2026-05-14 20:25:55 -04:00
ed 1948062188 test(rag): Fix test_rag_gui_presence.py source inspection targets
Updated tests to inspect _render_ai_settings_hub instead of _gui_func as the RAG settings panel was moved during GUI refactoring.
2026-05-14 20:25:37 -04:00
ed 14f5203e7f conductor(plan): Mark task 'Fix test_rag_engine.py' as complete 2026-05-14 20:24:42 -04:00
ed 33e532a491 test(rag): Fix test_rag_engine.py mock assertion
Updated the test to correctly mock _get_sentence_transformers instead of SentenceTransformer to account for lazy loading imports.
2026-05-14 20:24:23 -04:00
ed d7fab05f4a conductor(plan): Mark phase 'Phase 1: GUI and Layout Tests' as complete 2026-05-14 20:22:36 -04:00
ed d66afebfce conductor(checkpoint): Checkpoint end of Phase 1: GUI and Layout Tests 2026-05-14 20:22:11 -04:00
ed f25ae7b64d conductor(plan): Mark task 'Fix test_shader_live_editor.py' as complete 2026-05-14 20:21:24 -04:00
ed 5a8ca119f4 test(gui): Fix test_shader_live_editor.py mock assertions
Updated test to check for imscope.window instead of imgui.begin/end as the rendering uses the imscope context manager.
2026-05-14 20:21:07 -04:00
ed 0b7e7cd588 conductor(plan): Mark task 'Fix test_preset_windows_layout.py' as complete 2026-05-14 20:20:12 -04:00
ed 0863559e59 fix(gui): Fix imgui.begin_child unbalanced EndChild() calls
In ImGui, EndChild() MUST be called even if BeginChild() returns False (meaning the child is clipped). Using if imgui.begin_child(...): caused EndChild() to be skipped, unbalancing the stack and causing sloppy.py to crash when certain UI panels were off-screen or collapsed.
2026-05-14 20:19:44 -04:00
ed 3ace10d352 conductor(plan): Mark task 'Fix test_session_hub_merge.py' as complete 2026-05-14 20:12:56 -04:00
ed 302faada86 test(gui): Fix test_session_hub_merge source inspection targets
Updated tests to inspect _render_discussion_hub and _render_main_interface to reflect the current GUI structure.
2026-05-14 20:12:31 -04:00
ed 94bc600fd0 conductor(plan): Mark task 'Fix test_project_settings_rename.py' as complete 2026-05-14 20:11:20 -04:00
ed 746772557d test: Fix test_project_settings_rename source inspection
Updated the test to inspect _render_main_interface instead of _gui_func as window rendering was refactored.
2026-05-14 20:10:49 -04:00
ed b6f7ab0982 conductor(plan): Mark task 'Fix test_gui_window_controls.py' as complete 2026-05-14 20:09:51 -04:00
ed c8545dfbea test(gui): Fix test_gui_window_controls_minimize_maximize_close unpacking error
Added missing mock for imscope.menu to prevent the test from entering the menu loops which expect valid imgui menu_item tuple return values.
2026-05-14 20:09:28 -04:00
ed 1535b1c3e8 conductor(plan): Mark task 'Fix test_gui_discussion_tabs.py' as complete 2026-05-14 20:08:36 -04:00
ed c8e6a9585d test(gui): Fix test_discussion_tabs_rendered mock assertion
The test was incorrectly asserting against mock_imgui.begin_tab_item instead of the newly refactored mock_imscope.tab_item context manager pattern.
2026-05-14 20:08:14 -04:00
ed 62628b0878 chore(conductor): Add new track 'Fix 45 failing test files across 12 batches' 2026-05-14 20:05:09 -04:00
ed ef91c64a65 minor cleanup aggregae.py 2026-05-14 00:23:02 -04:00
ed 292b021174 remove ai_server.py (no longer needed) 2026-05-14 00:22:38 -04:00
ed f3087492f5 run tests batched script 2026-05-13 23:53:04 -04:00
ed b5e512f483 feat(sdm): inject structural dependency mapping tags across codebase
Adds [C: caller] tags to functions/methods and [M: mutation] / [U: usage] tags to class variables based on cross-module call analysis.
2026-05-13 22:35:52 -04:00
ed 5bb3a9026f fix(models): restore original module docstring 2026-05-13 22:31:34 -04:00
ed 737b9f31e6 docs: reorganize file_cache.py with region tags and update tooling guidelines 2026-05-13 22:30:42 -04:00
ed 0741b5e69f refactor(models): reorganize src/models.py with region blocks and updated tool lists
- Group imports: __future__, stdlib, third-party, local
- Add #region: blocks for Constants, Config Utilities, History Utilities, Pydantic Models, MMA Core, State & Config, Tool Models, UI/Editor, Persona, Workspace, MCP Config
- Update AGENT_TOOL_NAMES with all 46 tools from MCP server
- Update DEFAULT_TOOL_CATEGORIES with 9 categories: General, Surgical, Python, C/C++, Web, Runtime, Analysis, Beads
- Condense module docstring to essentials
- Preserve all [C: ...] caller annotations
2026-05-13 22:30:13 -04:00
ed 30281843b2 feat(config): update opencode.json with all 40 MCP tools from mcp_client.py 2026-05-13 22:13:09 -04:00
ed 004525de60 chore(config): synchronize gemini tools with mcp_client.py 2026-05-13 22:11:30 -04:00
ed b9e4050175 feat(mcp): finalize Python structural tools with security checks and indentation normalization 2026-05-13 22:03:37 -04:00
ed 46a415c9a0 docs(mcp): Document new Python structural tools 2026-05-13 22:01:39 -04:00
ed a88608d16a conductor(plan): Mark Phase 3 as complete 2026-05-13 22:01:02 -04:00
ed 8b2572757c feat(mcp-client): Integrate new Python structural tools 2026-05-13 21:44:35 -04:00
ed 578d9a2bbc conductor(plan): Mark Phase 1 as complete and start Phase 2 2026-05-13 21:43:26 -04:00
ed d044ccb2e0 feat(python-tools): Implement core logic for structural MCP tools 2026-05-13 21:42:19 -04:00
ed ed3323fdf4 chore(conductor): Add new track 'Add Python structural MCP tools' 2026-05-13 21:37:31 -04:00
ed 5e5e281dbc gut tests related to ai client proxy 2026-05-13 21:29:59 -04:00
ed 242ea051ad pushing latest gui_2.py, adjustment to regions in app controller. 2026-05-13 21:29:04 -04:00
ed d67997c770 chore(conductor): Mark track 'AppController Curation' as complete 2026-05-13 21:26:58 -04:00