Commit Graph

2204 Commits

Author SHA1 Message Date
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
ed fa4388bbe0 feat(app-controller): modularize handlers and enforce 1-space indentation 2026-05-13 21:26:29 -04:00
ed 34b1349c4f WIP: cleaning up ai_client.py 2026-05-13 19:06:33 -04:00
ed 7318d32f6b refactor(ai_client): Move ProviderError to module level 2026-05-13 18:20:27 -04:00
ed 5babdc16ae docs: Add ai_client.py style curation implementation plan 2026-05-13 18:18:32 -04:00
ed bcca433f27 docs: Add ai_client.py style curation design spec 2026-05-13 18:17:59 -04:00
ed 620ba6a55f gui_2_cleanup mostly done 2026-05-13 18:17:34 -04:00
ed 0f7da2b40b conductor(plan): Mark Phase 1 as complete and start Phase 2 2026-05-13 18:03:42 -04:00
ed 511aabbd0d docs(conductor): Complete Phase 1 of AppController curation (Audit & Guidelines) 2026-05-13 18:03:22 -04:00
ed a81b2088ba chore(conductor): Mark track 'gui_2.py cleanup and structural awareness' as complete 2026-05-13 17:52:07 -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 8cbd232db0 style(gui): Apply strict vertical compaction and add type hints 2026-05-13 16:51:19 -04:00
ed 8d0599a9cb refactor(gui): Reorganize App.__init__ and extract methods 2026-05-13 16:37:52 -04:00
ed 5ac7688e6c chore(conductor): Add new track 'I started to do a large cleanup to gui_2.py...' 2026-05-13 16:14:05 -04:00
ed ae063c77ed docs: update decoupling report with deletion commit details 2026-05-13 16:05:57 -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 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