270 Commits

Author SHA1 Message Date
ed 273fcf29f1 fix: Disable frosted glass - imgui-bundle cannot sample OpenGL textures
The imgui-bundle backend cannot sample from our OpenGL FBO textures.
This is a fundamental incompatibility. Frosted glass feature
disabled to allow app to run.
2026-03-13 21:45:51 -04:00
ed 1eed009b12 fix(shader): Use custom_background callback to render blurred texture
- Add _render_custom_background method as hello_imgui callback
- Render blurred FBO texture as ImGui background
- Use ctypes.cast to convert OpenGL texture ID to ImTextureRef
2026-03-13 21:44:55 -04:00
ed aed461ef28 fix(shader): Add proper VAO setup for OpenGL 3.3 core profile
- Create _create_quad_vao() method that creates VAO with vertex buffer
- Use explicit vertex attributes (a_position, a_texcoord) in shaders
- Bind VAO before glDrawArrays calls
- Use ctypes for proper buffer sizing
2026-03-13 21:35:23 -04:00
ed 1d36357c64 fix(shader): Disable frosted glass - OpenGL 3.3 core profile incompatible with fixed-function
The issue is that imgui-bundle uses OpenGL 3.3 core profile which doesn't
support glBegin/glEnd. The shaders require VAO setup which is failing.
This needs proper OpenGL debugging in the imgui-bundle context.
2026-03-13 21:28:39 -04:00
ed 3113e4137b fix(shader): Disable frosted glass - OpenGL context issues
The frosted glass effect crashes with GLError 1282 'invalid operation'
when calling glDrawArrays. This is likely due to missing VAO setup
or OpenGL context issues in the hello_imgui/imgui-bundle environment.

DISABLED the effect by default to allow the app to run.
Feature needs proper OpenGL VAO setup to work.
2026-03-13 21:24:14 -04:00
ed cf5eac8c43 fix(gui): Guard against invalid display_size in blur pipeline init
- Remove _init_blur_pipeline call from _post_init (display_size invalid at startup)
- Add validation for ws.x > 0 and ws.y > 0 before FBO creation
- Add validation for fb_scale > 0 with default fallback to 1.0
- Make _init_blur_pipeline return bool for success/failure
- Update plan.md to reflect current progress

Fixes crash: GLError(err=1281, description=b'invalid value')
2026-03-13 21:08:13 -04:00
ed db00fba836 fix(gui): Guard against invalid display_size in blur pipeline init
- Remove _init_blur_pipeline call from _post_init (display_size not valid yet)
- Add dimension validation in _init_blur_pipeline (ws.x > 0 and ws.y > 0)
- Add fb_scale validation (default to 1.0 if <= 0)
- Lazy init only happens when frosted glass is enabled and dimensions are valid
- Fixes GLError 1281 'invalid value' crash on startup
2026-03-13 21:07:09 -04:00
ed a862119922 feat(gui): Add frosted glass tests
- Add test_frosted_glass_disabled (basic test)
- Add test_frosted_glass_enabled (mock-based test)
Task: Phase 3, Task 1-2 complete
2026-03-13 20:56:50 -04:00
ed e6a57cddc2 conductor(plan): Mark Phase 3 Task 1 complete, begin Tasks 2-3 2026-03-13 20:46:59 -04:00
ed 928318fd06 feat(gui): Integrate BlurPipeline with GUI for frosted glass
- Add BlurPipeline import and instance in App class
- Add _pre_new_frame callback to call prepare_global_blur before
- Add ui_frosted_glass_enabled toggle in Shader Editor
- Add _render_frosted_background with screen-space UV sampling
- Add _draw_blurred_rect using ImGui DrawList add_image_quad
- All 12 BlurPipeline tests pass

Task: Phase 3, Task 1 of frosted_glass_20260313 track
2026-03-13 20:46:36 -04:00
ed 5416546207 conductor(plan): Mark Phase 2 complete, begin Phase 3 2026-03-13 20:39:20 -04:00
ed 9c2078ad78 feat(shader): Add prepare_global_blur and high-DPI scaling support
- Add prepare_global_blur() method combining Deep Sea render + blur
- Add fb_scale parameter to setup_fbos() for high-DPI display support
- FBOs now created at scaled resolution (width * fb_scale, height * fb_scale)
- prepare_global_blur() auto-initializes FBOs if scale changes
- Add test_blur_pipeline_prepare_global_blur
- Add test_blur_pipeline_high_dpi_scaling

Task: Phase 2, Tasks 1-2 of frosted_glass_20260313 track
2026-03-13 20:38:03 -04:00
ed ab44102bad conductor(plan): Mark task 'Wide tap Gaussian blur' as complete 2026-03-13 20:28:42 -04:00
ed c8b7fca368 feat(shader): Expand Gaussian blur to 13-tap wide distribution
- Update horizontal and vertical blur shaders from 9-tap to 13-tap kernel
- Use Gaussian weights with sigma=3.5 for creamier 'milky' blur effect
- Add test_blur_pipeline_wide_tap_distribution to verify >= 11 texture samples
- Weights: [0.0152, 0.0300, 0.0525, 0.0812, 0.1110, 0.1342, 0.1432] (symmetric)

Task: Phase 1, Task 3 of frosted_glass_20260313 track
2026-03-13 20:28:12 -04:00
ed b3e6590cb4 conductor(plan): Mark task 'Deep Sea background shader' as complete 2026-03-13 20:25:57 -04:00
ed d85dc3a1b3 feat(shader): Add Deep Sea background shader for BlurPipeline
- Add compile_deepsea_shader() with animated underwater-like GLSL shader
- Add render_deepsea_to_fbo() to render background to scene FBO
- Deep Sea shader features: FBM noise, animated blobs, caustic lines, vignette
- Add deepsea_program to cleanup() for proper resource management
- Add 2 new tests for Deep Sea shader compilation and FBO rendering

Task: Phase 1, Task 2 of frosted_glass_20260313 track
2026-03-13 20:25:26 -04:00
ed 2947948ac6 conductor(plan): Mark task 'BlurPipeline FBO setup' as complete 2026-03-13 20:22:43 -04:00
ed d9148acb0c feat(shader): Add BlurPipeline class for frosted glass FBO setup
- Add BlurPipeline class with downsampled FBO support (scene, blur_a, blur_b)
- Implement 2-pass Gaussian blur shaders (horizontal + vertical)
- Add setup_fbos(), compile_blur_shaders(), prepare_blur(), cleanup() methods
- Add tests for BlurPipeline initialization, FBO setup, shader compilation, blur execution, and cleanup

