25 KiB
Project Tracks
This file tracks all major tracks for the project. Each track has its own detailed plan in its respective folder.
Phase 6: Context Composition Redesign
Initialized: 2026-05-10
Context Control & Workflow Enhancements
-
Track: Granular AST Control (Signatures vs. Definitions) Link: ./archive/granular_ast_control_20260510/ Goal: Introduce 'AST Signatures' and 'AST Definitions' states in the Context Panel for C/C++ files.
-
Track: Context Snapshotting per "Take" Link: ./archive/context_snapshotting_takes_20260510/ Goal: Snapshot and visually restore the Context Panel state when switching between Takes.
-
Track: Interactive Text Slice Highlighting Link: ./archive/interactive_text_slice_highlighting_20260510/ Goal: Allow highlighting text ranges to create fuzzy-anchored slices (Def, Sig, Hide) that survive file modifications.
-
Track: Context Batch Operations UX Link: ./archive/context_batch_operations_ux_20260510/ Goal: Add multi-select and batch state modification capabilities to the Context Panel for rapid wrangling.
-
Track: GenCpp Project Initialization Link: ./archive/gencpp_project_init_20260510/ Goal: Configure manual_slop.toml in the gencpp repo to isolate conductor tracks, logs, and history.
-
Track: Interactive AST Tree Masking Link: ./archive/interactive_ast_tree_masking_20260510/ Goal: Inspect C/C++ ASTs in the GUI and mask individual classes/functions as Def, Sig, or Hide.
-
Track: Phase 6 Review and Regression Verification Link: ./archive/phase6_review_20260510/ Goal: Review Phase 6 implementation, perform full-suite batch regression testing, and expand test coverage for new context curation features.
-
Track: GenCpp Dogfood Feedback Loop Link: ./tracks/gencpp_dogfood_feedback_20260510/ Goal: Verify Manual Slop can target gencpp at C:/projects/gencpp and establish a feedback mechanism for issues found during dogfooding.
-
Track: Context Composition Decoupling Link: ./archive/context_comp_decouple_20260510/ Goal: Decouple Files & Media from Context Composition, add directory grouping, file stats, and view mode selection per file.
-
Track: Context Composition Slice Visualization Link: ./archive/context_comp_slices_20260510/ Goal: Enhance slice visualization with visual editor, annotation support (tags/comments), and view presets.
-
[~] Track: Context Preview & Slice Editor Fixes Link: ./tracks/context_preview_fixes_20260516/ Goal: Fix Preview button generating empty content, and Inspect/Slices buttons failing to open their respective editor panels.
-
Track: GUI Refactor & Stabilization Link: ./archive/gui_refactor_stabilization_20260512/ Goal: Refactor gui_2.py to fix regressions and enforce better imgui scoping patterns.
-
Track: I started to do a large cleanup to ./src/gui_2.py. I want you to study it and derive more information on how to maintain and write code for the python codebase. Please update product guidlines or the python code_styleguidleines based on what you discover. Also we may need to make some changes the mcp_tools for better structural awareness of annotations or other conventions with these python files. There is still more orgnaizatoin to be done like annotation/organizing the init method's declarations, among other nitpicks. Link: ./archive/gui_2_cleanup_20260513/
- Track: Add Python structural MCP tools (py_remove_def, py_add_def, py_move_def, py_region_wrap) Link: ./archive/python_structural_mcp_tools_20260513/
Phase 8: UI Polish
Initialized: 2026-06-03
User review surfaced five outstanding UI issues, each previously attempted without success. This track addresses them as five independent phases with their own TDD cycles and atomic commits.
- Track: UI Polish (Five Issues)
Spec: ./../../docs/superpowers/specs/2026-06-03-ui-polish-design.md
Plan: ./../../docs/superpowers/plans/2026-06-03-ui-polish.md
*Goal: Resolve five long-standing UI issues:
- Phase 1: GFM markdown table rendering (pre-processor into
src/markdown_table.py, wire intoMarkdownRenderer.render). - Phase 2: Widen the
Keep Pairsnumeric input next toTruncatein the discussion panel (gui_2.py:3829, width 80 -> 140, switch todrag_int). - Phase 3: Fix
Refresh Registrybutton in Log Management — currently instantiatesLogRegistrywithout callingload_registry()so the displayed table never reflects on-disk state (gui_2.py:1675). - Phase 4: Add
Vendor Statetab to Operations Hub — at-a-glance provider/model, context-window utilization, cache hit rate, last error class, vendor quota (newsrc/vendor_state.pyaggregator +controller.vendor_quotafield +ai_clientwire-up). - Phase 5: Files & Media > Files directory-grouped tree (re-use
aggregate.group_files_by_dir, mirrorrender_context_files_tablecollapsible-node style).*
- Phase 1: GFM markdown table rendering (pre-processor into
Hot Reload Feature
- Track: Hot Reload Python Codebase (Phase 2) Link: ./archive/hot_reload_python_20260516/ Goal: Implement selective, state-preserving hot-reload for src/gui_2.py with delegation pattern refactor, manual trigger via Ctrl+Alt+R and GUI button, and visual error tint feedback on failure.
Phase 5: Codebase Curation
Initialized: 2026-05-07
Analysis & Structural Review
-
Track: Comprehensive Path Mapping & Tooling Link: ./archive/ai_interaction_call_graph_20260507/ Goal: Automated and manual derivation of all major code paths and pipelines in the system.
-
Track: Controller State Mutation Matrix Link: ./archive/controller_state_mutation_matrix_20260507/ Goal: Comprehensive map of all methods that modify the
AppControllerandAppstate. -
Track: Source-Wide Redundancy Audit Link: ./archive/source_wide_redundancy_audit_20260507/ Goal: Deep file-by-file audit to identify unused methods, duplicate logic, and dead code.
-
Track: Curate Provider Registries Link: ./archive/curate_provider_registries_20260507/ Goal: Move the PROVIDERS list to models.py and update all references to use this single source of truth.
-
Track: Encapsulate AppController Status Link: ./archive/encapsulate_appcontroller_status_20260507/ Goal: Convert ai_status and mma_status to properties with thread-safe setters.
-
Track: Decouple GUI Log Loading Link: ./archive/decouple_gui_log_loading_20260507/ Goal: Move Tkinter directory selection out of AppController and into gui_2.py.
-
Track: Refactor Context Aggregation Pipeline Link: ./archive/refactor_context_aggregation_pipeline_20260507/ Goal: Modernize src/aggregate.py and consolidate legacy tier builders.
-
Track: Cull Unused Symbols Link: ./archive/cull_unused_symbols_20260507/ Goal: Safely remove the 27 dead symbols identified in the redundancy audit.
-
Track: Structural Dependency Mapping (SDM) Docstrings Link: ./archive/sdm_docstrings_20260509/
-
Track: AppController Curation & Structural Alignment Link: ./archive/app_controller_curation_20260513/ Goal: Curate src/app_controller.py to match gui_2.py organization and enforce Python style conventions.
-
Track: Fix 45 failing test files across 12 batches Link: ./archive/fix_test_suite_failures_20260514/
-
Track: Fix Indentation 1-Space Convention Link: ./archive/fix_indentation_1space_20260516/ Goal: Standardize all Python files to 1-space indentation per AI-Optimized Python Style Guide. Audit and correct indentation in src/, tests/, scripts/, and conductor/ directories.
Remaining Backlog (Phases 3 & 4)
-
Track: Sloppy.py Startup Speedup Status: 2026-06-05 — Surfaced during regression_fixes_20260605 root-cause analysis.
sloppy.py --enable-test-hooksstartup latency has crept up; live_gui fixtures time out atwait_for_server(timeout=15). Hypothesized cause: too much init work on the main thread (FastAPI hook server bring-up, log pruner retry loops, MCT startup). Plan: profile startup, move heavy init off the main thread to the controller's background thread pool, defer non-critical subsystems to lazy-init on first use. Spec/plan to follow. -
Track: Bootstrap gencpp Python Bindings Link: ./tracks/gencpp_python_bindings_20260308/
-
Track: Tree-Sitter Lua MCP Tools Link: ./tracks/tree_sitter_lua_mcp_tools_20260310/
-
Track: GDScript Language Support Tools Link: ./tracks/gdscript_godot_script_language_support_tools_20260310/
-
Track: C# Language Support Tools Link: ./tracks/csharp_language_support_tools_20260310/
-
Track: OpenAI Provider Integration Link: ./tracks/openai_integration_20260308/
-
Track: Zhipu AI (GLM) Provider Integration Link: ./tracks/zhipu_integration_20260308/
-
Track: AI Provider Caching Optimization Link: ./tracks/caching_optimization_20260308/
-
Track: Manual UX Validation & Review Link: ./tracks/manual_ux_validation_20260302/
Phase 4 Archive
See below for completed Phase 4 tracks.
-
Track: Session Context Snapshots & Visibility(Archived 2026-03-22 - Replaced by discussion_hub_panel_reorganization) Link: ./archive/session_context_snapshots_20260311/ -
Track: Discussion Takes & Timeline Branching(Archived 2026-03-22 - Replaced by discussion_hub_panel_reorganization) Link: ./archive/discussion_takes_branching_20260311/ -
Track: RAG Support Link: ./archive/rag_support_20260308/
-
Track: Agent Tool Preference & Bias Tuning Link: ./archive/tool_bias_tuning_20260308/
-
Track: Expanded Hook API & Headless Orchestration Link: ./archive/hook_api_expansion_20260308/
-
Track: Codebase Audit and Cleanup Link: ./archive/codebase_audit_20260308/
-
Track: Expanded Test Coverage and Stress Testing Link: ./archive/test_coverage_expansion_20260309/
-
Track: Beads Mode Integration Link: ./archive/beads_mode_20260309/
-
Track: Optimization pass for Data-Oriented Python heuristics Link: ./archive/data_oriented_optimization_20260312/
-
Track: Rich Thinking Trace Handling Link: ./archive/thinking_trace_handling_20260313/
-
Track: Smarter Aggregation with Sub-Agent Summarization Link: ./archive/aggregation_smarter_summaries_20260322/
-
Track: System Context Exposure Link: ./archive/system_context_exposure_20260322/
-
Track: Advanced Log Management and Session Restoration Link: ./archive/log_session_overhaul_20260308/
-
Track: UI Theme Overhaul & Style System Link: ./archive/ui_theme_overhaul_20260308/
-
Track: Selectable GUI Text & UX Improvements Link: ./archive/selectable_ui_text_20260308/
-
Track: Markdown Support & Syntax Highlighting Link: ./archive/markdown_highlighting_20260308/
-
Track: Custom Shader and Window Frame Support Link: ./archive/custom_shaders_20260309/
-
Track: UI/UX Improvements - Presets and AI Settings Link: ./archive/presets_ai_settings_ux_20260311/
-
Track: Discussion Hub Panel Reorganization Link: ./archive/discussion_hub_panel_reorganization_20260322/
-
Track: Undo/Redo History Support Link: ./archive/undo_redo_history_20260311/
-
Track: Advanced Text Viewer with Syntax Highlighting Link: ./archive/text_viewer_rich_rendering_20260313/
-
Track: Tree-Sitter C/C++ MCP Tools Link: ./archive/ts_cpp_tree_sitter_20260308/
-
Track: Saved System Prompt Presets Link: ./archive/saved_presets_20260308/
-
Track: Saved Tool Presets Link: ./archive/saved_tool_presets_20260308/
-
Track: External Text Editor Integration for Approvals Link: ./archive/external_editor_integration_20260308/
-
Track: Agent Personas: Unified Profiles & Tool Presets Link: ./archive/agent_personas_20260309/
-
Track: Advanced Workspace Docking & Layout Profiles Link: ./archive/workspace_profiles_20260310/
-
Track: Review investigation of codebase and expose/cull any hidden invisible prompting Link: ./archive/cull_hidden_prompts_20260502/
-
Track: Test Regression Verification Link: ./archive/test_regression_verification_20260307/
Phase 2: Strict Execution Queue (Completed 2026-03-06)
See: ./archive/strict_execution_queue_completed_20260306/
Phase 0: Infrastructure (Critical)
- Track: Conductor Path Configuration
Recent Completed Tracks (2026-05+)
Archived 2026-06-03 via archive_completed_tracks_20260603. All directories moved from tracks/ to archive/.
- Track: Robust Live Simulation Verification
- Track: Fix GUI Crashes in Tool Preset Manager and Discussion Hub Link: ./archive/gui_crash_fixes_20260531/
- Track: Fix
keys_downAttributeError in ImGui IO Link: ./archive/fix_imgui_keys_down_20260601/
- Track: Selectable Thinking Monologs Link: ./archive/selectable_thinking_monologs_20260601/
- Track: Fix MiniMax history sequencing and truncation Link: ./archive/minimax_history_fix_20260601/
- Track: Preserve context selection on discussion switch and add empty context warning Link: ./archive/context_preservation_and_warnings_20260601/
- Track: Fix Text Viewer docking conflicts and Tool Call row click interactivity Link: ./archive/text_viewer_and_tool_call_fixes_20260601/
- Track: UX Refinements for Context Composition and Discussion Entries Link: ./archive/context_composition_ux_20260601/
- Track: Combine AST Inspector and Slices Editor into a unified Structural File Editor Link: ./archive/structural_file_editor_20260601/
- Track: Add per-response token metrics and AI-assisted history compression Link: ./archive/discussion_metrics_and_compression_20260601/
- Track: Fix Approve Modal sizing and inline full preview Link: ./archive/approve_modal_ux_20260601/
- Track: Phase 7 Stabilization and Polishing (Regressions Fix) Link: ./archive/phase7_stabilization_and_polishing_20260601/
- Track: Phase 7 Monolithic Stabilization (Final Cleanup) Link: ./archive/phase7_monolithic_stabilization_20260602/
- Track: Implement Async Context Preview to fix UI hangs and add an 'Everything' Command Palette. Link: ./archive/command_palette_and_performance_20260602/ Goal: Async context preview offload (background thread, state lock) + Command Palette (32 commands, fuzzy search, Ctrl+Shift+P, Up/Down/Enter nav, 13 unit + 7 live_gui tests). Phases 1-3 complete.
-
Track: Comprehensive Documentation Refresh Link: ./archive/documentation_refresh_comprehensive_20260602/ Goal: Refresh stale documentation across
docs/. Completed: ASCII file tree updates (docs/Readme.md+Readme.md5→14 guides, 22→53 src modules),docs/guide_testing.md(new, comprehensive 251-file test suite reference), 7 per-source-file guides (guide_gui_2.md,guide_ai_client.md,guide_api_hooks.md,guide_mcp_client.md,guide_app_controller.md,guide_multi_agent_conductor.md,guide_models.md). All 14 guides cross-linked. Gap analysis: ./archive/documentation_refresh_comprehensive_20260602/gap_analysis.md.Sub-tracks (all checkpointed):
- Sub-Track 1: Docs Layer Refresh
[checkpoint: 20225c8]— 18 per-file atomic commits. 15 guides (8 refreshed + 7 new), Subsystem Index (24 entries), 106 cross-links all resolve, symbol parity fixed (apply_nerv_theme->apply_nerv). - Sub-Track 2: Conductor Docs Refresh
[checkpoint: ef4efab2]— 4 per-file atomic commits:product.md(14 guides, MiniMax, Command Palette),tech-stack.md(MiniMax, Gemini Embedding 001),workflow.md(2026-06-02 doc refresh, 45-tool count),index.md(active track links). - Sub-Track 3: Agent Config Refresh
[checkpoint: 87f668a6]— 3 per-file atomic commits:AGENTS.md(5.4K -> 0.7K thin pointer),CLAUDE.md(6.7K -> 0.2K deprecation stub),GEMINI.md(5 providers, sloppy.py entry, 12 key modules). Drift check: 0 issues in 9 mirrored skill files.
- Sub-Track 1: Docs Layer Refresh
-
Track: Test Consolidation & TOML Sandboxing
[checkpoint: cb91006c]Spec: ./../../docs/superpowers/specs/2026-06-02-test-consolidation-design.md, Plan: ./../../docs/superpowers/plans/2026-06-02-test-consolidation.md Goal: Audit tests for real-TOML usage, migrate offenders to sandboxed patterns. Addedscripts/check_test_toml_paths.pyaudit script (CI gate). Migratedtest_mcp_client_whitelist_enforcementtotmp_path(was the only offender). Skipped redundantenforce_no_real_tomlfixture — existingisolate_workspaceautouse + audit script provide equivalent coverage.
-
Track: Clean Install Test
[checkpoint: d14ae3b]Link: ./tracks/clean_install_test_20260603/, Spec: ./../../docs/superpowers/specs/2026-06-02-clean-install-test-design.md, Plan: ./../../docs/superpowers/plans/2026-06-02-clean-install-test.md Goal: Add opt-in pytest test (RUN_CLEAN_INSTALL_TEST=1) that clones the repo to tmp_path, runsuv sync, launchessloppy.py --enable-test-hooks, verifies Hook API responds. Catches "works on my machine" failures. Addedclean_installmarker topyproject.toml. Createdtests/test_clean_install.py(114 lines, usesurllib.requestfrom stdlib per tech-stack.md dependency minimalism rule - deviation from plan). Skipped by default. Marked with@pytest.mark.clean_install. -
Track: Fix markdown_helper.py for imgui-bundle >=1.92.801
[checkpoint: 7a34edf]Link: ./tracks/markdown_helper_language_api_compat_20260603/ Goal: First thing the clean install test caught.ed.TextEditor.LanguageDefinitionIdenum was removed inimgui-bundle>=1.92.801. Replaced with version-compat shim helpers_get_language_id(name)and_set_editor_language(editor, lang_obj)that detect the API at runtime (1.92.5 enum vs 1.92.801+ factory). Also added parallel_editor_lang_cacheto track current language tag per editor (robust to API name differences like "C++" vs "cpp"). Verified: test passes in opt-in mode (1.92.801), shim still works in local 1.92.5 env, follow-up commitb306f8fcorrected test URL/api/mma_status->/api/gui/mma_status(actual endpoint persrc/api_hooks.py:181). -
Track: Multi-Theme TOML System (Multi-Themes Mod)
[checkpoint: 38abf231]Link: ./tracks/multi_themes_20260604/, Plan: ./../../docs/superpowers/plans/2026-06-04-theme-syntax-modularization.md Goal: TOML-based theming: per-theme file layout (themes/<name>.tomlglobal +<project>/project_themes.tomloverrides), schema (syntax_palette+[colors]table ofimgui.Col_snake_case keys), public API (load_themes_from_disk,get_syntax_palette_for_theme,apply_syntax_palette),MarkdownRenderercallsapply_syntax_paletteon init, color-callable convention (C_LBL()/C_VAL()so theme switches take effect at use site), upstream 4-syntax-palette limit documented in ./../../docs/guide_themes.md (new guide). 8 new theme files shipped. Theme-caused production bug fixed atsrc/gui_2.py:3705-3707(commit1469ecac):DIR_COLORSdict storedC_VALnotC_VAL(), soimgui.text_colored(d_col, ...)was being passed a function. Fixed by calling the function at the use site. -
[~] Track: Test Regression Fixes (post multi-themes ship)
[checkpoint: d7487af4]Link: ./tracks/regression_fixes_20260605/, Plan: ./../../docs/superpowers/plans/2026-06-05-regression-fixes.md Goal: Resolve 21 failing tests surfaced after the multi-themes ship. 11 of 21 fixed across 10 atomic commits: theme regression (test_gui_progressC_LBL/C_VAL API change,38abf231), pre-existing non-live_gui (test_gui_phase4markdown_helper mocks,df43f158;test_view_presetspersona_manager mock,970f198c), GUI production bug (DIR_COLORScallable,1469ecac), live_guiLogPrunerbusy loop (ac08ee87), RAG NoneType guard (c96bdb06). Root cause of remaining 10 live_gui failures identified (commitd7487af4):imgui.save_ini_settings_to_memory()atsrc/gui_2.py:601crashes C-level (0xc0000005) when called in the first few render frames because ImGui's internal state (Fonts, DisplaySize, Settings) isn't ready. Crash is uncatchable from Python. Fixed with_ini_capture_readyflag (defer-not-catch pattern): first call returnsb""and sets the flag, subsequent calls invoke the C function. Bisect anchors:7df65dff(pre-existing failures start),7ea52cbb(theme-caused failures start). Deferred follow-up track needed for ~5 remaining live_gui tests (MMA engine state transitions, RAG status timing, one test needing substantial render path mocks).