From fe71b6606c58d0f052fac1ac8b55733e36e725fb Mon Sep 17 00:00:00 2001 From: Ed_ Date: Sat, 2 May 2026 12:46:33 -0400 Subject: [PATCH] test regression fixes --- conductor/tracks.md | 2 +- config.toml | 1 + manualslop_layout.ini | 22 +- mock_debug_prompt.txt | 1210 +++++++++++++++++++++++++++++++++ project_history.toml | 2 +- tests/test_gui_text_viewer.py | 12 +- 6 files changed, 1228 insertions(+), 21 deletions(-) diff --git a/conductor/tracks.md b/conductor/tracks.md index 31988d1..22c8537 100644 --- a/conductor/tracks.md +++ b/conductor/tracks.md @@ -83,7 +83,7 @@ This file tracks all major tracks for the project. Each track has its own detail *Link: [./tracks/discussion_takes_branching_20260311/](./tracks/discussion_takes_branching_20260311/)* *Goal: Non-linear discussion timelines via tabbed "takes", message branching, and synthesis generation workflows.* -12. [ ] **Track: Discussion Hub Panel Reorganization** +12. [~] **Track: Discussion Hub Panel Reorganization** *Link: [./tracks/discussion_hub_panel_reorganization_20260322/](./tracks/discussion_hub_panel_reorganization_20260322/)* *Goal: Properly merge Session Hub into Discussion Hub (4 tabs: Discussion | Context Composition | Snapshot | Takes), establish Files & Media as project-level inventory, deprecate ui_summary_only, implement Context Composition and DAW-style Takes.* diff --git a/config.toml b/config.toml index 06e8cd5..557a16f 100644 --- a/config.toml +++ b/config.toml @@ -7,6 +7,7 @@ max_tokens = 32000 history_trunc_limit = 900000 active_preset = "Default" system_prompt = "" +tool_instructions = "" [projects] paths = [ diff --git a/manualslop_layout.ini b/manualslop_layout.ini index b418d88..ea1f03f 100644 --- a/manualslop_layout.ini +++ b/manualslop_layout.ini @@ -102,26 +102,26 @@ Collapsed=0 DockId=0x0000000D,0 [Window][Discussion Hub] -Pos=1154,24 -Size=1406,1416 +Pos=1083,24 +Size=1406,1411 Collapsed=0 DockId=0x00000006,0 [Window][Operations Hub] Pos=0,24 -Size=1152,1416 +Size=1081,1411 Collapsed=0 DockId=0x00000005,2 [Window][Files & Media] -Pos=1154,24 -Size=1406,1416 +Pos=1083,24 +Size=1406,1411 Collapsed=0 DockId=0x00000006,1 [Window][AI Settings] Pos=0,24 -Size=1152,1416 +Size=1081,1411 Collapsed=0 DockId=0x00000005,0 @@ -131,8 +131,8 @@ Size=416,325 Collapsed=0 [Window][MMA Dashboard] -Pos=1154,24 -Size=1406,1416 +Pos=1083,24 +Size=1406,1411 Collapsed=0 DockId=0x00000006,2 @@ -407,7 +407,7 @@ DockId=0x00000006,1 [Window][Project Settings] Pos=0,24 -Size=1152,1416 +Size=1081,1411 Collapsed=0 DockId=0x00000005,1 @@ -535,11 +535,11 @@ Column 2 Width=150 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,24 Size=2560,1416 Split=X +DockSpace ID=0xAFC85805 Window=0x079D3A04 Pos=0,24 Size=2489,1411 Split=X DockNode ID=0x00000003 Parent=0xAFC85805 SizeRef=2175,1183 Split=X DockNode ID=0x0000000B Parent=0x00000003 SizeRef=404,1186 Split=X Selected=0xF4139CA2 DockNode ID=0x00000007 Parent=0x0000000B SizeRef=1512,858 Split=X Selected=0x8CA2375C - DockNode ID=0x00000005 Parent=0x00000007 SizeRef=1152,1681 CentralNode=1 Selected=0x418C7449 + DockNode ID=0x00000005 Parent=0x00000007 SizeRef=1152,1681 CentralNode=1 Selected=0x7BD57D6A DockNode ID=0x00000006 Parent=0x00000007 SizeRef=1406,1681 Selected=0x6F2B5B04 DockNode ID=0x0000000E Parent=0x0000000B SizeRef=1777,858 Selected=0x418C7449 DockNode ID=0x0000000D Parent=0x00000003 SizeRef=435,1186 Selected=0x363E93D6 diff --git a/mock_debug_prompt.txt b/mock_debug_prompt.txt index 82d1088..c230b97 100644 --- a/mock_debug_prompt.txt +++ b/mock_debug_prompt.txt @@ -4265,3 +4265,1213 @@ Overview: This track introduces support for Zhipu AI (z.ai) as a first-class mod Please generate the implementation tracks for this request. ------------------ +--- MOCK INVOKED --- +ARGS: ['tests/mock_gemini_cli.py'] +PROMPT: +PATH: Epic Initialization — please produce tracks +------------------ +--- MOCK INVOKED --- +ARGS: ['tests/mock_gemini_cli.py'] +PROMPT: +Please generate the implementation tickets for this track. +------------------ +--- MOCK INVOKED --- +ARGS: ['tests/mock_gemini_cli.py'] +PROMPT: +Please read test.txt +You are assigned to Ticket T1. +Task Description: do something +------------------ +--- MOCK INVOKED --- +ARGS: ['tests/mock_gemini_cli.py'] +PROMPT: +role: tool +Here are the results: {"content": "done"} +------------------ +--- 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