Task: Phase 1, Task 1 of frosted_glass_20260313 track
2026-03-13 20:22:16 -04:00
ed 2c39f1dcf4 sigh 2026-03-13 20:13:51 -04:00
ed 1a8efa880a tired 2026-03-13 20:12:56 -04:00
ed 11eb69449d dumb ai 2026-03-13 19:46:23 -04:00
ed 3a0d388502 adjust tracks.md 2026-03-13 14:41:08 -04:00
ed 879e0991c9 chore(conductor): Add new track 'Frosted Glass Background Effect' 2026-03-13 14:40:43 -04:00
ed d96adca67c update track ordering 2026-03-13 14:40:37 -04:00
ed 4b0ebe44ff chore(conductor): Add new track 'Advanced Text Viewer with Syntax Highlighting' 2026-03-13 14:28:32 -04:00
ed 6b8151235f adjust track loc 2026-03-13 13:59:43 -04:00
ed 69107a75d3 chore(conductor): Add new track 'Rich Thinking Trace Handling' 2026-03-13 13:54:13 -04:00
ed 89c9f62f0c use maple mono. 2026-03-13 13:49:27 -04:00
ed 87e6b5c665 more win32 wrap 2026-03-13 13:39:42 -04:00
ed 9f8dd48a2e wrap win32 usage in conditionals 2026-03-13 13:29:13 -04:00
ed 87bd2ae11c fixed. 2026-03-13 13:23:31 -04:00
ed a57a3c78d4 fixes 2026-03-13 13:15:58 -04:00
ed ca01397885 checkpoint: fixing ux with window frame bar 2026-03-13 13:13:35 -04:00
ed c76aba64e4 docs(conductor): Synchronize docs for track 'Custom Shader and Window Frame Support' 2026-03-13 12:45:58 -04:00
ed 96de21b2b2 chore(conductor): Mark track 'Custom Shader and Window Frame Support' as complete 2026-03-13 12:45:13 -04:00
ed 25d7d97455 conductor(plan): Mark Phase 5 as complete 2026-03-13 12:45:03 -04:00
ed da478191e9 conductor(checkpoint): Checkpoint end of Phase 5 2026-03-13 12:44:37 -04:00
ed 9b79044caa conductor(plan): Mark Phase 5 implementations as complete 2026-03-13 12:44:19 -04:00
ed 229fbe2b3f feat(gui): Implement live shader editor panel 2026-03-13 12:43:54 -04:00
ed d69434e85f feat(config): Implement parsing for shader and window frame configurations 2026-03-13 12:41:24 -04:00
ed 830bd7b1fb conductor(plan): Mark Phase 4 as complete 2026-03-13 12:38:05 -04:00
ed 50f98deb74 conductor(checkpoint): Checkpoint end of Phase 4 2026-03-13 12:37:45 -04:00
ed 67ed51056e conductor(plan): Mark Phase 4 implementations as complete 2026-03-13 12:36:05 -04:00
ed 905ac00e3f feat(shaders): Implement CRT post-process shader logic 2026-03-13 12:35:43 -04:00
ed 836168a2a8 feat(shaders): Implement dynamic background shader 2026-03-13 12:33:27 -04:00
ed 2dbd570d59 conductor(plan): Mark Phase 3 as complete 2026-03-13 12:31:02 -04:00
ed 5ebce894bb conductor(checkpoint): Checkpoint end of Phase 3 2026-03-13 12:30:41 -04:00
ed 6c4c567ed0 conductor(plan): Mark Phase 3 as complete 2026-03-13 12:29:34 -04:00
ed 09383960be feat(shaders): Implement uniform data passing for ShaderManager 2026-03-13 12:29:10 -04:00
ed ac4f63b76e feat(shaders): Create ShaderManager with basic compilation 2026-03-13 12:27:01 -04:00
ed 356d5f3618 conductor(plan): Mark Phase 2 as complete 2026-03-13 12:24:03 -04:00
ed b9ca69fbae conductor(checkpoint): Checkpoint end of Phase 2 2026-03-13 12:23:40 -04:00
ed 3f4ae21708 conductor(plan): Mark Phase 2 implementation as complete 2026-03-13 12:20:59 -04:00
ed 59d7368bd7 feat(gui): Implement custom title bar and window controls 2026-03-13 12:20:37 -04:00
ed 02fca1f8ba test(gui): Verify borderless window mode is configured 2026-03-13 12:05:49 -04:00
ed 841e54aa47 conductor(plan): Mark Phase 1 as complete 2026-03-13 11:58:43 -04:00
ed 815ee55981 conductor(checkpoint): Checkpoint end of Phase 1 2026-03-13 11:58:16 -04:00
ed 4e5ec31876 conductor(plan): Mark Phase 1 investigation tasks as complete 2026-03-13 11:57:46 -04:00
ed 5f4da366f1 docs(architecture): Add custom shaders and window frame architecture document 2026-03-13 11:57:22 -04:00
ed 82722999a8 ai put it in the wrong spot 2026-03-12 21:47:57 -04:00
ed ad93a294fb chore(conductor): Add new track 'Optimization pass for Data-Oriented Python heuristics' 2026-03-12 21:47:16 -04:00
ed b677228a96 get prior session history properly working. 2026-03-12 21:38:19 -04:00
ed f2c5ae43d7 add resize splitter to dicussion hub message/response section 2026-03-12 21:14:41 -04:00
ed cf5ee6c0f1 make sure you can't send another rquest prompt when one is still being processed 2026-03-12 21:04:14 -04:00
ed 123bcdcb58 config 2026-03-12 20:58:36 -04:00
ed c8eb340afe fixes 2026-03-12 20:58:28 -04:00
ed 414379da4f more fixes 2026-03-12 20:54:47 -04:00
ed 63015e9523 set theme back to nord dark 2026-03-12 20:28:19 -04:00
ed 36b3c33dcc update settings 2026-03-12 20:27:08 -04:00
ed 727274728f archived didn't delete from tracks... 2026-03-12 20:26:56 -04:00
ed befb480285 feat(conductor): Archive External MCP, Project-Specific Conductor, and GUI Path Config tracks 2026-03-12 20:10:05 -04:00
ed 5a8a91ecf7 more fixes 2026-03-12 19:51:04 -04:00
ed 8bc6eae101 wip: fixing more path resolution in tests 2026-03-12 19:28:21 -04:00
ed 1f8bb58219 more adjustments 2026-03-12 19:08:51 -04:00
ed 19e7c94c2e fixes 2026-03-12 18:47:17 -04:00
ed 23943443e3 stuff that was not comitted. 2026-03-12 18:15:38 -04:00
ed 6f1fea85f0 docs(conductor): Synchronize docs for track 'GUI Path Configuration in Context Hub' 2026-03-12 17:57:24 -04:00
ed d237d3b94d feat(gui): Add Path Configuration panel to Context Hub 2026-03-12 16:44:22 -04:00
ed 7924d65438 docs(conductor): Synchronize docs for track 'Project-Specific Conductor Directory' 2026-03-12 16:38:49 -04:00
ed 3999e9c86d feat(conductor): Use project-specific conductor directory in project_manager and app_controller 2026-03-12 16:38:01 -04:00
ed 48e2ed852a feat(paths): Add support for project-specific conductor directories 2026-03-12 16:27:24 -04:00
ed e5a86835e2 docs(conductor): Synchronize docs for track 'External MCP Server Support' 2026-03-12 16:22:58 -04:00
ed 95800ad88b chore(conductor): Mark track 'External MCP Server Support' as complete 2026-03-12 15:58:56 -04:00
ed f4c5a0be83 feat(ai_client): Support external MCP tools and HITL approval 2026-03-12 15:58:36 -04:00
ed 3b2588ad61 feat(gui): Integrate External MCPs into Operations Hub with status indicators 2026-03-12 15:54:52 -04:00
ed 828fadf829 feat(mcp_client): Implement ExternalMCPManager and StdioMCPServer with tests 2026-03-12 15:41:01 -04:00
ed 4ba1bd9eba conductor(checkpoint): Phase 1: Configuration & Data Modeling complete 2026-03-12 15:35:51 -04:00
ed c09e0f50be feat(app_controller): Integrate MCP configuration loading and add tests 2026-03-12 15:33:37 -04:00
ed 1c863f0f0c feat(models): Add MCP configuration models and loading logic 2026-03-12 15:31:10 -04:00
ed 6090e0ad2b docs(conductor): Synchronize docs for track 'Expanded Hook API & Headless Orchestration' 2026-03-11 23:59:07 -04:00
ed d16996a62a chore(conductor): Mark track 'Expanded Hook API & Headless Orchestration' as complete 2026-03-11 23:52:50 -04:00
ed 1a14cee3ce test: fix broken tests across suite and resolve port conflicts 2026-03-11 23:49:23 -04:00
ed 036c2f360a feat(api): implement phase 4 headless refinement and verification 2026-03-11 23:17:57 -04:00
ed 930b833055 docs(conductor): mark phase 3 verification as done 2026-03-11 23:14:40 -04:00
ed 4777dd957a feat(api): implement phase 3 comprehensive control endpoints 2026-03-11 23:14:09 -04:00
ed e88f0f1831 docs(conductor): mark phase 2 verification as done 2026-03-11 23:05:31 -04:00
ed 1be576a9a0 feat(api): implement phase 2 expanded read endpoints 2026-03-11 23:04:42 -04:00
ed e8303b819b docs(conductor): mark phase 1 verification as done 2026-03-11 23:01:34 -04:00
ed 02e0fce548 feat(api): implement websocket gateway and event streaming for phase 1 2026-03-11 23:01:09 -04:00
ed 00a390ffab finally (still not fully polsihed but not crashing) 2026-03-11 22:44:32 -04:00
ed a471b1e588 checkpoint: before ai yeets it again 2026-03-11 22:27:10 -04:00
ed 1541e7f9fd checkpoitn before the ai yeets ita again 2026-03-11 22:06:34 -04:00
ed 4dee0e6f69 checkpoint: I have to fix try/finally spam by this ai 2026-03-11 21:43:19 -04:00
ed 56f79fd210 refinding (dealing with crashes) 2026-03-11 21:28:19 -04:00
ed 757c96b58e checkping fixing and refining these preset managers 2026-03-11 21:18:45 -04:00
ed 44fd370167 more refinement 2026-03-11 21:11:13 -04:00
ed b5007ce96f gui_2.py persona/prompt/tool preset menu refinement 2026-03-11 21:02:12 -04:00
ed 072c6e66bd lingering edit 2026-03-11 20:30:32 -04:00
ed 9e51071418 test: Added layout and scaling tests for Preset windows and AI Settings 2026-03-11 20:30:09 -04:00
ed 0944aa1c2d docs(conductor): Synchronize docs for track 'UI/UX Improvements - Presets and AI Settings' 2026-03-11 20:29:54 -04:00
ed 34c9919444 chore(conductor): Mark track 'UI/UX Improvements - Presets and AI Settings' as complete 2026-03-11 20:29:15 -04:00
ed c1ebdc0c6f conductor(plan): Mark phase 'Phase 5: Final Integration and Verification' as complete 2026-03-11 20:28:45 -04:00
ed e0d441ceae conductor(plan): Mark phase 'Phase 5: Final Integration and Verification' as complete 2026-03-11 20:28:30 -04:00
ed 9133358c40 conductor(plan): Mark phase 'Phase 4: Tool Management (MCP) Refinement' as complete 2026-03-11 20:27:50 -04:00
ed f21f22e48f feat(ui): Improved tool list rendering and added category filtering 2026-03-11 20:27:33 -04:00
ed 97ecd709a9 conductor(plan): Mark phase 'Phase 3: AI Settings Overhaul' as complete 2026-03-11 20:22:29 -04:00
ed 09902701b4 feat(ui): AI Settings Overhaul - added dual sliders for model params including top_p 2026-03-11 20:22:06 -04:00
ed 55475b80e7 conductor(plan): Mark phase 'Phase 2: Preset Windows Layout & Scaling' as complete 2026-03-11 20:12:44 -04:00
ed 84ec24e866 feat(ui): Improved resize policies and added dual controls for Preset windows 2026-03-11 20:12:27 -04:00
ed 1a01e3f112 conductor(plan): Mark phase 'Phase 1: Research and Layout Audit' as complete 2026-03-11 19:52:48 -04:00
ed db1f74997c chore(conductor): Add new track 'Undo/Redo History Support' 2026-03-11 19:45:55 -04:00
ed b469abef8f chore(conductor): Add new tracks for 'Session Context Snapshots' and 'Discussion Takes' 2026-03-11 19:29:22 -04:00
ed 03d81f61be chore(conductor): Add new track 'UI/UX Improvements - Presets and AI Settings' 2026-03-11 19:06:26 -04:00
ed 9b6d16b4e0 update progress snapshot 2026-03-11 00:38:21 -04:00
ed 847096d192 checkpoint done with ux refinement for the night 2026-03-11 00:32:35 -04:00
ed 7ee50f979a fix(gui): fix tool presets and biases panel and cache analytics section layout 2026-03-11 00:25:04 -04:00
ed 3870bf086c refactor(gui): redesign ai settings layout and fix model fetching sync 2026-03-11 00:18:45 -04:00
ed 747b810fe1 refactor(gui): redesign AI settings and usage analytics UI 2026-03-11 00:07:11 -04:00
ed 3ba05b8a6a refactor(gui): improve persona preferred models UI and remove embedded preset managers 2026-03-10 23:50:29 -04:00
ed 94598b605a checkpoint dealing with personal manager/editor 2026-03-10 23:47:53 -04:00
ed 26e03d2c9f refactor(gui): redesign persona modal as non-blocking window and embed sub-managers 2026-03-10 23:28:20 -04:00
ed 6da3d95c0e refactor(gui): redesign persona editor UI and replace popup modals with standard windows 2026-03-10 23:21:14 -04:00
ed 6ae8737c1a fix bug 2026-03-10 22:54:24 -04:00
ed 92e7352d37 feat(gui): implement persona manager two-pane layout and dynamic model preference list 2026-03-10 22:45:35 -04:00
ed ca8e33837b refactor(gui): streamline preset manager and improve tool bias ui 2026-03-10 22:29:43 -04:00
ed fa5ead2c69 docs(conductor): Synchronize docs for track 'Agent Personas: Unified Profiles & Tool Presets' 2026-03-10 21:28:05 -04:00
ed 67a269b05d test: align tests with new Persona system 2026-03-10 21:26:31 -04:00
ed ee3a811cc9 fix(gui): render persona editor modal correctly and align with Persona model attributes 2026-03-10 21:24:57 -04:00
ed 6b587d76a7 fix(gui): render persona editor modal correctly and align with Persona model attributes 2026-03-10 21:20:05 -04:00
ed 340be86509 chore(conductor): Archive track 'opencode_config_overhaul_20260310' 2026-03-10 21:09:18 -04:00
ed cd21519506 conductor(plan): Mark task 'Apply review suggestions' as complete 2026-03-10 21:08:11 -04:00
ed 8c5b5d3a9a fix(conductor): Apply review suggestions for track 'opencode_config_overhaul_20260310' 2026-03-10 21:07:50 -04:00
ed f5ea0de68f conductor(track): Complete OpenCode Configuration Overhaul
- Updated metadata.json status to completed
- Fixed corrupted plan.md (was damaged by earlier loop)
- Cleaned up duplicate Goal line in tracks.md

