From 13453a0a14a34b602ec1cf0fa115eb166696b0fb Mon Sep 17 00:00:00 2001 From: Ed_ Date: Fri, 6 Mar 2026 20:27:03 -0500 Subject: [PATCH] still fixing regressions --- config.toml | 8 +- manual_slop.toml | 2 +- manualslop_layout.ini | 136 ++++++++++++++++------------ mock_debug_prompt.txt | 48 ++++++++++ src/app_controller.py | 2 + src/gui_2.py | 205 +++++++++++++++++++++--------------------- 6 files changed, 241 insertions(+), 160 deletions(-) diff --git a/config.toml b/config.toml index bbdc934..01a9b48 100644 --- a/config.toml +++ b/config.toml @@ -1,5 +1,5 @@ [ai] -provider = "gemini" +provider = "gemini_cli" model = "gemini-2.5-flash-lite" temperature = 0.0 max_tokens = 8192 @@ -21,6 +21,7 @@ active = "C:\\projects\\manual_slop\\tests\\artifacts\\temp_project.toml" [gui] separate_message_panel = false separate_response_panel = false +separate_tool_calls_panel = false [gui.show_windows] "Context Hub" = true @@ -33,8 +34,9 @@ separate_response_panel = false "Tier 4: QA" = true "Discussion Hub" = true "Operations Hub" = true -Message = false -Response = false +Message = true +Response = true +"Tool Calls" = false Theme = true "Log Management" = true Diagnostics = true diff --git a/manual_slop.toml b/manual_slop.toml index 8f0b00b..1748f46 100644 --- a/manual_slop.toml +++ b/manual_slop.toml @@ -64,7 +64,7 @@ py_set_signature = false py_set_var_declaration = false [gemini_cli] -binary_path = "C:\\projects\\manual_slop\\.venv\\Scripts\\python.exe C:\\projects\\manual_slop\\tests\\mock_gemini_cli.py" +binary_path = "gemini" [mma] epic = "" diff --git a/manualslop_layout.ini b/manualslop_layout.ini index 4d1835e..e54a14f 100644 --- a/manualslop_layout.ini +++ b/manualslop_layout.ini @@ -44,22 +44,19 @@ Collapsed=0 DockId=0x00000006,0 [Window][Message] -Pos=2058,1284 -Size=1633,667 +Pos=2830,1055 +Size=954,371 Collapsed=0 [Window][Response] -Pos=1142,771 -Size=567,866 +Pos=2941,1527 +Size=718,484 Collapsed=0 [Window][Tool Calls] -ViewportPos=43,95 -ViewportId=0x78C57832 -Pos=0,1121 -Size=897,775 +Pos=1300,926 +Size=700,440 Collapsed=0 -DockId=0x00000001,1 [Window][Comms History] ViewportPos=43,95 @@ -67,7 +64,7 @@ ViewportId=0x78C57832 Pos=0,1121 Size=897,775 Collapsed=0 -DockId=0x00000001,0 +DockId=0x0000000B,0 [Window][System Prompts] Pos=0,749 @@ -77,7 +74,7 @@ DockId=0xAFC85805,2 [Window][Theme] Pos=0,17 -Size=705,927 +Size=705,960 Collapsed=0 DockId=0x00000005,1 @@ -88,13 +85,13 @@ Collapsed=0 [Window][Diagnostics] Pos=707,17 -Size=1122,443 +Size=1358,379 Collapsed=0 DockId=0x0000001A,0 [Window][Context Hub] Pos=0,17 -Size=705,927 +Size=705,960 Collapsed=0 DockId=0x00000005,0 @@ -105,26 +102,26 @@ Collapsed=0 DockId=0x0000000D,0 [Window][Discussion Hub] -Pos=1831,17 -Size=1156,1507 +Pos=2067,17 +Size=920,1883 Collapsed=0 DockId=0x00000013,0 [Window][Operations Hub] -Pos=707,462 -Size=1122,1062 +Pos=707,398 +Size=1358,1502 Collapsed=0 DockId=0x0000001B,0 [Window][Files & Media] -Pos=0,946 -Size=705,1191 +Pos=0,979 +Size=705,1158 Collapsed=0 DockId=0x00000006,1 [Window][AI Settings] -Pos=0,946 -Size=705,1191 +Pos=0,979 +Size=705,1158 Collapsed=0 DockId=0x00000006,0 @@ -151,26 +148,26 @@ Size=262,209 Collapsed=0 [Window][Tier 1: Strategy] -Pos=707,1526 -Size=463,611 +Pos=707,1902 +Size=463,235 Collapsed=0 DockId=0x00000014,0 [Window][Tier 2: Tech Lead] -Pos=1172,1526 -Size=730,611 +Pos=1172,1902 +Size=730,235 Collapsed=0 DockId=0x00000016,0 [Window][Tier 4: QA] -Pos=2453,1526 -Size=534,611 +Pos=2453,1902 +Size=534,235 Collapsed=0 DockId=0x00000019,0 [Window][Tier 3: Workers] -Pos=1904,1526 -Size=547,611 +Pos=1904,1902 +Size=547,235 Collapsed=0 DockId=0x00000018,0 @@ -184,6 +181,21 @@ Pos=60,60 Size=800,600 Collapsed=0 +[Window][Text Viewer - Log Entry #1 (request)] +Pos=60,60 +Size=900,700 +Collapsed=0 + +[Window][Text Viewer - Log Entry #2 (response)] +Pos=363,873 +Size=1005,366 +Collapsed=0 + +[Window][Text Viewer - Entry #11] +Pos=60,60 +Size=900,700 +Collapsed=0 + [Table][0xFB6E3870,4] RefScale=13 Column 0 Width=80 @@ -221,33 +233,47 @@ Column 1 Width=60 Column 2 Weight=1.0000 Column 3 Width=100 +[Table][0x8BCC69C7,6] +RefScale=13 +Column 0 Width=40 +Column 1 Width=60 +Column 2 Width=123 +Column 3 Width=20 +Column 4 Weight=1.0000 +Column 5 Width=50 + +[Table][0x3751446B,4] +RefScale=13 +Column 0 Width=40 +Column 1 Width=60 +Column 2 Weight=1.0000 +Column 3 Width=100 + [Docking][Data] -DockNode ID=0x00000008 Pos=3125,170 Size=593,1157 Split=Y - DockNode ID=0x00000009 Parent=0x00000008 SizeRef=1029,147 Selected=0x0469CA7A - DockNode ID=0x0000000A Parent=0x00000008 SizeRef=1029,145 Selected=0xDF822E02 -DockSpace ID=0xAFC85805 Window=0x079D3A04 Pos=0,17 Size=3840,2120 Split=X - DockNode ID=0x00000003 Parent=0xAFC85805 SizeRef=2987,1183 Split=X - DockNode ID=0x0000000B Parent=0x00000003 SizeRef=404,1186 Split=Y Selected=0xF4139CA2 - DockNode ID=0x00000002 Parent=0x0000000B SizeRef=1029,1119 Split=X Selected=0xF4139CA2 - DockNode ID=0x00000007 Parent=0x00000002 SizeRef=705,858 Split=Y Selected=0x8CA2375C - DockNode ID=0x00000005 Parent=0x00000007 SizeRef=295,927 Selected=0xF4139CA2 - DockNode ID=0x00000006 Parent=0x00000007 SizeRef=295,1191 CentralNode=1 Selected=0x7BD57D6A - DockNode ID=0x0000000E Parent=0x00000002 SizeRef=2280,858 Split=Y Selected=0x418C7449 - DockNode ID=0x00000010 Parent=0x0000000E SizeRef=868,1507 Split=X Selected=0x418C7449 - DockNode ID=0x00000012 Parent=0x00000010 SizeRef=1122,402 Split=Y Selected=0xB4CBF21A - DockNode ID=0x0000001A Parent=0x00000012 SizeRef=1141,443 Selected=0xB4CBF21A - DockNode ID=0x0000001B Parent=0x00000012 SizeRef=1141,1062 Selected=0x418C7449 - DockNode ID=0x00000013 Parent=0x00000010 SizeRef=1156,402 Selected=0x6F2B5B04 - DockNode ID=0x00000011 Parent=0x0000000E SizeRef=868,611 Split=X Selected=0x5CDB7A4B - DockNode ID=0x00000014 Parent=0x00000011 SizeRef=463,837 Selected=0xBB346584 - DockNode ID=0x00000015 Parent=0x00000011 SizeRef=1815,837 Split=X Selected=0x5CDB7A4B - DockNode ID=0x00000016 Parent=0x00000015 SizeRef=730,837 Selected=0x390E7942 - DockNode ID=0x00000017 Parent=0x00000015 SizeRef=1083,837 Split=X Selected=0x655BC6E9 - DockNode ID=0x00000018 Parent=0x00000017 SizeRef=547,874 Selected=0x655BC6E9 - DockNode ID=0x00000019 Parent=0x00000017 SizeRef=534,874 Selected=0x5CDB7A4B - DockNode ID=0x00000001 Parent=0x0000000B SizeRef=1029,775 Selected=0x8B4EBFA6 - DockNode ID=0x0000000D Parent=0x00000003 SizeRef=435,1186 Selected=0x363E93D6 - DockNode ID=0x00000004 Parent=0xAFC85805 SizeRef=851,1183 Selected=0x3AEC3498 +DockNode ID=0x00000008 Pos=3125,170 Size=593,1157 Split=Y + DockNode ID=0x00000009 Parent=0x00000008 SizeRef=1029,147 Selected=0x0469CA7A + DockNode ID=0x0000000A Parent=0x00000008 SizeRef=1029,145 Selected=0xDF822E02 +DockSpace ID=0xAFC85805 Window=0x079D3A04 Pos=0,17 Size=3840,2120 Split=X + DockNode ID=0x00000003 Parent=0xAFC85805 SizeRef=2987,1183 Split=X + DockNode ID=0x0000000B Parent=0x00000003 SizeRef=404,1186 Split=X Selected=0xF4139CA2 + DockNode ID=0x00000007 Parent=0x0000000B SizeRef=705,858 Split=Y Selected=0x8CA2375C + DockNode ID=0x00000005 Parent=0x00000007 SizeRef=295,960 Selected=0xF4139CA2 + DockNode ID=0x00000006 Parent=0x00000007 SizeRef=295,1158 CentralNode=1 Selected=0x7BD57D6A + DockNode ID=0x0000000E Parent=0x0000000B SizeRef=2280,858 Split=Y Selected=0x418C7449 + DockNode ID=0x00000010 Parent=0x0000000E SizeRef=868,1883 Split=X Selected=0x418C7449 + DockNode ID=0x00000012 Parent=0x00000010 SizeRef=1358,402 Split=Y Selected=0xB4CBF21A + DockNode ID=0x0000001A Parent=0x00000012 SizeRef=1141,379 Selected=0xB4CBF21A + DockNode ID=0x0000001B Parent=0x00000012 SizeRef=1141,1502 Selected=0x418C7449 + DockNode ID=0x00000013 Parent=0x00000010 SizeRef=920,402 Selected=0x6F2B5B04 + DockNode ID=0x00000011 Parent=0x0000000E SizeRef=868,235 Split=X Selected=0x5CDB7A4B + DockNode ID=0x00000014 Parent=0x00000011 SizeRef=463,837 Selected=0xBB346584 + DockNode ID=0x00000015 Parent=0x00000011 SizeRef=1815,837 Split=X Selected=0x5CDB7A4B + DockNode ID=0x00000016 Parent=0x00000015 SizeRef=730,837 Selected=0x390E7942 + DockNode ID=0x00000017 Parent=0x00000015 SizeRef=1083,837 Split=X Selected=0x655BC6E9 + DockNode ID=0x00000018 Parent=0x00000017 SizeRef=547,874 Selected=0x655BC6E9 + DockNode ID=0x00000019 Parent=0x00000017 SizeRef=534,874 Selected=0x5CDB7A4B + DockNode ID=0x0000000D Parent=0x00000003 SizeRef=435,1186 Selected=0x363E93D6 + DockNode ID=0x00000004 Parent=0xAFC85805 SizeRef=851,1183 Selected=0x3AEC3498 ;;;<<>>;;; ;;;<<>>;;; diff --git a/mock_debug_prompt.txt b/mock_debug_prompt.txt index 73a4199..a887969 100644 --- a/mock_debug_prompt.txt +++ b/mock_debug_prompt.txt @@ -584,3 +584,51 @@ System: testing 123 ------------------ +--- MOCK INVOKED --- +ARGS: ['C:\\projects\\manual_slop\\tests\\mock_gemini_cli.py', '-m', 'gemini-2.5-flash-lite', '--prompt', '', '--output-format', 'stream-json'] +PROMPT: +You are a helpful coding assistant with access to a PowerShell tool (run_powershell) and MCP tools (file access: read_file, list_directory, search_files, get_file_summary, web access: web_search, fetch_url). When calling file/directory tools, always use the 'path' parameter for the target path. When asked to create or edit files, prefer targeted edits over full rewrites. Always explain what you are doing before invoking the tool. + +When writing or rewriting large files (especially those containing quotes, backticks, or special characters), avoid python -c with inline strings. Instead: (1) write a .py helper script to disk using a PS here-string (@'...'@ for literal content), (2) run it with `python