1.4 KiB
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_entryand related functions fromsrc/discussion_entry_renderer.pyback tosrc/gui_2.py. - HOW: Use
py_update_definitionfor surgical insertion. Removesrc/discussion_entry_renderer.pyafterwards. - SAFETY: remap all
ui_sharedcalls back to local versions or standard src imports.
- WHERE:
- Task: Robustify ID Scopes
- WHERE:
src/imgui_scopes.py - WHAT: Update
_ScopeId.__enter__to always usestr(self._id). - HOW: Surgical
replace.
- WHERE:
Phase 2: Definitive UI Fixes
- Task: Fix Text Viewer Docking
- WHERE:
src/gui_2.py - WHAT: Update window ID to
###Text_Viewer_Unified.
- WHERE:
- 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.
- WHERE:
- Task: Centralize Theme Colors
- WHERE:
src/theme_2.pyandsrc/gui_2.py - WHAT: Move all hardcoded
vec4to theme module. Update call sites.
- WHERE:
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)