Private
Public Access
0
0
Files
manual_slop/conductor/tracks/phase7_monolithic_stabilization_20260602/plan.md
T

1.4 KiB

Implementation Plan: Phase 7 Monolithic Stabilization

Phase 1: Architecture Consolidation

  • Task: Restore Monolithic Rendering
    • WHERE: src/gui_2.py
    • WHAT: Move render_discussion_entry and related functions from src/discussion_entry_renderer.py back to src/gui_2.py.
    • HOW: Use py_update_definition for surgical insertion. Remove src/discussion_entry_renderer.py afterwards.
    • SAFETY: remap all ui_shared calls back to local versions or standard src imports.
  • Task: Robustify ID Scopes
    • WHERE: src/imgui_scopes.py
    • WHAT: Update _ScopeId.__enter__ to always use str(self._id).
    • HOW: Surgical replace.

Phase 2: Definitive UI Fixes

  • Task: Fix Text Viewer Docking
    • WHERE: src/gui_2.py
    • WHAT: Update window ID to ###Text_Viewer_Unified.
  • Task: Fix Markdown Table Width
    • WHERE: src/gui_2.py (render_discussion_entry)
    • WHAT: Insert imgui.dummy(imgui.ImVec2(full_width, 0)) at group start.
  • Task: Centralize Theme Colors
    • WHERE: src/theme_2.py and src/gui_2.py
    • WHAT: Move all hardcoded vec4 to theme module. Update call sites.

Phase 3: Verification

  • Task: Verify Full Suite
    • Run all tests in batches of 4.
  • Task: Conductor - User Manual Verification 'Phase 3: Verification' (Protocol in workflow.md)