Commit Graph

508 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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 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 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 292b021174 remove ai_server.py (no longer needed) 2026-05-14 00:22:38 -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 b9e4050175 feat(mcp): finalize Python structural tools with security checks and indentation normalization 2026-05-13 22:03:37 -04:00
ed 5e5e281dbc gut tests related to ai client proxy 2026-05-13 21:29:59 -04:00
ed 51be7d7405 feat(mcp): Extract return type hints and ImGui scopes in code outline 2026-05-13 17:22:34 -04:00
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 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 d67df948e5 progress ai forgot to push 2026-05-13 09:33:23 -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 29de116233 WIP: fixing regressions in tests 2026-05-12 21:04:50 -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 7c0ce9dd9a test(gui): Add fast render tests for main panels 2026-05-12 19:32:27 -04:00
ed a3b117dabd feat(api): Expand API hooks with drag and right_click actions 2026-05-12 19:06:54 -04:00
ed c359961a0a feat(linter): Develop custom AST linter for ImGui scopes 2026-05-12 19:02:30 -04:00
ed 345be18d55 pain 2026-05-12 18:45:06 -04:00
ed ecef6175e7 feat(gui): Add ImGuiScope base class and scope helpers 2026-05-11 22:43:35 -04:00
ed 26ef81a30e chore(fix): Resolve regressions in history logic, track startup, and GUI performance 2026-05-11 20:03:01 -04:00
ed 1303fc1402 feat(aggregate): Support custom view mode with annotated slices 2026-05-11 18:52:22 -04:00
ed a669f92cab feat(ui): Automatically populate AST slices when adding files to context 2026-05-11 18:49:18 -04:00
ed cb0fa89730 feat(presets): Implement NamedViewPresets for per-file view settings 2026-05-11 18:31:56 -04:00
ed 3614e117c3 feat(ui): Implement visual Slice Editor with colored overlays and click-drag 2026-05-11 18:19:50 -04:00
ed 976b241dcc feat(ui): Implement dual-pane AST Inspector with line-based highlights 2026-05-11 18:00:56 -04:00
ed 976879dce0 feat(models): Extend FileItem.custom_slices with tag and comment fields 2026-05-11 17:15:04 -04:00
ed 4dc801ec69 feat(context): Integrate view modes into aggregate pipeline 2026-05-11 15:17:00 -04:00
ed 78c009fc26 feat(context): Implement ContextPreset and FileViewPreset infrastructure 2026-05-11 13:13:37 -04:00
ed fb1b72c5ac feat(context): Implement view mode UI in context composition panel 2026-05-11 11:44:07 -04:00
ed 5112debe14 feat(context): Implement directory grouping and file stats in context composition panel 2026-05-11 11:37:15 -04:00
ed 9b3a4d6ec6 feat(context): Decouple context composition from files and media 2026-05-11 11:00:15 -04:00
ed 8addb97018 feat(context): Add view_mode to FileItem model 2026-05-11 10:28:35 -04:00
ed fa0a500a38 test(phase6): add simulation tests for Batch Ops, AST Inspector, Slice Editor
- test_batch_operations_shift_click
- test_ast_inspector_modal_opens
- test_slice_editor_add_remove
2026-05-10 15:46:53 -04:00
ed 772d567301 test(coverage): add FuzzyAnchor and HistoryManager unit tests
- test_fuzzy_anchor.py: 6 tests for fuzzy slice resolution
- test_history_manager.py: 8 tests for undo/redo and UISnapshot roundtrip
2026-05-10 15:42:54 -04:00
ed e50a444796 test(gencpp): add full gencpp/base samples and comprehensive test suite
- Copied 58 files from C:\projects\gencpp\base\ to tests/assets/gencpp_samples
- Added test_gencpp_full_suite.py that validates:
  - Skeleton generation for all .hpp files
  - Code outline generation
  - get_definition for key symbols
  - AST masking with aggregation
- All 25 tests pass
2026-05-10 15:38:16 -04:00
ed 2a71aff18c WIP: Phase 6 review 2026-05-10 15:14:54 -04:00
ed 7974f661b3 fix(phase6): resolve minimax regression and context snapshotting crash 2026-05-10 14:58:29 -04:00
ed 16b99d16a4 feat(context): Interactive Text Slice Highlighting with Fuzzy Anchors 2026-05-10 13:57:01 -04:00
ed b4f8633bd6 feat(context): Interactive AST Tree Masking with per-symbol toggles 2026-05-10 13:28:15 -04:00
ed cba79350de feat(context): Granular AST Control for C/C++ files 2026-05-10 13:05:32 -04:00
ed d18aaae0a1 feat(ai_client): add MiniMax-M2.7 to available models 2026-05-10 12:51:29 -04:00
ed c8ad740b1b test: fix rag_integration test after theme removal 2026-05-10 12:27:21 -04:00