Commit Graph

294 Commits

Author SHA1 Message Date
Ed_
87902d82d8 feat(mma): Implement track progress calculation and refactor get_all_tracks 2026-03-07 11:24:05 -05:00
Ed_
3f03663e2e test(orchestrator): add unit tests for native_orchestrator module 2026-03-07 01:36:01 -05:00
Ed_
f8e1a5b405 feat(tier4): Complete GUI integration for patch modal
- Add patch modal state to AppController instead of App
- Add show_patch_modal/hide_patch_modal action handlers
- Fix push_event to work with flat payload format
- Add patch fields to _gettable_fields
- Both GUI integration tests passing
2026-03-07 00:55:35 -05:00
Ed_
d520d5d6c2 fix: Add debug logging to patch endpoints 2026-03-07 00:45:07 -05:00
Ed_
14dab8e67f feat(tier4): Add patch modal GUI integration and API hooks 2026-03-07 00:37:44 -05:00
Ed_
90670b9671 feat(tier4): Integrate patch generation into GUI workflow
- Add patch_callback parameter throughout the tool execution chain
- Add _render_patch_modal() to gui_2.py with colored diff display
- Add patch modal state variables to App.__init__
- Add request_patch_from_tier4() to trigger patch generation
- Add run_tier4_patch_callback() to ai_client.py
- Update shell_runner to accept and execute patch_callback
- Diff colors: green for additions, red for deletions, cyan for headers
- 36 tests passing
2026-03-07 00:26:34 -05:00
Ed_
d58816620a feat(modal): Add patch approval modal manager
- Create src/patch_modal.py with PatchModalManager class
- Manage patch approval workflow: request, apply, reject
- Provide singleton access via get_patch_modal_manager()
- Add 8 unit tests for modal manager
2026-03-07 00:15:06 -05:00
Ed_
125cbc6dd0 feat(patch): Add patch application and backup functions
- Add create_backup() to backup files before patching
- Add apply_patch_to_file() to apply unified diff
- Add restore_from_backup() for rollback
- Add cleanup_backup() to remove backup files
- Add 15 unit tests for all patch operations
2026-03-07 00:14:23 -05:00
Ed_
99a5d7045f feat(diff): Add diff rendering helpers for GUI
- Add get_line_color() to classify diff lines
- Add render_diff_text_immediate() for immediate mode rendering
- Add tests for rendering functions
2026-03-07 00:13:10 -05:00
Ed_
130001c0ba feat(diff): Add diff parser for unified diff format
- Create src/diff_viewer.py with parse_diff function
- Parse unified diff into DiffFile and DiffHunk dataclasses
- Extract file paths, hunk headers, and line changes
- Add unit tests for diff parser
2026-03-07 00:12:06 -05:00
Ed_
c8e8cb3bf3 feat(tier4): Add patch generation for auto-patching
- Add TIER4_PATCH_PROMPT to mma_prompts.py with unified diff format
- Add run_tier4_patch_generation function to ai_client.py
- Import mma_prompts in ai_client.py
- Add unit tests for patch generation
2026-03-07 00:10:35 -05:00
Ed_
b79c1fce3c feat(provider): Add MiniMax AI provider integration
- Add minimax to PROVIDERS lists in gui_2.py and app_controller.py
- Add minimax credentials template in ai_client.py
- Implement _list_minimax_models, _classify_minimax_error, _ensure_minimax_client
- Implement _send_minimax with streaming and reasoning support
- Add minimax to send(), list_models(), reset_session(), get_history_bleed_stats()
- Add unit tests in tests/test_minimax_provider.py
2026-03-06 23:36:30 -05:00
Ed_
f25e6e0b34 OK 2026-03-06 23:21:23 -05:00
Ed_
4921a6715c OK. 2026-03-06 23:07:08 -05:00
Ed_
cb57cc4a02 STILL FIXING 2026-03-06 22:03:59 -05:00
Ed_
f65e9b40b2 WIP: Regression hell 2026-03-06 21:22:21 -05:00
Ed_
661566573c feat(mma): Complete Visual DAG implementation, fix link creation/deletion, and sync docs 2026-03-06 19:13:20 -05:00
Ed_
5956b4b9de feat(gui): Implement Visual DAG with imgui_node_editor
- Add node editor context and config in App.__init__
- Replace tree-based DAG with imgui_node_editor visualization
- Add selection detection for interactive ticket editing
- Add edit panel for selected ticket (view status, target, deps, mark complete, delete)
- Add ui_selected_ticket_id state variable
2026-03-06 17:35:41 -05:00
Ed_
af4a227d67 feat(mma): Implement Deep AST-Driven Context Pruning and mark track complete 2026-03-06 17:05:48 -05:00
Ed_
7da2946eff feat(mma): Implement worker pool and configurable concurrency for DAG engine and mark track 'True Parallel Worker Execution' as complete 2026-03-06 16:55:45 -05:00
Ed_
f580165c5b feat(conductor): Implement configurable paths and mark track 'Conductor Path Configuration' as complete 2026-03-06 16:43:11 -05:00
Ed_
3bc900b760 test: Update tests to mock async_dispatch for asynchronous tool execution engine. 2026-03-06 13:26:32 -05:00
Ed_
eddc24503d test(ai_client): Add tests for concurrent tool execution. 2026-03-06 13:16:41 -05:00
Ed_
684a6d1d3b feat(ai_client): isolation of current_tier using threading.local() for parallel agent safety 2026-03-06 12:59:18 -05:00
Ed_
1fb6ebc4d0 idk why these weren't committed 2026-03-06 12:48:02 -05:00
Ed_
dc1b0d0fd1 test(conductor): Add validation tests for Tech Lead JSON retry logic 2026-03-06 12:32:53 -05:00
Ed_
880ef5f370 feat(conductor): Add retry loop for Tech Lead JSON parsing 2026-03-06 12:30:23 -05:00
Ed_
f5fa001d83 test(negative): Implement negative mock path tests for Phase 2 2026-03-06 11:43:17 -05:00
Ed_
5066e98240 fix(test): Resolve visual orchestration test and prepare hook env injection 2026-03-06 11:27:16 -05:00
Ed_
0e23d6afb7 feat(test): Add MOCK_MODE environment variable support to mock_gemini_cli.py 2026-03-06 10:37:14 -05:00
Ed_
90a0f93518 worst bug with visual orchestration 2026-03-06 00:08:10 -05:00
Ed_
4ce6348978 fix: Multiple test fixes and improvements
- Fix mock_gemini_cli.py to use src/aggregate.py (moved to src directory)
- Add wait_for_event method to ApiHookClient for simulation tests
- Fix custom_callback path in app_controller to use absolute path
- Fix test_gui2_parity.py to use correct callback file path
2026-03-05 21:18:25 -05:00
Ed_
d2481b2de7 never ends 2026-03-05 20:39:56 -05:00
Ed_
2c5476dc5d fix: Fix all failing test files with proper mocking and imports
- test_tiered_context.py: Fix aggregate imports to src.aggregate
- test_gemini_cli_adapter_parity.py: Fix subprocess.Popen mock path and JSON format
- test_gemini_cli_edge_cases.py: Fix mock path, JSON format, and adapter initialization
- test_gemini_cli_parity_regression.py: Fix mock path, reset global adapter
- test_token_usage.py: Fix SimpleNamespace mock structure for gemini response
2026-03-05 20:15:03 -05:00
Ed_
e02ebf7a65 fix: Fix session API format and missing client methods 2026-03-05 19:55:54 -05:00
Ed_
4da88a4274 fix(tests): Fix gemini_cli tests - proper mocking of subprocess.Popen 2026-03-05 19:34:18 -05:00
Ed_
03b68c9cea fix(ai_client): Add missing response_received events for gemini streaming and non-streaming paths 2026-03-05 19:21:57 -05:00
Ed_
937759a7a3 fix(tests): Simplify mma_orchestration_gui test to check actions exist 2026-03-05 19:12:26 -05:00
Ed_
02947e3304 fix(tests): Fix mma_orchestration_gui task count, api_events mocks, gui_stress import 2026-03-05 19:09:39 -05:00
Ed_
fd6dc5da43 fix(tests): Fix remaining patch paths in test_mma_orchestration_gui 2026-03-05 17:30:16 -05:00
Ed_
e2ca7db7ab fix(tests): Fix google-genai streaming mocks in api_events tests 2026-03-05 17:22:54 -05:00
Ed_
fd36aad539 PYTHON 2026-03-05 17:13:59 -05:00
Ed_
98105aecd3 fix(tests): Fix import paths and update for google-genai API 2026-03-05 16:51:47 -05:00
Ed_
8f87f9b406 fix(tests): Add src. prefix to module imports 2026-03-05 16:45:06 -05:00
Ed_
2aec39bb0b FUCK PYTHON 2026-03-05 16:37:30 -05:00
Ed_
3d5773fa63 YET ANOTEHR BOTCHED TRACK. 2026-03-05 16:14:58 -05:00
Ed_
d04574aa8f WIP: PAIN4 2026-03-05 15:53:50 -05:00
Ed_
184fb39e53 GARBAGE 2026-03-05 15:17:30 -05:00
Ed_
8784d05db4 WIP: PAIN3 2026-03-05 15:10:53 -05:00
Ed_
fca57841c6 WIP: PAIN2 2026-03-05 14:43:45 -05:00