Commit Graph

355 Commits

Author SHA1 Message Date
ed 2b5185a78f perf(entropy): Fix nested imports in hot paths
Hoisted imports from inside frequently-called functions to module level:

app_controller.py:
- Added traceback and inspect at module level
- Removed 3 nested traceback imports from exception handlers

gui_2.py:
- Added traceback at module level
- Removed nested traceback import from _gui_func exception handler
- Kept uvicorn lazy-loaded (only for --headless mode)

multi_agent_conductor.py:
- Removed unused 'import sys' from run()
- Removed redundant nested imports (already at module level)

Also adds audit scripts and entropy findings documentation.
2026-05-06 20:18:30 -04:00
ed 54afbb9365 chore(entropy): Phase 5 start - fix duplicate line bug and document findings
- Fix duplicate line bug in rag_emb_provider.setter (app_controller.py)
- Add entropy_findings.md documenting audit results
- Update plan.md with Phase 5 tasks and findings
- Note: Property getter/setter 'duplicates' are false positives - proper Python patterns
2026-05-06 19:59:06 -04:00
ed f6feab9243 fix(gui): Correct indentation bug in _render_mma_dashboard that caused crash
The code after the 'prior session' return block was incorrectly indented
at 1 space, placing it inside the 'if is_viewing_prior_session' block
instead of after it. This caused 'total_cost' and 'perc' to be undefined
when viewing an active session, triggering an IM_ASSERT error.