Checkpoint: 02abfc4
2026-03-10 17:29:17 -04:00
ed f7ce8e38a8 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	conductor/tracks/opencode_config_overhaul_20260310/plan.md
2026-03-10 13:21:56 -04:00
ed 107afd85bc conductor(tracks): Mark track complete 2026-03-10 13:12:26 -04:00
ed 050eabfc55 conductor(track): OpenCode Configuration Overhaul complete [02abfc4] 2026-03-10 13:09:20 -04:00
ed b7e31b8716 conductor(plan): Mark phase 1 complete 2026-03-10 13:03:13 -04:00
ed c272f1256f conductor(tracks): Add OpenCode Configuration Overhaul track 2026-03-10 13:02:16 -04:00
ed 02abfc410a fix(opencode): Remove step limits, disable auto-compaction, raise temperatures, expand MMA tier commands
- Remove steps limits from all 6 agent files
- Disable auto-compaction (auto: false, prune: false)
- Raise temperatures (tier1: 0.5, tier2: 0.4, tier3: 0.3, tier4: 0.2, general: 0.3, explore: 0.2)
- Add Context Management sections to tier1/tier2
- Add Pre-Delegation Checkpoint to tier2
- Expand all 4 MMA tier commands with full protocol documentation
2026-03-10 13:00:44 -04:00
ed e0a69154ad Add track to fix up opencode further cause the setup is terrible 2026-03-10 12:50:27 -04:00
ed e3d5e0ed2e ai botched the agent personal track. needs a redo by gemini 3.1 2026-03-10 12:30:09 -04:00
ed 478d91a6e1 chore: Mark Agent Personas track as complete 2026-03-10 11:25:42 -04:00
ed fb3cb1ecca feat(personas): Implement Preferred Model Sets and Linked Tool Preset resolution 2026-03-10 11:25:12 -04:00
ed 07bc86e13e conductor(plan): Mark Phase 2 and 3 as complete for Agent Personas 2026-03-10 11:16:22 -04:00
ed 523cf31f76 feat(personas): Add Persona selector to AI Settings panel and PersonaManager init 2026-03-10 11:15:33 -04:00
ed 7ae99f2bc3 feat(personas): Add persona_id support to Ticket/WorkerContext and ConductorEngine 2026-03-10 11:09:11 -04:00
ed 41a40aaa68 phase 2 checkpoint 2026-03-10 10:42:24 -04:00
ed 8116f4ea94 docs(conductor): Synchronize docs for track 'Agent Tool Preference & Bias Tuning' 2026-03-10 10:26:38 -04:00
ed 0e56e805ab chore(conductor): Mark track 'Agent Tool Preference & Bias Tuning' as complete 2026-03-10 10:25:48 -04:00
ed 24a4051271 conductor(plan): Mark Phase 4 of Tool Bias Tuning as complete 2026-03-10 10:25:25 -04:00
ed 85ae4094cb test(bias): add efficacy simulation tests and enhance strategy labels 2026-03-10 10:25:09 -04:00
ed 12514ceb28 conductor(plan): Mark Phase 3 of Tool Bias Tuning as complete 2026-03-10 10:24:26 -04:00
ed 1c83b3e519 feat(bias): implement GUI integration for tool weights and bias profiles 2026-03-10 10:24:02 -04:00
ed 6021f84b05 conductor(plan): Mark Phase 2 of Tool Bias Tuning as complete 2026-03-10 09:54:15 -04:00
ed cad04bfbfc feat(bias): implement ToolBiasEngine and integrate into ai_client orchestration loop 2026-03-10 09:53:59 -04:00
ed ddc148ca4e conductor(plan): Mark Phase 1 of Tool Bias Tuning as complete 2026-03-10 09:30:23 -04:00
ed 77a0b385d5 feat(bias): implement data models and storage for tool weighting and bias profiles 2026-03-10 09:27:12 -04:00
ed ee19cc1d2a ok 2026-03-10 01:33:49 -04:00
ed f213d37287 fix(gui): Ensure all tools are visible in Tool Preset Manager 2026-03-10 01:30:11 -04:00
ed dcc13efaf7 chore(conductor): Mark track 'Saved Tool Presets' as complete 2026-03-10 01:23:57 -04:00
ed 5f208684db Merge remote-tracking branch 'origin/master'
# Conflicts:
#	conductor/tracks.md
2026-03-10 00:24:41 -04:00
ed f83909372d new csharp support track 2026-03-10 00:24:03 -04:00
ed 378861d073 chore(conductor): Add new track 'Advanced Workspace Docking & Layout Profiles' 2026-03-10 00:23:03 -04:00
ed fa0e4a761b chore(conductor): Add language support tracks (Lua and GDScript) 2026-03-10 00:20:41 -04:00
ed fe93cd347e chore(conductor): Add new track 'Tree-Sitter Lua MCP Tools' 2026-03-10 00:18:12 -04:00
ed ee15d8f132 chore(conductor): Add new track 'Advanced Workspace Docking & Layout Profiles' 2026-03-10 00:12:10 -04:00
ed f501158574 chore(conductor): Add new track 'Test Harness Hardening' 2026-03-10 00:07:21 -04:00
ed bed131c4bf chore(conductor): Add new track 'Agent Personas: Unified Profiles & Tool Presets' 2026-03-09 23:59:11 -04:00
ed 73f6be789a chore(conductor): Add new track 'Beads Mode Integration' 2026-03-09 23:53:02 -04:00
ed 3e531980d4 feat(mma): Consolidate Agent Streams into MMA Dashboard with popout options 2026-03-09 23:39:02 -04:00
ed 322f42db74 style(ops): Refine Usage Analytics layout with section titles and separators 2026-03-09 23:34:08 -04:00
ed 8a83d22967 feat(ops): Consolidate usage analytics into Operations Hub with popout option 2026-03-09 23:25:06 -04:00
ed 66844e8368 feat(mma): Implement Pop Out Task DAG option in MMA Dashboard 2026-03-09 23:16:02 -04:00
ed 178a694e2a fix(conductor): Resolve FileExistsError and harden Preset Manager modal 2026-03-09 22:59:22 -04:00
ed 451d19126f docs(conductor): Update upcoming track specs with Persona consolidation notes 2026-03-09 22:53:23 -04:00
ed 9323983881 docs(conductor): Add debrief for Saved System Prompt Presets 2026-03-09 22:51:55 -04:00
ed cd3b0ff277 docs(conductor): Synchronize docs for track 'Saved System Prompt Presets' 2026-03-09 22:37:19 -04:00
ed 95381c258c chore(conductor): Mark track 'Saved System Prompt Presets' as complete 2026-03-09 22:35:52 -04:00
ed e2a403a187 checkpoint(Saved system prompt presets) 2026-03-09 22:27:40 -04:00
ed d8a4ec121d tracks 2026-03-09 21:47:35 -04:00
ed 5cd49290fe chore(conductor): Add new track 'Expanded Test Coverage and Stress Testing' 2026-03-09 21:45:45 -04:00
ed fe0f349c12 chore(conductor): Add new track 'Custom Shader and Window Frame Support' 2026-03-09 21:37:57 -04:00
ed e3fd58a0c8 feat(theme): Enhance CRTFilter with CRT-Lottes inspired effects 2026-03-09 01:34:22 -04:00
ed cbccbb7229 nerv 2026-03-09 01:33:54 -04:00
ed 710e95055e chore(conductor): Archive track 'NERV UI Theme Integration' 2026-03-09 01:20:30 -04:00
ed e635c2925d feat(theme): Implement comprehensive CRT Filter (scanlines, vignette, noise) 2026-03-09 01:19:16 -04:00
ed 9facecb7a5 feat(theme): Refine NERV palette contrast and readability 2026-03-09 01:13:23 -04:00
ed 4ae606928e docs(conductor): Synchronize docs for track 'NERV UI Theme Integration' 2026-03-09 01:01:25 -04:00
ed 8d79faa22d chore(conductor): Mark track 'NERV UI Theme Integration' as complete 2026-03-09 00:58:36 -04:00
ed afcb1bf758 feat(theme): Integrate NERV theme and visual effects into main GUI 2026-03-09 00:58:22 -04:00
ed d9495f6e23 feat(theme): Add Alert Pulsing effect for NERV theme 2026-03-09 00:55:09 -04:00
ed ceb0c7d8a8 conductor(plan): Mark Phase 3 of NERV theme as complete 2026-03-09 00:50:51 -04:00
ed 4f4fa1015c test(theme): Add unit tests for NERV visual effects 2026-03-09 00:50:39 -04:00
ed ccf4d3354a feat(theme): Add NERV visual effects (scanlines, flicker) in src/theme_nerv_fx.py 2026-03-09 00:49:20 -04:00
ed 9c38ea78f9 conductor(plan): Mark Phase 2 of NERV theme as complete 2026-03-09 00:48:06 -04:00
ed de0d9f339e test(theme): Add unit tests for NERV theme colors and geometry 2026-03-09 00:47:55 -04:00
ed 4b78e77e2c conductor(plan): Mark Phase 1 of NERV theme as complete 2026-03-09 00:46:17 -04:00
ed 3fa4f64e53 feat(theme): Create NERV theme infrastructure in src/theme_nerv.py 2026-03-09 00:40:03 -04:00
ed 317f8330de chore(conductor): Add new track 'NERV UI Theme Integration' 2026-03-09 00:36:00 -04:00
ed 80eaf740da spicyv 2026-03-09 00:27:43 -04:00
ed 5446a2407c feat(ui): Improve text rendering clarity with 3x font oversampling 2026-03-09 00:13:57 -04:00
ed fde0f29e72 ok 2026-03-08 23:24:33 -04:00
ed bfbcfcc2af fonts 2026-03-08 23:24:13 -04:00
ed 502a47fd92 docs(conductor): Synchronize docs for track 'Markdown Support & Syntax Highlighting' 2026-03-08 23:17:00 -04:00
ed 5f0168c4f2 feat(ui): Integrate imgui_markdown and professional fonts for rich text rendering 2026-03-08 23:07:42 -04:00
ed e802c6675f docs(conductor): Synchronize docs for track 'UI Theme Overhaul & Style System' 2026-03-08 22:53:46 -04:00
ed 5efd775299 conductor(checkpoint): Checkpoint end of Phase 4 2026-03-08 22:13:01 -04:00
ed 8f1a77974c conductor(plan): Mark Phase 4 tasks as complete 2026-03-08 22:12:00 -04:00
ed 429bb9242c feat(ui): Implement Multi-Viewport and UI Layout Presets management 2026-03-08 22:11:22 -04:00
ed 49a1c30a85 conductor(checkpoint): Checkpoint end of Phase 3 2026-03-08 22:05:00 -04:00
ed 931b4cf362 conductor(plan): Mark Phase 3 tasks as complete 2026-03-08 22:02:16 -04:00
ed 0b49b3ad39 feat(ui): Implement custom UI shaders for soft shadows and glass effects 2026-03-08 22:01:42 -04:00
ed c84a6d7dfc conductor(plan): Mark phase 'Phase 2: Professional Style & Theming' as complete 2026-03-08 21:57:05 -04:00
ed 7f418faa7c conductor(checkpoint): Checkpoint end of Phase 2 2026-03-08 21:56:35 -04:00
ed 9e20123079 conductor(plan): Mark Phase 2 tasks as complete 2026-03-08 21:56:05 -04:00
ed 59e14533f6 feat(ui): Implement Subtle Rounding professional theme 2026-03-08 21:55:35 -04:00
ed c6dd055da8 fix(ui): Correct font asset loading paths for test workspace isolation 2026-03-08 21:52:35 -04:00
ed 605b2ac024 conductor(plan): Mark phase 'Phase 1: Research & Typography' as complete 2026-03-08 21:49:22 -04:00
ed d613e5efa7 conductor(checkpoint): Checkpoint end of Phase 1 2026-03-08 21:48:51 -04:00
ed d82d919599 conductor(plan): Mark task 'Implement Professional Typography' as complete 2026-03-08 21:47:52 -04:00
ed b1d612e19f feat(ui): Integrate Inter and Maple Mono typography 2026-03-08 21:47:23 -04:00
ed 1ba321668b docs(conductor): Refine Log Management and Diagnostics documentation 2026-03-08 21:43:34 -04:00
ed 4bcc9dda06 feat(ui): Revert Diagnostics to standalone panel and simplify Log Management 2026-03-08 21:42:58 -04:00
ed 08958ed8d4 docs(conductor): Synchronize docs for track 'Selectable GUI Text & UX Improvements' 2026-03-08 21:38:29 -04:00
ed a5afe7bd14 chore(conductor): Mark track 'Selectable GUI Text & UX Improvements' as complete 2026-03-08 21:37:58 -04:00
ed b8ec984836 conductor(plan): Mark all tasks as complete for Selectable GUI Text 2026-03-08 21:37:44 -04:00
ed e34a2e6355 feat(ui): Implement selectable text across primary GUI panels 2026-03-08 21:37:22 -04:00
ed 74737ac9c7 fix(core): Anchor config.toml path to manual slop root
This fixes an issue where config.toml was erroneously saved to the current working directory (e.g. project dir) rather than the global manual slop directory.
2026-03-08 21:29:54 -04:00
ed 1d18150570 conductor(plan): Mark Phase 1 as complete 2026-03-08 21:27:18 -04:00
ed ef942bb2a2 feat(ui): Implement _render_selectable_label helper and complete UI audit 2026-03-08 21:26:59 -04:00
ed b7a0c4fa7e conductor(plan): Add PopStyleColor crash fix to plan 2026-03-08 21:20:30 -04:00
ed 27b98ffe1e fix(ui): Prevent PopStyleColor crash by using frame-scoped tint flag 2026-03-08 21:20:13 -04:00
ed a6f7f82f02 conductor(plan): Add session restoration hardening to plan 2026-03-08 21:17:46 -04:00
ed bbe0209403 feat(logs): Harden session restoration for legacy logs and offloaded data resolution 2026-03-08 21:17:27 -04:00
ed 3489b3c4b8 docs(conductor): Synchronize docs for track 'Advanced Log Management and Session Restoration' 2026-03-08 21:13:42 -04:00
ed 91949575a7 chore(conductor): Mark track 'Advanced Log Management and Session Restoration' as complete 2026-03-08 21:10:57 -04:00
ed b78682dfff conductor(plan): Mark all tasks as complete 2026-03-08 21:10:46 -04:00
ed c3e0cb3243 feat(logs): Improve MMA log visibility and filtering 2026-03-08 21:10:26 -04:00
ed 8e02c1ecec feat(logs): Implement Diagnostic Tab and clean up discussion history 2026-03-08 21:07:49 -04:00
ed f9364e173e conductor(plan): Mark Phase 2 as complete 2026-03-08 21:03:58 -04:00
ed 1b3fc5ba2f feat(logs): Implement session restoration and historical replay mode 2026-03-08 21:03:37 -04:00
ed 1e4eaf25d8 chore(conductor): Add new track 'Codebase Audit and Cleanup' 2026-03-08 20:59:17 -04:00
ed 72bb2cec68 feat(ui): Relocate 'Load Log' button to Log Management panel 2026-03-08 20:54:49 -04:00
ed 4c056fec03 conductor(plan): Mark Phase 1 as complete 2026-03-08 20:53:26 -04:00
ed de5b152c1e conductor(checkpoint): Checkpoint end of Phase 1: Storage Optimization 2026-03-08 20:53:13 -04:00
ed 7063bead12 feat(logs): Implement file-based offloading for scripts and tool outputs 2026-03-08 20:51:27 -04:00
ed 07b0f83794 chore(conductor): Add new track 'Expanded Hook API & Headless Orchestration' 2026-03-08 14:16:56 -04:00
ed c766954c52 chore(conductor): Add new track 'Agent Tool Preference & Bias Tuning' 2026-03-08 14:09:06 -04:00
ed 20f5c34c4b chore(conductor): Add new track 'RAG Support' 2026-03-08 14:04:18 -04:00
ed fbee82e6d7 chore(conductor): Add new track 'External MCP Server Support' 2026-03-08 14:00:26 -04:00
ed 235b369d15 chore(conductor): Add per-response metrics requirement to caching optimization track 2026-03-08 13:55:32 -04:00
ed d7083fc73f chore(conductor): Add new track 'AI Provider Caching Optimization' 2026-03-08 13:55:06 -04:00
ed 792352fb5b chore(conductor): Add new track 'Zhipu AI (GLM) Provider Integration' 2026-03-08 13:49:43 -04:00
ed b49be2f059 chore(conductor): Add new track 'OpenAI Provider Integration' 2026-03-08 13:46:38 -04:00
ed 2626516cb9 chore(conductor): Add new track 'Markdown Support & Syntax Highlighting' 2026-03-08 13:41:05 -04:00
ed b9edd55aa5 archive 2026-03-08 13:33:50 -04:00
ed a65f3375ad archive 2026-03-08 13:31:32 -04:00
ed 87c9953b2e chore(conductor): Add new track 'Selectable GUI Text & UX Improvements' 2026-03-08 13:31:05 -04:00
ed 66338b3ba0 archiving tracks 2026-03-08 13:29:53 -04:00
ed b44c0f42cd chore(conductor): Add new track 'External Text Editor Integration for Approvals' 2026-03-08 13:12:27 -04:00
398 changed files with 14979 additions and 1106 deletions
+6 -2
View File
@@ -2,8 +2,7 @@
description: Fast, read-only agent for exploring the codebase structure
mode: subagent
model: MiniMax-M2.5
temperature: 0.0
steps: 8
temperature: 0.2
permission:
edit: deny
bash:
@@ -22,6 +21,7 @@ You are a fast, read-only agent specialized for exploring codebases. Use this wh
You MUST use Manual Slop's MCP tools. Native OpenCode tools are unreliable.
### Read-Only MCP Tools (USE THESE)
| Native Tool | MCP Tool |
|-------------|----------|
| `read` | `manual-slop_read_file` |
@@ -34,12 +34,14 @@ You MUST use Manual Slop's MCP tools. Native OpenCode tools are unreliable.
| - | `manual-slop_get_tree` (directory structure) |
## Capabilities
- Find files by name patterns or glob
- Search code content with regex
- Navigate directory structures
- Summarize file contents
## Limitations
- **READ-ONLY**: Cannot modify any files
- **NO EXECUTION**: Cannot run tests or scripts
- **EXPLORATION ONLY**: Use for discovery, not implementation
@@ -62,7 +64,9 @@ Use: `manual-slop_get_tree` or `manual-slop_list_directory`
Use: `manual-slop_get_file_summary` for heuristic summary
## Report Format
Return concise findings with file:line references:
```
## Findings
+14 -2
View File
@@ -2,8 +2,7 @@
description: General-purpose agent for researching complex questions and executing multi-step tasks
mode: subagent
model: MiniMax-M2.5
temperature: 0.2
steps: 15
temperature: 0.3
---
A general-purpose agent for researching complex questions and executing multi-step tasks. Has full tool access (except todo), so it can make file changes when needed.
@@ -13,6 +12,7 @@ A general-purpose agent for researching complex questions and executing multi-st
You MUST use Manual Slop's MCP tools. Native OpenCode tools are unreliable.
### Read MCP Tools (USE THESE)
| Native Tool | MCP Tool |
|-------------|----------|
| `read` | `manual-slop_read_file` |
@@ -26,6 +26,7 @@ You MUST use Manual Slop's MCP tools. Native OpenCode tools are unreliable.
| - | `manual-slop_get_tree` (directory structure) |
### Edit MCP Tools (USE THESE)
| Native Tool | MCP Tool |
|-------------|----------|
| `edit` | `manual-slop_edit_file` (find/replace, preserves indentation) |
@@ -35,11 +36,13 @@ You MUST use Manual Slop's MCP tools. Native OpenCode tools are unreliable.
| `edit` | `manual-slop_py_set_var_declaration` (replace variable) |
### Shell Commands
| Native Tool | MCP Tool |
|-------------|----------|
| `bash` | `manual-slop_run_powershell` |
## Capabilities
- Research and answer complex questions
- Execute multi-step tasks autonomously
- Read and write files as needed
@@ -47,13 +50,22 @@ You MUST use Manual Slop's MCP tools. Native OpenCode tools are unreliable.
- Coordinate multiple operations
## When to Use
- Complex research requiring multiple file reads
- Multi-step implementation tasks
- Tasks requiring autonomous decision-making
- Parallel execution of related operations
## Code Style (for Python)
- 1-space indentation
- NO COMMENTS unless explicitly requested
- Type hints where appropriate
## Report Format
Return detailed findings with evidence:
```
## Task: [Original task]
+18 -7
View File
@@ -2,8 +2,7 @@
description: Tier 1 Orchestrator for product alignment, high-level planning, and track initialization
mode: primary
model: MiniMax-M2.5
temperature: 0.4
steps: 50
temperature: 0.5
permission:
edit: ask
bash:
@@ -17,6 +16,12 @@ STRICT SYSTEM DIRECTIVE: You are a Tier 1 Orchestrator.
Focused on product alignment, high-level planning, and track initialization.
ONLY output the requested text. No pleasantries.
## Context Management
**MANUAL COMPACTION ONLY** — Never rely on automatic context summarization.
Use `/compact` command explicitly when context needs reduction.
Preserve full context during track planning and spec creation.
## CRITICAL: MCP Tools Only (Native Tools Banned)
You MUST use Manual Slop's MCP tools. Native OpenCode tools are unreliable.
@@ -69,7 +74,7 @@ Before ANY other action:
Read at session start:
- All immediate files in ./conductor, a listing of all direcotires within ./conductor/tracks, ./conductor/archive.
- All immediate files in ./conductor, a listing of all directories within ./conductor/tracks, ./conductor/archive.
- All docs in ./docs
- AST Skeleton summaries of: ./src, ./simulation, ./tests, ./scripts python files.
@@ -90,7 +95,7 @@ When planning tracks that touch core systems, consult the deep-dive docs:
- Set up the project environment (`/conductor-setup`)
- Delegate track execution to the Tier 2 Tech Lead
## The Surgical Methodology
## The Surgical Methodology (MANDATORY)
### 1. MANDATORY: Audit Before Specifying
@@ -100,10 +105,16 @@ Use `manual-slop_py_get_code_outline`, `manual-slop_py_get_definition`,
Document existing implementations with file:line references in a
"Current State Audit" section in the spec.
**FAILURE TO AUDIT = TRACK FAILURE** — Previous tracks failed because specs
asked to implement features that already existed.
### 2. Identify Gaps, Not Features
Frame requirements around what's MISSING relative to what exists.
GOOD: "The existing `_render_mma_dashboard` (gui_2.py:2633-2724) has a token usage table but no cost column."
BAD: "Build a metrics dashboard with token and cost tracking."
### 3. Write Worker-Ready Tasks
Each plan task must be executable by a Tier 3 worker:
@@ -162,6 +173,6 @@ Focus: {One-sentence scope}
- Do NOT batch commits - commit per-task
- Do NOT skip phase verification
- Do NOT use native `edit` tool - use MCP tools
- DO NOT SKIP A TEST IN PYTEST JUSTS BECAUSE ITS BROKEN AND HAS NO TRIVIAL SOLUTION OR FIX.
- DO NOT SIMPLIFY A TEST JUST BECAUSE IT HAS NO TRIVAL SOLUTION TO FIX.
- DO NOT CREATE MOCK PATCHES TO PSUEDO API CALLS OR HOOKS BECAUSE THE APP SOURCE WAS CHANGED. ADAPT TESTS PROPERLY.
- DO NOT SKIP A TEST IN PYTEST JUST BECAUSE ITS BROKEN AND HAS NO TRIVIAL SOLUTION OR FIX.
- DO NOT SIMPLIFY A TEST JUST BECAUSE IT HAS NO TRIVIAL SOLUTION TO FIX.
- DO NOT CREATE MOCK PATCHES TO PSEUDO API CALLS OR HOOKS BECAUSE THE APP SOURCE WAS CHANGED. ADAPT TESTS PROPERLY.
+27 -10
View File
@@ -1,9 +1,7 @@
---
description: Tier 2 Tech Lead for architectural design and track execution with persistent memory
mode: primary
model: MiniMax-M2.5
temperature: 0.2
steps: 100
temperature: 0.4
permission:
edit: ask
bash: ask
@@ -13,6 +11,12 @@ STRICT SYSTEM DIRECTIVE: You are a Tier 2 Tech Lead.
Focused on architectural design and track execution.
ONLY output the requested text. No pleasantries.
## Context Management
**MANUAL COMPACTION ONLY** Never rely on automatic context summarization.
Use `/compact` command explicitly when context needs reduction.
You maintain PERSISTENT MEMORY throughout track execution do NOT apply Context Amnesia to your own session.
## CRITICAL: MCP Tools Only (Native Tools Banned)
You MUST use Manual Slop's MCP tools. Native OpenCode tools are unreliable.
@@ -84,6 +88,16 @@ Before ANY other action:
3. Delegate to Tier 3 via Task tool
4. Verify result
## Pre-Delegation Checkpoint (MANDATORY)
Before delegating ANY dangerous or non-trivial change to Tier 3:
```powershell
git add .
```
**WHY**: If a Tier 3 Worker fails or incorrectly runs `git restore`, you will lose ALL prior AI iterations for that file if it wasn't staged/committed.
## Architecture Fallback
When implementing tracks that touch core systems, consult the deep-dive docs:
@@ -92,6 +106,7 @@ When implementing tracks that touch core systems, consult the deep-dive docs:
- `docs/guide_tools.md`: MCP Bridge security, 26-tool inventory, Hook API endpoints
- `docs/guide_mma.md`: Ticket/Track data structures, DAG engine, ConductorEngine
- `docs/guide_simulations.md`: live_gui fixture, Puppeteer pattern, mock provider
- `docs/guide_meta_boundary.md`: Clarification of ai agent tools making the application vs the application itself.
## Responsibilities
@@ -114,16 +129,18 @@ Before implementing:
### 2. Red Phase: Write Failing Tests
- Pre-delegation checkpoint: Stage current progress (`git add .`)
- **Pre-delegation checkpoint**: Stage current progress (`git add .`)
- Zero-assertion ban: Tests MUST have meaningful assertions
- Delegate test creation to Tier 3 Worker via Task tool
- Run tests and confirm they FAIL as expected
- **CONFIRM FAILURE** this is the Red phase
### 3. Green Phase: Implement to Pass
- Pre-delegation checkpoint: Stage current progress
- **Pre-delegation checkpoint**: Stage current progress (`git add .`)
- Delegate implementation to Tier 3 Worker via Task tool
- Run tests and confirm they PASS
- **CONFIRM PASS** this is the Green phase
### 4. Refactor Phase (Optional)
@@ -134,12 +151,12 @@ Before implementing:
After completing each task:
1. Stage changes: `git add .`
1. Stage changes: `manual-slop_run_powershell` with `git add .`
2. Commit with clear message: `feat(scope): description`
3. Get commit hash: `git log -1 --format="%H"`
4. Attach git note: `git notes add -m "summary" <hash>`
5. Update plan.md: Mark task `[x]` with commit SHA
6. Commit plan update
6. Commit plan update: `git add plan.md && git commit -m "conductor(plan): Mark task complete"`
## Delegation via Task Tool
@@ -193,6 +210,6 @@ When all tasks in a phase are complete:
- Do NOT batch commits - commit per-task
- Do NOT skip phase verification
- Do NOT use native `edit` tool - use MCP tools
- DO NOT SKIP A TEST IN PYTEST JUSTS BECAUSE ITS BROKEN AND HAS NO TRIVIAL SOLUTION OR FIX.
- DO NOT SIMPLIFY A TEST JUST BECAUSE IT HAS NO TRIVAL SOLUTION TO FIX.
- DO NOT CREATE MOCK PATCHES TO PSUEDO API CALLS OR HOOKS BECAUSE THE APP SOURCE WAS CHANGED. ADAPT TESTS PROPERLY.
- DO NOT SKIP A TEST IN PYTEST JUST BECAUSE ITS BROKEN AND HAS NO TRIVIAL SOLUTION OR FIX.
- DO NOT SIMPLIFY A TEST JUST BECAUSE IT HAS NO TRIVIAL SOLUTION TO FIX.
- DO NOT CREATE MOCK PATCHES TO PSEUDO API CALLS OR HOOKS BECAUSE THE APP SOURCE WAS CHANGED. ADAPT TESTS PROPERLY.
+29 -13
View File
@@ -2,8 +2,7 @@
description: Stateless Tier 3 Worker for surgical code implementation and TDD
mode: subagent
model: MiniMax-M2.5
temperature: 0.1
steps: 20
temperature: 0.3
permission:
edit: allow
bash: allow
@@ -13,11 +12,17 @@ STRICT SYSTEM DIRECTIVE: You are a stateless Tier 3 Worker (Contributor).
Your goal is to implement specific code changes or tests based on the provided task.
Follow TDD and return success status or code changes. No pleasantries, no conversational filler.
## Context Amnesia
You operate statelessly. Each task starts fresh with only the context provided.
Do not assume knowledge from previous tasks or sessions.
## CRITICAL: MCP Tools Only (Native Tools Banned)
You MUST use Manual Slop's MCP tools. Native OpenCode tools are unreliable.
### Read MCP Tools (USE THESE)
| Native Tool | MCP Tool |
|-------------|----------|
| `read` | `manual-slop_read_file` |
@@ -30,6 +35,7 @@ You MUST use Manual Slop's MCP tools. Native OpenCode tools are unreliable.
| - | `manual-slop_get_file_slice` (read specific line range) |
### Edit MCP Tools (USE THESE - BAN NATIVE EDIT)
| Native Tool | MCP Tool |
|-------------|----------|
| `edit` | `manual-slop_edit_file` (find/replace, preserves indentation) |
@@ -39,17 +45,15 @@ You MUST use Manual Slop's MCP tools. Native OpenCode tools are unreliable.
| `edit` | `manual-slop_py_set_var_declaration` (replace variable) |
### Shell Commands
| Native Tool | MCP Tool |
|-------------|----------|
| `bash` | `manual-slop_run_powershell` |
## Context Amnesia
You operate statelessly. Each task starts fresh with only the context provided.
Do not assume knowledge from previous tasks or sessions.
## Task Start Checklist (MANDATORY)
Before implementing:
1. [ ] Read task prompt - identify WHERE/WHAT/HOW/SAFETY
2. [ ] Use skeleton tools for files >50 lines (`manual-slop_py_get_skeleton`, `manual-slop_get_file_summary`)
3. [ ] Verify target file and line range exists
@@ -58,19 +62,24 @@ Before implementing:
## Task Execution Protocol
### 1. Understand the Task
Read the task prompt carefully. It specifies:
- **WHERE**: Exact file and line range to modify
- **WHAT**: The specific change required
- **HOW**: Which API calls, patterns, or data structures to use
- **SAFETY**: Thread-safety constraints if applicable
### 2. Research (If Needed)
Use MCP tools to understand the context:
- `manual-slop_read_file` - Read specific file sections
- `manual-slop_py_find_usages` - Search for patterns
- `manual-slop_search_files` - Find files by pattern
### 3. Implement
- Follow the exact specifications provided
- Use the patterns and APIs specified in the task
- Use 1-space indentation for Python code
@@ -78,31 +87,39 @@ Use MCP tools to understand the context:
- Use type hints where appropriate
### 4. Verify
- Run tests if specified: `manual-slop_run_powershell` with `uv run pytest ...`
- Check for syntax errors: `manual-slop_py_check_syntax`
- Verify the change matches the specification
### 5. Report
Return a concise summary:
- What was changed
- Where it was changed
- Any issues encountered
## Code Style Requirements
- **NO COMMENTS** unless explicitly requested
- 1-space indentation for Python code
- Type hints where appropriate
- Internal methods/variables prefixed with underscore
## Quality Checklist
Before reporting completion:
- [ ] Change matches the specification exactly
- [ ] No unintended modifications
- [ ] No syntax errors
- [ ] Tests pass (if applicable)
## Blocking Protocol
If you cannot complete the task:
1. Start your response with `BLOCKED:`
2. Explain exactly why you cannot proceed
3. List what information or changes would unblock you
@@ -110,11 +127,10 @@ If you cannot complete the task:
## Anti-Patterns (Avoid)
- Do NOT implement code directly - delegate to Tier 3 Workers
- Do NOT skip TDD phases
- Do NOT batch commits - commit per-task
- Do NOT skip phase verification
- Do NOT use native `edit` tool - use MCP tools
- DO NOT SKIP A TEST IN PYTEST JUSTS BECAUSE ITS BROKEN AND HAS NO TRIVIAL SOLUTION OR FIX.
- DO NOT SIMPLIFY A TEST JUST BECAUSE IT HAS NO TRIVAL SOLUTION TO FIX.
- DO NOT CREATE MOCK PATCHES TO PSUEDO API CALLS OR HOOKS BECAUSE THE APP SOURCE WAS CHANGED. ADAPT TESTS PROPERLY.
- Do NOT read full large files - use skeleton tools first
- Do NOT add comments unless requested
- Do NOT modify files outside the specified scope
- DO NOT SKIP A TEST IN PYTEST JUST BECAUSE ITS BROKEN AND HAS NO TRIVIAL SOLUTION OR FIX.
- DO NOT SIMPLIFY A TEST JUST BECAUSE IT HAS NO TRIVIAL SOLUTION TO FIX.
- DO NOT CREATE MOCK PATCHES TO PSEUDO API CALLS OR HOOKS BECAUSE THE APP SOURCE WAS CHANGED. ADAPT TESTS PROPERLY.
+22 -13
View File
@@ -2,8 +2,7 @@
description: Stateless Tier 4 QA Agent for error analysis and diagnostics
mode: subagent
model: MiniMax-M2.5
temperature: 0.0
steps: 5
temperature: 0.2
permission:
edit: deny
bash:
@@ -17,11 +16,17 @@ STRICT SYSTEM DIRECTIVE: You are a stateless Tier 4 QA Agent.
Your goal is to analyze errors, summarize logs, or verify tests.
ONLY output the requested analysis. No pleasantries.
## Context Amnesia
You operate statelessly. Each analysis starts fresh.
Do not assume knowledge from previous analyses or sessions.
## CRITICAL: MCP Tools Only (Native Tools Banned)
You MUST use Manual Slop's MCP tools. Native OpenCode tools are unreliable.
### Read-Only MCP Tools (USE THESE)
| Native Tool | MCP Tool |
|-------------|----------|
| `read` | `manual-slop_read_file` |
@@ -35,17 +40,15 @@ You MUST use Manual Slop's MCP tools. Native OpenCode tools are unreliable.
| - | `manual-slop_get_file_slice` (read specific line range) |
### Shell Commands
| Native Tool | MCP Tool |
|-------------|----------|
| `bash` | `manual-slop_run_powershell` |
## Context Amnesia
You operate statelessly. Each analysis starts fresh.
Do not assume knowledge from previous analyses or sessions.
## Analysis Start Checklist (MANDATORY)
Before analyzing:
1. [ ] Read error output/test failure completely
2. [ ] Identify affected files from traceback
3. [ ] Use skeleton tools for files >50 lines (`manual-slop_py_get_skeleton`)
@@ -54,16 +57,20 @@ Before analyzing:
## Analysis Protocol
### 1. Understand the Error
Read the provided error output, test failure, or log carefully.
### 2. Investigate
Use MCP tools to understand the context:
- `manual-slop_read_file` - Read relevant source files
- `manual-slop_py_find_usages` - Search for related patterns
- `manual-slop_search_files` - Find related files
- `manual-slop_get_git_diff` - Check recent changes
### 3. Root Cause Analysis
Provide a structured analysis:
```
@@ -86,28 +93,30 @@ Provide a structured analysis:
```
## Limitations
- **READ-ONLY**: Do NOT modify any files
- **ANALYSIS ONLY**: Do NOT implement fixes
- **NO ASSUMPTIONS**: Base analysis only on provided context and tool output
## Quality Checklist
- [ ] Analysis is based on actual code/file content
- [ ] Root cause is specific, not generic
- [ ] Evidence includes file:line references
- [ ] Recommendations are actionable but not implemented
## Blocking Protocol
If you cannot analyze the error:
1. Start your response with `CANNOT ANALYZE:`
2. Explain what information is missing
3. List what would be needed to complete the analysis
## Anti-Patterns (Avoid)
- Do NOT implement code directly - delegate to Tier 3 Workers
- Do NOT skip TDD phases
- Do NOT batch commits - commit per-task
- Do NOT skip phase verification
- DO NOT SKIP A TEST IN PYTEST JUSTS BECAUSE ITS BROKEN AND HAS NO TRIVIAL SOLUTION OR FIX.
- DO NOT SIMPLIFY A TEST JUST BECAUSE IT HAS NO TRIVAL SOLUTION TO FIX.
- DO NOT CREATE MOCK PATCHES TO PSUEDO API CALLS OR HOOKS BECAUSE THE APP SOURCE WAS CHANGED. ADAPT TESTS PROPERLY.
- Do NOT implement fixes - analysis only
- Do NOT read full large files - use skeleton tools first
- DO NOT SKIP A TEST IN PYTEST JUST BECAUSE ITS BROKEN AND HAS NO TRIVIAL SOLUTION OR FIX.
- DO NOT SIMPLIFY A TEST JUST BECAUSE IT HAS NO TRIVIAL SOLUTION TO FIX.
- DO NOT CREATE MOCK PATCHES TO PSEUDO API CALLS OR HOOKS BECAUSE THE APP SOURCE WAS CHANGED. ADAPT TESTS PROPERLY.
+25 -3
View File
@@ -1,11 +1,33 @@
---
description: Invoke Tier 1 Orchestrator for product alignment and track initialization
description: Invoke Tier 1 Orchestrator for product alignment, high-level planning, and track initialization
agent: tier1-orchestrator
subtask: true
---
$ARGUMENTS
---
Invoke the Tier 1 Orchestrator with the above context. Focus on product alignment, high-level planning, and track initialization. Follow the Surgical Methodology: audit existing code before specifying, identify gaps not features, and write worker-ready tasks.
## Context
You are now acting as Tier 1 Orchestrator.
### Primary Responsibilities
- Product alignment and strategic planning
- Track initialization (`/conductor-new-track`)
- Session setup (`/conductor-setup`)
- Delegate execution to Tier 2 Tech Lead
### The Surgical Methodology (MANDATORY)
1. **AUDIT BEFORE SPECIFYING**: Never write a spec without first reading actual code using MCP tools. Document existing implementations with file:line references.
2. **IDENTIFY GAPS, NOT FEATURES**: Frame requirements around what's MISSING.
3. **WRITE WORKER-READY TASKS**: Each task must specify WHERE/WHAT/HOW/SAFETY.
4. **REFERENCE ARCHITECTURE DOCS**: Link to `docs/guide_*.md` sections.
### Limitations
- READ-ONLY: Do NOT write code or edit files (except track spec/plan/metadata)
- Do NOT execute tracks — delegate to Tier 2
- Do NOT implement features — delegate to Tier 3 Workers
+64 -1
View File
@@ -7,4 +7,67 @@ $ARGUMENTS
---
Invoke the Tier 2 Tech Lead with the above context. Follow TDD protocol (Red -> Green -> Refactor), delegate implementation to Tier 3 Workers, and maintain persistent memory throughout track execution. Commit atomically per-task.
## Context
You are now acting as Tier 2 Tech Lead.
### Primary Responsibilities
- Track execution (`/conductor-implement`)
- Architectural oversight
- Delegate to Tier 3 Workers via Task tool
- Delegate error analysis to Tier 4 QA via Task tool
- Maintain persistent memory throughout track execution
### Context Management
**MANUAL COMPACTION ONLY** — Never rely on automatic context summarization.
You maintain PERSISTENT MEMORY throughout track execution — do NOT apply Context Amnesia to your own session.
### Pre-Delegation Checkpoint (MANDATORY)
Before delegating ANY dangerous or non-trivial change to Tier 3:
```
git add .
```
**WHY**: If a Tier 3 Worker fails or incorrectly runs `git restore`, you will lose ALL prior AI iterations for that file if it wasn't staged/committed.
### TDD Protocol (MANDATORY)
1. **Red Phase**: Write failing tests first — CONFIRM FAILURE
2. **Green Phase**: Implement to pass — CONFIRM PASS
3. **Refactor Phase**: Optional, with passing tests
### Commit Protocol (ATOMIC PER-TASK)
After completing each task:
1. Stage: `git add .`
2. Commit: `feat(scope): description`
3. Get hash: `git log -1 --format="%H"`
4. Attach note: `git notes add -m "summary" <hash>`
5. Update plan.md: Mark `[x]` with SHA
6. Commit plan update: `git add plan.md && git commit -m "conductor(plan): Mark task complete"`
### Delegation Pattern
**Tier 3 Worker** (Task tool):
```
subagent_type: "tier3-worker"
description: "Brief task name"
prompt: |
WHERE: file.py:line-range
WHAT: specific change
HOW: API calls/patterns
SAFETY: thread constraints
Use 1-space indentation.
```
**Tier 4 QA** (Task tool):
```
subagent_type: "tier4-qa"
description: "Analyze failure"
prompt: |
[Error output]
DO NOT fix - provide root cause analysis only.
```
+46 -1
View File
@@ -7,4 +7,49 @@ $ARGUMENTS
---
Invoke the Tier 3 Worker with the above task. Operate statelessly with context amnesia. Implement the specified change exactly as described. Use 1-space indentation for Python code. Do NOT add comments unless requested.
## Context
You are now acting as Tier 3 Worker.
### Key Constraints
- **STATELESS**: Context Amnesia — each task starts fresh
- **MCP TOOLS ONLY**: Use `manual-slop_*` tools, NEVER native tools
- **SURGICAL**: Follow WHERE/WHAT/HOW/SAFETY exactly
- **1-SPACE INDENTATION**: For all Python code
### Task Execution Protocol
1. **Read Task Prompt**: Identify WHERE/WHAT/HOW/SAFETY
2. **Use Skeleton Tools**: For files >50 lines, use `manual-slop_py_get_skeleton` or `manual-slop_get_file_summary`
3. **Implement Exactly**: Follow specifications precisely
4. **Verify**: Run tests if specified via `manual-slop_run_powershell`
5. **Report**: Return concise summary (what, where, issues)
### Edit MCP Tools (USE THESE - BAN NATIVE EDIT)
| Native Tool | MCP Tool |
|-------------|----------|
| `edit` | `manual-slop_edit_file` (find/replace, preserves indentation) |
| `edit` | `manual-slop_py_update_definition` (replace function/class) |
| `edit` | `manual-slop_set_file_slice` (replace line range) |
| `edit` | `manual-slop_py_set_signature` (replace signature only) |
| `edit` | `manual-slop_py_set_var_declaration` (replace variable) |
**CRITICAL**: The native `edit` tool DESTROYS 1-space indentation. ALWAYS use MCP tools.
### Blocking Protocol
If you cannot complete the task:
1. Start response with `BLOCKED:`
2. Explain exactly why you cannot proceed
3. List what information or changes would unblock you
4. Do NOT attempt partial implementations that break the build
### Code Style (Python)
- 1-space indentation
- NO COMMENTS unless explicitly requested
- Type hints where appropriate
- Internal methods/variables prefixed with underscore
+67 -2
View File
@@ -1,5 +1,5 @@
---
description: Invoke Tier 4 QA for error analysis and diagnostics
description: Invoke Tier 4 QA Agent for error analysis
agent: tier4-qa
---
@@ -7,4 +7,69 @@ $ARGUMENTS
---
Invoke the Tier 4 QA Agent with the above context. Analyze errors, summarize logs, or verify tests. Provide root cause analysis with file:line evidence. DO NOT implement fixes - analysis only.
## Context
You are now acting as Tier 4 QA Agent.
### Key Constraints
- **STATELESS**: Context Amnesia — each analysis starts fresh
- **READ-ONLY**: Do NOT modify any files
- **ANALYSIS ONLY**: Do NOT implement fixes
### Read-Only MCP Tools (USE THESE)
| Native Tool | MCP Tool |
|-------------|----------|
| `read` | `manual-slop_read_file` |
| `glob` | `manual-slop_search_files` or `manual-slop_list_directory` |
| `grep` | `manual-slop_py_find_usages` |
| - | `manual-slop_get_file_summary` (heuristic summary) |
| - | `manual-slop_py_get_code_outline` (classes/functions with line ranges) |
| - | `manual-slop_py_get_skeleton` (signatures + docstrings only) |
| - | `manual-slop_py_get_definition` (specific function/class source) |
| - | `manual-slop_get_git_diff` (file changes) |
| - | `manual-slop_get_file_slice` (read specific line range) |
### Analysis Protocol
1. **Read Error Completely**: Understand the full error/test failure
2. **Identify Affected Files**: Parse traceback for file:line references
3. **Use Skeleton Tools**: For files >50 lines, use `manual-slop_py_get_skeleton` first
4. **Announce**: "Analyzing: [error summary]"
### Structured Output Format
```
## Error Analysis
### Summary
[One-sentence description of the error]
### Root Cause
[Detailed explanation of why the error occurred]
### Evidence
[File:line references supporting the analysis]
### Impact
[What functionality is affected]
### Recommendations
[Suggested fixes or next steps - but DO NOT implement them]
```
### Quality Checklist
- [ ] Analysis based on actual code/file content
- [ ] Root cause is specific, not generic
- [ ] Evidence includes file:line references
- [ ] Recommendations are actionable but not implemented
### Blocking Protocol
If you cannot analyze the error:
1. Start response with `CANNOT ANALYZE:`
2. Explain what information is missing
3. List what would be needed to complete the analysis
+1 -1
View File
@@ -10,7 +10,7 @@ A high-density GUI orchestrator for local LLM-driven coding sessions. Manual Slo
**Providers**: Gemini API, Anthropic API, DeepSeek, Gemini CLI (headless), MiniMax
**Platform**: Windows (PowerShell) — single developer, local use
![img](./gallery/python_2026-03-07_14-32-50.png)
![img](./gallery/python_2026-03-11_00-37-21.png)
---
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+9
View File
@@ -0,0 +1,9 @@
import sys
import os
try:
from imgui_bundle import hello_imgui
rp = hello_imgui.RunnerParams()
print(f"Default borderless: {rp.app_window_params.borderless}")
except Exception as e:
print(f"Error: {e}")
@@ -0,0 +1,5 @@
# Track external_mcp_support_20260308 Context
- [Specification](./spec.md)
- [Implementation Plan](./plan.md)
- [Metadata](./metadata.json)
@@ -0,0 +1,8 @@
{
"track_id": "external_mcp_support_20260308",
"type": "feature",
"status": "new",
"created_at": "2026-03-08T14:00:00Z",
"updated_at": "2026-03-08T14:00:00Z",
"description": "Add support for external MCP servers (Local Stdio and Remote SSE/WS) with flexible configuration and lifecycle management."
}
@@ -0,0 +1,42 @@
# Implementation Plan: External MCP Server Support
## Phase 1: Configuration & Data Modeling [checkpoint: 4ba1bd9]
- [x] Task: Define the schema for external MCP server configuration. [1c863f0]
- [x] Update `src/models.py` to include `MCPServerConfig` and `MCPConfiguration` classes.
- [x] Implement logic to load `mcp_config.json` from global and project-specific paths.
- [x] Task: Integrate configuration loading into `AppController`. [c09e0f5]
- [x] Ensure the MCP config path is correctly resolved from `config.toml` and `manual_slop.toml`.
- [x] Task: Write unit tests for configuration loading and validation. [c09e0f5]
- [x] Task: Conductor - User Manual Verification 'Phase 1: Configuration & Data Modeling' [4ba1bd9]
## Phase 2: MCP Client Extension [checkpoint: 828fadf]
- [x] Task: Implement `ExternalMCPManager` in `src/mcp_client.py`. [828fadf]
- [x] Add support for managing multiple MCP server sessions.
- [x] Implement the `StdioMCPClient` for local subprocess communication.
- [x] Implement the `RemoteMCPClient` for SSE/WebSocket communication (stub).
- [x] Task: Update Tool Discovery. [828fadf]
- [x] Implement `list_external_tools()` to aggregate tools from all active external servers.
- [x] Task: Update Tool Dispatch. [828fadf]
- [x] Modify `mcp_client.dispatch()` and `mcp_client.async_dispatch()` to route tool calls to either native tools or the appropriate external server.
- [x] Task: Write integration tests for stdio and remote MCP client communication (using mock servers). [828fadf]
- [x] Task: Conductor - User Manual Verification 'Phase 2: MCP Client Extension' [828fadf]
## Phase 3: GUI Integration & Lifecycle [checkpoint: 3b2588a]
- [x] Task: Update the **Operations** panel in `src/gui_2.py`. [3b2588a]
- [x] Create a new "External Tools" section.
- [x] List discovered tools from active external servers.
- [x] Add a "Refresh External MCPs" button to reload configuration and rediscover tools.
- [x] Task: Implement Lifecycle Management. [3b2588a]
- [x] Add the "Auto-start on Project Load" logic to start servers when a project is initialized.
- [x] Add status indicators (e.g., color-coded dots) for each external server in the GUI.
- [x] Task: Write visual regression tests or simulation scripts to verify the updated Operations panel. [3b2588a]
- [x] Task: Conductor - User Manual Verification 'Phase 3: GUI Integration & Lifecycle' [3b2588a]
## Phase 4: Agent Integration & HITL [checkpoint: f4c5a0b]
- [x] Task: Update AI tool declarations. [f4c5a0b]
- [x] Ensure `ai_client.py` includes external tools in the tool definitions sent to Gemini/Anthropic.
- [x] Task: Verify HITL Approval Flow. [f4c5a0b]
- [x] Ensure that calling an external tool correctly triggers the `ConfirmDialog` modal.
- [x] Verify that approved external tool results are correctly returned to the AI.
- [x] Task: Perform a final end-to-end verification with a real external MCP server. [f4c5a0b]
- [x] Task: Conductor - User Manual Verification 'Phase 4: Agent Integration & HITL' [f4c5a0b]
@@ -0,0 +1,39 @@
# Specification: External MCP Server Support
## Overview
This feature adds support for integrating external Model Context Protocol (MCP) servers into Manual Slop. This allows agents to utilize tools from a wide ecosystem of MCP servers (like those for databases, APIs, or specialized utilities) alongside the application's native tools.
## Functional Requirements
- **Server Protocol Support:**
- **Local Stdio:** Support for launching local subprocesses and communicating via JSON-RPC over stdio.
- **Remote (SSE/WS):** Support for connecting to remote MCP servers via Server-Sent Events or WebSockets.
- **Flexible Configuration:**
- The path to the MCP configuration file (e.g., `mcp_config.json`) must be configurable globally in `config.toml`.
- Support for per-project overrides in `manual_slop.toml` to specify a project-specific MCP configuration.
- **Lifecycle Management:**
- Provide a "Auto-start on Project Load" checkbox for each configured MCP server (or as a global/per-project default).
- If enabled, the server starts automatically when the project is loaded.
- If disabled, servers should be initialized on-demand or via a manual "Start" button in the GUI.
- **Tool Discovery & UI Integration:**
- Automatically discover tools from configured servers using the MCP `listTools` capability.
- Display discovered tools in a unified "External Tools" section within the **Operations** panel.
- Ensure external tools are correctly mapped to agent tool declarations (Gemini, Anthropic, etc.).
- **Security & HITL:**
- All tool calls from external MCP servers must adhere to the application's existing Human-in-the-Loop (HITL) approval mechanism.
- Users must review and approve the parameters of any external tool call before execution.
## Non-Functional Requirements
- **Performance:** Asynchronous communication with MCP servers to avoid blocking the main GUI thread.
- **Robustness:** Gracefully handle server connection failures, timeouts, and process crashes.
- **Scalability:** Support for multiple external MCP servers simultaneously.
## Acceptance Criteria
- [ ] Users can specify an MCP config path in `config.toml` and `manual_slop.toml`.
- [ ] The GUI lists tools from configured external servers in a unified section.
- [ ] Selecting an external tool correctly generates a tool call for the AI.
- [ ] Approving an external tool call successfully executes it via the MCP bridge and returns the output to the AI.
- [ ] Local stdio servers and remote SSE/WS servers are both functional.
## Out of Scope
- Support for MCP Resources or Prompts (focusing strictly on Tools for this track).
- Managing installation of external MCP server dependencies (e.g., `npm install`, `pip install`).
@@ -3,13 +3,13 @@
## Phase 1: Path Info Display
Focus: Show current path resolution in GUI
- [ ] Task 1.1: Add path info functions to paths.py
- [x] Task 1.1: Add path info functions to paths.py [d237d3b]
- WHERE: src/paths.py
- WHAT: Add functions to get path resolution source (default/env/config)
- HOW: Return tuple of (resolved_path, source)
- SAFETY: New functions, no modifications
- [ ] Task 1.2: Create path display helper
- [x] Task 1.2: Create path display helper [d237d3b]
- WHERE: src/paths.py
- WHAT: Function to get all paths with resolution info
- HOW: Returns dict of path_name -> (resolved, source)
@@ -18,25 +18,25 @@ Focus: Show current path resolution in GUI
## Phase 2: Context Hub Panel
Focus: Add Path Configuration panel to GUI
- [ ] Task 2.1: Add Paths tab to Context Hub
- [x] Task 2.1: Add Paths tab to Context Hub [d237d3b]
- WHERE: src/gui_2.py (Context Hub section)
- WHAT: New tab/section for path configuration
- HOW: Add ImGui tab item, follow existing panel patterns
- SAFETY: New panel, no modifications to existing
- [ ] Task 2.2: Display current paths
- [x] Task 2.2: Display current paths [d237d3b]
- WHERE: src/gui_2.py (new paths panel)
- WHAT: Show resolved paths and their sources
- HOW: Call paths.py functions, display in read-only text
- SAFETY: New code
- [ ] Task 2.3: Add path text inputs
- [x] Task 2.3: Add path text inputs [d237d3b]
- WHERE: src/gui_2.py (paths panel)
- WHAT: Editable text inputs for each path
- HOW: ImGui input_text for conductor_dir, logs_dir, scripts_dir
- SAFETY: New code
- [ ] Task 2.4: Add browse buttons
- [x] Task 2.4: Add browse buttons [d237d3b]
- WHERE: src/gui_2.py (paths panel)
- WHAT: File dialog buttons to browse for directories
- HOW: Use existing file dialog patterns in gui_2.py
@@ -45,19 +45,19 @@ Focus: Add Path Configuration panel to GUI
## Phase 3: Persistence
Focus: Save path changes to config.toml
- [ ] Task 3.1: Add config write function
- [x] Task 3.1: Add config write function [d237d3b]
- WHERE: src/gui_2.py or new utility
- WHAT: Write [paths] section to config.toml
- HOW: Read existing config, update paths section, write back
- SAFETY: Backup before write, handle errors
- [ ] Task 3.2: Add Apply button
- [x] Task 3.2: Add Apply button [d237d3b]
- WHERE: src/gui_2.py (paths panel)
- WHAT: Button to save changes
- HOW: Call config write function, show success/error message
- SAFETY: Confirmation dialog
- [ ] Task 3.3: Add Reset button
- [x] Task 3.3: Add Reset button [d237d3b]
- WHERE: src/gui_2.py (paths panel)
- WHAT: Reset paths to defaults
- HOW: Clear custom values, show confirmation
@@ -66,13 +66,13 @@ Focus: Save path changes to config.toml
## Phase 4: UX Polish
Focus: Improve user experience
- [ ] Task 4.1: Add restart warning
- [x] Task 4.1: Add restart warning [d237d3b]
- WHERE: src/gui_2.py (paths panel)
- WHAT: Show warning that changes require restart
- HOW: Text label after Apply
- SAFETY: New code
- [ ] Task 4.2: Add tooltips
- [x] Task 4.2: Add tooltips [d237d3b]
- WHERE: src/gui_2.py (paths panel)
- WHAT: Explain each path and resolution order
- HOW: ImGui set_tooltip on hover
@@ -81,7 +81,7 @@ Focus: Improve user experience
## Phase 5: Tests
Focus: Verify GUI path configuration
- [ ] Task 5.1: Test path display
- [x] Task 5.1: Test path display [d237d3b]
- WHERE: tests/test_gui_paths.py (new file)
- WHAT: Verify paths panel shows correct values
- HOW: Mock paths.py, verify display
@@ -0,0 +1,5 @@
# Track nerv_ui_theme_20260309 Context
- [Specification](./spec.md)
- [Implementation Plan](./plan.md)
- [Metadata](./metadata.json)
@@ -0,0 +1,8 @@
{
"description": "Implement a NERV UI theme for ImGui/Dear PyGui, inspired by technical/military consoles, with CRT effects and a black-void aesthetic.",
"track_id": "nerv_ui_theme_20260309",
"type": "feature",
"created_at": "2026-03-09T00:35:48Z",
"status": "new",
"updated_at": "2026-03-09T00:35:48Z"
}
@@ -0,0 +1,43 @@
# Implementation Plan: NERV UI Theme
## Phase 1: Research & Theme Infrastructure [checkpoint: 4b78e77]
- [x] Task: Research existing theme implementation in src/theme.py and src/theme_2.py. 3fa4f64
- [x] Task: Create a new src/theme_nerv.py to house the NERV color constants and theme application logic. 3fa4f64
- [x] Task: Conductor - User Manual Verification 'Phase 1: Research & Theme Infrastructure' (Protocol in workflow.md) 4b78e77
## Phase 2: Base NERV Theme Implementation (Colors & Geometry) [checkpoint: 9c38ea7]
- [x] Task: Implement the "Black Void" and "Phosphor" color palette in src/theme_nerv.py. 3fa4f64
- [x] Task: Implement "Hard Edges" by setting all rounding parameters to 0.0 in the NERV theme. 3fa4f64
- [x] Task: Write unit tests to verify that the NERV theme correctly applies colors and geometry settings. de0d9f3
- [x] Task: Conductor - User Manual Verification 'Phase 2: Base NERV Theme Implementation' (Protocol in workflow.md) 9c38ea7
## Phase 3: Visual Effects (Scanlines & Status Flickering) [checkpoint: ceb0c7d]
- [x] Task: Research how to implement a scanline overlay in ImGui (e.g., using a full-screen transparent texture or a custom draw list). 05a2b8e
- [x] Task: Implement the subtle scanline overlay (6% opacity). 05a2b8e
- [x] Task: Implement "Status Flickering" logic for active system indicators (e.g., a periodic alpha modification for specific text elements). 05a2b8e
- [x] Task: Write tests to verify the visual effect triggers (e.g., checking if the scanline overlay is rendered). 4f4fa10
- [x] Task: Conductor - User Manual Verification 'Phase 3: Visual Effects' (Protocol in workflow.md) ceb0c7d
## Phase 4: Alert Pulsing & Error States [checkpoint: d9495f6]
- [x] Task: Implement "Alert Pulsing" logic that can be triggered by application error events. d9495f6
- [x] Task: Integrate Alert Pulsing with the NERV theme (shifting borders/background to Alert Red). d9495f6
- [x] Task: Write tests to verify that an error state triggers the pulsing effect in the NERV theme. d9495f6
- [x] Task: Conductor - User Manual Verification 'Phase 4: Alert Pulsing & Error States' (Protocol in workflow.md) d9495f6
## Phase 5: Integration & Theme Selector [checkpoint: afcb1bf]
- [x] Task: Add "NERV" to the theme selection dropdown in src/gui_2.py. afcb1bf
- [x] Task: Ensure that switching to the NERV theme correctly initializes all visual effects (scanlines, etc.). afcb1bf
- [x] Task: Final UX verification and performance check of the NERV theme. afcb1bf
- [x] Task: Conductor - User Manual Verification 'Phase 5: Integration & Theme Selector' (Protocol in workflow.md) afcb1bf
## Phase 6: NERV Theme Refinement (Contrast & Readability) [checkpoint: 9facecb]
- [x] Task: Fix text readability by ensuring high-contrast text on bright backgrounds (e.g., black text on orange title bars). 9facecb
- [x] Task: Adjust the NERV palette to use Data Green or Steel for standard text, reserving Orange for accents and backgrounds. 9facecb
- [x] Task: Update gui_2.py to push/pop style colors for headers if necessary to maintain readability. 9facecb
- [x] Task: Conductor - User Manual Verification 'Phase 6: NERV Theme Refinement' (Protocol in workflow.md) 9facecb
## Phase 7: CRT Filter Implementation [checkpoint: e635c29]
- [x] Task: Research and implement a more sophisticated "CRT Filter" beyond simple scanlines (e.g., adding a vignette, noise, or subtle color aberration). e635c29
- [x] Task: Implement a "CRT Filter" toggle in the theme settings. e635c29
- [x] Task: Integrate the new CRT filter into the gui_2.py rendering loop. e635c29
- [x] Task: Conductor - User Manual Verification 'Phase 7: CRT Filter Implementation' (Protocol in workflow.md) e635c29
@@ -0,0 +1,37 @@
# Specification: NERV UI Theme Integration
## Overview
This track aims to implement a new "NERV" visual theme for the manual_slop application, inspired by the aesthetic of technical/military consoles (e.g., Evangelion's NERV UI). The theme will be added as a selectable option within the application, allowing users to switch between the existing theme and the new NERV style without altering the core user experience or layout.
## Functional Requirements
- **Theme Selection:** Integrate a "NERV" theme option into the existing UI (e.g., in the configuration or theme settings).
- **Color Palette:** Implement the "Black Void" aesthetic using absolute black (#000000) for the background and CRT-inspired phosphor colors:
- **NERV Orange (#FF9830):** Primary accents, headers, active borders.
- **Data Green (#50FF50):** Terminal output, "Nominal" status, standard data.
- **Wire Cyan (#20F0FF):** Structural separators, inactive borders.
- **Alert Red (#FF4840):** Error states, critical alerts.
- **Steel (#E0E0D8):** Secondary text, timestamps.
- **Hard Edges:** Configure all UI elements (windows, frames, buttons) to have zero rounded corners (Rounding = 0.0).
- **Typography:** Utilize a monospace font (e.g., IBM Plex Mono or the project's current monospace font) for all text to maintain a technical look.
- **Visual Effects:**
- **Scanline Overlay:** Implement a subtle CRT-style scanline overlay (approx. 6% opacity).
- **Status Flickering:** Add subtle flickering effects to active system status indicators.
- **Alert Pulsing:** Implement red background or border pulsing during error or critical system states.
## Non-Functional Requirements
- **Performance:** Ensure the scanline overlay and status flickering do not significantly degrade UI responsiveness or increase CPU usage.
- **Maintainability:** The theme should be implemented in a way that is consistent with the existing theme.py or theme_2.py architecture.
## Acceptance Criteria
- [ ] Users can select "NERV" from the theme selector.
- [ ] The background is solid black (#000000).
- [ ] All borders and buttons have zero rounded corners.
- [ ] The NERV color palette is correctly applied to all UI elements.
- [ ] The scanline overlay is visible and subtle.
- [ ] Active status indicators exhibit the "Status Flickering" effect.
- [ ] Errors trigger the "Alert Pulsing" effect.
## Out of Scope
- **Bilingual Labels:** Japanese sub-labels will not be implemented.
- **Layout Changes:** No radical changes to window positioning or spacing.
- **New Features:** This track is purely visual and does not add new application functionality.
@@ -0,0 +1,10 @@
{
"id": "opencode_config_overhaul_20260310",
"title": "OpenCode Configuration Overhaul",
"type": "fix",
"status": "completed",
"priority": "high",
"created": "2026-03-10",
"depends_on": [],
"blocks": []
}
@@ -0,0 +1,23 @@
# Implementation Plan: OpenCode Configuration Overhaul
## Phase 1: Core Config and Agent Temperature/Step Fixes [checkpoint: 02abfc4]
- [x] Task 1.1: Update `opencode.json` - set `compaction.auto: false`, `compaction.prune: false`
- [x] Task 1.2: Update `.opencode/agents/tier1-orchestrator.md` - remove `steps: 50`, change `temperature: 0.4` to `0.5`, add "Context Management" section
- [x] Task 1.3: Update `.opencode/agents/tier2-tech-lead.md` - remove `steps: 100`, change `temperature: 0.2` to `0.4`, add "Context Management" and "Pre-Delegation Checkpoint" sections
- [x] Task 1.4: Update `.opencode/agents/tier3-worker.md` - remove `steps: 20`, change `temperature: 0.1` to `0.3`
- [x] Task 1.5: Update `.opencode/agents/tier4-qa.md` - remove `steps: 5`, change `temperature: 0.0` to `0.2`
- [x] Task 1.6: Update `.opencode/agents/general.md` - remove `steps: 15`, change `temperature: 0.2` to `0.3`
- [x] Task 1.7: Update `.opencode/agents/explore.md` - remove `steps: 8`, change `temperature: 0.0` to `0.2`
- [x] Task 1.8: Conductor - User Manual Verification (verified)
## Phase 2: MMA Tier Command Expansion [checkpoint: 02abfc4]
- [x] Task 2.1: Expand `.opencode/commands/mma-tier1-orchestrator.md` - add full Surgical Methodology, limitations, context section
- [x] Task 2.2: Expand `.opencode/commands/mma-tier2-tech-lead.md` - add TDD protocol, Pre-Delegation Checkpoint, delegation patterns
- [x] Task 2.3: Expand `.opencode/commands/mma-tier3-worker.md` - add key constraints, task execution, blocking protocol
- [x] Task 2.4: Expand `.opencode/commands/mma-tier4-qa.md` - add key constraints, analysis protocol, structured output format
- [x] Task 2.5: Conductor - User Manual Verification (verified)
## Phase: Review Fixes
- [x] Task: Apply review suggestions 8c5b5d3
@@ -0,0 +1,54 @@
# Track Specification: OpenCode Configuration Overhaul
## Overview
Fix critical gaps in OpenCode agent configuration that cause MMA workflow failures. Remove step limits that prematurely terminate complex tracks, disable automatic context compaction that loses critical session state, raise temperature for better problem-solving, and expand thin command wrappers into full protocol documentation.
## Current State Audit (as of HEAD)
### Already Implemented (DO NOT re-implement)
- OpenCode MCP integration working (`opencode.json:17-25`)
- Agent persona files exist for all 4 MMA tiers (`.opencode/agents/tier*.md`)
- Conductor commands exist (`.opencode/commands/conductor-*.md`)
- MMA tier commands exist but are thin wrappers (`.opencode/commands/mma-tier*.md`)
### Gaps to Fill (This Track's Scope)
1. **Step Limits**: All agents have restrictive `steps` limits:
- tier1: 50, tier2: 100, tier3: 20, tier4: 5
- These terminate complex track implementations prematurely
2. **Auto-Compaction**: `opencode.json` has `compaction.auto: true` which loses session context without user control
3. **Temperature Too Low**:
- tier2: 0.2, tier3: 0.1, tier4: 0.0
- Reduces creative problem-solving for complex tracks
4. **Thin Command Wrappers**: `mma-tier*.md` commands are 3-4 lines, lacking:
- Pre-delegation checkpoint protocol
- TDD phase confirmation requirements
- Blocking protocol
- Context management guidance
## Goals
- Remove all step limits from agent configurations
- Disable automatic compaction, enforce manual-only via `/compact`
- Raise temperatures to 0.2-0.5 range for better reasoning
- Expand MMA tier commands with full protocol documentation
## Functional Requirements
- All 6 agent files updated with removed `steps` and adjusted `temperature`
- `opencode.json` updated with `compaction.auto: false, prune: false`
- All 4 MMA tier commands expanded with context, protocols, and patterns
## Non-Functional Requirements
- No functional changes to MCP tool usage or permissions
- Maintain backward compatibility with existing workflow
## Architecture Reference
- `docs/guide_mma.md` - 4-tier architecture, worker lifecycle, context amnesia
- `docs/guide_meta_boundary.md` - Application vs Meta-Tooling distinction
## Out of Scope
- Model tiering (using different models per tier)
- Changes to Gemini CLI configuration
- Changes to conductor workflow itself
@@ -3,13 +3,13 @@
## Phase 1: Extend paths.py
Focus: Add project-specific path resolution
- [ ] Task 1.1: Add project-aware conductor path functions
- [x] Task 1.1: Add project-aware conductor path functions [48e2ed8]
- WHERE: src/paths.py
- WHAT: Add optional project_path parameter to get_conductor_dir, get_tracks_dir, get_track_state_dir
- HOW: If project_path provided, resolve relative to project root; otherwise use global
- SAFETY: Maintain backward compatibility with no-arg calls
- [ ] Task 1.2: Add project conductor path resolution
- [x] Task 1.2: Add project conductor path resolution [48e2ed8]
- WHERE: src/paths.py
- WHAT: New function `_resolve_project_conductor_dir(project_path)` that reads from project TOML
- HOW: Load project TOML, check `[conductor].dir` key
@@ -18,18 +18,18 @@ Focus: Add project-specific path resolution
## Phase 2: Update project_manager.py
Focus: Use project-specific paths for track operations
- [ ] Task 2.1: Update save_track_state to use project conductor dir
- [x] Task 2.1: Update save_track_state to use project conductor dir [3999e9c]
- WHERE: src/project_manager.py (around line 240)
- WHAT: Pass project base_dir to paths.get_track_state_dir()
- HOW: Get base_dir from project_path, call paths with project_path param
- SAFETY: Maintain existing function signature compatibility
- [ ] Task 2.2: Update load_track_state to use project conductor dir
- [x] Task 2.2: Update load_track_state to use project conductor dir [3999e9c]
- WHERE: src/project_manager.py (around line 252)
- WHAT: Load track state from project-specific directory
- HOW: Same as above
- [ ] Task 2.3: Update get_all_tracks to use project conductor dir
- [x] Task 2.3: Update get_all_tracks to use project conductor dir [3999e9c]
- WHERE: src/project_manager.py (around line 297)
- WHAT: List tracks from project-specific directory
- HOW: Accept optional project_path param
@@ -37,7 +37,7 @@ Focus: Use project-specific paths for track operations
## Phase 3: Update app_controller.py
Focus: Pass project path to track operations
- [ ] Task 3.1: Update track creation to use project conductor dir
- [x] Task 3.1: Update track creation to use project conductor dir [3999e9c]
- WHERE: src/app_controller.py (around line 1907, 1937)
- WHAT: Pass active_project_path to track path functions
- HOW: Get active_project_path, pass to paths.get_tracks_dir()
@@ -46,13 +46,13 @@ Focus: Pass project path to track operations
## Phase 4: Tests
Focus: Verify project-specific behavior
- [ ] Task 4.1: Write test for project-specific conductor dir
- [x] Task 4.1: Write test for project-specific conductor dir [48e2ed8]
- WHERE: tests/test_project_paths.py (new file)
- WHAT: Create mock project with custom conductor dir, verify tracks saved there
- HOW: Mock project_manager, verify path resolution
- SAFETY: New test file
- [ ] Task 4.2: Test backward compatibility
- [x] Task 4.2: Test backward compatibility [3999e9c]
- WHERE: tests/test_project_paths.py
- WHAT: Verify global paths still work without project_path
- HOW: Call functions without project_path, verify defaults

Some files were not shown because too many files have changed in this diff Show More