Private
Public Access
0
0
Commit Graph

525 Commits

Author SHA1 Message Date
ed bf5b426c24 gemini quota exhausted: fixing regressions in test suite 2026-05-16 14:45:06 -04:00
ed 49082e5036 stuff left over from context composition presets track (still regressions) 2026-05-16 14:32:38 -04:00
ed fcc8822612 docs(conductor): Synchronize docs for track 'Context Composition Presets' 2026-05-16 12:36:20 -04:00
ed c52e4612ae fix(tests): Update tests and HotReloader to accommodate gui_2 refactoring 2026-05-16 11:22:41 -04:00
ed e3d84bc4da feat(presets): Implement ContextPresetManager and integrate with AppController 2026-05-16 11:04:38 -04:00
ed 8467cdd525 feat(models): Implement ContextPreset and ContextFileEntry 2026-05-16 05:05:22 -04:00
ed eadc4d62d2 test(hot-reload): Fix integration tests for gutted OOP architecture 2026-05-16 04:37:01 -04:00
ed 1ddde58161 dumbass bot 2026-05-16 03:38:15 -04:00
ed 671654ddda feat(hot-reload): Add trigger integration for hot reload system
- Task 1.1: Added _hot_reload_error state to App.__init__
- Task 1.2: Added _trigger_hot_reload() method to App
- Task 1.3: Added Ctrl+Alt+R keyboard capture in _gui_func()
- Task 1.4: Registered src.gui_2 with HotReloader in App.__init__
- Task 1.5: Added Hot Reload button in _render_mma_global_controls
- Tests: Added test_hot_reload_integration.py with 13 passing tests
2026-05-16 03:19:53 -04:00
ed 341462513c remove ai style formatter. 2026-05-16 03:03:23 -04:00
ed 31a8949d64 feat(style): Fix 1-space indentation in 27 files
Files corrected:
- src/fuzzy_anchor.py (18 violations)
- src/patch_modal.py (14 violations)
- scripts/extract_symbols.py (4 violations)
- scripts/tasks/download_fonts.py (8 violations)
- tests/: 23 files with indentation issues

All files verified with py_compile. Remaining 4 files
(test_api_events.py, test_discussion_takes_gui.py,
test_gui_updates.py, test_headless_service.py) have complex
multi-line with statements that require manual correction.
2026-05-16 03:00:20 -04:00
ed 8260c4a6b9 feat(hot-reload): Implement HotReloader.reload and reload_all 2026-05-16 01:33:11 -04:00
ed 2c0eddc264 feat(hot-reload): Add HotModule dataclass and HotReloader registry 2026-05-16 01:30:00 -04:00
ed 20054b0476 fix(test): Final synchronization and stability fixes for RAG stress test
- Improved AppController.ai_status to prevent overwriting 'sending...' with 'models loaded'.
- Enhanced 	est_rag_phase4_stress.py with robust polling and increased timeout.
- Synchronized App and AppController history objects to ensure consistent view.
2026-05-16 01:21:27 -04:00
ed 7f2f9c1989 fix: Robustness improvements for RAG tests and GUI stability
- Added import sys to src/api_hook_client.py.
- Fixed App.__getattr__ to use direct attribute access on controller to avoid recursion.
- Simplified _get_app_attr and _has_app_attr in src/api_hooks.py.
- Centralized RAG and symbol enrichment in AppController._handle_request_event.
- Updated 	ests/test_symbol_parsing.py to match the new enrichment flow.
- Removed redundant task appending from i_status and mma_status setters.
- Improved _sync_rag_engine to only set 'ready' status after indexing is confirmed.
- Updated 	est_status_encapsulation.py to reflect setter changes.
2026-05-15 17:17:05 -04:00
ed a2a6d4cb65 chore(conductor): Mark track 'Fix 45 failing test files across 12 batches' as complete
Final fix for 	est_rag_phase4_stress.py to robustly wait for RAG status transitions.
2026-05-15 00:20:34 -04:00
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 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