Fix: Moved 'track_name', 'track_stats', and 'total_cost' to the
correct 2-space indentation (method body level).
2026-05-06 19:41:22 -04:00
ed 6bd052efc5 chore(perf): Save state before comprehensive entropy cleanup 2026-05-06 16:09:41 -04:00
ed f628e0b29a perf(core): Optimize DAG engine, orchestrator loop, and simulations 2026-05-06 15:27:27 -04:00
ed d0aff71430 feat(perf): Add performance tests and high-precision timing 2026-05-06 14:59:34 -04:00
ed 3f592afa16 perf(aggregate): Optimize focus file lookups and ASTParser hoisting 2026-05-06 14:54:21 -04:00
ed 23c1e21661 feat(perf): Expand instrumentation with context manager and extended metrics 2026-05-06 14:30:22 -04:00
ed 2b66f3569b feat(beads): integrate Beads Mode backend, MCP tools, and GUI support 2026-05-06 13:48:47 -04:00
ed ecc5a66027 feat(workspace): implement contextual auto-switch layout based on MMA active tier 2026-05-05 21:57:08 -04:00
ed ded9f38a00 feat(workspace): implement layout menu and save profile modal 2026-05-05 21:25:53 -04:00
ed eab1945035 feat(workspace): implement layout capture/restore and controller integration 2026-05-05 21:09:51 -04:00
ed 5b3173a1ae feat(workspace): implement WorkspaceManager and path resolution 2026-05-05 20:50:55 -04:00
ed 98400358af feat(models): implement WorkspaceProfile dataclass 2026-05-05 20:50:47 -04:00
ed 904dabe6a1 feat(mcp): Validate C++ tools against real-world gencpp components and improve enum support 2026-05-05 20:40:21 -04:00
ed 992e206769 feat(mcp): Finalize C/C++ AST tools with robust testing and bug fixes 2026-05-05 20:08:51 -04:00
ed 4e8b397c80 feat(mcp): Add full functional parity for C/C++ tools 2026-05-05 19:48:38 -04:00
ed 8642d894df feat(parser): Implement C/C++ update_definition 2026-05-05 19:44:40 -04:00
ed 799feb0f94 feat(parser): Implement C/C++ get_definition and get_signature 2026-05-05 19:42:14 -04:00
ed b8460107b9 chore(conductor): Expand Tree-Sitter C/C++ track with new phases for tool parity and robust testing 2026-05-05 19:31:25 -04:00
ed 3bb850aca9 test(mcp): Add tests for C/C++ skeleton and outline tools 2026-05-05 19:07:17 -04:00
ed 0db41efec6 feat(mcp): Integrate C/C++ skeleton and outline tools 2026-05-05 18:57:51 -04:00
ed d3cd7cf75a feat(parser): Implement C/C++ skeleton and outline extraction 2026-05-05 18:51:56 -04:00
ed c025ebc29d feat(parser): Add C and C++ support to ASTParser 2026-05-05 18:42:53 -04:00
ed 446a58717e conductor(checkpoint): Checkpoint end of Phase 4 - UI Features & History List 2026-05-05 17:50:55 -04:00
ed 0a5b90e772 conductor(checkpoint): Checkpoint end of Phase 3 - Discussion & Context Structure Mutation 2026-05-05 12:17:53 -04:00
ed a02849b9a3 conductor(checkpoint): Checkpoint end of Phase 2 - Text Input & Control Undo/Redo 2026-05-05 00:23:55 -04:00
ed 7743b157c7 feat(history): Implement generic HistoryManager and unit tests 2026-05-04 23:38:00 -04:00
ed 7bed4a8f97 conductor(checkpoint): Final checkpoint for RAG Support track - Phase 4 complete 2026-05-04 22:36:31 -04:00
ed 095368bca2 feat(rag): implement incremental and parallel indexing performance optimizations 2026-05-04 21:47:54 -04:00
ed a3d7376535 feat(rag): final refinements for Phase 4 support and UI visualization 2026-05-04 21:41:10 -04:00
ed 213747a9fc conductor(checkpoint): Checkpoint end of Phase 3 - RAG GUI Integration 2026-05-04 18:49:18 -04:00
ed 8b85c7a100 feat(rag): wire RAG settings to Hook API and add simulation tests 2026-05-04 18:37:59 -04:00
ed 8b487536c5 feat(rag): Implement auto-indexing and status indicators 2026-05-04 11:34:01 -04:00
ed d4dc23720f feat(gui): Implement RAG context visualization in Discussion history 2026-05-04 11:26:36 -04:00
ed f57e2fe4f0 feat(gui): Implement RAG Settings panel in AI Settings 2026-05-04 11:22:06 -04:00
ed fe0069c046 feat(rag): Implement indexing and retrieval logic with AppController integration 2026-05-04 06:53:32 -04:00
ed e80cd6bd3f feat(rag): Implement RAG engine, configuration schema, and vector store integration 2026-05-04 05:38:23 -04:00
ed fb2df2a758 feat(aggregation): Add persistent cache storage and LRU management 2026-05-04 05:20:03 -04:00
ed 6bf6c79db4 feat(ui): Expose cache status and controls in UI 2026-05-04 05:18:04 -04:00
ed 36645f7f3e feat(aggregation): Implement tier-level aggregation strategy tied to Personas 2026-05-04 05:10:59 -04:00
ed 76c4ce3677 feat(aggregation): Implement sub-agent summarization pass 2026-05-04 04:52:40 -04:00
ed 321810438b feat(aggregation): Implement hash-based summary cache 2026-05-04 04:44:11 -04:00
ed fbd03dc336 missing commits 2026-05-02 19:00:40 -04:00
ed 2441ea64a3 conductor(checkpoint): Checkpoint end of Phase 4 2026-05-02 19:00:28 -04:00
ed c74971bdb2 feat(ui): Refine base system prompt editor with collapsing header and character count 2026-05-02 18:33:36 -04:00
ed 4f1bcea381 feat(ai): Implement configurable base system prompt and expose in UI 2026-05-02 14:49:47 -04:00
ed 7fdf6c9782 feat(mma): Enable manual ticket approval via Hook API for Step Mode 2026-05-02 13:48:14 -04:00
ed 2666a3390d feat(ai): Harden tool access exclusion across all providers 2026-05-02 13:23:00 -04:00
ed f9b5acd758 refactor(api): Audit and cleanup api_hook_client.py and api_hooks.py 2026-05-02 13:08:47 -04:00